Annotation Interface KokosEntity
Marks a class as a Kokos entity and binds it to a Smeup object type+parameter pair.
Type and parameter
In the Smeup object model every object is identified by a 2-character type
and an optional parameter of arbitrary length. Their concatenation forms the
so-called class key (e.g. type "CN" + parameter "COL" → "CNCOL").
Role in the SDK
This annotation is the binding contract between a Java class and its Smeup identity.
It is used for instance by
(and any other component
that receives a type+parameter pair from a FUN) to resolve the correct registered entity class
from the global invalid reference
com.smeup.kokos.sdk.entity.service.KS_202_01EEntityManager — regardless of how the
Java class is named.
Usage
// type="CN", parameter="COL" → class key "CNCOL" (contact collaborator)
@KokosEntity(type = "CN", parameter = "COL")
public class CustomerCollaborator extends AbstractEntity { ... }
-
Required Element Summary
Required Elements -
Optional Element Summary
Optional Elements