Class AbstractRelationshipManagementAction

  • All Implemented Interfaces:
    Comparable
    Direct Known Subclasses:
    NetworkResourcesRelationshipManagementAction

    public abstract class AbstractRelationshipManagementAction
    extends AbstractVisualInventoryAction
    Former Relate to.../Release from... actions (used in complex models to create/remove relationships between inventory objects) should now handled using a single action, subclass of the present class.
    Author:
    Charles Edward Bedon Cortazar <charles.bedon@kuwaiba.org>
    • Constructor Detail

      • AbstractRelationshipManagementAction

        public AbstractRelationshipManagementAction​(String moduleId)
    • Method Detail

      • getTargetObjectClass

        public abstract String getTargetObjectClass()
        Returns the type of inventory objects that can be related through the given relationship to the selected objects.
        Returns:
        The type (it can be an abstract class)
      • getRelationshipName

        public abstract String getRelationshipName()
        Gets the actual name of the relationship in the database.
        Returns:
        Said relationship name.
      • getIncomingRelationshipDisplayName

        public abstract String getIncomingRelationshipDisplayName()
        The display name that should be used to show the relationship between the target object(s) and the selected object(s).
        Returns:
        Said display name.
      • getOutgoingRelationshipDisplayName

        public abstract String getOutgoingRelationshipDisplayName()
        The display name that should be used to show the relationship between the selected object(s) and the target object(s).
        Returns:
        Said display name.