Class VirtualRelationshipNTO

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

    public class VirtualRelationshipNTO
    extends com.chemaxon.dif.db.api.item.newtype.SingleDFItemNTO<com.im.df.api.ddl.DFRelationship>
    implements com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationship
    • Field Summary

      • Fields inherited from interface com.im.df.api.support.DFNewTypeOptions

        PROP_ERROR_MESSAGE, PROP_VALID
      • Fields inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationship

        PROP_CREATE_FOREIGN_KEY, PROP_DEST_FIELD, PROP_REL_TYPE, PROP_SRC_FIELD
      • Fields inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.SingleDFItem

        PROP_DESCRIPTION, PROP_NEW_DFITEM_NAME
    • Constructor Summary

      Constructors 
      Constructor Description
      VirtualRelationshipNTO​(com.im.df.api.ddl.DFContainer<com.im.df.api.ddl.DFRelationship> parentContainer)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      com.im.df.api.ddl.DFField getDstField()  
      com.im.df.api.ddl.DFRelationship.Type getRelType()  
      com.chemaxon.dif.db.api.schema.DBSchemaImpl getSchema()  
      com.im.df.api.ddl.DFField getSrcField()  
      boolean isCreateConstraints()  
      void setCreateConstraints​(boolean create)  
      void setDstField​(com.im.df.api.ddl.DFField dstField)  
      void setRelType​(com.im.df.api.ddl.DFRelationship.Type relType)  
      void setSrcField​(com.im.df.api.ddl.DFField srcField)  
      protected void updateStatus()  
      • Methods inherited from class com.chemaxon.dif.db.api.item.newtype.SingleDFItemNTO

        getDescription, getNewDFItemName, getParentContainer, normalizeDFItemName, notifyNewDFItemNameChanged, setDescription, setNewDFItemName, setNewDFItemNameSafe
      • Methods inherited from class com.chemaxon.dif.db.api.item.newtype.AbstractNTOImpl

        addPropertyChangeListener, firePropertyChange, getErrorMessage, isValid, removePropertyChangeListener, setErrorMessage, setValid
      • Methods inherited from interface com.im.df.api.support.DFNewTypeOptions

        addPropertyChangeListener, getErrorMessage, isValid, removePropertyChangeListener
      • Methods inherited from interface com.im.df.api.support.DFNewTypeWellKnownOptions.SingleDFItem

        getDescription, getNewDFItemName, setDescription, setNewDFItemName, setNewDFItemNameSafe
    • Constructor Detail

      • VirtualRelationshipNTO

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

      • getSchema

        public com.chemaxon.dif.db.api.schema.DBSchemaImpl getSchema()
      • getSrcField

        public com.im.df.api.ddl.DFField getSrcField()
        Specified by:
        getSrcField in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationship
      • setSrcField

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

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

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

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

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

        public void setCreateConstraints​(boolean create)
        Specified by:
        setCreateConstraints in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationship
      • isCreateConstraints

        public boolean isCreateConstraints()
        Specified by:
        isCreateConstraints in interface com.im.df.api.support.DFNewTypeWellKnownOptions.NewRelationship
      • updateStatus

        protected void updateStatus()
        Overrides:
        updateStatus in class com.chemaxon.dif.db.api.item.newtype.SingleDFItemNTO<com.im.df.api.ddl.DFRelationship>