org.sblim.cimclient.internal.wbem.operations
Class CIMOperation

java.lang.Object
  extended by org.sblim.cimclient.internal.wbem.operations.CIMOperation
Direct Known Subclasses:
CIMAssociatorNamesOp, CIMAssociatorsOp, CIMCreateClassOp, CIMCreateInstanceOp, CIMCreateNameSpaceOp, CIMCreateQualifierTypeOp, CIMDeleteClassOp, CIMDeleteInstanceOp, CIMDeleteNameSpaceOp, CIMDeleteQualifierTypeOp, CIMEnumClassesOp, CIMEnumClassNamesOp, CIMEnumInstanceNamesOp, CIMEnumInstancesOp, CIMEnumNameSpaceOp, CIMEnumQualifierTypesOp, CIMExecQueryOp, CIMInvokeMethodOp, CIMReferenceNamesOp, CIMReferencesOp, CIMSetClassOp, CIMSetInstanceOp, CIMSetPropertyOp, CIMSetQualifierTypeOp, CIMSingleResultOperation

public abstract class CIMOperation
extends Object

CIMOperation


Field Summary
protected  String iMethodCall
           
protected  String iNameSpace
           
protected  CIMObjectPath iObjectName
           
protected  Object iResult
           
 
Constructor Summary
CIMOperation()
           
 
Method Summary
 String getMethodCall()
          Returns the method call
 String getNameSpace()
          Returns the namespace
 CIMObjectPath getObjectName()
          Returns the object name
 Object getResult()
          Returns the result of the operation
 boolean isException()
          Returns if an (uncaught) exception occurred
 void setNameSpace(String pNamespace)
          Sets the namespace
 void setResult(Object pResult)
          Sets the operation result
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

iObjectName

protected CIMObjectPath iObjectName

iNameSpace

protected String iNameSpace

iMethodCall

protected String iMethodCall

iResult

protected Object iResult
Constructor Detail

CIMOperation

public CIMOperation()
Method Detail

getObjectName

public CIMObjectPath getObjectName()
Returns the object name

Returns:
The object name

getNameSpace

public String getNameSpace()
Returns the namespace

Returns:
The namespace

setNameSpace

public void setNameSpace(String pNamespace)
Sets the namespace

Parameters:
pNamespace - The namespace

getMethodCall

public String getMethodCall()
Returns the method call

Returns:
The method call

isException

public boolean isException()
Returns if an (uncaught) exception occurred

Returns:
true if an (uncaught) exception occurred, false otherwise

getResult

public Object getResult()
                 throws WBEMException
Returns the result of the operation

Returns:
The result
Throws:
WBEMException

setResult

public void setResult(Object pResult)
Sets the operation result

Parameters:
pResult - The result


Copyright © 2005, 2013 IBM Corporation. All Rights Reserved.