javax.cim
public class CIMMethod extends CIMTypedElement implements CIMQualifiedElementInterface, Serializable
Constructor Summary | |
---|---|
CIMMethod(String pName, CIMDataType pType, CIMQualifier[] pQualis, CIMParameter[] pParams, boolean pPropagated, String pOriginClass)
Constructs a CIMMethod object with the specified
information.
|
Method Summary | |
---|---|
boolean | equals(Object pObj) |
CIMMethod | filter(boolean pIncludeQualifiers, boolean pIncludeClassOrigin)
filter
|
CIMMethod | filter(boolean pIncludeQualifiers, boolean pIncludeClassOrigin, boolean pLocalOnly)
Returns a CIMMethod filtered as specified.
|
String | getOriginClass()
Returns the class name in which this method was defined or overridden.
|
CIMParameter | getParameter(String pName)
Get the parameter that matches the specified name.
|
CIMParameter[] | getParameters()
Returns an array of the parameters for this method.
|
CIMQualifier | getQualifier(int pIndex)
Get a qualifier by index.
|
CIMQualifier | getQualifier(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.
|
Object | getQualifierValue(String pName) |
boolean | hasQualifier(String pName)
Checks whether the specified qualifier is one of the qualifiers in this
CIM element.
|
boolean | hasQualifierValue(String pName, Object pValue) |
boolean | isPropagated()
isPropagated
|
String | toString()
Returns a String representation of the
CIMMethod . |
CIMMethod
object with the specified
information.
Parameters: pName - The name of the method. pType - The data type of the method. pQualis - The method qualifiers. pParams - The array of parameters for this method. pPropagated - Is this method propagated from the superclass. pOriginClass - The class this method was defined or overridden in.
See Also: CIMTypedElement
Parameters: pIncludeQualifiers If true all qualifiers are returned; otherwise no qualifiers. pIncludeClassOrigin If true the class origin is included; otherwise no class origin is present.
Returns: CIMMethod A filtered CIMMethod
Parameters: pIncludeQualifiers If true all qualifiers are returned; otherwise no qualifiers. pIncludeClassOrigin If true the class origin is included; otherwise no class origin is present pLocalOnly
Returns: CIMMethod A filtered CIMMethod
Returns: Name of class where this property was defined.
Parameters: pName The name of the CIMParameter to retrieve
Returns: CIMParameter matching the name specified; otherwise null
Returns: The parameters for this method.
Parameters: pIndex - The index of the qualifier
Returns: The Qualifier at index pIndex
Parameters: pName - The name of the qualifier to get.
Returns: null
if the qualifier does not exist, otherwise
returns the reference to the qualifier.
Returns: The number of qualifiers.
Returns: Qualifiers for this class.
See Also: CIMQualifiedElementInterface
Parameters: pName - The name of the qualifier.
Returns: true
if the qualifier exists in this CIM element,
otherwise false
.
See Also: CIMQualifiedElementInterface
Returns: boolean
String
representation of the
CIMMethod
. This method is intended to be used only for
debugging purposes, and the format of the returned string may vary
between implementations. The returned string may be empty but may not be
null
.
Returns: The string representation of this method.