org.objectweb.jorm.facility.naming.polymorphid
Class PolymorphIdBinderInfo

org.objectweb.jorm.facility.naming.polymorphid.PolymorphIdBinderInfo
All Implemented Interfaces:
PAccessor

public class PolymorphIdBinderInfo
implements PAccessor

Implements a binder that manages polymorphic names. Such names are composed of the identifier of the persistent class to which they belong (see classId below), and of an object identifier within this binder, which is generated by this binder. The classId information is persistent; thus, this class is extended by ClassIdBinding generated by JORM using "ClassId.pd".

Author:
P. D?chamboux

Field Summary
static java.lang.String CLASSIDN
           
static java.lang.String IDCLASSN
           
 
Constructor Summary
PolymorphIdBinderInfo()
           
 
Method Summary
 PName export(java.lang.Object conn, java.lang.Object binding)
           
 PName export(java.lang.Object conn, java.lang.Object binding, java.lang.Object ctxt)
           
 java.lang.String getClassName()
           
 java.lang.Object getMemoryInstance()
          It returns the memory instance within which the persistent variables are defined.
 long paGetClassId()
           
 java.lang.String paGetClassName()
           
 void paSetClassId(long val)
           
 void paSetClassName(java.lang.String val)
           
 void setPType(PType pt)
           
 

Field Detail

CLASSIDN

public static final java.lang.String CLASSIDN

IDCLASSN

public static final java.lang.String IDCLASSN
Constructor Detail

PolymorphIdBinderInfo

public PolymorphIdBinderInfo()
Method Detail

getClassName

public java.lang.String getClassName()

setPType

public void setPType(PType pt)

export

public PName export(java.lang.Object conn,
                    java.lang.Object binding)
             throws PException

export

public PName export(java.lang.Object conn,
                    java.lang.Object binding,
                    java.lang.Object ctxt)
             throws PException

getMemoryInstance

public java.lang.Object getMemoryInstance()
Description copied from interface: PAccessor
It returns the memory instance within which the persistent variables are defined.
Specified by:
getMemoryInstance in interface PAccessor
Following copied from interface: org.objectweb.jorm.api.PAccessor
Returns:
The actual object containing memory persistent variables.

paSetClassId

public void paSetClassId(long val)
                  throws PException

paGetClassId

public long paGetClassId()
                  throws PException

paSetClassName

public void paSetClassName(java.lang.String val)
                    throws PException

paGetClassName

public java.lang.String paGetClassName()
                                throws PException