javax.cim
public abstract class CIMTypedElement extends CIMElement
CIMTypedElement
is the base class of all typed CIM
element.Constructor and Description |
---|
CIMTypedElement(String pName,
CIMDataType pType)
Constructor.
|
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. |
String |
toString()
Returns the
String representation of this
CIMTypedElement FIXME: format? |
compareTo, getName, hashCode
public CIMTypedElement(String pName, CIMDataType pType)
pName
- - name of the elementpType
- - type of the elementpublic boolean equals(Object pObj)
true
if and only if the argument is not null
and is a CIMValuedObject
that represents the same name, type
and value as this object.equals
in class CIMElement
pObj
- - The object to compare with.true
if the objects are the same; false
otherwise.Object.equals(java.lang.Object)
public CIMDataType getDataType()
CIMDataType
for this CIM Element.CIMDataType
of this CIM element.public String toString()
String
representation of this
CIMTypedElement
FIXME: format?toString
in class CIMElement
String
representation of this CIM element.CIMElement.toString()
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.