org.sblim.wbem.client.operations

Class CIMOperation

Known Direct 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 java.lang.Object

CIMOperation.java (C) Copyright IBM Corp. 2005, 2006 THIS FILE IS PROVIDED UNDER THE TERMS OF THE COMMON PUBLIC LICENSE ("AGREEMENT"). ANY USE, REPRODUCTION OR DISTRIBUTION OF THIS FILE CONSTITUTES RECIPIENTS ACCEPTANCE OF THE AGREEMENT. You can obtain a current copy of the Common Public License from http://www.opensource.org/licenses/cpl1.0.php

Field Summary

protected String
iMethodCall
protected CIMNameSpace
iNameSpace
protected CIMObjectPath
iObjectName
protected Object
iResult

Method Summary

String
getMethodCall()
Returns the method call
CIMNameSpace
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(CIMNameSpace pNamespace)
Sets the namespace
void
setResult(Object pResult)
Sets the operation result

Field Details

iMethodCall

protected String iMethodCall

iNameSpace

protected CIMNameSpace iNameSpace

iObjectName

protected CIMObjectPath iObjectName

iResult

protected Object iResult

Method Details

getMethodCall

public String getMethodCall()
Returns the method call
Returns:
The method call

getNameSpace

public CIMNameSpace getNameSpace()
Returns the namespace
Returns:
The namespace

getObjectName

public CIMObjectPath getObjectName()
Returns the object name
Returns:
The object name

getResult

public Object getResult()
            throws CIMException
Returns the result of the operation
Returns:
The result
Throws:
CIMException -

isException

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

setNameSpace

public void setNameSpace(CIMNameSpace pNamespace)
Sets the namespace
Parameters:
pNamespace - The namespace

setResult

public void setResult(Object pResult)
Sets the operation result
Parameters:
pResult - The result

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