com.tivoli.twg.cim
Class CIMAccessor

java.lang.Object
  extended bycom.tivoli.twg.cim.CIMAccessor
All Implemented Interfaces:
iCIMAccessor

public class CIMAccessor
extends java.lang.Object
implements iCIMAccessor

This is an implementation of iCIMAccessor for use in Director. This interface is intended to provide all of the primitives necessary to implement the Get/Set functions required for CIM. It is implemented as an asynchronous interface, where the caller is required to implement the iCIMAccessorResponse interface. All primitives, except where specified otherwise, will be considered complete when either the method returns false, or the method returns true and the proper method in the iCIMAccessorResponse interface is called.

See Also:
iCIMAccessorResponse, aCIMInstance, aCIMAccessPair, aCIMProperty, aCIMError

Constructor Summary
CIMAccessor(long MOID)
           
 
Method Summary
protected  void CallBack(iCIMAccessorResponse Owner, com.tivoli.twg.cim.CIMCommand cmd, java.lang.Object[] DataStore)
           
 boolean GetValue(aCIMAccessPair[] Values, iCIMAccessorResponse Owner)
          Bulk Get Operation.
 boolean GetValue(aCIMInstance Instance, aCIMProperty Property, iCIMAccessorResponse Owner)
          Simple Get Operation.
 boolean SetValue(aCIMAccessPair[] Values, iCIMAccessorResponse Owner)
          Bulk Set Operation.
 boolean SetValue(aCIMInstance Instance, aCIMProperty Property, iCIMAccessorResponse Owner)
          Simple Set Operation.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CIMAccessor

public CIMAccessor(long MOID)
Method Detail

GetValue

public boolean GetValue(aCIMInstance Instance,
                        aCIMProperty Property,
                        iCIMAccessorResponse Owner)
Description copied from interface: iCIMAccessor
Simple Get Operation.

Specified by:
GetValue in interface iCIMAccessor
Returns:
boolean - true if successful, then the caller can expect a call back at either the AccessorError() or GetResponse() methods of iCIMAccessorResponse.
See Also:
iCIMAccessor

SetValue

public boolean SetValue(aCIMInstance Instance,
                        aCIMProperty Property,
                        iCIMAccessorResponse Owner)
Description copied from interface: iCIMAccessor
Simple Set Operation.

Specified by:
SetValue in interface iCIMAccessor
Returns:
boolean - true if successful, then the caller can expect a call back at either the AccessorError() or SetResponse() methods of iCIMAccessorResponse.
See Also:
iCIMAccessor

GetValue

public boolean GetValue(aCIMAccessPair[] Values,
                        iCIMAccessorResponse Owner)
Description copied from interface: iCIMAccessor
Bulk Get Operation.

Specified by:
GetValue in interface iCIMAccessor
Returns:
boolean - true if successful, then the caller can expect a call back at either the AccessorError() or GetResponse() methods of iCIMAccessorResponse.
See Also:
iCIMAccessor

SetValue

public boolean SetValue(aCIMAccessPair[] Values,
                        iCIMAccessorResponse Owner)
Description copied from interface: iCIMAccessor
Bulk Set Operation.

Specified by:
SetValue in interface iCIMAccessor
Returns:
boolean - true if successful, then the caller can expect a call back at either the AccessorError() or SetResponse() methods of iCIMAccessorResponse.
See Also:
iCIMAccessor

CallBack

protected void CallBack(iCIMAccessorResponse Owner,
                        com.tivoli.twg.cim.CIMCommand cmd,
                        java.lang.Object[] DataStore)