com.ontimize.gui.table
Class TableAttribute
java.lang.Object
java.util.Dictionary
java.util.Hashtable
com.ontimize.gui.table.TableAttribute
- All Implemented Interfaces:
- java.lang.Cloneable, java.util.Map, java.io.Serializable
- Direct Known Subclasses:
- ExtendedTableAttribute
- public class TableAttribute
- extends java.util.Hashtable
Attribute used for the tables. Contains information about the column names,
the entity, the keys, the parent keys and the number of records to query
- See Also:
- Serialized Form
|
Constructor Summary |
TableAttribute()
Creates a TableAttribute with recordNumberToInitiallyDownload= -1 |
TableAttribute(int recordNumberToInitiallyDownload)
Creates a new TableAttribute. |
| Methods inherited from class java.util.Hashtable |
clear, clone, contains, containsKey, containsValue, elements, entrySet, get, isEmpty, keys, keySet, put, putAll, rehash, remove, size, values |
| Methods inherited from class java.lang.Object |
finalize, getClass, notify, notifyAll, wait, wait, wait |
recordNumberToInitiallyDownload
protected int recordNumberToInitiallyDownload
entity
protected java.lang.String entity
attributes
protected java.util.Vector attributes
totalRecordNumberInQuery
protected int totalRecordNumberInQuery
parentkeys
protected java.util.Vector parentkeys
hParentkeyEquivalences
protected java.util.Hashtable hParentkeyEquivalences
keys
protected java.util.Vector keys
queryFilter
protected java.util.Hashtable queryFilter
orderBy
protected java.util.Vector orderBy
TableAttribute
public TableAttribute()
- Creates a TableAttribute with recordNumberToInitiallyDownload= -1
TableAttribute
public TableAttribute(int recordNumberToInitiallyDownload)
- Creates a new TableAttribute.
Parameter 'recordNumberToInitiallyDownload' indicates the number of
records to download when a query includes this attribute . If this
parameter is less than 0 then no limit exists.
getQueryRecordNumber
public int getQueryRecordNumber()
setTotalRecordNumberInQuery
public void setTotalRecordNumberInQuery(int recordNumberToInitiallyDownload)
getRecordNumberToInitiallyDownload
public int getRecordNumberToInitiallyDownload()
setRecordNumberToInitiallyDownload
public void setRecordNumberToInitiallyDownload(int recordNumberToInitiallyDownload)
setEntityAndAttributes
public void setEntityAndAttributes(java.lang.String entity,
java.util.Vector attributes)
setKeysParentkeysOtherkeys
public void setKeysParentkeysOtherkeys(java.util.Vector keys,
java.util.Vector parentkeys)
getParentkeyEquivalences
public java.util.Hashtable getParentkeyEquivalences()
getParentkeyEquivalence
public java.lang.String getParentkeyEquivalence(java.lang.String parentkey)
setParentkeyEquivalences
public void setParentkeyEquivalences(java.util.Hashtable hParentkeyEquivalences)
getEntity
public java.lang.String getEntity()
getAttributes
public java.util.Vector getAttributes()
getKeys
public java.util.Vector getKeys()
getParentKeys
public java.util.Vector getParentKeys()
getQueryFilter
public java.util.Hashtable getQueryFilter()
setQueryFilter
public void setQueryFilter(java.util.Hashtable queryFilter)
getOrderBy
public java.util.Vector getOrderBy()
setOrderBy
public void setOrderBy(java.util.Vector orderBy)
equals
public boolean equals(java.lang.Object o)
hashCode
public int hashCode()
toString
public java.lang.String toString()