Action Request System Java API

com.remedy.arsys.api
Class SQLInfo

java.lang.Object
  |
  +--com.remedy.arsys.api.SQLInfo

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
 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.
 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
equals, finalize, getClass, hashCode, 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

Action Request System Java API