|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.orientechnologies.jdo.types.d_Association
Express an association key/value. This class is often used in Map collections to contains entries. If the value is a reference (oOID object), then on first access (get() method) the references will be resolved in the real object.
This behaviour avoid the loading of concrete objects in cache, but only real required by application on the first use.
| Constructor Summary | |
d_Association()
|
|
d_Association(java.lang.Object iKey,
java.lang.Object iValue)
|
|
| Method Summary | |
void |
fromStream(oPersistenceManager iManager,
com.orientechnologies.jdo.objecthandler.oObjectHandler iHandler,
java.lang.String iURL,
java.io.DataInputStream iBuffer,
int iTotal,
boolean iRelationship)
Deserialize object from stream to memory. |
java.lang.Object |
getKey()
Returns the key |
java.lang.Object |
getValue()
Returns the value without resolving it in case of relationship |
java.lang.Object |
getValue(boolean iTreatAsRelationship)
|
java.lang.Object |
setValue(java.lang.Object iValue)
Assign the value |
oBinary |
toStream(oPersistenceManager iManager,
java.lang.String iURL,
boolean iRelationship)
Serialize object from memory to stream. |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface java.util.Map.Entry |
equals, hashCode |
| Constructor Detail |
public d_Association()
public d_Association(java.lang.Object iKey,
java.lang.Object iValue)
| Method Detail |
public java.lang.Object getKey()
getKey in interface java.util.Map.Entrypublic java.lang.Object getValue()
getValue in interface java.util.Map.Entrypublic java.lang.Object getValue(boolean iTreatAsRelationship)
public java.lang.Object setValue(java.lang.Object iValue)
setValue in interface java.util.Map.EntryiValue - value to assign
public oBinary toStream(oPersistenceManager iManager,
java.lang.String iURL,
boolean iRelationship)
public void fromStream(oPersistenceManager iManager,
com.orientechnologies.jdo.objecthandler.oObjectHandler iHandler,
java.lang.String iURL,
java.io.DataInputStream iBuffer,
int iTotal,
boolean iRelationship)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||