|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectcom.sun.mdm.index.query.AssembleObjectState
This object is used by AssemlerEngine during Assembling process. This object is created for each object type in ValueMetaNode graph which is not a root and which has more than one child. Say We have Object graph System Person Address Phone In this case, Person is parent of Address and Phone. Person and Address attributes may be retrieved in a different JDBC ResultSet and Phone may be in different ResultSet. So the state of Person object per each instance of root object (System) is saved temporarily in this object. So now the Phone objects in a different JDBC ResultSet can be bound to their parent Person objects.
Constructor Summary | |
(package private) |
AssembleObjectState(java.lang.String objectName)
Creates a new instance of AssembleObjectState |
Method Summary | |
(package private) void |
add(java.lang.Object object,
java.lang.Object[] keyValues)
|
java.lang.Object |
clone()
clone this object. |
(package private) java.lang.Object |
getObject(java.lang.Object[] keyValues)
returns the Object that matched the input keyValues. |
(package private) java.lang.String |
getObjName()
|
(package private) void |
init()
|
Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
AssembleObjectState(java.lang.String objectName)
objectName
- Name of the object say Person.Method Detail |
void add(java.lang.Object object, java.lang.Object[] keyValues)
public java.lang.Object clone() throws java.lang.CloneNotSupportedException
java.lang.CloneNotSupportedException
- CloneNotSupportedExceptionjava.lang.Object getObject(java.lang.Object[] keyValues)
keyValues
- Object[]
java.lang.String getObjName()
void init()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Sun Microsystems, Inc.