Package org.sblim.wbem.cim
Class CIMParameter
- java.lang.Object
-
- org.sblim.wbem.cim.CIMElement
-
- org.sblim.wbem.cim.CIMQualifiableElement
-
- org.sblim.wbem.cim.CIMParameter
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable
public class CIMParameter extends CIMQualifiableElement implements java.lang.Cloneable, java.io.Serializable
- See Also:
- Serialized Form
-
-
Field Summary
-
Fields inherited from class org.sblim.wbem.cim.CIMQualifiableElement
iQualifiers
-
Fields inherited from class org.sblim.wbem.cim.CIMElement
CLOSING_BRAKET, EMPTY, iName, OPENING_BRAKET
-
-
Constructor Summary
Constructors Constructor Description CIMParameter()
Creates an object of CIMParameter.CIMParameter(java.lang.String pName)
Creates an object of CIMParameter with the specified name.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description java.lang.Object
clone()
int
getSize()
Returns the size of this object.CIMDataType
getType()
Returns the CIM data type of this objectint
hashCode()
void
setSize(int size)
Deprecated.Using this method can produce inconsitency and break invariantsvoid
setType(CIMDataType pType)
Specifies the CIMDataType for this object.java.lang.String
toMOF()
Returns the MOF representation of this object.java.lang.String
toString()
-
Methods inherited from class org.sblim.wbem.cim.CIMQualifiableElement
addQualifier, getQualifier, getQualifiers, removeQualifier, setQualifiers
-
Methods inherited from class org.sblim.wbem.cim.CIMElement
appendTab, assign, compareTo, equals, getName, lessThan, setName, vectorToMOFString, vectorToMOFString, vectorToMOFString
-
-
-
-
Method Detail
-
clone
public java.lang.Object clone()
- Overrides:
clone
in classjava.lang.Object
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getSize
public int getSize()
Returns the size of this object. A value of CIMDataType.SIZE_SINGLE is returned for single elements, CIMDataType.SIZE_UNLIMITED is returned for variable length arrays, and zero or a positive number is returned for a fixed length array.- Returns:
- The size
-
getType
public CIMDataType getType()
Returns the CIM data type of this object- Returns:
- The type
-
setSize
public void setSize(int size)
Deprecated.Using this method can produce inconsitency and break invariantsSets the size of this object- Parameters:
size
- The size
-
setType
public void setType(CIMDataType pType)
Specifies the CIMDataType for this object.- Parameters:
pType
- The type- Throws:
java.lang.IllegalArgumentException
- if the specified argument is null.
-
toMOF
public java.lang.String toMOF()
Returns the MOF representation of this object.- Returns:
- The MOF representation
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-