public final class CollectionOid extends ParentedOid implements Serializable
Oid for collections.Oid.Matchers, Oid.State| Constructor and Description |
|---|
CollectionOid(DataInputExtended inputStream) |
CollectionOid(TypedOid parentOid,
OneToManyAssociation otma) |
CollectionOid(TypedOid parentOid,
String name) |
| Modifier and Type | Method and Description |
|---|---|
CollectionOid |
asPersistent(TypedOid newParentRootOid)
When the RootOid is persisted, all its "children"
need updating similarly.
|
static CollectionOid |
deString(String oidStr,
OidMarshaller oidMarshaller) |
void |
encode(DataOutputExtended outputStream)
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(CollectionOid other) |
boolean |
equals(Object other) |
String |
getName() |
int |
hashCode() |
getParentOid, getVersion, isPersistent, isTransient, isViewModel, setVersion, toStringpublic CollectionOid(TypedOid parentOid, OneToManyAssociation otma)
public CollectionOid(TypedOid parentOid, String name)
public CollectionOid(DataInputExtended inputStream) throws IOException
IOExceptionpublic static CollectionOid deString(String oidStr, OidMarshaller oidMarshaller)
public String enString(OidMarshaller oidMarshaller)
OidOid.public String enStringNoVersion(OidMarshaller oidMarshaller)
enStringNoVersion in interface Oidpublic void encode(DataOutputExtended outputStream) throws IOException
Encodableencode in interface EncodableIOExceptionpublic boolean equals(CollectionOid other)
public CollectionOid asPersistent(TypedOid newParentRootOid)
Copyright © 2010–2014 The Apache Software Foundation. All rights reserved.