|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Interface for metadata required to persist associations. Associations among classes require certain metadata for persistence:
Method Summary | |
String |
get__classIdentifier()
Get relation identifier for this object (used to persist subclasses in a single collection or map) |
Belonging |
get__containingBelonging()
Get foreign key information about the bean that contains this object |
EJBObject |
get__containingEntity()
Get foreign key information about the bean that contains this object |
Object |
get__mapKey()
get map key |
Long |
get__sequenceNumber()
Get the sequencer number |
void |
set__containingBelonging(Belonging belonging)
Provides foreign key information about the bean that contains this object |
void |
set__containingEntity(EJBObject containingEntity)
Provides foreign key information about the bean that contains this object |
void |
set__mapKey(Object mapKey)
Provides map key information |
Method Detail |
public String get__classIdentifier()
public Belonging get__containingBelonging()
ClassCastException
- source object is not an instance of the remote interface of the containing class.public EJBObject get__containingEntity()
ClassCastException
- source object is not an instance of the remote interface of the containing class.public Object get__mapKey()
ClassCastException
- source object is not an instance of the remote interface of the containing class.public Long get__sequenceNumber()
public void set__containingBelonging(Belonging belonging)
public void set__containingEntity(EJBObject containingEntity)
public void set__mapKey(Object mapKey)
mapKey
- the key if this object is used in a map
|
© 2005 BEA Systems, Inc. | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |