public class ObjectNode extends Object implements Visitable<GraphVisitor>
Cdo or CdoSnapshot.
Cdo could be an Entity or a ValueObject
Implementation should delegate equals() and hashCode() to Cdo| Constructor and Description |
|---|
ObjectNode(Cdo cdo) |
| Modifier and Type | Method and Description |
|---|---|
void |
accept(GraphVisitor visitor) |
boolean |
equals(Object o) |
GlobalId |
getGlobalId()
shortcut to
Cdo.getGlobalId() |
ManagedClass |
getManagedClass()
shortcut to
Cdo.getManagedClass() |
Object |
getPropertyValue(Property property) |
GlobalId |
getReference(Property property)
only for properties with return type: ManagedType
|
int |
hashCode() |
boolean |
isNull(Property property) |
Optional<Object> |
wrappedCdo() |
public ObjectNode(Cdo cdo)
public Optional<Object> wrappedCdo()
Optional.EMPTY for snapshotspublic GlobalId getGlobalId()
Cdo.getGlobalId()public GlobalId getReference(Property property)
public boolean isNull(Property property)
public ManagedClass getManagedClass()
Cdo.getManagedClass()public void accept(GraphVisitor visitor)
accept in interface Visitable<GraphVisitor>Copyright © 2014. All rights reserved.