Class ContractSchemaRelationship

  • All Implemented Interfaces:
    com.ibm.cloud.sdk.core.service.model.ObjectModel

    public class ContractSchemaRelationship
    extends com.ibm.cloud.sdk.core.service.model.GenericModel
    Defines relationships between schema objects (tables) - typically foreign key constraints.
    • Method Detail

      • 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