Package africa.absa.inception.reference
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description MeasurementUnitType()Constructs a new MeasurementUnitType.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object object)Indicates whether some other object is "equal to" this one.StringgetCode()Returns the code for the measurement unit type.StringgetDescription()Returns the description for the measurement unit type.StringgetLocaleId()Returns the Unicode locale identifier for the measurement unit type.StringgetName()Returns the name of the measurement unit type.IntegergetSortIndex()Returns the sort index for the measurement unit type.inthashCode()Returns a hash code value for the object.voidsetCode(String code)Set 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.voidsetName(String name)Set the name of the measurement unit type.voidsetSortIndex(Integer sortIndex)Set the sort index for the measurement unit type.
-
-
-
Method Detail
-
equals
public boolean equals(Object object)
Indicates whether some other object is "equal to" this one.
-
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.
-
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
-
-