version 1.30, 2002/07/30 16:14:53
|
version 1.34, 2002/08/20 17:39:37
|
|
|
@param type CIM data type of method to create | @param type CIM data type of method to create |
@param classOrigin | @param classOrigin |
@param propagated | @param propagated |
@return Throws IllegalName if name argument not legal CIM identifier. |
|
*/ | */ |
CIMMethod( | CIMMethod( |
const CIMName& name, | const CIMName& name, |
|
|
| |
/** setName - Set the method name | /** setName - Set the method name |
@param name | @param name |
@exception IllegalName if name argument not legal CIM identifier. |
|
*/ | */ |
void setName(const CIMName& name); | void setName(const CIMName& name); |
| |
|
|
*/ | */ |
void setClassOrigin(const CIMName& classOrigin); | void setClassOrigin(const CIMName& classOrigin); |
| |
/** getPropagated - Tests the propogated qualifier |
/** getPropagated - Tests the propagated qualifier |
@return - returns True if method is propogated |
@return - returns True if method is propagated |
*/ | */ |
Boolean getPropagated() const; | Boolean getPropagated() const; |
| |
|
|
| |
/** addQualifier - Adds a Qualifier to the method object. | /** addQualifier - Adds a Qualifier to the method object. |
@param CIMQualifier to be added | @param CIMQualifier to be added |
@return Throws AlreadyExists excetpion if the qualifier already exists |
@return This CIMMethod object |
in the method |
@exception AlreadyExistsException |
@exception AlreadyExists exception |
|
*/ | */ |
CIMMethod& addQualifier(const CIMQualifier& x); | CIMMethod& addQualifier(const CIMQualifier& x); |
| |
|
|
input as a parameter. | input as a parameter. |
@param Index of the qualifier requested. | @param Index of the qualifier requested. |
@return CIMQualifier object or exception | @return CIMQualifier object or exception |
@exception OutOfBounds exception if the index is outside the range of |
@exception IndexOutOfBoundsException exception if the index is |
parameters available from the CIMMethod. |
outside the range of parameters available from the CIMMethod. |
*/ | */ |
CIMQualifier getQualifier(Uint32 pos); | CIMQualifier getQualifier(Uint32 pos); |
| |
|
|
position input as a parameter. | position input as a parameter. |
@param Position of the qualifier requested. | @param Position of the qualifier requested. |
@return CIMQualifier object or exception | @return CIMQualifier object or exception |
@exception OutOfBounds exception if the index is outside the range of |
@exception IndexOutOfBoundsException exception if the index is |
parameters available from the CIMMethod. |
outside the range of parameters available from the CIMMethod. |
*/ | */ |
void removeQualifier(Uint32 pos); | void removeQualifier(Uint32 pos); |
| |
|
|
input as a parameter. | input as a parameter. |
@param index for the parameter to be returned. | @param index for the parameter to be returned. |
@return CIMParameter requested. | @return CIMParameter requested. |
@Exception OutOfBounds exception is thrown if the index is outside the |
@exception IndexOutOfBoundsException exception is thrown if the |
range of available parameters |
index is outside the range of available parameters |
*/ | */ |
CIMParameter getParameter(Uint32 pos); | CIMParameter getParameter(Uint32 pos); |
| |
/** getParameter - const form */ | /** getParameter - const form */ |
CIMConstParameter getParameter(Uint32 pos) const; | CIMConstParameter getParameter(Uint32 pos) const; |
| |
|
/** removeParameter - Removes the CIMParameter defined by the |
|
specified index |
|
|
|
@param pos index of the parameter to be removed |
|
|
|
@exception IndexOutOfBoundsException if the index is outside the |
|
range of parameters available from the CIMMethod |
|
*/ |
|
void removeParameter (Uint32 pos); |
|
|
/** getParameterCount - Gets the count of the numbeer of | /** getParameterCount - Gets the count of the numbeer of |
Parameters attached to the CIMMethod. | Parameters attached to the CIMMethod. |
@retrun - count of the number of parameters attached to the CIMMethod. | @retrun - count of the number of parameters attached to the CIMMethod. |
*/ | */ |
Uint32 getParameterCount() const; | Uint32 getParameterCount() const; |
| |
#ifdef PEGASUS_INTERNALONLY |
/** |
/** Returns true if CIMMethod refers to a null pointer */ |
Determines if the object has not been initialized. |
Boolean isNull() const; |
|
#endif |
@return True if the object has not been initialized, |
|
False otherwise |
|
*/ |
|
Boolean isUninitialized() const; |
| |
/** identical - Returns true if this method is identical to the | /** identical - Returns true if this method is identical to the |
one given by the argument x. | one given by the argument x. |
|
|
| |
CIMConstMethod(const CIMMethod& x); | CIMConstMethod(const CIMMethod& x); |
| |
// Throws IllegalName if name argument not legal CIM identifier. |
|
CIMConstMethod( | CIMConstMethod( |
const CIMName& name, | const CIMName& name, |
CIMType type, | CIMType type, |
|
|
| |
Uint32 getParameterCount() const; | Uint32 getParameterCount() const; |
| |
#ifdef PEGASUS_INTERNALONLY |
Boolean isUninitialized() const; |
Boolean isNull() const; |
|
#endif |
|
| |
Boolean identical(const CIMConstMethod& x) const; | Boolean identical(const CIMConstMethod& x) const; |
| |