Package ch.so.agi.filegdb.write
Class RelationshipDefinition.Builder
java.lang.Object
ch.so.agi.filegdb.write.RelationshipDefinition.Builder
- Enclosing class:
RelationshipDefinition
Fluent builder.
-
Method Summary
Modifier and TypeMethodDescriptionattributed(boolean attributed) Marks the relationship class as attributed (n:m with attribute columns).build()cardinality(RelationshipCardinality cardinality) composite(boolean composite) destinationClass(String destinationClassName) destinationForeignKey(String destinationForeignKey) destinationPrimaryKey(String destinationPrimaryKey) mappingTable(String mappingTable) Uses an existing table as n:m mapping table instead of creating one.originClass(String originClassName) originForeignKey(String originForeignKey) For 1:1 and 1:n relationships this is the foreign key column of the destination class, for n:m relationships the origin foreign key of the mapping table.originPrimaryKey(String originPrimaryKey)
-
Method Details
-
originClass
-
destinationClass
-
cardinality
-
originPrimaryKey
-
originForeignKey
For 1:1 and 1:n relationships this is the foreign key column of the destination class, for n:m relationships the origin foreign key of the mapping table. -
destinationPrimaryKey
-
destinationForeignKey
-
labels
-
composite
-
mappingTable
Uses an existing table as n:m mapping table instead of creating one. The relationship name must equal the table name. -
attributed
Marks the relationship class as attributed (n:m with attribute columns). -
build
-