public class DirectSqlAction extends Action implements ActiveLinkAction, FilterAction, Cloneable, Serializable
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 and Description |
---|
DirectSqlAction()
construct an empty DirectSqlAction object
|
DirectSqlAction(String server,
String command)
construct an DirectSqlAction object using the given server name and
SQL command
|
Modifier and Type | Method and Description |
---|---|
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.
|
equals, getActionType
public DirectSqlAction()
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)
public int hashCode()
? Copyright 2013 BMC Software, Inc.