|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectjavax.cim.CIMElement
javax.cim.CIMTypedElement
javax.cim.CIMMethod
This class represents a CIM Method as defined by the Distributed Management Task Force (DMTF) CIM Infrastructure Specification (DSP004).
| Constructor Summary | |
CIMMethod(java.lang.String name,
CIMDataType type,
CIMQualifier[] qualifiers,
CIMParameter[] parameters,
boolean propagated,
java.lang.String originClass)
Constructs a CIMMethod object with the specified information. |
|
| Method Summary | |
boolean |
equals(java.lang.Object obj)
Compares this object against the specified object. |
CIMDataType |
getDataType()
Returns the CIMDataType for this CIM Element. |
java.lang.String |
getOriginClass()
Returns the class name in which this method was defined or overridden. |
CIMParameter[] |
getParameters()
Returns an array of the parameters for this method |
CIMQualifier |
getQualifier(int pIndex)
Get a qualifier by index. |
CIMQualifier |
getQualifier(java.lang.String pName)
Gets a qualifier by name. |
int |
getQualifierCount()
Get the number of qualifiers defined for this CIM Element. |
CIMQualifier[] |
getQualifiers()
Returns the list of qualifiers for this class |
java.lang.Object |
getQualifierValue(java.lang.String name)
Gets a qualifier value by name. |
boolean |
hasQualifier(java.lang.String pName)
Checks whether the specified qualifier is one of the qualifiers in this CIM element. |
boolean |
hasQualifierValue(java.lang.String name,
java.lang.Object value)
Checks whether the specified qualifier is one of the qualifiers defined for this method with the specified value. |
java.lang.String |
toString()
Returns a String representation of the CIMMethod. |
| Methods inherited from class javax.cim.CIMElement |
getName, hashCode |
| Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
public CIMMethod(java.lang.String name,
CIMDataType type,
CIMQualifier[] qualifiers,
CIMParameter[] parameters,
boolean propagated,
java.lang.String originClass)
name - The name of the method.type - The data type of the method.qualifiers - The method qualifiers.parameters - The array of parameters for this method.propagated - Is this method propagated from the superclass.originClass - The class this method was defined or overridden in.| Method Detail |
public java.lang.String getOriginClass()
public CIMParameter[] getParameters()
public CIMQualifier getQualifier(int pIndex)
getQualifier in interface CIMQualifiedElementInterfacepIndex - The index of the qualifier
public CIMQualifier getQualifier(java.lang.String pName)
getQualifier in interface CIMQualifiedElementInterfacepName - The name of the qualifier to get.
public int getQualifierCount()
getQualifierCount in interface CIMQualifiedElementInterfacepublic CIMQualifier[] getQualifiers()
getQualifiers in interface CIMQualifiedElementInterfacepublic java.lang.Object getQualifierValue(java.lang.String name)
getQualifierValue in interface CIMQualifiedElementInterfacename - The name of the qualifier to get.
public boolean hasQualifier(java.lang.String pName)
hasQualifier in interface CIMQualifiedElementInterfacepName - the name of the qualifier
public boolean hasQualifierValue(java.lang.String name,
java.lang.Object value)
hasQualifierValue in interface CIMQualifiedElementInterfacename - the name of the qualifiervalue - the value to be tested
public java.lang.String toString()
toString in class CIMElementpublic boolean equals(java.lang.Object obj)
equals in class CIMElementobj - -
the object to compare with.
public CIMDataType getDataType()
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||