org.sblim.wbem.cim
public class CIMArgument extends CIMQualifiableElement implements java.lang.Cloneable
iQualifiers
CLOSING_BRAKET, EMPTY, iName, OPENING_BRAKET
Constructor and 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.
|
Modifier and Type | Method and 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() |
addQualifier, getQualifier, getQualifiers, removeQualifier, setQualifiers
appendTab, assign, compareTo, getName, lessThan, setName, vectorToMOFString, vectorToMOFString, vectorToMOFString
public CIMArgument()
public CIMArgument(java.lang.String pName)
pName
- the name for this CIMArgumentpublic CIMArgument(java.lang.String pName, CIMValue pValue)
pName
- the name for this CIMArgumentpValue
- the value associated to this CIMArgument.public CIMArgument(java.lang.String pName, CIMDataType pDataType)
public java.lang.Object clone()
clone
in class java.lang.Object
public java.lang.Object clone(boolean pIncludeQualifier)
pIncludeQualifier
- determines of the resulting object must include qualifiers.clone()
public boolean equals(java.lang.Object o)
equals
in class CIMElement
public int hashCode()
hashCode
in class java.lang.Object
public CIMValue getValue()
public CIMDataType getType()
public void setType(CIMDataType pType)
pType
- public void setValue(CIMValue pValue)
pValue
- public java.lang.String toString()
toString
in class java.lang.Object
Copyright © 2005, 2009 IBM Corporation. All Rights Reserved.