Package com.pullreports.model.config
Class RelationshipConfiguration.Builder<T extends RelationshipConfiguration.Builder,P extends RelationshipConfiguration>
- Object
-
- com.pullreports.model.config.RelationshipConfiguration.Builder<T,P>
-
- Direct Known Subclasses:
JoinColumnsRelationshipConfiguration.Builder
,JoinTableRelationshipConfiguration.Builder
- Enclosing class:
- RelationshipConfiguration
public abstract static class RelationshipConfiguration.Builder<T extends RelationshipConfiguration.Builder,P extends RelationshipConfiguration> extends Object
Abstract super class of the Builders for the two types of join relationships. This class has property configuration common to the sub-classes.
-
-
Constructor Summary
Constructors Constructor Description Builder(TableConfiguration tableConfiguration)
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description abstract P
build()
protected AccessControlVoter
getAccessControlVoter()
protected Cardinality
getCardinality()
protected Join
getJoin()
protected TableConfiguration
getTableConfiguration()
T
setAccessControlVoter(AccessControlVoter accessControlVoter)
T
setCardinality(Cardinality cardinality)
T
setJoin(Join join)
-
-
-
Constructor Detail
-
Builder
public Builder(TableConfiguration tableConfiguration)
-
-
Method Detail
-
setCardinality
public T setCardinality(Cardinality cardinality)
-
setAccessControlVoter
public T setAccessControlVoter(AccessControlVoter accessControlVoter)
-
build
public abstract P build()
-
getCardinality
protected final Cardinality getCardinality()
-
getJoin
protected final Join getJoin()
-
getTableConfiguration
protected final TableConfiguration getTableConfiguration()
-
getAccessControlVoter
protected final AccessControlVoter getAccessControlVoter()
-
-