Ontimize 5.2072EN

com.ontimize.gui.table
Class TableAttribute

java.lang.Object
  extended byjava.util.Dictionary
      extended byjava.util.Hashtable
          extended bycom.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

Field Summary
protected  java.util.Vector attributes
           
protected  java.lang.String entity
           
protected  java.util.Hashtable hParentkeyEquivalences
           
protected  java.util.Vector keys
           
protected  java.util.Vector orderBy
           
protected  java.util.Vector parentkeys
           
protected  java.util.Hashtable queryFilter
           
protected  int recordNumberToInitiallyDownload
           
protected  int totalRecordNumberInQuery
           
 
Constructor Summary
TableAttribute()
          Creates a TableAttribute with recordNumberToInitiallyDownload= -1
TableAttribute(int recordNumberToInitiallyDownload)
          Creates a new TableAttribute.
 
Method Summary
 boolean equals(java.lang.Object o)
           
 java.util.Vector getAttributes()
           
 java.lang.String getEntity()
           
 java.util.Vector getKeys()
           
 java.util.Vector getOrderBy()
           
 java.lang.String getParentkeyEquivalence(java.lang.String parentkey)
           
 java.util.Hashtable getParentkeyEquivalences()
           
 java.util.Vector getParentKeys()
           
 java.util.Hashtable getQueryFilter()
           
 int getQueryRecordNumber()
           
 int getRecordNumberToInitiallyDownload()
           
 int hashCode()
           
 void setEntityAndAttributes(java.lang.String entity, java.util.Vector attributes)
           
 void setKeysParentkeysOtherkeys(java.util.Vector keys, java.util.Vector parentkeys)
           
 void setOrderBy(java.util.Vector orderBy)
           
 void setParentkeyEquivalences(java.util.Hashtable hParentkeyEquivalences)
           
 void setQueryFilter(java.util.Hashtable queryFilter)
           
 void setRecordNumberToInitiallyDownload(int recordNumberToInitiallyDownload)
           
 void setTotalRecordNumberInQuery(int recordNumberToInitiallyDownload)
           
 java.lang.String toString()
           
 
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
 

Field Detail

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
Constructor Detail

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.

Method Detail

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()

Ontimize