Class Demeanor

    • Constructor Detail

      • Demeanor

        public Demeanor()
    • Method Detail

      • getId

        public long getId()
        Gets the ID of a demeanor.
        Returns:
        The ID.
      • setId

        public void setId​(long id)
        Sets the ID of a demeanor.
        Parameters:
        id - The new ID.
      • getName

        public String getName()
        Gets the name of the demeanor.
        Returns:
        The name of the demeanor.
      • setName

        public void setName​(String name)
        Sets the name of the demeanor.
        Parameters:
        name - The new name of the demeanor.
      • getInfectionMin

        public int getInfectionMin()
        Gets the minimum infection level for a demeanor.
        Returns:
        The minimum infection level for a demeanor.
      • setInfectionMin

        public void setInfectionMin​(int infectionMin)
        Sets the minimum infection level for a demeanor.
        Parameters:
        infectionMin - The new minimum infection level for a demeanor.
      • getInfectionMax

        public int getInfectionMax()
        Gets the maximum infection level for a demeanor.
        Returns:
        The maximum infection level for a demeanor.
      • setInfectionMax

        public void setInfectionMax​(int infectionMax)
        Sets the maximum infection level for a demeanor.
        Parameters:
        infectionMax - The new maximum infection level for a demeanor.
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • equals

        public boolean equals​(@Nullable
                              Object obj)
        Verifies if one demeanor object equals another.
        Overrides:
        equals in class Object
        Parameters:
        obj - The demeanor to be compared.
        Returns:
        The boolean denoting whether the objects were equal.