|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--javax.wbem.cim.CIMElement | +--javax.wbem.cim.CIMArgument
This class represents parameters that are passed into an extrinsic method when it is invoked. The argument has a name, value and may have qualifiers.
Constructor Summary | |
CIMArgument()
Instantiates a CIM argument |
|
CIMArgument(java.lang.String name)
Creates a CIMArgument of the appropriate name. |
|
CIMArgument(java.lang.String name,
CIMValue pValue)
Creates a CIMArgument of the appropriate name and value. |
Method Summary | |
java.lang.Object |
clone()
Clones this CIM argument. |
java.lang.Object |
clone(boolean includeQualifier)
Clones this CIM argument. |
CIMQualifier |
getQualifier(java.lang.String name)
Returns the appropriate qualifier for this argument. |
CIMQualifier[] |
getQualifiers()
Returns the list of qualifiers for this argument. |
CIMDataType |
getType()
Returns the data type of this argument |
CIMValue |
getValue()
Gets the value for this argument |
void |
setQualifiers(CIMQualifier[] pqualifiers)
Sets the list of qualifiers for this argument to the specified list of qualifiers |
void |
setType(CIMDataType type)
Sets the data type of this argument to the specified CIM data type |
void |
setValue(CIMValue pValue)
Sets the value for this argument. |
Methods inherited from class javax.wbem.cim.CIMElement |
assign, equals, getName, lessThan, setName, toString |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CIMArgument()
public CIMArgument(java.lang.String name)
name
- name of the CIM argumentpublic CIMArgument(java.lang.String name, CIMValue pValue)
name
- name of the CIM argumentpValue
- The value for this argument. If the value and its type
is non-null, this argument's type is updated with the
value's type.Method Detail |
public void setQualifiers(CIMQualifier[] pqualifiers)
pqualifiers
- list of qualifiers to be assigned to the argumentpublic CIMQualifier[] getQualifiers()
public void setType(CIMDataType type)
type
- The CIM data type assigned to the argumentpublic CIMDataType getType()
public void setValue(CIMValue pValue)
pValue
- The value for this argument.public CIMValue getValue()
public java.lang.Object clone()
public java.lang.Object clone(boolean includeQualifier)
includeQualifier
- Specifies if the cloned object should
contain cloned qualifiers or not.public CIMQualifier getQualifier(java.lang.String name)
name
- The name of the qualifier to get.
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |