org.plasma.sdo.core
Class CoreNode

java.lang.Object
  extended by org.plasma.sdo.core.CoreNode
All Implemented Interfaces:
Serializable, CoreObjectHolder, NamedEntity, Node, PlasmaNode
Direct Known Subclasses:
CoreDataObject

public abstract class CoreNode
extends Object
implements PlasmaNode, CoreObjectHolder, NamedEntity

See Also:
Serialized Form

Field Summary
protected static List<PlasmaEdge> EMPTY_EDGE_LIST
           
protected  CoreObject valueObject
           
 
Constructor Summary
protected CoreNode()
          Default No-arg constructor required for serialization operations.
  CoreNode(CoreObject values)
           
 
Method Summary
 List<PlasmaEdge> getEdges(PlasmaProperty property)
          Returns a list of edges associated with the given property regardless of it's multiplicity.
 String getEntityName()
           
abstract  String getUUIDAsString()
           
 Object getValue(String property)
           
 CoreObject getValueObject()
           
 void removeValue(String property)
           
 void setValue(String property, Object value)
           
 void setValueObject(CoreObject v)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.plasma.sdo.PlasmaNode
accept, accept, acceptDepthFirst, getDataObject, getUUID
 

Field Detail

valueObject

protected CoreObject valueObject

EMPTY_EDGE_LIST

protected static final List<PlasmaEdge> EMPTY_EDGE_LIST
Constructor Detail

CoreNode

protected CoreNode()
Default No-arg constructor required for serialization operations. This method is NOT intended to be used within application source code.


CoreNode

public CoreNode(CoreObject values)
Method Detail

getUUIDAsString

public abstract String getUUIDAsString()
Specified by:
getUUIDAsString in interface PlasmaNode

getValue

public Object getValue(String property)

setValue

public void setValue(String property,
                     Object value)

removeValue

public void removeValue(String property)

getEntityName

public String getEntityName()
Specified by:
getEntityName in interface NamedEntity

getValueObject

public CoreObject getValueObject()
Specified by:
getValueObject in interface CoreObjectHolder

setValueObject

public void setValueObject(CoreObject v)
Specified by:
setValueObject in interface CoreObjectHolder

getEdges

public List<PlasmaEdge> getEdges(PlasmaProperty property)
Description copied from interface: PlasmaNode
Returns a list of edges associated with the given property regardless of it's multiplicity.

Specified by:
getEdges in interface PlasmaNode
Parameters:
property - the property
Returns:
a list of edges associated with the given property regardless of it's multiplicity, or an empty list if no edges are associated with the given property.
See Also:
PlasmaEdge


Copyright © 2013. All rights reserved.