public class WhereObject extends Operation
| Modifier and Type | Class and Description | 
|---|---|
static class  | 
WhereObject.WhereOperator
Valid operators for a WhereObject. 
 | 
AbstractDBObject.ChildSupport, AbstractDBObject.ListenerSupport| Modifier and Type | Field and Description | 
|---|---|
static java.lang.String | 
TYPE  | 
COMMA, DEFAULT_SEPARATOR, EMPTY, EMPTY_ARRAY, INDENT, NEWLINE, SPACE| Constructor and Description | 
|---|
WhereObject()
Creates an empty WhereObject. 
 | 
WhereObject(SQLFragment exp)
Where object with only one clause. 
 | 
WhereObject(SQLFragment[] expressions,
           WhereObject.WhereOperator logic)
Creates a WhereObject with the given expressions. 
 | 
| Modifier and Type | Method and Description | 
|---|---|
WhereObject.WhereOperator | 
getOperator()
Gets whether this is an AND or OR condition. 
 | 
java.lang.String | 
getOperatorText()  | 
java.lang.String | 
getType()
Returns the type of this object. 
 | 
void | 
setOperator(WhereObject.WhereOperator logic)
Sets whether this is an AND or OR condition. 
 | 
addArgument, addArgument, addArguments, checkArgument, checkNewSize, copyToImpl, equalsImpl, getArgumentCount, getArguments, getDataTypeID, getDistinctText, getSeparator, getSQLText, removeArgument, setArguments, setCommutative, setFunctionFormat, setSeparatorappendToBuffer, argsToString, getStartOffset, getTextOrNull, getTextOrNull, setStartOffset, surroundWithBrackets, surroundWithBrackets, toStringsetParentcheckInit, checkInit, getOwnedObjectsImpl, getProperties, getReferenceIDsImpl, needsInitializationaddObjectListener, addObjectListener, addObjectListener, changeParent, compareToImpl, copyObject, copyTo, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, findOwnedObject, findParent, fireObjectUpdated, firePropertyChanged, getChildSupport, getID, getName, getOwnedObjects, getOwnedObjects, getParent, getProperty, getProperty, getReferenceIDs, hashCode, includeOwnedObject, includesType, includesType, removeObjectListener, removeObjectListener, removeObjectListener, removeOwnedObject, removeThisAsParent, replaceReferenceIDs, setID, setName, setProperties, setPropertyclone, finalize, getClass, notify, notifyAll, wait, wait, waitgetStartOffsetgetParent, setParentaddObjectListener, copyTo, copyTo, copyTo, equals, findOwnedObject, findOwnedObject, findOwnedObject, getID, getName, getOwnedObjects, getOwnedObjects, getProperties, getReferenceIDs, hashCode, removeObjectListener, removeOwnedObject, replaceReferenceIDs, setID, setNamegetProperty, getProperty, setProperties, setPropertypublic static final java.lang.String TYPE
public WhereObject()
public WhereObject(SQLFragment exp)
public WhereObject(SQLFragment[] expressions, WhereObject.WhereOperator logic)
public java.lang.String getType()
DBObjectgetType in interface DBObjectgetType in class AbstractSQLFragmentpublic void setOperator(WhereObject.WhereOperator logic)
public WhereObject.WhereOperator getOperator()
public java.lang.String getOperatorText()
getOperatorText in class Operation