com.sap.ip.me.api.persist.app
Interface PackagePersistenceMaster


public interface PackagePersistenceMaster

Title: Description: 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. Copyright: Copyright (c) 2002 Company:

Version:
1.0
Author:

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

getClasstypes

public java.lang.String[] getClasstypes()
Gets the classtypes this PackagePersistenceMaster instance is responsible for. Type-distinction of Entity instances is made by classtype, an abstraction of the actual java class.

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.

Returns:
The classtypes value

getClassDescriptor

public ClassDescriptor getClassDescriptor(java.lang.String classtype)
Returns the descriptive information for a certain classtype

Parameters:
classtype - Description of the Parameter
Returns:
The persistableClass value


Copyright © 2003 SAP AG. All Rights Reserved.