public abstract class ParentedOid extends Object implements Oid
Oid for collections and for @Aggregated
types.AggregatedOid,
CollectionOidOid.Matchers, Oid.State| Constructor and Description |
|---|
ParentedOid(TypedOid parentOid) |
| Modifier and Type | Method and Description |
|---|---|
TypedOid |
getParentOid() |
Version |
getVersion() |
boolean |
isPersistent() |
boolean |
isTransient()
Flags whether this OID is for a transient (not-yet-persisted) object,
or a view model object, or for a persistent object.
|
boolean |
isViewModel() |
void |
setVersion(Version version) |
String |
toString() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitenString, enStringNoVersionpublic ParentedOid(TypedOid parentOid)
public TypedOid getParentOid()
public Version getVersion()
getVersion in interface Oidpublic void setVersion(Version version)
setVersion in interface Oidpublic boolean isTransient()
Oid
In the case of an AggregatedOid, is determined by the state
of its parent's state.
isTransient in interface Oidpublic boolean isViewModel()
isViewModel in interface Oidpublic boolean isPersistent()
isPersistent in interface OidCopyright © 2010–2014 The Apache Software Foundation. All rights reserved.