Package com.pullreports.model.config
Class JoinColumnsRelationshipConfiguration.Builder
- Object
-
- com.pullreports.model.config.RelationshipConfiguration.Builder<JoinColumnsRelationshipConfiguration.Builder,JoinColumnsRelationshipConfiguration>
-
- com.pullreports.model.config.JoinColumnsRelationshipConfiguration.Builder
-
- Direct Known Subclasses:
JoinColumnsRelationshipConfiguration.JoinColumnsRelationshipConfigurationBuilder
- Enclosing class:
- JoinColumnsRelationshipConfiguration
public static class JoinColumnsRelationshipConfiguration.Builder extends RelationshipConfiguration.Builder<JoinColumnsRelationshipConfiguration.Builder,JoinColumnsRelationshipConfiguration>
A JoinColumnsRelationshipConfiguration.Builder follows the builder pattern to create a newJoinColumnsRelationshipConfiguration
instance. Set required properties via the JoinColumnsRelationshipConfiguration.Builder constructor and then use setter methods to set optional properties. Thebuild()
method returns a new JoinColumnsRelationshipConfiguration instance.Schema analog: <relationship>
-
-
Constructor Summary
Constructors Constructor Description Builder(TableConfiguration tableConfiguration, List<JoinColumn> joinColumns)
Constructs a new builder instance with the given TableConfiguration and JoinColumn List.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description JoinColumnsRelationshipConfiguration
build()
-
Methods inherited from class com.pullreports.model.config.RelationshipConfiguration.Builder
getAccessControlVoter, getCardinality, getJoin, getTableConfiguration, setAccessControlVoter, setCardinality, setJoin
-
-
-
-
Constructor Detail
-
Builder
public Builder(TableConfiguration tableConfiguration, List<JoinColumn> joinColumns)
Constructs a new builder instance with the given TableConfiguration and JoinColumn List. The defaultCardinality
isCardinality.MANY
and the defaultJoin
isJoin.LEFT
.- Parameters:
tableConfiguration
- The child TableConfiguration of this relationship.joinColumns
- The JoinColumns for this relationship.
-
-
Method Detail
-
build
public JoinColumnsRelationshipConfiguration build()
-
-