Class Owner

    • Constructor Detail

      • Owner

        public Owner​(String roleid,
                     String user,
                     int schedIndex)

        Constructor for Owner.

        Parameters:
        roleid - a String object.
        user - a String object.
        schedIndex - a int.
      • Owner

        public Owner​(String roleid,
                     String supervisor)

        Constructor for Owner.

        Parameters:
        roleid - a String object.
        supervisor - a String object.
      • Owner

        public Owner​(Owner base,
                     int timeIndex)

        Constructor for Owner.

        Parameters:
        base - a Owner object.
        timeIndex - a int.
      • Owner

        public Owner​(String roleid,
                     String user,
                     int schedIndex,
                     int timeIndex)

        Constructor for Owner.

        Parameters:
        roleid - a String object.
        user - a String object.
        schedIndex - a int.
        timeIndex - a int.
    • Method Detail

      • isSupervisor

        public boolean isSupervisor()

        isSupervisor

        Returns:
        a boolean.
      • getRoleid

        public String getRoleid()

        getRoleid

        Returns:
        a String object.
      • getSchedIndex

        public int getSchedIndex()

        getSchedIndex

        Returns:
        a int.
      • getTimeIndex

        public int getTimeIndex()

        getTimeIndex

        Returns:
        a int.
      • getUser

        public String getUser()

        getUser

        Returns:
        a String object.
      • addTimeIndex

        public Owner addTimeIndex​(int timeIndex)
      • hashCode

        public int hashCode()

        hashCode

        Overrides:
        hashCode in class Object
        Returns:
        a int.