Class IdColumnConfigurationBuilder
- java.lang.Object
-
- org.infinispan.persistence.jdbc.configuration.IdColumnConfigurationBuilder
-
- All Implemented Interfaces:
BaseConfigurationInfo
,Builder<IdColumnConfiguration>
,ConfigurationBuilderInfo
public class IdColumnConfigurationBuilder extends Object implements Builder<IdColumnConfiguration>, ConfigurationBuilderInfo
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.infinispan.commons.configuration.attributes.AttributeSet
attributes()
IdColumnConfiguration
create()
Create the configuration beanorg.infinispan.commons.configuration.elements.ElementDefinition
getElementDefinition()
IdColumnConfigurationBuilder
idColumnName(String idColumnName)
IdColumnConfigurationBuilder
idColumnType(String idColumnType)
Builder<?>
read(IdColumnConfiguration template)
Reads the configuration from an already created configuration bean into this builder.void
validate()
Validate the data in this builder before building the configuration bean-
Methods inherited from interface org.infinispan.commons.configuration.ConfigurationBuilderInfo
getBuilderInfo, getChildrenInfo, getNewBuilderInfo
-
-
-
-
Method Detail
-
attributes
public org.infinispan.commons.configuration.attributes.AttributeSet attributes()
- Specified by:
attributes
in interfaceBaseConfigurationInfo
- Returns:
- the
AttributeSet
declared by the configuration.
-
getElementDefinition
public org.infinispan.commons.configuration.elements.ElementDefinition getElementDefinition()
- Specified by:
getElementDefinition
in interfaceBaseConfigurationInfo
- Returns:
- the
ElementDefinition
of the configuration.
-
idColumnName
public IdColumnConfigurationBuilder idColumnName(String idColumnName)
-
idColumnType
public IdColumnConfigurationBuilder idColumnType(String idColumnType)
-
validate
public void validate()
Description copied from interface:Builder
Validate the data in this builder before building the configuration bean- Specified by:
validate
in interfaceBuilder<IdColumnConfiguration>
-
create
public IdColumnConfiguration create()
Description copied from interface:Builder
Create the configuration bean- Specified by:
create
in interfaceBuilder<IdColumnConfiguration>
- Returns:
-
read
public Builder<?> read(IdColumnConfiguration template)
Description copied from interface:Builder
Reads the configuration from an already created configuration bean into this builder. Returns an appropriate builder to allow fluent configuration- Specified by:
read
in interfaceBuilder<IdColumnConfiguration>
- Parameters:
template
- the configuration from which to "clone" this config if needed.
-
-