persistence.table
Class Table

java.lang.Object
  extended bypersistence.table.TableComponent
      extended bypersistence.table.Table
Direct Known Subclasses:
ArrayTable, CollectionTable, MapTable

public class Table
extends TableComponent

Stelt een tabel voor.

Author:
bram 23-okt-2003

Field Summary
private  java.util.List attributes
           
 
Fields inherited from class persistence.table.TableComponent
OIDLength
 
Constructor Summary
  Table()
          Creates Table with 1 key attribute called "OID".
protected Table(java.util.Collection FKeys)
           
protected Table(java.lang.String OIDName)
          Creates Table with 1 key attribute called OIDName.
 
Method Summary
 void accept(TableComponentVisitor visitor)
           
 void add(TableComponent t)
           
 java.util.List getChildren()
           
 java.lang.String getProperty(java.lang.String key)
          Default value provided for "root"-key, "size"-key en "sizeKey"-key.
 boolean isLeaf()
           
 void remove(TableComponent t)
           
 
Methods inherited from class persistence.table.TableComponent
addProperty, getComponentName, getJavaTypeName, getOIDLength, getPropertiesMap, hasProperty, setComponentName, setJavaTypeName, setPropertiesMap, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

attributes

private java.util.List attributes
Constructor Detail

Table

public Table()
Creates Table with 1 key attribute called "OID". This has length of OIDLength.


Table

protected Table(java.lang.String OIDName)
Creates Table with 1 key attribute called OIDName. This has length of OIDLength.

Parameters:
OIDName -

Table

protected Table(java.util.Collection FKeys)
Method Detail

add

public void add(TableComponent t)
Overrides:
add in class TableComponent
Parameters:
t -
See Also:
persistence.TableComponent#add(persistence.TableComponent)

remove

public void remove(TableComponent t)
Overrides:
remove in class TableComponent
Parameters:
t -
See Also:
persistence.TableComponent#remove(persistence.TableComponent)

getChildren

public java.util.List getChildren()
Overrides:
getChildren in class TableComponent
Returns:
See Also:
persistence.TableComponent#getChildren()

isLeaf

public boolean isLeaf()
Overrides:
isLeaf in class TableComponent
Returns:
See Also:
persistence.TableComponent#isLeaf()

accept

public void accept(TableComponentVisitor visitor)
Specified by:
accept in class TableComponent
See Also:
persistence.TableComponent#accept(persistence.TableComponentVisitor)

getProperty

public java.lang.String getProperty(java.lang.String key)
Description copied from class: TableComponent
Default value provided for "root"-key, "size"-key en "sizeKey"-key.

Overrides:
getProperty in class TableComponent
Parameters:
key -
Returns:
See Also:
TableComponent.getProperty(java.lang.String)