public class ObjectNode
extends java.lang.Object
Cdo or CdoSnapshot.
Cdo could be an EntityType or a ValueObjectType
Implementation should delegate equals() and hashCode() to Cdo| Constructor and Description |
|---|
ObjectNode(Cdo cdo) |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
Cdo |
getCdo() |
GlobalId |
getGlobalId()
shortcut to
Cdo.getGlobalId() |
ManagedType |
getManagedType() |
java.lang.Object |
getPropertyValue(Property property) |
GlobalId |
getReference(Property property)
only for properties with return type: ManagedType
|
int |
hashCode() |
boolean |
isNull(Property property) |
Optional<java.lang.Object> |
wrappedCdo() |
public ObjectNode(Cdo cdo)
public Optional<java.lang.Object> wrappedCdo()
Optional.EMPTY for snapshotspublic GlobalId getGlobalId()
Cdo.getGlobalId()public GlobalId getReference(Property property)
public java.lang.Object getPropertyValue(Property property)
public boolean isNull(Property property)
public ManagedType getManagedType()
public Cdo getCdo()
public boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object