public abstract class CIMTypedElement extends CIMElement
CIMTypedElement is an abstract class that represents a CIM
element that contains just the data type, but no value.| Constructor and Description |
|---|
CIMTypedElement(String pName,
CIMDataType pType)
Constructs a
CIMTypedElement with the given name and data
type. |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object pObj)
Compares this object against the specified object.
|
CIMDataType |
getDataType()
Returns the
CIMDataType for this CIM Element. |
int |
hashCode()
Returns a hash code value for the CIM typed element.
|
String |
toString()
Returns a
String representation of the CIM Element. |
compareTo, getNamepublic CIMTypedElement(String pName, CIMDataType pType)
CIMTypedElement with the given name and data
type.pName - Name of the element.pType - Data type of the element.public boolean equals(Object pObj)
true if and only if the argument is not null
and is a CIMTypedElement that represents the same name and
type as this object.equals in class CIMElementpObj - The object to compare with.true if the objects are the same; false
otherwise.public CIMDataType getDataType()
CIMDataType for this CIM Element.CIMDataType of this CIM element.public int hashCode()
java.util.Hashtable.hashCode in class CIMElementpublic String toString()
String representation of the CIM Element. This
method is intended to be used only for debugging purposes, and the format
of the returned string may vary between implementations. The returned
string may be empty but may not be null.toString in class CIMElementCopyright © 2005, 2012 IBM Corporation. All Rights Reserved.