public class FullyQualifiedName extends DmcHierarchicObjectName implements Serializable
| Constructor and Description |
|---|
FullyQualifiedName() |
FullyQualifiedName(FullyQualifiedName n) |
FullyQualifiedName(String 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() |
DmcHierarchicObjectName |
getParentName()
Returns the name of the parent implied by this hierarchic name.
|
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 FullyQualifiedName()
public FullyQualifiedName(FullyQualifiedName n)
public FullyQualifiedName(String n)
public String getNameString()
DmcObjectNamegetNameString in class DmcObjectNamepublic void setNameString(String n) throws DmcValueException
DmcObjectNamesetNameString in class DmcObjectNamen - The name value as a String.DmcValueExceptionpublic boolean equals(Object obj)
DmcObjectNameequals in class DmcObjectNameobj - The comparison object.public int hashCode()
DmcObjectNamehashCode in class DmcObjectNamepublic void serializeIt(DmcOutputStreamIF dos) throws Exception
DmcObjectNameserializeIt in class DmcObjectNamedos - The output stream.Exceptionpublic void deserializeIt(DmcInputStreamIF dis) throws Exception
DmcObjectNamedeserializeIt in class DmcObjectNamedis - The input stream.Exceptionpublic int compareTo(DmcObjectName o)
DmcObjectNamecompareTo in interface Comparable<DmcObjectName>compareTo in class DmcObjectNamepublic String toString()
DmcObjectNametoString in class DmcObjectNamepublic Object getKey()
DmcObjectNamegetKey in interface DmcMappedAttributeIFgetKey in class DmcObjectNamepublic String getKeyAsString()
DmcObjectNamegetKeyAsString in interface DmcMappedAttributeIFgetKeyAsString in class DmcObjectNamepublic DmcHierarchicObjectName getParentName()
DmcHierarchicObjectNamegetParentName in class DmcHierarchicObjectNamepublic String getNameClass()
getNameClass 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.