org.plasma.sdo.core
Class CoreObject

java.lang.Object
  extended by org.plasma.sdo.core.CoreObject
All Implemented Interfaces:
Serializable, Cloneable

public final class CoreObject
extends Object
implements Cloneable, Serializable

Class used to describe a value object model of arbitrary complexity. Can accommodate strict hierarchical structures as well as object networks and graphs.

See Also:
Serialized Form

Constructor Summary
CoreObject(String entityName)
           
 
Method Summary
 Object clone()
           
 void flagLocked()
           
 void flagUnlocked()
           
 Object get(String key)
           
 int getAbsoluteSize()
           
 int getDepth()
           
 String getEntityName()
           
 String[] getKeys()
           
 Map<String,Object> getValues()
           
 boolean isFlaggedLocked()
           
 boolean isFlaggedUnlocked()
           
 void put(String key, Object value)
           
 Object remove(String key)
           
 void unflagLocked()
           
 void unflagUnlocked()
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CoreObject

public CoreObject(String entityName)
Method Detail

getEntityName

public String getEntityName()

getValues

public Map<String,Object> getValues()

getKeys

public String[] getKeys()

put

public void put(String key,
                Object value)

get

public Object get(String key)

remove

public Object remove(String key)

isFlaggedLocked

public boolean isFlaggedLocked()

isFlaggedUnlocked

public boolean isFlaggedUnlocked()

flagLocked

public void flagLocked()

unflagLocked

public void unflagLocked()

flagUnlocked

public void flagUnlocked()

unflagUnlocked

public void unflagUnlocked()

getAbsoluteSize

public int getAbsoluteSize()

getDepth

public int getDepth()

clone

public Object clone()
             throws CloneNotSupportedException
Overrides:
clone in class Object
Throws:
CloneNotSupportedException


Copyright © 2013. All rights reserved.