Class DBRelationshipMtoNNTO

  • All Implemented Interfaces:
    com.im.df.api.support.DFNewTypeOptions, com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationship, com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationshipMN, com.im.df.api.support.DFNewTypeWellKnownOptions.SingleDFItem

    public final class DBRelationshipMtoNNTO
    extends DBRelationshipNTO
    implements com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationshipMN
    Author:
    svata
    • Constructor Detail

      • DBRelationshipMtoNNTO

        public DBRelationshipMtoNNTO​(com.im.df.api.ddl.DFContainer<com.im.df.api.ddl.DFRelationship> parentContainer)
    • Method Detail

      • getSchemaName

        public String getSchemaName()
      • getRelType

        public com.im.df.api.ddl.DFRelationship.Type getRelType()
        Specified by:
        getRelType in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationship
        Overrides:
        getRelType in class DBRelationshipNTO
      • getDstField

        public com.im.df.api.ddl.DFField getDstField()
        Specified by:
        getDstField in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationship
        Overrides:
        getDstField in class DBRelationshipNTO
      • setDstField

        public void setDstField​(com.im.df.api.ddl.DFField dstField)
        Specified by:
        setDstField in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationship
        Overrides:
        setDstField in class DBRelationshipNTO
      • setSrcField

        public void setSrcField​(com.im.df.api.ddl.DFField srcField)
        Specified by:
        setSrcField in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationship
        Overrides:
        setSrcField in class DBRelationshipNTO
      • setRelType

        public void setRelType​(com.im.df.api.ddl.DFRelationship.Type relType)
        Specified by:
        setRelType in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationship
        Overrides:
        setRelType in class DBRelationshipNTO
      • getJoinTableName

        public com.im.commons.db.util.SchemaQualifiedName getJoinTableName()
        Specified by:
        getJoinTableName in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationshipMN
      • setJoinTableName

        public void setJoinTableName​(com.im.commons.db.util.SchemaQualifiedName joinTableName)
        Specified by:
        setJoinTableName in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationshipMN
      • getSrcColumnNames

        public List<String> getSrcColumnNames()
        Specified by:
        getSrcColumnNames in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationshipMN
      • setSrcColumnNames

        public void setSrcColumnNames​(List<String> srcColumnNames)
        Specified by:
        setSrcColumnNames in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationshipMN
      • getDstColumnNames

        public List<String> getDstColumnNames()
        Specified by:
        getDstColumnNames in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationshipMN
      • setDstColumnNames

        public void setDstColumnNames​(List<String> dstColumnNames)
        Specified by:
        setDstColumnNames in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationshipMN
      • setFKNameSafe

        protected void setFKNameSafe​(com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationshipFK fk,
                                     com.im.commons.db.util.SchemaQualifiedName name)
        Overrides:
        setFKNameSafe in class DBRelationshipNTO
      • getSourceFK

        public com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationshipFK getSourceFK()
        Specified by:
        getSourceFK in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationshipMN
      • getDestFK

        public com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationshipFK getDestFK()
        Specified by:
        getDestFK in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationshipMN
      • notifyNewDFItemNameChanged

        protected void notifyNewDFItemNameChanged​(String oldName,
                                                  String newName)
        Overrides:
        notifyNewDFItemNameChanged in class com.chemaxon.dif.db.api.item.newtype.SingleDFItemNTO<com.im.df.api.ddl.DFRelationship>