|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.bmc.arsys.api.Action com.bmc.arsys.api.DirectSqlAction
public class DirectSqlAction
The DirectSqlAction
class represents the filter/active link action used to issue 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 issued to the database. It is the programmer's responsibility to ensure that all issued commands achieve the desired result.
Constructor Summary | |
---|---|
DirectSqlAction()
construct an empty DirectSqlAction object |
|
DirectSqlAction(String server,
String command)
construct an DirectSqlAction object using the given server name and SQL command |
Method Summary | |
---|---|
Object |
clone()
Clone implementation that returns an Object with data cloned from self |
boolean |
equals(Object obj)
Use this method for checking equality between the current object and the provided one. |
String |
getCommand()
Returns the SQL command that you want to issue to the database. |
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(String command)
Sets the SQL command that you want to issue to the database. |
void |
setServer(String server)
Sets the AR System server where you want to run the SQL command. |
String |
toString()
Returns a string description of the object. |
Methods inherited from class com.bmc.arsys.api.Action |
---|
equals, getActionType |
Methods inherited from class java.lang.Object |
---|
getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public DirectSqlAction()
public DirectSqlAction(String server, String command)
server
- the name of the servercommand
- the SQL commandMethod Detail |
---|
public String getServer()
public void setServer(String server)
public String getCommand()
public void setCommand(String command)
public Object clone() throws CloneNotSupportedException
clone
in class Action
CloneNotSupportedException
public boolean equals(Object obj)
equals
in class Action
obj
- the object that we are comparing to
public int hashCode()
hashCode
in class Action
public String toString()
toString
in class Action
|
AR System Java API | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |