Class Weight

    • Constructor Detail

      • Weight

        public Weight()
    • Method Detail

      • getUnits

        public String getUnits()
        Returns:
        the units to specify this weight in
        See Also:
        WeightUnits
      • setWeight

        public void setWeight​(BigDecimal weight)
      • setUnits

        public void setUnits​(String units)
        Parameters:
        units - the units to specify this weight in
        See Also:
        WeightUnits
      • canEqual

        protected boolean canEqual​(Object other)
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object