Class MeasureUnitSearchFilter
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.systemsettings.bl.measurementunit.event.MeasureUnitSearchFilter
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a search filter for the measure units.
- 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 that was set as filter is active.getCode()Returns the measure unit code that was set as filter.Returns the measure unit description that was set as filter.getId()getOrder()Returns the measure unit order that was set as filter.voidSets the measure unit to active as filter.voidsetCode(Collection<String> code) Sets the measure unit code as filter.voidsetDescription(LocalizedString description) Sets the measure unit description as filter.voidsetId(Collection<Long> id) voidSets the measure unit order as filter.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
-
MeasureUnitSearchFilter
public MeasureUnitSearchFilter()
-
-
Method Details
-
getId
-
setId
-
getDescription
Returns the measure unit description that was set as filter.- Returns:
- the description
-
setDescription
Sets the measure unit description as filter.- Parameters:
description- the description
-
getOrder
Returns the measure unit order that was set as filter.- Returns:
- the order
-
setOrder
Sets the measure unit order as filter.- Parameters:
order- the order
-
getActive
Checks if the measure unit that was set as filter is active.- Returns:
- the true if the measure unit is active, false otherwise
-
setActive
Sets the measure unit to active as filter.- Parameters:
active- true if the measure unit must be active, false otherwise
-
getCode
Returns the measure unit code that was set as filter.- Returns:
- the code
-
setCode
Sets the measure unit code as filter.- Parameters:
code- the code
-