org.axiondb
Interface TableOrganizationContext

All Known Implementing Classes:
BaseTableOrganizationContext

public interface TableOrganizationContext

Table Organization Context.

Version:
$Revision: 1.1 $ $Date: 2004/08/31 02:34:40 $

Method Summary
 void assertValidPropertyKeys(Properties props)
          Asserts that all property keys referenced in the given Properties instance are valid for the specific external table type.
 Set getBasePropertyKeys()
          Gets a Set of Strings representing property key names that all ExternalTable instances should accept.
 Set getBaseRequiredPropertyKeys()
          Gets a Set of Strings representing property key names that all ExternalTable instances must require.
 Set getPropertyKeys()
          Gets a Set of Strings representing valid property key names.
 Set getRequiredPropertyKeys()
           
 Properties getTableProperties()
          Gets table properties for this external table instance.
 void readOrSetDefaultProperties(Properties props)
           
 void setProperty(String key, String value)
           
 void updateProperties()
           
 

Method Detail

getTableProperties

public Properties getTableProperties()
Gets table properties for this external table instance.

Returns:
Properties instance containing current table properties

getPropertyKeys

public Set getPropertyKeys()
Gets a Set of Strings representing valid property key names.

Returns:
Set of valid property key names

getRequiredPropertyKeys

public Set getRequiredPropertyKeys()

getBasePropertyKeys

public Set getBasePropertyKeys()
Gets a Set of Strings representing property key names that all ExternalTable instances should accept.

Returns:
Set of basic valid property key names

getBaseRequiredPropertyKeys

public Set getBaseRequiredPropertyKeys()
Gets a Set of Strings representing property key names that all ExternalTable instances must require.

Returns:
Set of basic required property key names

assertValidPropertyKeys

public void assertValidPropertyKeys(Properties props)
                             throws AxionException
Asserts that all property keys referenced in the given Properties instance are valid for the specific external table type.

Parameters:
props - Properties instance whose keys are to be checked
Throws:
AxionException

readOrSetDefaultProperties

public void readOrSetDefaultProperties(Properties props)
                                throws AxionException
Throws:
AxionException

updateProperties

public void updateProperties()

setProperty

public void setProperty(String key,
                        String value)