Class MeasurementUnitType

java.lang.Object
africa.absa.inception.reference.MeasurementUnitType
All Implemented Interfaces:
Serializable

@Entity public class MeasurementUnitType extends Object implements Serializable
The MeasurementUnitType class holds the information for a measurement unit type.
Author:
Marcus Portmann
See Also:
  • Constructor Details

    • MeasurementUnitType

      public MeasurementUnitType()
      Constructs a new MeasurementUnitType.
  • Method Details

    • equals

      public boolean equals(Object object)
      Indicates whether some other object is "equal to" this one.
      Overrides:
      equals in class Object
      Parameters:
      object - the reference object with which to compare
      Returns:
      true if this object is the same as the object argument otherwise false
    • getCode

      public String getCode()
      Returns the code for the measurement unit type.
      Returns:
      the code for the measurement unit type
    • getDescription

      public String getDescription()
      Returns the description for the measurement unit type.
      Returns:
      the description for the measurement unit type
    • getLocaleId

      public String getLocaleId()
      Returns the Unicode locale identifier for the measurement unit type.
      Returns:
      the Unicode locale identifier for the measurement unit type
    • getName

      public String getName()
      Returns the name of the measurement unit type.
      Returns:
      the name of the measurement unit type
    • getSortIndex

      public Integer getSortIndex()
      Returns the sort index for the measurement unit type.
      Returns:
      the sort index for the measurement unit type
    • hashCode

      public int hashCode()
      Returns a hash code value for the object.
      Overrides:
      hashCode in class Object
      Returns:
      a hash code value for the object
    • setCode

      public void setCode(String code)
      Set the code for the measurement unit type.
      Parameters:
      code - the code for the measurement unit type
    • setDescription

      public void setDescription(String description)
      Set the description for the measurement unit type.
      Parameters:
      description - the description for the measurement unit type
    • setLocaleId

      public void setLocaleId(String localeId)
      Set the Unicode locale identifier for the measurement unit type.
      Parameters:
      localeId - the Unicode locale identifier for the measurement unit type
    • setName

      public void setName(String name)
      Set the name of the measurement unit type.
      Parameters:
      name - the name of the measurement unit type
    • setSortIndex

      public void setSortIndex(Integer sortIndex)
      Set the sort index for the measurement unit type.
      Parameters:
      sortIndex - the sort index for the measurement unit type