Class CIMParameter
java.lang.Object
org.sblim.wbem.cim.CIMElement
org.sblim.wbem.cim.CIMQualifiableElement
org.sblim.wbem.cim.CIMParameter
- All Implemented Interfaces:
Serializable, Cloneable, Comparable
- See Also:
-
Field Summary
Fields inherited from class CIMQualifiableElement
iQualifiers
Fields inherited from class CIMElement
CLOSING_BRAKET, EMPTY, iName, OPENING_BRAKET
-
Constructor Summary
ConstructorsConstructorDescriptionCreates an object of CIMParameter.CIMParameter
(String pName) Creates an object of CIMParameter with the specified name. -
Method Summary
Modifier and TypeMethodDescriptionclone()
int
getSize()
Returns the size of this object.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.toMOF()
Returns the MOF representation of this object.toString()
Methods inherited from class CIMQualifiableElement
addQualifier, getQualifier, getQualifiers, removeQualifier, setQualifiers
Methods inherited from class CIMElement
appendTab, assign, compareTo, equals, getName, lessThan, setName, vectorToMOFString, vectorToMOFString, vectorToMOFString
-
Constructor Details
-
CIMParameter
public CIMParameter()Creates an object of CIMParameter. -
CIMParameter
Creates an object of CIMParameter with the specified name.- Parameters:
pName
- The parameter's name
-
-
Method Details
-
clone
-
hashCode
-
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
-
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
Specifies the CIMDataType for this object.- Parameters:
pType
- The type- Throws:
IllegalArgumentException
- if the specified argument is null.
-
toMOF
Returns the MOF representation of this object.- Returns:
- The MOF representation
-
toString
-