public abstract class DmcObjectName extends Object implements DmcMappedAttributeIF, Comparable<DmcObjectName>, Serializable
| Constructor and Description |
|---|
DmcObjectName() |
| Modifier and Type | Method and Description |
|---|---|
abstract DmcObjectName |
cloneIt() |
abstract int |
compareTo(DmcObjectName o)
Compares the name to another name for order.
|
abstract void |
deserializeIt(DmcInputStreamIF dis)
Likewise, they must also be individually deserializable since they are part of
a more complex type, namely the DmcTypeNamedObjectREF.
|
abstract boolean |
equals(Object obj)
Implementors should check to see if the object is of the same type.
|
abstract Object |
getKey()
Returns the portion of the name that provides a unique key for storage in maps and sets.
|
abstract String |
getKeyAsString()
Returns the key value as a String.
|
abstract String |
getNameClass() |
abstract String |
getNameString()
Return the name of the object as a String.
|
abstract DmcObjectName |
getNew() |
abstract String |
getPresentationString()
Internally, names may not be particularly suited to display in user interfaces.
|
abstract int |
hashCode()
Returns the hash code for this name.
|
abstract void |
serializeIt(DmcOutputStreamIF dos)
The object name values must be individually serializable since they are part of
a more complex type, namely the DmcTypeNamedObjectREF.
|
abstract void |
setNameString(String n)
Implementing classes must overload this method to initialize their name
properly with the String form of their name.
|
String |
toString()
Return the name as a string.
|
clone, finalize, getClass, notify, notifyAll, wait, wait, waitvaluesAreEqualpublic abstract String getNameString()
public abstract String getPresentationString()
public abstract void setNameString(String n) throws DmcValueException
n - The name value as a String.DmcValueExceptionpublic abstract boolean equals(Object obj)
public abstract int hashCode()
public abstract void serializeIt(DmcOutputStreamIF dos) throws Exception
dos - The output stream.Exceptionpublic abstract void deserializeIt(DmcInputStreamIF dis) throws Exception
dis - The input stream.Exceptionpublic abstract DmcObjectName cloneIt()
public abstract Object getKey()
getKey in interface DmcMappedAttributeIFpublic abstract String getKeyAsString()
getKeyAsString in interface DmcMappedAttributeIFpublic abstract int compareTo(DmcObjectName o)
compareTo in interface Comparable<DmcObjectName>public abstract String getNameClass()
public abstract DmcObjectName getNew()
Copyright © 2023. All rights reserved.