|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectnet.sourceforge.squirrel_sql.plugins.sessionscript.AliasScript
public class AliasScript
An SQL script run when a session is started.
| Constructor Summary | |
|---|---|
AliasScript()
Default ctor. |
|
AliasScript(ISQLAlias alias)
Ctor specifying the ISQLAlias. |
|
| Method Summary | |
|---|---|
boolean |
equals(Object rhs)
Returns true if this objects is equal to the passed one. |
IIdentifier |
getIdentifier()
Return the identifier that uniquely identifies this object. |
String |
getSQL()
Return the SQL to be run. |
int |
hashCode()
Returns a hash code value for this object. |
void |
setIdentifier(IIdentifier id)
Set the identifier that uniquely identifies this object. |
void |
setSQL(String value)
Set the SQL to be run. |
String |
toString()
Return the SQL as a string representaion of this object. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public AliasScript()
public AliasScript(ISQLAlias alias)
alias - ISQLAlias we have creatign this script for.
IllegalArgumentException - Thrown if null ISQLAlias passed.| Method Detail |
|---|
public boolean equals(Object rhs)
equals in class Objectpublic int hashCode()
hashCode in class Objectpublic String toString()
toString in class Objectpublic IIdentifier getIdentifier()
getIdentifier in interface IHasIdentifierpublic String getSQL()
public void setIdentifier(IIdentifier id)
the - identifier that uniquely identifies this object.public void setSQL(String value)
value - The SQL.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||