public class UnionInfo
extends java.lang.Object
| Constructor and Description |
|---|
UnionInfo()
Constructs an empty UnionInfo object.
|
UnionInfo(java.lang.String queryName,
boolean unionAll)
Constructs a UnionInfo with specific contents.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object obj)
Compares the objects.
|
java.lang.String |
getQueryName()
Gets the union query name.
|
boolean |
getUnionStatus()
Gets the "Union All" status.
|
void |
setQueryName(java.lang.String queryName)
Sets the query's name to be union.
|
void |
setUnionStatus(boolean unionAll)
Sets the "Union All" status.
|
public UnionInfo()
public UnionInfo(java.lang.String queryName,
boolean unionAll)
queryName - The union query name.unionAll - Indicates whether this union is "Union All" or not.public java.lang.String getQueryName()
public boolean getUnionStatus()
true if the "Union ALL" has been set in the statement; false otherwise.public void setQueryName(java.lang.String queryName)
queryName - The query's name.public void setUnionStatus(boolean unionAll)
unionAll - true if the "Union ALL" will be set in the statement; false otherwise.public boolean equals(java.lang.Object obj)
equals in class java.lang.Objecttrue if the given object is equal to this one; false otherwise.