Class BasicInformation


  • public class BasicInformation
    extends Object
    Basic Information about a GCube Context
    Author:
    Luca Frosini (ISTI - CNR)
    • Field Detail

      • description

        protected String description
        Description of the Context
      • designers

        protected Set<String> designers
        Designers of the Context
      • managers

        protected Set<String> managers
        Managers of the Context
      • from

        protected Date from
        Start date of the Context
      • to

        protected Date to
        Can be null. It means no end date defined.
    • Constructor Detail

      • BasicInformation

        public BasicInformation()
    • Method Detail

      • getDescription

        public String getDescription()
        Description of the Context
        Returns:
        the description
      • setDescription

        public void setDescription​(String description)
        Description of the Context
        Parameters:
        description - the description to set
      • getDesigners

        public Set<String> getDesigners()
        Designers of the Context
        Returns:
        the designers
      • setDesigners

        public void setDesigners​(Set<String> designers)
        Designers of the Context
        Parameters:
        designers - the designers to set
      • addDesigner

        public void addDesigner​(String designer)
        Add a designer to the Context
        Parameters:
        designer - the designer to add
      • getManagers

        public Set<String> getManagers()
        Managers of the Context
        Returns:
        the managers
      • setManagers

        public void setManagers​(Set<String> managers)
        Managers of the Context
        Parameters:
        managers - the managers to set
      • addManager

        public void addManager​(String manager)
        Add a manager to the Context
        Parameters:
        manager - the manager to add
      • getFrom

        public Date getFrom()
        Start date of the Context
        Returns:
        the start date
      • setFrom

        public void setFrom​(Date from)
        Start date of the Context
        Parameters:
        from - the start date to set
      • getTo

        public Date getTo()
        End date of the Context
        Returns:
        the end date
      • setTo

        public void setTo​(Date to)
        End date of the Context
        Parameters:
        to - the end date to set