com.remedy.arsys.api
Class SQLInfo

java.lang.Object
  |
  +--com.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 the 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()
          This method can be used to populate a hash table.
 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
Overrides:
clone in class java.lang.Object

equals

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

hashCode

public int hashCode()
This method can be used to populate a hash table. Implicitly used method to test equality of objects.
Overrides:
hashCode in class java.lang.Object