public class DBWhereOperator extends DBWhereListCellBase
| Modifier and Type | Field and Description |
|---|---|
static java.lang.String |
AND_OPER |
protected DBWhereOperator |
mClosure |
protected boolean |
mIsClosure |
protected java.util.Vector |
mItems |
static java.lang.String |
OR_OPER |
mDepth, mIsDragOver, mParent, mRectmCriteria, mDataType, mDisplayItem, mFlavors, mIsDisplayed, mName, mOper, mTableId, mTableName| Constructor and Description |
|---|
DBWhereOperator(DBWhereOperator aParent,
boolean aIsClosure)
Constructor - Creates a "closure" object, Must be manually add and
removed from parent the closure object must also be manually added and
removed
|
DBWhereOperator(DBWhereOperator aParent,
DBWhereOperator aObj)
Copy Constructor - Copy all fields, but creates a new "closure" object,
Must be manually add and removed from parent the closure object must also
be manually added and removed
|
| Modifier and Type | Method and Description |
|---|---|
void |
addAfter(DBWhereIFace aNewObj,
java.lang.Object aAfterObject)
Add new item "after" the item identified
|
void |
append(DBWhereIFace aNewObj)
Adds new item "at the end of the list
|
void |
finalize() |
DBWhereOperator |
getClosure()
Return the close object
|
java.util.Enumeration |
getEnumeration()
Returns an enumeration for the child of the operator
|
int |
getNumChildern()
Returns the number of children
|
boolean |
isClosure()
Indicates whether it is a closure object
|
boolean |
isOperator()
Indicates whether it is an operator
|
void |
remove(DBWhereIFace aObj)
Removes an item
|
void |
SetClosure(boolean aVal)
Sets whether it is a closure object
|
void |
setDepth(int aDepth)
Sets the depth
|
void |
setName(java.lang.String aName)
Sets the name
|
void |
setOperator(java.lang.String operator)
Sets the operator name (calls setName)
|
java.lang.String |
toString()
Returns name
|
getBounds, getDepth, getParent, isDragOver, setBounds, setDragOver, toStringaddMissingValueCode, getCriteria, getDataType, getDisplayItem, getMissingValueCode, getName, getOperator, getTableId, getTableName, getTransferData, getTransferDataFlavors, isDataFlavorSupported, isDisplayed, setCriteria, setDataType, setDisplayed, setDisplayItem, setMissingValueCode, setTableId, setTableNameclone, equals, getClass, hashCode, notify, notifyAll, wait, wait, waitgetNamepublic static final java.lang.String OR_OPER
public static final java.lang.String AND_OPER
protected java.util.Vector mItems
protected boolean mIsClosure
protected DBWhereOperator mClosure
public DBWhereOperator(DBWhereOperator aParent, boolean aIsClosure)
aParent - the parent of the objectaIsClosure - indicates whether it is a closure objectpublic DBWhereOperator(DBWhereOperator aParent, DBWhereOperator aObj)
aParent - the parent of the objectaObj - the object to be copiedpublic void finalize()
finalize in class java.lang.Objectpublic void setDepth(int aDepth)
setDepth in interface DBWhereIFacesetDepth in class DBWhereListCellBaseaDepth - the depth in the object treepublic DBWhereOperator getClosure()
public boolean isClosure()
public void SetClosure(boolean aVal)
aVal - whether it is a closure itempublic void addAfter(DBWhereIFace aNewObj, java.lang.Object aAfterObject)
aNewObj - the new itemaAfterObject - the item the new item will be placed afterpublic void append(DBWhereIFace aNewObj)
aNewObj - the new itempublic void remove(DBWhereIFace aObj)
aObj - public java.util.Enumeration getEnumeration()
public int getNumChildern()
public void setName(java.lang.String aName)
setName in class DBSelectTableModelItemaName - the name as a stringpublic void setOperator(java.lang.String operator)
setOperator in class DBSelectTableModelItemoperator - The operator to set.public boolean isOperator()
isOperator in interface DBWhereIFaceisOperator in class DBWhereListCellBasepublic java.lang.String toString()
toString in class DBWhereListCellBase