public class UUIDName extends DmcObjectName implements DmcObjectNameIF, Serializable
| Constructor and Description |
|---|
UUIDName() |
UUIDName(long msb,
long lsb) |
UUIDName(String n) |
UUIDName(UUIDLite l) |
UUIDName(UUIDName n) |
| Modifier and Type | Method and Description |
|---|---|
DmcObjectName |
cloneIt() |
int |
compareTo(DmcObjectName o)
Compares the name to another name for order.
|
void |
deserializeIt(DmcInputStreamIF dis)
Likewise, they must also be individually deserializable since they are part of
a more complex type, namely the DmcTypeNamedObjectREF.
|
boolean |
equals(Object obj)
Implementors should check to see if the object is of the same type.
|
Object |
getKey()
Returns the portion of the name that provides a unique key for storage in maps and sets.
|
String |
getKeyAsString()
Returns the key value as a String.
|
String |
getNameClass() |
String |
getNameString()
Return the name of the object as a String.
|
DmcObjectName |
getNew() |
String |
getPresentationString()
Internally, names may not be particularly suited to display in user interfaces.
|
int |
hashCode()
Returns the hash code for this name.
|
void |
serializeIt(DmcOutputStreamIF dos)
The object name values must be individually serializable since they are part of
a more complex type, namely the DmcTypeNamedObjectREF.
|
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.
|
boolean |
valuesAreEqual(DmcMappedAttributeIF obj)
This method is used by the Modifier mechanism to determine whether or not a
change has occurred as a result of applying the modifier.
|
public static final String className
public UUIDName()
public UUIDName(String n) throws DmcValueException
DmcValueExceptionpublic UUIDName(UUIDLite l)
public UUIDName(UUIDName n)
public UUIDName(long msb,
long lsb)
public String getNameString()
DmcObjectNamegetNameString in interface DmcObjectNameIFgetNameString in class DmcObjectNamepublic String toString()
DmcObjectNametoString in class DmcObjectNamepublic void setNameString(String n) throws DmcValueException
DmcObjectNamesetNameString in interface DmcObjectNameIFsetNameString in class DmcObjectNamen - The name value as a String.DmcValueExceptionpublic boolean equals(Object obj)
DmcObjectNameequals in interface DmcObjectNameIFequals in class DmcObjectNameobj - The comparison object.public int hashCode()
DmcObjectNamehashCode in interface DmcObjectNameIFhashCode in class DmcObjectNamepublic void deserializeIt(DmcInputStreamIF dis) throws Exception
DmcObjectNamedeserializeIt in interface DmcObjectNameIFdeserializeIt in class DmcObjectNamedis - The input stream.Exceptionpublic void serializeIt(DmcOutputStreamIF dos) throws Exception
DmcObjectNameserializeIt in interface DmcObjectNameIFserializeIt in class DmcObjectNamedos - The output stream.Exceptionpublic int compareTo(DmcObjectName o)
DmcObjectNamecompareTo in interface Comparable<DmcObjectName>compareTo in class DmcObjectNamepublic Object getKey()
DmcObjectNamegetKey in interface DmcMappedAttributeIFgetKey in class DmcObjectNamepublic String getKeyAsString()
DmcObjectNamegetKeyAsString in interface DmcMappedAttributeIFgetKeyAsString in class DmcObjectNamepublic String getNameClass()
getNameClass in interface DmcObjectNameIFgetNameClass in class DmcObjectNamepublic boolean valuesAreEqual(DmcMappedAttributeIF obj)
DmcMappedAttributeIFvaluesAreEqual in interface DmcMappedAttributeIFobj - Another mapped attribute.public DmcObjectName cloneIt()
cloneIt in class DmcObjectNamepublic DmcObjectName getNew()
getNew in class DmcObjectNamepublic String getPresentationString()
DmcObjectNamegetPresentationString in class DmcObjectNameCopyright © 2023. All rights reserved.