Class CIMArgument
java.lang.Object
org.sblim.wbem.cim.CIMElement
org.sblim.wbem.cim.CIMQualifiableElement
org.sblim.wbem.cim.CIMArgument
- All Implemented Interfaces:
Serializable, Cloneable, Comparable
A class used to denote the arguments passed to extrinsic method invocations.
- See Also:
-
Field Summary
Fields inherited from class CIMQualifiableElement
iQualifiers
Fields inherited from class CIMElement
CLOSING_BRAKET, EMPTY, iName, OPENING_BRAKET
-
Constructor Summary
ConstructorsConstructorDescriptionConstructs an object representing a CIMArgument.CIMArgument
(String pName) Construcs an object representing a CIMArgument with the specified name.CIMArgument
(String pName, CIMDataType pDataType) CIMArgument
(String pName, CIMValue pValue) Constructs an object representing a CIMArgument with the specified name and the specified CIMValue. -
Method Summary
Modifier and TypeMethodDescriptionclone()
clone
(boolean pIncludeQualifier) Creates a replica of this object.boolean
getType()
Gets the CIMDataType associated with this argument.getValue()
Gets the CIMValue associated with this CIMArgument.int
hashCode()
void
setType
(CIMDataType pType) Specifies the CIMDataType for this CIMArgument.void
Specifies the CIMValue for this CIMArgument.toString()
Methods inherited from class CIMQualifiableElement
addQualifier, getQualifier, getQualifiers, removeQualifier, setQualifiers
Methods inherited from class CIMElement
appendTab, assign, compareTo, getName, lessThan, setName, vectorToMOFString, vectorToMOFString, vectorToMOFString
-
Constructor Details
-
CIMArgument
public CIMArgument()Constructs an object representing a CIMArgument. -
CIMArgument
Construcs an object representing a CIMArgument with the specified name.- Parameters:
pName
- the name for this CIMArgument
-
CIMArgument
-
CIMArgument
-
-
Method Details
-
clone
-
clone
Creates a replica of this object. Simmiliar to clone() , but allows to create a replica without qualifiers.- Parameters:
pIncludeQualifier
- determines of the resulting object must include qualifiers.- Returns:
- a replica of this object.
- See Also:
-
equals
- Overrides:
equals
in classCIMElement
-
hashCode
-
getValue
Gets the CIMValue associated with this CIMArgument.- Returns:
- the CIMValue for this argument.
-
getType
Gets the CIMDataType associated with this argument.- Returns:
- CIMDataType representing the type for this argument
-
setType
Specifies the CIMDataType for this CIMArgument.- Parameters:
pType
-
-
setValue
Specifies the CIMValue for this CIMArgument.- Parameters:
pValue
-
-
toString
-