public class SomeRelation extends ObjWithRefsREF implements Serializable, DmcExtendedReferenceIF
__nameobjectbackrefModifier| Constructor and Description |
|---|
SomeRelation()
Default constructor.
|
SomeRelation(DefinitionName name,
Integer count,
Integer order)
All fields constructor.
|
SomeRelation(ObjWithRefsDMO obj,
Integer count,
Integer order)
All fields constructor.
|
SomeRelation(SomeRelation original)
Copy constructor.
|
SomeRelation(String input)
String based constructor.
|
| Modifier and Type | Method and Description |
|---|---|
void |
deserializeIt(DmcInputStreamIF dis)
Deserialization.
|
boolean |
equals(Object obj)
This method should check the type of the obj param and compare the name
of this object with the one passed as argument.
|
Integer |
getCount() |
Integer |
getOrder() |
void |
serializeIt(DmcOutputStreamIF dos)
Serialization.
|
void |
setCount(Integer count) |
void |
setName(DefinitionName name) |
void |
setObject(ObjWithRefsDMO obj)
Sets the object, thus making this reference "resolved".
|
void |
setOrder(Integer order) |
String |
toString()
String form.
|
cloneMe, getName, getObjectName, getObjectNameAttribute, setNamecompareTo, getObject, isResolved, valuesAreEqualgetBackrefModifier, getKey, getKeyAsString, hashCode, removeBackref, setBackrefModifierpublic SomeRelation()
public SomeRelation(SomeRelation original)
public SomeRelation(DefinitionName name, Integer count, Integer order)
public SomeRelation(ObjWithRefsDMO obj, Integer count, Integer order)
public SomeRelation(String input) throws DmcValueException
DmcValueExceptionpublic void serializeIt(DmcOutputStreamIF dos) throws Exception
serializeIt in class ObjWithRefsREFExceptionpublic void deserializeIt(DmcInputStreamIF dis) throws Exception
deserializeIt in class ObjWithRefsREFExceptionpublic String toString()
toString in class DmcNamedObjectREF<ObjWithRefsDMO>public void setName(DefinitionName name)
public void setObject(ObjWithRefsDMO obj)
DmcNamedObjectREFsetObject in class ObjWithRefsREFobj - the object.public Integer getCount()
public void setCount(Integer count)
public Integer getOrder()
public void setOrder(Integer order)
public boolean equals(Object obj)
DmcNamedObjectIFequals in interface DmcNamedObjectIFequals in class DmcNamedObjectNontransportableREF<ObjWithRefsDMO>obj - The comparison object.Copyright © 2023. All rights reserved.