Class ActivityModel

    • Constructor Detail

      • ActivityModel

        public ActivityModel()
        Default constructor.
      • ActivityModel

        public ActivityModel​(ActivitySectionModel[] activitySection,
                             ActivityProcedureModel[] activityProcedure,
                             ActivityExceptionModel[] activityException,
                             ActivityInputModel[] activityInput,
                             ActivityOutputModel[] activityOutput,
                             int x,
                             int y)
        Convenience constructor allowing XY initialising.
        Parameters:
        activitySection - Activity section.
        activityProcedure - Activity procedure.
        activityException - Activity exception.
        activityInput - Activity input.
        activityOutput - Activity output.
        x - Horizontal location.
        y - Vertical location.
    • Method Detail

      • getActivitySections

        public java.util.List<ActivitySectionModel> getActivitySections()
        Returns:
        Activity section.
      • addActivitySection

        public void addActivitySection​(ActivitySectionModel activitySection)
        Parameters:
        activitySection - Activity section.
      • removeActivitySection

        public void removeActivitySection​(ActivitySectionModel activitySection)
        Parameters:
        activitySection - Activity section.
      • getActivityProcedures

        public java.util.List<ActivityProcedureModel> getActivityProcedures()
        Returns:
        Activity procedure.
      • addActivityProcedure

        public void addActivityProcedure​(ActivityProcedureModel activityProcedure)
        Parameters:
        activityProcedure - Activity procedure.
      • removeActivityProcedure

        public void removeActivityProcedure​(ActivityProcedureModel activityProcedure)
        Parameters:
        activityProcedure - Activity procedure.
      • getActivityExceptions

        public java.util.List<ActivityExceptionModel> getActivityExceptions()
        Returns:
        Activity exception.
      • addActivityException

        public void addActivityException​(ActivityExceptionModel activityException)
        Parameters:
        activityException - Activity exception.
      • removeActivityException

        public void removeActivityException​(ActivityExceptionModel activityException)
        Parameters:
        activityException - Activity exception.
      • getActivityInputs

        public java.util.List<ActivityInputModel> getActivityInputs()
        Returns:
        Activity input.
      • addActivityInput

        public void addActivityInput​(ActivityInputModel activityInput)
        Parameters:
        activityInput - Activity input.
      • removeActivityInput

        public void removeActivityInput​(ActivityInputModel activityInput)
        Parameters:
        activityInput - Activity input.
      • getActivityOutputs

        public java.util.List<ActivityOutputModel> getActivityOutputs()
        Returns:
        Activity output.
      • addActivityOutput

        public void addActivityOutput​(ActivityOutputModel activityOutput)
        Parameters:
        activityOutput - Activity output.
      • removeActivityOutput

        public void removeActivityOutput​(ActivityOutputModel activityOutput)
        Parameters:
        activityOutput - Activity output.