Class BOMeasureUnit
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.systemsettings.bl.measurementunit.BOMeasureUnit
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a measure unit
- Since:
- 17.0
- See Also:
- GCApi:
- bo
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.model.DynO
DynO.SpanFields, DynO.SpanTable, DynO.Valid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionChecks if the measure unit is activegetCode()Returns the measure unit code.Returns the measure unit description.getId()Returns the measure unit id.getOrder()Returns the measure unit order.voidSets the measure unit to active.voidSets the measure unit code.voidsetDescription(LocalizedString description) Sets the measure unit description.voidSets the measure unit id.voidSets the measure unit order.Methods inherited from class overit.geocall.model.DynO
addExtension, extract, extract, fields, from, from, getCriteria, getCriteriaNotExploded, getExtension, getFakeFilter, getUnknownAttributes, getUnknownCriteria, getVariant, getZone, insert, insert, isValid, make, removeCriteria, removeExtensionAttribute, setCriteria, setCriteriaNotExploded, setExtension, setFakeFilter, setUnknownAttributes, setUnknownCriteria, setVariant, setZone, toFlatMap, toFlatMap, toMap, toMap, toString, update, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.validation.ConstraintValidator
initializeMethods inherited from interface overit.geocall.timezone.model.TimeZoned
hasZone
-
Constructor Details
-
BOMeasureUnit
public BOMeasureUnit()
-
-
Method Details
-
getId
Returns the measure unit id.- Returns:
- the the measure unit id
-
setId
Sets the measure unit id.- Parameters:
id- the measure unit id
-
getDescription
Returns the measure unit description.- Returns:
- the description
-
setDescription
Sets the measure unit description.- Parameters:
description- the description
-
getOrder
Returns the measure unit order.- Returns:
- the order
-
setOrder
Sets the measure unit order.- Parameters:
order- the order
-
getActive
Checks if the measure unit is active- Returns:
- true if the measure unit is active, false otherwise
-
setActive
Sets the measure unit to active.- Parameters:
active- true if the measure unit must be active, false otherwise
-
getCode
Returns the measure unit code.- Returns:
- the code
-
setCode
Sets the measure unit code.- Parameters:
code- the code
-