public final class AggregatedOid extends ParentedOid implements TypedOid, Serializable
Oid for Aggregated ObjectAdapters
Aggregated adapters are created explicitly by the application using
DomainObjectContainer.newAggregatedInstance(Object, Class).
Oid.Matchers, Oid.State| Constructor and Description |
|---|
AggregatedOid(DataInputExtended input) |
AggregatedOid(ObjectSpecId objectSpecId,
TypedOid parentOid,
String localId) |
| Modifier and Type | Method and Description |
|---|---|
AggregatedOid |
asPersistent(TypedOid newParentOid)
When the parent Oid is persisted, all its "children"
need updating similarly.
|
static AggregatedOid |
deString(String oidStr,
OidMarshaller oidMarshaller) |
void |
encode(DataOutputExtended output)
Returns the domain object's value as an encoded byte array via the
encoder.
|
String |
enString(OidMarshaller oidMarshaller)
A string representation of this
Oid. |
String |
enStringNoVersion(OidMarshaller oidMarshaller) |
boolean |
equals(AggregatedOid other) |
boolean |
equals(Object other) |
String |
getLocalId() |
ObjectSpecId |
getObjectSpecId() |
int |
hashCode() |
getParentOid, getVersion, isPersistent, isTransient, isViewModel, setVersion, toStringclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetVersion, isPersistent, isTransient, isViewModel, setVersionpublic AggregatedOid(ObjectSpecId objectSpecId, TypedOid parentOid, String localId)
public AggregatedOid(DataInputExtended input) throws IOException
IOExceptionpublic static AggregatedOid deString(String oidStr, OidMarshaller oidMarshaller)
public String enString(OidMarshaller oidMarshaller)
OidOid.public String enStringNoVersion(OidMarshaller oidMarshaller)
enStringNoVersion in interface Oidpublic void encode(DataOutputExtended output) throws IOException
Encodableencode in interface EncodableIOExceptionpublic ObjectSpecId getObjectSpecId()
getObjectSpecId in interface TypedOidpublic String getLocalId()
public boolean equals(AggregatedOid other)
public AggregatedOid asPersistent(TypedOid newParentOid)
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.