7.0 Action Request System Java API

com.remedy.arsys.api
Class COMValueInfo

java.lang.Object
  extended bycom.remedy.arsys.api.COMValueInfo
All Implemented Interfaces:
java.lang.Cloneable

public class COMValueInfo
extends java.lang.Object
implements java.lang.Cloneable

The COMValueInfo class is used to define the method and parameter values in the OLE Automation active link action.


Constructor Summary
COMValueInfo()
          constructor
COMValueInfo(java.lang.String valueIId, long transId, int valueType, long fieldId, Value value)
           
 
Method Summary
 java.lang.Object clone()
          Clone implementation that returns an Object with data cloned from self
 boolean equals(java.lang.Object anObject)
          Use this method for checking equality.
 InternalID getFieldId()
          Returns union that defines the field ID.
 InternalID getTransId()
          Returns the Transient ID that links a method that takes another method as a parameter to the method that is used as that parameter.
 Value getValue()
          Returns union that represents the field value.
 java.lang.String getValueIId()
           When used with return value of a method, returns the ID of the interface returned by the method.
 int getValueType()
          Returns integer specifying the type of value represented by the structure.
 int hashCode()
          Returns the hash code value for this instance of the current class.
 void setFieldId(InternalID fieldId)
          Sets union that defines the field ID.
 void setTransId(InternalID transId)
          Sets the Transient ID that links a method that takes another method as a parameter to the method that is used as that parameter.
 void setValue(Value value)
          Sets union that represents the field value.
 void setValueIId(java.lang.String valueIId)
           When used to define the return value of a method, sets the ID of the interface returned by the method.
 void setValueType(int valueType)
          Sets integer specifying the type of value represented by the structure.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

COMValueInfo

public COMValueInfo()
constructor


COMValueInfo

public COMValueInfo(java.lang.String valueIId,
                    long transId,
                    int valueType,
                    long fieldId,
                    Value value)
Method Detail

getFieldId

public InternalID getFieldId()
Returns union that defines the field ID.


setFieldId

public void setFieldId(InternalID fieldId)
Sets union that defines the field ID. For Constants.AR_COM_PARM_FIELDID, this is the ID of the field to set to the return value of this method or the field to pass as this parameter, specified by using the InternalID class.


getValue

public Value getValue()
Returns union that represents the field value.


setValue

public void setValue(Value value)
Sets union that represents the field value. For Constants.AR_COM_PARM_VALUE, this is the value to pass as this parameter, specified by using the Value class.


getValueIId

public java.lang.String getValueIId()


setValueIId

public void setValueIId(java.lang.String valueIId)


getTransId

public InternalID getTransId()
Returns the Transient ID that links a method that takes another method as a parameter to the method that is used as that parameter.


setTransId

public void setTransId(InternalID transId)
Sets the Transient ID that links a method that takes another method as a parameter to the method that is used as that parameter. For example, Method A takes Method B as a parameter. Use the same integer value here for the Value class that defines the return value for Method B as you do for the class that defines the parameter value of Method A.


getValueType

public int getValueType()
Returns integer specifying the type of value represented by the structure.


setValueType

public void setValueType(int valueType)
Sets integer specifying the type of value represented by the structure. For AR_COM_METHOD_NULL, set the other members of the structure to NULL or 0.

Possible return values include the following:


clone

public java.lang.Object clone()
                       throws java.lang.CloneNotSupportedException
Clone implementation that returns an Object with data cloned from self

Throws:
java.lang.CloneNotSupportedException

equals

public boolean equals(java.lang.Object anObject)
Use this method for checking equality. The result is true only if the argument is not null, is of same type and represents the same content.


hashCode

public int hashCode()
Returns the hash code value for this instance of the current class. This method is supported as required by the general contract of Object.hashCode, for the benefit of hash tables such as those provided by java.util.Hashtable.


7.0 Action Request System Java API