|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object de.smartics.properties.config.transfer.templatestream.TableDescriptor.Builder
public static final class TableDescriptor.Builder
The builder of descriptor instances.
Constructor Summary | |
---|---|
TableDescriptor.Builder() |
Method Summary | |
---|---|
TableDescriptor |
build() Builds an instance of the descriptor. |
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 |
---|
public TableDescriptor.Builder()
Method Detail |
---|
public void setTable(String table) throws NullPointerException, IllegalArgumentException
table
- the name of the configuration table.
NullPointerException
- if
table
is
null
.
IllegalArgumentException
- if
table
is blank.
public void setConfigColumn(String configColumn) throws NullPointerException, IllegalArgumentException
configColumn
- the name of the optional configuration key column.
NullPointerException
- if
configColumn
is
null
.
IllegalArgumentException
- if
configColumn
is blank.
public void setNameColumn(String nameColumn) throws NullPointerException, IllegalArgumentException
nameColumn
- the name of the property name column.
NullPointerException
- if
nameColumn
is
null
.
IllegalArgumentException
- if
nameColumn
is blank.
public void setValueColumn(String valueColumn) throws NullPointerException, IllegalArgumentException
valueColumn
- the name of the property value column.
NullPointerException
- if
valueColumn
is
null
.
IllegalArgumentException
- if
valueColumn
is blank.
public TableDescriptor build()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |