Annotation Interface SmeupObj
Marks a class as a Smeup object entity and binds it to a Smeup class key.
Type (class key)
In the Smeup object model every object is identified by a class key
formed by a 2-character type and an optional parameter concatenated together
(e.g. type "CN" + parameter "COL" → class key "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.service.KS_202_01EEntityManager — regardless of how the
Java class is named.
Usage
// class key "CNCOL" (contact collaborator)
@SmeupObj(type = "CNCOL", description = "Employee")
public class CustomerCollaborator extends AbstractEntity { ... }
-
Required Element Summary
Required ElementsModifier and TypeRequired ElementDescriptionSmeup class key: 2-char type + optional parameter (e.g. -
Optional Element Summary
Optional Elements