ora.core.element
Class Referencer

java.lang.Object
  extended by ora.core.element.Referencer
All Implemented Interfaces:
java.io.Serializable

public class Referencer
extends java.lang.Object
implements java.io.Serializable

See Also:
Serialized Form

Field Summary
static int TYPE_CHILD
           
static int TYPE_PARENT
           
 
Method Summary
 void addReference(java.lang.String namevalue, ObjectElement obj)
          Adds a reference to another element
 java.util.HashMap getMapping()
           
 java.lang.StringBuffer getNames()
           
 int getNumberOfReferencedObjects()
           
 java.util.Collection getReferencedObjects()
           
static Referencer getReferencer(int type)
           
 int getReferencerType()
           
 int getSize()
           
 void removeReference(ObjectElement obj)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE_CHILD

public static final int TYPE_CHILD
See Also:
Constant Field Values

TYPE_PARENT

public static final int TYPE_PARENT
See Also:
Constant Field Values
Method Detail

getReferencer

public static Referencer getReferencer(int type)

removeReference

public void removeReference(ObjectElement obj)

addReference

public void addReference(java.lang.String namevalue,
                         ObjectElement obj)
Adds a reference to another element

Parameters:
namevalue - referencing name to the objectelement
obj - objectelement referenced

getNumberOfReferencedObjects

public int getNumberOfReferencedObjects()

getMapping

public java.util.HashMap getMapping()

getNames

public java.lang.StringBuffer getNames()

getSize

public int getSize()

getReferencedObjects

public java.util.Collection getReferencedObjects()

getReferencerType

public int getReferencerType()