Class VirtualRelationship

  • All Implemented Interfaces:
    com.im.df.api.capabilities.VirtualRelationshipCapability, com.im.df.api.ddl.DFItem, com.im.df.api.ddl.DFRelationship, com.im.df.api.support.PropertiesEditingConfigurable

    public class VirtualRelationship
    extends Object
    implements com.im.df.api.ddl.DFRelationship, com.im.df.api.capabilities.VirtualRelationshipCapability
    • Constructor Detail

      • VirtualRelationship

        public VirtualRelationship​(com.chemaxon.dif.db.api.schema.DBSchemaImpl schemaImpl,
                                   String id,
                                   String name,
                                   String description,
                                   com.im.df.api.ddl.DFField srcField,
                                   com.im.df.api.ddl.DFField destField,
                                   com.im.df.api.ddl.DFRelationship.Type type)
    • Method Detail

      • getSchema

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

        public com.im.df.api.ddl.DFRelationship.Direction getForward()
        Specified by:
        getForward in interface com.im.df.api.ddl.DFRelationship
      • getReverse

        public com.im.df.api.ddl.DFRelationship.Direction getReverse()
        Specified by:
        getReverse in interface com.im.df.api.ddl.DFRelationship
      • getRelationshipType

        public com.im.df.api.ddl.DFRelationship.Type getRelationshipType()
        Specified by:
        getRelationshipType in interface com.im.df.api.ddl.DFRelationship
      • getHandle

        public com.im.df.api.ddl.DFItem.Handle<com.im.df.api.ddl.DFRelationship> getHandle()
        Specified by:
        getHandle in interface com.im.df.api.ddl.DFItem
        Specified by:
        getHandle in interface com.im.df.api.ddl.DFRelationship
      • getId

        public String getId()
        Specified by:
        getId in interface com.im.df.api.ddl.DFItem
      • getName

        public String getName()
        Specified by:
        getName in interface com.im.df.api.ddl.DFItem
      • setName

        public void setName​(String name,
                            com.im.commons.progress.DFEnvironmentRW env)
        Specified by:
        setName in interface com.im.df.api.ddl.DFItem
      • getDescription

        public String getDescription()
        Specified by:
        getDescription in interface com.im.df.api.ddl.DFItem
      • setDescription

        public void setDescription​(String description,
                                   com.im.commons.progress.DFEnvironmentRW env)
        Specified by:
        setDescription in interface com.im.df.api.ddl.DFItem
      • getType

        public String getType()
        Specified by:
        getType in interface com.im.df.api.ddl.DFItem
      • getCapabilities

        public List<com.im.df.api.ddl.DFCapability> getCapabilities()
        Specified by:
        getCapabilities in interface com.im.df.api.ddl.DFItem
      • isValid

        public boolean isValid()
        Specified by:
        isValid in interface com.im.df.api.ddl.DFItem
      • addPropertyChangeListener

        public void addPropertyChangeListener​(PropertyChangeListener listener)
        Specified by:
        addPropertyChangeListener in interface com.im.df.api.ddl.DFItem
      • removePropertyChangeListener

        public void removePropertyChangeListener​(PropertyChangeListener listener)
        Specified by:
        removePropertyChangeListener in interface com.im.df.api.ddl.DFItem
      • isPropertyEditable

        public boolean isPropertyEditable​(String propertyName)
        Specified by:
        isPropertyEditable in interface com.im.df.api.support.PropertiesEditingConfigurable