|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.plasma.sdo.access.model.Entity
public abstract class Entity
| Constructor Summary | |
|---|---|
Entity()
|
|
| Method Summary | |
|---|---|
void |
accept(EntityGraphVisitor visitor,
TraversalMap traversalMap)
This recursive traversal algorithm is based on the Visitor Pattern and is capable of only breadth-first traversals. |
void |
accept(EntityVisitor visitor)
This recursive traversal algorithm is based on the Visitor Pattern and is capable of both breadth-first and depth-first traversals. |
void |
accept(EntityVisitor visitor,
boolean depthFirst)
Variant of above. |
void |
add(String name,
Object o)
Generic reflection-based 'adder'. |
Object |
get(String name)
Generic reflection-based 'getter'. |
Object |
getEntityId()
Returns the value for the id property, often the property associated with the DB primary key. |
String |
getHashKey()
|
Property |
getIdProperty()
|
String |
getNamespaceURI()
|
Type |
getType()
|
Object |
set(String name,
Object o)
Generic reflection-based 'setter'. |
Object |
setEntityId(Object id)
Sets the value for the id property, often the property associated with the DB primary key. |
String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Entity()
| Method Detail |
|---|
public Object get(String name)
throws IllegalAccessException,
IllegalArgumentException,
InvocationTargetException
get in interface DataEntity- - the property name
IllegalAccessException
IllegalArgumentException
InvocationTargetException
public Object set(String name,
Object o)
throws IllegalAccessException,
IllegalArgumentException,
InvocationTargetException
set in interface DataEntity- - the property name- - the value to set
IllegalAccessException
IllegalArgumentException
InvocationTargetException
public void add(String name,
Object o)
throws IllegalAccessException,
IllegalArgumentException,
InvocationTargetException
add in interface DataEntity- - the property name- - the value to add
IllegalAccessException
IllegalArgumentException
InvocationTargetException
public Object getEntityId()
throws IllegalAccessException,
IllegalArgumentException,
InvocationTargetException
getEntityId in interface DataEntityIllegalAccessException
IllegalArgumentException
InvocationTargetException
public Object setEntityId(Object id)
throws IllegalAccessException,
IllegalArgumentException,
InvocationTargetException
setEntityId in interface DataEntity- - the id value
IllegalAccessException
IllegalArgumentException
InvocationTargetExceptionpublic void accept(EntityVisitor visitor)
accept in interface DataEntity- - the visitor
public void accept(EntityVisitor visitor,
boolean depthFirst)
accept in interface DataEntity
public void accept(EntityGraphVisitor visitor,
TraversalMap traversalMap)
- - the graph visitor- - the traversal mappublic String getNamespaceURI()
public Type getType()
getType in interface DataEntitypublic Property getIdProperty()
getIdProperty in interface DataEntity
public String getHashKey()
throws IllegalArgumentException,
IllegalAccessException,
InvocationTargetException
IllegalArgumentException
IllegalAccessException
InvocationTargetExceptionpublic String toString()
toString in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||