7.0 Action Request System Java API

com.remedy.arsys.api
Class SQLInfo

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

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

The SQLInfo class represents the filter/active link action used to submit any legal SQL command to the database.

Warning Because AR System passes direct SQL commands to the database without checking the syntax, all commands are submitted to the database. It is the programmer?s responsibility to ensure that all submitted commands achieve the desired result.


Constructor Summary
SQLInfo()
          constructor
SQLInfo(java.lang.String server, 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.
 java.lang.String getCommand()
          Returns the SQL command that you want to submit to the database.
 java.lang.String getServer()
          Returns the AR System server where you want to run the SQL command.
 int hashCode()
          Returns the hash code value for this instance of the current class.
 void setCommand(java.lang.String command)
          Sets the SQL command that you want to submit to the database.
 void setServer(java.lang.String server)
          Sets the AR System server where you want to run the SQL command.
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

SQLInfo

public SQLInfo()
constructor


SQLInfo

public SQLInfo(java.lang.String server,
               java.lang.String command)
Method Detail

getServer

public java.lang.String getServer()
Returns the AR System server where you want to run the SQL command.


setServer

public void setServer(java.lang.String server)
Sets the AR System server where you want to run the SQL command.


getCommand

public java.lang.String getCommand()
Returns the SQL command that you want to submit to the database.


setCommand

public void setCommand(java.lang.String command)
Sets the SQL command that you want to submit to the database.


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