|
|||||||||
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.CIMMethod
Creates and instantiates a CIM method.
Constructor Summary | |
CIMMethod()
Creates and instantiates a CIM method. |
|
CIMMethod(java.lang.String name)
Creates and instantiates a CIM method with the specified name. |
Method Summary | |
java.lang.Object |
clone()
Returns an object that is a copy of this CIM method. |
java.lang.Object |
clone(boolean includeQualifier,
boolean includeClassOrigin)
Returns an object that is a copy of this CIM method. |
java.lang.String |
getOriginClass()
Returns the class in which this method was defined. |
java.lang.String |
getOverridingMethod()
Gets the name of the overriding method for this method. |
java.util.Vector |
getParameters()
Returns the list of parameters for this method |
CIMQualifier |
getQualifier(java.lang.String name)
|
java.util.Vector |
getQualifiers()
Returns the list of qualifiers for this method |
int |
getSize()
Returns the size of this method's return value |
CIMDataType |
getType()
Returns the data type of this method's return value |
void |
setOriginClass(java.lang.String originClass)
Sets the class in which this method was defined. |
void |
setOverridingMethod(java.lang.String name)
Sets the name of the overriding method for this method. |
void |
setParameters(java.util.Vector pTable)
Sets the list of parameters for this method to the specified list of parameters |
void |
setQualifiers(java.util.Vector qTable)
Sets the list of qualifiers for this method to the specified list of qualifiers |
void |
setSize(int size)
Sets the size of this method's return type to the specified size |
void |
setType(CIMDataType type)
Sets the data type of this method's return value to the specified CIM data type. |
java.lang.String |
toMOF()
Returns a MOF representation of the CIMMethod |
java.lang.String |
toString()
Returns a String representation of the CIMMethod. |
Methods inherited from class javax.wbem.cim.CIMElement |
assign, equals, getName, lessThan, setName |
Methods inherited from class java.lang.Object |
getClass, hashCode, notify, notifyAll, wait, wait, wait |
Constructor Detail |
public CIMMethod()
public CIMMethod(java.lang.String name)
name
- Name of an existing CIM methodMethod Detail |
public void setQualifiers(java.util.Vector qTable)
qTable
- list of qualifiers to be assigned to the methodpublic java.util.Vector getQualifiers()
public CIMQualifier getQualifier(java.lang.String name)
name
- The name of the qualifier to get.public java.lang.String getOriginClass()
public void setOriginClass(java.lang.String originClass)
originClass
- The name of the class in which this property is
defined.public void setParameters(java.util.Vector pTable)
pTable
- list of parameters to be assigned to this methodpublic java.util.Vector getParameters()
public void setType(CIMDataType type)
type
- the CIM data type assigned to the method's
return value.public CIMDataType getType()
public int getSize()
public void setSize(int size)
size
- the integer size assigned to this method's
return valuepublic void setOverridingMethod(java.lang.String name)
name
- The string name of the overriding method for this method.public java.lang.String getOverridingMethod()
public java.lang.String toString()
toString
in class CIMElement
public java.lang.String toMOF()
public java.lang.Object clone()
public java.lang.Object clone(boolean includeQualifier, boolean includeClassOrigin)
includeQualifier
- A boolean that is true if this
CIM method contains CIM qualifiers, otherwise false.includeClassOrigin
- A boolean that is true if this
method contains the class origin
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |