de.smartics.properties.spi.config.ds
Class AbstractDataSourceDescriptor

Package class diagram package AbstractDataSourceDescriptor
java.lang.Object
  extended by de.smartics.properties.spi.config.ds.AbstractDataSourceDescriptor
All Implemented Interfaces:
PropertiesDataSourceDescriptor, Serializable
Direct Known Subclasses:
DefaultDataSourceManager

public abstract class AbstractDataSourceDescriptor
     
     
extends Object
implements PropertiesDataSourceDescriptor

Helper to create database configurations with a data source.

See Also:
Serialized Form

Nested Class Summary
static class AbstractDataSourceDescriptor.Builder
          The builder of descriptor instances.
 
Constructor Summary
protected AbstractDataSourceDescriptor(AbstractDataSourceDescriptor.Builder builder)
          Default constructor.
 
Method Summary
 String getConfigColumn()
          Returns the name of the configuration key column.
 String getNameColumn()
          Returns the name of the property name column.
 String getTable()
          Returns the name of the configuration table.
 String getValueColumn()
          Returns the name of the property value column.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.smartics.properties.spi.config.ds.PropertiesDataSourceDescriptor
getDataSourceId
 

Constructor Detail

AbstractDataSourceDescriptor

protected AbstractDataSourceDescriptor(AbstractDataSourceDescriptor.Builder builder)
Default constructor.

Parameters:
builder - the builder of descriptor instances.
Method Detail

getTable

public final String getTable()
Description copied from interface: PropertiesDataSourceDescriptor
Returns the name of the configuration table.

Specified by:
getTable in interface PropertiesDataSourceDescriptor
Returns:
the name of the configuration table.

getConfigColumn

public final String getConfigColumn()
Description copied from interface: PropertiesDataSourceDescriptor
Returns the name of the configuration key column.

Specified by:
getConfigColumn in interface PropertiesDataSourceDescriptor
Returns:
the name of the configuration key column.

getNameColumn

public final String getNameColumn()
Description copied from interface: PropertiesDataSourceDescriptor
Returns the name of the property name column.

Specified by:
getNameColumn in interface PropertiesDataSourceDescriptor
Returns:
the name of the property name column.

getValueColumn

public final String getValueColumn()
Description copied from interface: PropertiesDataSourceDescriptor
Returns the name of the property value column.

Specified by:
getValueColumn in interface PropertiesDataSourceDescriptor
Returns:
the name of the property value column.


Copyright © 2012-2013 Kronseder & Reiner GmbH - smartics. All Rights Reserved.