|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectjavax.cim.CIMElement
javax.cim.CIMTypedElement
public abstract class CIMTypedElement
CIMTypedElement
is an abstract class that represents a CIM
element that contains just the data type, but no value.
Constructor Summary | |
---|---|
CIMTypedElement(String pName,
CIMDataType pType)
Constructs a CIMTypedElement with the given name and data
type. |
Method Summary | |
---|---|
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. |
Methods inherited from class javax.cim.CIMElement |
---|
compareTo, getName |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public CIMTypedElement(String pName, CIMDataType pType)
CIMTypedElement
with the given name and data
type.
pName
- Name of the element.pType
- Data type of the element.Method Detail |
---|
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 CIMElement
pObj
- 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 CIMElement
public 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 CIMElement
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |