Package org.sblim.wbem.cim
Class CIMArgument
- java.lang.Object
-
- org.sblim.wbem.cim.CIMElement
-
- org.sblim.wbem.cim.CIMQualifiableElement
-
- org.sblim.wbem.cim.CIMArgument
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Comparable
public class CIMArgument extends CIMQualifiableElement implements java.lang.Cloneable
A class used to denote the arguments passed to extrinsic method invocations.- 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 CIMArgument()
Constructs an object representing a CIMArgument.CIMArgument(java.lang.String pName)
Construcs an object representing a CIMArgument with the specified name.CIMArgument(java.lang.String pName, CIMDataType pDataType)
CIMArgument(java.lang.String pName, CIMValue pValue)
Constructs an object representing a CIMArgument with the specified name and the specified CIMValue.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
clone()
java.lang.Object
clone(boolean pIncludeQualifier)
Creates a replica of this object.boolean
equals(java.lang.Object o)
CIMDataType
getType()
Gets the CIMDataType associated with this argument.CIMValue
getValue()
Gets the CIMValue associated with this CIMArgument.int
hashCode()
void
setType(CIMDataType pType)
Specifies the CIMDataType for this CIMArgument.void
setValue(CIMValue pValue)
Specifies the CIMValue for this CIMArgument.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, getName, lessThan, setName, vectorToMOFString, vectorToMOFString, vectorToMOFString
-
-
-
-
Constructor Detail
-
CIMArgument
public CIMArgument()
Constructs an object representing a CIMArgument.
-
CIMArgument
public CIMArgument(java.lang.String pName)
Construcs an object representing a CIMArgument with the specified name.- Parameters:
pName
- the name for this CIMArgument
-
CIMArgument
public CIMArgument(java.lang.String pName, CIMValue pValue)
Constructs an object representing a CIMArgument with the specified name and the specified CIMValue.- Parameters:
pName
- the name for this CIMArgumentpValue
- the value associated to this CIMArgument.
-
CIMArgument
public CIMArgument(java.lang.String pName, CIMDataType pDataType)
-
-
Method Detail
-
clone
public java.lang.Object clone()
- Overrides:
clone
in classjava.lang.Object
-
clone
public java.lang.Object clone(boolean pIncludeQualifier)
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:
clone()
-
equals
public boolean equals(java.lang.Object o)
- Overrides:
equals
in classCIMElement
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
getValue
public CIMValue getValue()
Gets the CIMValue associated with this CIMArgument.- Returns:
- the CIMValue for this argument.
-
getType
public CIMDataType getType()
Gets the CIMDataType associated with this argument.- Returns:
- CIMDataType representing the type for this argument
-
setType
public void setType(CIMDataType pType)
Specifies the CIMDataType for this CIMArgument.- Parameters:
pType
-
-
setValue
public void setValue(CIMValue pValue)
Specifies the CIMValue for this CIMArgument.- Parameters:
pValue
-
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-