de.fesenmeyer.dbnormalizer.core.configuration
Class TableConfig

java.lang.Object
  extended by de.fesenmeyer.dbnormalizer.core.configuration.TableConfig

public class TableConfig
extends Object

Configuration class for tables.

Author:
DF

Field Summary
private  AttributeSetConfig attributeSetConfig
          The attributes.
private  Collection<FDConfig> fdConfigs
          The FDs.
private  String name
          The table's name.
 
Constructor Summary
TableConfig()
           
 
Method Summary
 AttributeSetConfig getAttributeSetConfig()
          Gets the attributes.
 Collection<FDConfig> getFdConfigs()
          Gets the FDs.
 String getName()
          Gets the table's name.
 void setAttributeSetConfig(AttributeSetConfig attributeSetConfig)
          Sets the attributes.
 void setFdConfigs(Collection<FDConfig> fdConfigs)
          Sets the FDs.
 void setName(String name)
          Sets the table's name.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

private String name
The table's name.


attributeSetConfig

private AttributeSetConfig attributeSetConfig
The attributes. Should be empty, if the session does not contain a DB-Configuration.


fdConfigs

private Collection<FDConfig> fdConfigs
The FDs.

Constructor Detail

TableConfig

public TableConfig()
Method Detail

getFdConfigs

public Collection<FDConfig> getFdConfigs()
Gets the FDs.

Returns:
the FDs

setFdConfigs

public void setFdConfigs(Collection<FDConfig> fdConfigs)
Sets the FDs.

Parameters:
fdConfigs - the FDs

getName

public String getName()
Gets the table's name.

Returns:
the table's name

setName

public void setName(String name)
Sets the table's name.

Parameters:
name - the table's name

getAttributeSetConfig

public AttributeSetConfig getAttributeSetConfig()
Gets the attributes.

Returns:
the attributes, if the session does not contain a DB-Configuration; an empty object, otherwise

setAttributeSetConfig

public void setAttributeSetConfig(AttributeSetConfig attributeSetConfig)
Sets the attributes. Should only be used, if the session does not contain a DB-Configuration.

Parameters:
attributeSetConfig - the attributes