7.0 Action Request System Java API

com.remedy.arsys.api
Class AssignSQLInfo

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

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

The AssignSQLInfo class specifies the SQL command and how the result is assigned to the field in a Set Fields action.


Constructor Summary
AssignSQLInfo()
          constructor
AssignSQLInfo(java.lang.String server, java.lang.String sqlCommand, long valueIndex, long noMatchOption, long multiMatchOption)
           
 
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 getMultiMatchOption()
          Returns integer value indicating the action to take if multiple rows match the selection criteria.
 long getNoMatchOption()
          Returns integer value indicating the action to take if no rows match the selection criteria.
 java.lang.String getServer()
          Returns string specifying the name of the server where the database is located.
 java.lang.String getSqlCommand()
          Returns string specifying the SQL query to execute.
 long getValueIndex()
          Returns integer value indicating which of the selected columns contains the value to assign.
 int hashCode()
          Returns the hash code value for this instance of the current class.
 void setMultiMatchOption(long multiMatchOption)
          Sets integer value indicating the action to take if multiple rows match the selection criteria.
 void setNoMatchOption(long noMatchOption)
          Sets integer value indicating the action to take if no rows match the selection criteria.
 void setServer(java.lang.String server)
          Sets string specifying the name of the server where the database is located.
 void setSqlCommand(java.lang.String sqlCommand)
          Sets string specifying the SQL query to execute.
 void setValueIndex(long valueIndex)
          Sets integer value indicating which of the selected columns contains the value to assign.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AssignSQLInfo

public AssignSQLInfo()
constructor


AssignSQLInfo

public AssignSQLInfo(java.lang.String server,
                     java.lang.String sqlCommand,
                     long valueIndex,
                     long noMatchOption,
                     long multiMatchOption)
Method Detail

getServer

public java.lang.String getServer()
Returns string specifying the name of the server where the database is located.


setServer

public void setServer(java.lang.String server)
Sets string specifying the name of the server where the database is located.


getSqlCommand

public java.lang.String getSqlCommand()
Returns string specifying the SQL query to execute.


setSqlCommand

public void setSqlCommand(java.lang.String sqlCommand)
Sets string specifying the SQL query to execute.


getValueIndex

public long getValueIndex()
Returns integer value indicating which of the selected columns contains the value to assign.


setValueIndex

public void setValueIndex(long valueIndex)
Sets integer value indicating which of the selected columns contains the value to assign.


getNoMatchOption

public long getNoMatchOption()
Returns integer value indicating the action to take if no rows match the selection criteria. The possible constant values that this method can return are:


setNoMatchOption

public void setNoMatchOption(long noMatchOption)
Sets integer value indicating the action to take if no rows match the selection criteria. The possible constant values that this method can set are:


getMultiMatchOption

public long getMultiMatchOption()
Returns integer value indicating the action to take if multiple rows match the selection criteria. The possible constant values that this method can return are:


setMultiMatchOption

public void setMultiMatchOption(long multiMatchOption)
Sets integer value indicating the action to take if multiple rows match the selection criteria. The possible constant values that this method can set are:


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