|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A PackagePersistenceMaster instance provides descriptive information on Entity instances to be persisted. Thus, each actor using perstistence needs to implement PackagePersistenceMaster for the Entity instances it persists.
Type-distinction of Entity instances is made by classtype, an abstraction of the actual java class.
PackagePersistenceMaster needs to be linked to PersistenceRuntime, which is ConversationId-global.
Method Summary | |
ClassDescriptor |
getClassDescriptor(java.lang.String classtype)
Returns the descriptive information for a certain classtype |
java.lang.String[] |
getClasstypes()
Gets the classtypes this PackagePersistenceMaster instance is responsible for. |
Method Detail |
public java.lang.String[] getClasstypes()
The classtype is linked to a ClassDescriptor which describes how an Entity is persistently read and written. The classtype may be linked as n:m to a specific java class; this means that instances of different classes may be treated uniquely for persistence as well as instances of the same class may be treated differently for persistence.
public ClassDescriptor getClassDescriptor(java.lang.String classtype)
classtype
- Class key string
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |