7.0 Action Request System Java API

com.remedy.arsys.api
Class DDEInfo

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

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

The DDEInfo class specifies a DDE result value to assign in a Set Fields action. This option is available for active links on Windows clients only.


Constructor Summary
DDEInfo()
          constructor
DDEInfo(java.lang.String serviceName, java.lang.String topic, java.lang.String item, long action, java.lang.String pathToProgram, java.lang.String command)
           
 
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.
 long getAction()
          Returns integer value identifying the type of DDE action.
 java.lang.String getCommand()
          Returns string specifying the command to execute.
 java.lang.String getItem()
          Returns string specifying the item to retrieve.
 java.lang.String getPathToProgram()
          Returns string specifying the path to the application.
 java.lang.String getServiceName()
          Returns string specifying the service to use.
 java.lang.String getTopic()
          Returns string specifying the topic to use.
 int hashCode()
          Returns the hash code value for this instance of the current class.
 void setAction(long action)
          Sets integer value identifying the type of DDE action.
 void setCommand(java.lang.String command)
          Sets string specifying the command to execute.
 void setItem(java.lang.String item)
          Sets string specifying the item to retrieve.
 void setPathToProgram(java.lang.String pathToProgram)
          Sets string specifying the path to the application.
 void setServiceName(java.lang.String serviceName)
          Sets string specifying the service to use.
 void setTopic(java.lang.String topic)
          Sets string specifying the topic to use.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DDEInfo

public DDEInfo()
constructor


DDEInfo

public DDEInfo(java.lang.String serviceName,
               java.lang.String topic,
               java.lang.String item,
               long action,
               java.lang.String pathToProgram,
               java.lang.String command)
Method Detail

getServiceName

public java.lang.String getServiceName()
Returns string specifying the service to use.


setServiceName

public void setServiceName(java.lang.String serviceName)
Sets string specifying the service to use.


getTopic

public java.lang.String getTopic()
Returns string specifying the topic to use.


setTopic

public void setTopic(java.lang.String topic)
Sets string specifying the topic to use.


getItem

public java.lang.String getItem()
Returns string specifying the item to retrieve.


setItem

public void setItem(java.lang.String item)
Sets string specifying the item to retrieve.


getAction

public long getAction()
Returns integer value identifying the type of DDE action.


setAction

public void setAction(long action)
Sets integer value identifying the type of DDE action. Specify AR_DDE_REQUEST for this item.


getPathToProgram

public java.lang.String getPathToProgram()
Returns string specifying the path to the application.


setPathToProgram

public void setPathToProgram(java.lang.String pathToProgram)
Sets string specifying the path to the application.


getCommand

public java.lang.String getCommand()
Returns string specifying the command to execute.


setCommand

public void setCommand(java.lang.String command)
Sets string specifying the command to execute. Specify NULL for this item.


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