public interface Oid extends Encodable
RootOid) or
an aggregated object (subtype AggregatedOid).
Note that value objects (strings, ints, Values etc) do not have an Oid.
| Modifier and Type | Interface and Description |
|---|---|
static class |
Oid.Matchers |
static class |
Oid.State |
| Modifier and Type | Method and Description |
|---|---|
String |
enString(OidMarshaller oidMarshaller)
A string representation of this
Oid. |
String |
enStringNoVersion(OidMarshaller oidMarshaller) |
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 enString(OidMarshaller oidMarshaller)
Oid.String enStringNoVersion(OidMarshaller oidMarshaller)
Version getVersion()
void setVersion(Version version)
boolean isTransient()
In the case of an AggregatedOid, is determined by the state
of its parent's state.
boolean isViewModel()
boolean isPersistent()
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.