Package africa.absa.inception.reference
Class MeasurementUnitType
java.lang.Object
africa.absa.inception.reference.MeasurementUnitType
- All Implemented Interfaces:
Serializable
The MeasurementUnitType class holds the information for a measurement unit type.
- Author:
- Marcus Portmann
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanIndicates whether some other object is "equal to" this one.getCode()Returns the code for the measurement unit type.Returns the description for the measurement unit type.Returns the Unicode locale identifier for the measurement unit type.getName()Returns the name of the measurement unit type.Returns the sort index for the measurement unit type.inthashCode()Returns a hash code value for the object.voidSet the code for the measurement unit type.voidsetDescription(String description) Set the description for the measurement unit type.voidsetLocaleId(String localeId) Set the Unicode locale identifier for the measurement unit type.voidSet the name of the measurement unit type.voidsetSortIndex(Integer sortIndex) Set the sort index for the measurement unit type.
-
Constructor Details
-
MeasurementUnitType
public MeasurementUnitType()Constructs a new MeasurementUnitType.
-
-
Method Details
-
equals
Indicates whether some other object is "equal to" this one. -
getCode
Returns the code for the measurement unit type.- Returns:
- the code for the measurement unit type
-
getDescription
Returns the description for the measurement unit type.- Returns:
- the description for the measurement unit type
-
getLocaleId
Returns the Unicode locale identifier for the measurement unit type.- Returns:
- the Unicode locale identifier for the measurement unit type
-
getName
Returns the name of the measurement unit type.- Returns:
- the name of the measurement unit type
-
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. -
setCode
Set the code for the measurement unit type.- Parameters:
code- the code for the measurement unit type
-
setDescription
Set the description for the measurement unit type.- Parameters:
description- the description for the measurement unit type
-
setLocaleId
Set the Unicode locale identifier for the measurement unit type.- Parameters:
localeId- the Unicode locale identifier for the measurement unit type
-
setName
Set the name of the measurement unit type.- Parameters:
name- the name of the measurement unit type
-
setSortIndex
Set the sort index for the measurement unit type.- Parameters:
sortIndex- the sort index for the measurement unit type
-