Class ContractSchemaRelationship
- java.lang.Object
-
- com.ibm.cloud.sdk.core.service.model.GenericModel
-
- com.ibm.cloud.dph_services.dph.v1.model.ContractSchemaRelationship
-
- All Implemented Interfaces:
com.ibm.cloud.sdk.core.service.model.ObjectModel
public class ContractSchemaRelationship extends com.ibm.cloud.sdk.core.service.model.GenericModelDefines relationships between schema objects (tables) - typically foreign key constraints.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classContractSchemaRelationship.BuilderBuilder.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.util.List<ContractTemplateCustomProperty>customProperties()Gets the customProperties.java.util.List<java.lang.String>from()Gets the from.ContractSchemaRelationship.BuildernewBuilder()New builder.java.util.List<java.lang.String>to()Gets the to.java.lang.Stringtype()Gets the type.
-
-
-
Method Detail
-
newBuilder
public ContractSchemaRelationship.Builder newBuilder()
New builder.- Returns:
- a ContractSchemaRelationship builder
-
type
public java.lang.String type()
Gets the type. Type of relationship. Default: 'foreignKey'.- Returns:
- the type
-
from
public java.util.List<java.lang.String> from()
Gets the from. Source property/column reference(s). Format: table.column or schema/id/properties/id. Array for single or composite keys.- Returns:
- the from
-
to
public java.util.List<java.lang.String> to()
Gets the to. Target property/column reference(s). Format: table.column or schema/id/properties/id. Array for single or composite keys.- Returns:
- the to
-
customProperties
public java.util.List<ContractTemplateCustomProperty> customProperties()
Gets the customProperties. Custom properties for the relationship.- Returns:
- the customProperties
-
-