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

Package class diagram package AbstractDataSourceDescriptor.Builder
java.lang.Object
  extended by de.smartics.properties.spi.config.ds.AbstractDataSourceDescriptor.Builder
Direct Known Subclasses:
DefaultDataSourceManager.Builder
Enclosing class:
AbstractDataSourceDescriptor

public static class AbstractDataSourceDescriptor.Builder
     
     
extends Object

The builder of descriptor instances.


Constructor Summary
AbstractDataSourceDescriptor.Builder()
           
 
Method Summary
 void setConfigColumn(String configColumn)
          Sets the name of the optional configuration key column.
 void setNameColumn(String nameColumn)
          Sets the name of the property name column.
 void setTable(String table)
          Sets the name of the configuration table.
 void setValueColumn(String valueColumn)
          Sets 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
 

Constructor Detail

AbstractDataSourceDescriptor.Builder

public AbstractDataSourceDescriptor.Builder()
Method Detail

setTable

public final void setTable(String table)
                    throws NullPointerException,
                           IllegalArgumentException
Sets the name of the configuration table.

Parameters:
table - the name of the configuration table.
Throws:
NullPointerException - if table is null.
IllegalArgumentException - if table is blank.

setConfigColumn

public final void setConfigColumn(String configColumn)
                           throws NullPointerException,
                                  IllegalArgumentException
Sets the name of the optional configuration key column.

Parameters:
configColumn - the name of the optional configuration key column.
Throws:
NullPointerException - if configColumn is null .
IllegalArgumentException - if configColumn is blank.

setNameColumn

public final void setNameColumn(String nameColumn)
                         throws NullPointerException,
                                IllegalArgumentException
Sets the name of the property name column.

Parameters:
nameColumn - the name of the property name column.
Throws:
NullPointerException - if nameColumn is null.
IllegalArgumentException - if nameColumn is blank.

setValueColumn

public final void setValueColumn(String valueColumn)
                          throws NullPointerException,
                                 IllegalArgumentException
Sets the name of the property value column.

Parameters:
valueColumn - the name of the property value column.
Throws:
NullPointerException - if valueColumn is null.
IllegalArgumentException - if valueColumn is blank.


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