Class MeterSearchFilter
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.accounts.bl.meter.event.MeterSearchFilter
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a research filter for the meter.
- Since:
- 16.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 TypeMethodDescriptionReturns the meter account that was set as filter.Returns the meter acronym that was set as filter.Returns the collection of address ids that was set as filter.getBrand()Returns the collection of brand ids that was set as filter.Returns the meter capacity.Returns the collection of digit number ids that was set as filter.getId()Returns the collection of meter ids that was set as filter.Returns the collection of last reading ids that was set as filter.Returns the meter last reading date that was set as filter.Returns the collection of location ids that was set as filter.Returns the meter max reading that was set as filter.Returns the collection of meter class ids that was set as filter.Returns the meter min reading that was set as filter.getModel()Returns the meter model.getNote()Returns the meter note that was set as filter.Returns the meter production year that was set as filter.Returns the meter serial number that was set as filter.getType()Returns the collection of type ids that was set as filter.isActive()Checks if the meter that was set as filter is active.voidsetAccount(Long account) Sets the meter account as filter.voidsetAcronym(String acronym) Sets the meter acronym as filter.voidSets the meter to active as filter.voidsetAddress(Collection<Long> address) Sets the collection of address ids as filter.voidsetBrand(Collection<Long> brand) Sets the collection of brand ids as filter.voidsetCapacity(Double capacity) Sets the meter capacity to filter.voidsetDigitNumber(Collection<Long> digitNumber) Sets the collection of digit number ids as filter.voidsetId(Collection<Long> id) Sets the collection of meter ids as filter.voidsetLastReading(Collection<Long> lastReading) Sets the collection of last reading ids as filter.voidsetLastReadingDate(Date lastReadingDate) Sets the meter last reading date as filter.voidsetLocation(Collection<Long> location) Sets the collection of location ids as filter.voidsetMaxReading(Double maxReading) Sets the meter max reading as filter.voidsetMeterClass(Collection<Long> meterClass) Sets the collection of meter class ids as filter.voidsetMinReading(Double minReading) Sets the meter min reading as filter.voidSets the meter model to filter.voidSets the meter note as filter.voidsetProductionYear(String productionYear) Sets the meter production year as filter.voidsetSerialNumber(String serialNumber) Sets the meter serial number as filter.voidsetType(Collection<Long> type) Sets the collection of type ids 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
-
MeterSearchFilter
public MeterSearchFilter()
-
-
Method Details
-
getId
Returns the collection of meter ids that was set as filter.- Returns:
- a collection of meter ids
-
setId
Sets the collection of meter ids as filter.- Parameters:
id- the collection of meter ids
-
getAddress
Returns the collection of address ids that was set as filter.- Returns:
- a collection of address ids
-
setAddress
Sets the collection of address ids as filter.- Parameters:
address- the address
-
getSerialNumber
Returns the meter serial number that was set as filter.- Returns:
- the meter serial number
-
setSerialNumber
Sets the meter serial number as filter.- Parameters:
serialNumber- the meter serial number
-
getNote
Returns the meter note that was set as filter.- Returns:
- the meter note
-
setNote
Sets the meter note as filter.- Parameters:
note- the meter note
-
isActive
Checks if the meter that was set as filter is active.- Returns:
- true if is the meter is active, false otherwise
-
setActive
Sets the meter to active as filter.- Parameters:
active- true if the meter must be active, false otherwise
-
getLastReadingDate
Returns the meter last reading date that was set as filter.- Returns:
- the meter last reading date
-
setLastReadingDate
Sets the meter last reading date as filter.- Parameters:
lastReadingDate- the meter last reading date
-
getLastReading
Returns the collection of last reading ids that was set as filter.- Returns:
- a collection of last reading ids
-
setLastReading
Sets the collection of last reading ids as filter.- Parameters:
lastReading- the last reading
-
getDigitNumber
Returns the collection of digit number ids that was set as filter.- Returns:
- a collection of digit number ids
-
setDigitNumber
Sets the collection of digit number ids as filter.- Parameters:
digitNumber- the digit number
-
getLocation
Returns the collection of location ids that was set as filter.- Returns:
- a collection of location ids
-
setLocation
Sets the collection of location ids as filter.- Parameters:
location- the location
-
getBrand
Returns the collection of brand ids that was set as filter.- Returns:
- a collection of brand ids
-
setBrand
Sets the collection of brand ids as filter.- Parameters:
brand- the brand
-
getAcronym
Returns the meter acronym that was set as filter.- Returns:
- the meter acronym
-
setAcronym
Sets the meter acronym as filter.- Parameters:
acronym- the meter acronym
-
getProductionYear
Returns the meter production year that was set as filter.- Returns:
- the meter production year
-
setProductionYear
Sets the meter production year as filter.- Parameters:
productionYear- the meter production year
-
getMinReading
Returns the meter min reading that was set as filter.- Returns:
- the meter min reading
-
setMinReading
Sets the meter min reading as filter.- Parameters:
minReading- the meter min reading
-
getMaxReading
Returns the meter max reading that was set as filter.- Returns:
- the meter max reading
-
setMaxReading
Sets the meter max reading as filter.- Parameters:
maxReading- the meter max reading
-
getType
Returns the collection of type ids that was set as filter.- Returns:
- a collection of type ids
-
setType
Sets the collection of type ids as filter.- Parameters:
type- the type
-
getMeterClass
Returns the collection of meter class ids that was set as filter.- Returns:
- a collection of meter class ids
-
setMeterClass
Sets the collection of meter class ids as filter.- Parameters:
meterClass- the meter class
-
getModel
Returns the meter model.- Returns:
- the meter model
-
setModel
Sets the meter model to filter.- Parameters:
model- the meter model
-
getCapacity
Returns the meter capacity.- Returns:
- the meter capacity
-
setCapacity
Sets the meter capacity to filter.- Parameters:
capacity- the meter capacity
-
getAccount
Returns the meter account that was set as filter.- Returns:
- the meter account
-
setAccount
Sets the meter account as filter.- Parameters:
account- the meter account
-