Class BOMeter
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.core.bl.technicalobject.meter.BOMeter
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing a meter.
- Since:
- 9.2
- 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 acronym.Returns the meter address id.getBrand()Returns the meter brand id.Returns the meter description.Returns the meter digit number.getId()Returns the meter id.getIndex()Returns the meter index.Returns the meter last reading.Returns the meter last reading date.Returns the meter location type id.Returns the meter max reading.Returns the meter class id.Returns the meter min reading.getNote()Returns the meter note.Returns the meter production year.Returns the meter serial number.getState()Returns the meter state id.getType()Returns the meter type id.isActive()Checks if the meter is active.voidsetAcronym(String acronym) Sets the meter acronym.voidSets the meter to active.voidsetAddress(Long address) Sets the meter address id.voidSets the meter brand id.voidsetDescription(String description) Sets the meter description.voidsetDigitNumber(Long digitNumber) Sets the meter digit number.voidSets the meter id.voidSets the meter index.voidsetLastReading(Long lastReading) Sets the meter last reading.voidsetLastReadingDate(Date lastReadingDate) Sets the meter last reading date.voidsetLocationType(Long locationType) Sets the meter location type id.voidsetMaxReading(Double maxReading) Sets the meter max reading.voidsetMeterClass(Long meterClass) Sets the meter class id.voidsetMinReading(Double minReading) Sets the meter min reading.voidSets the meter note.voidsetProductionYear(String productionYear) Sets the meter production year.voidsetSerialNumber(String serialNumber) Sets the meter serial number.voidSets the meter state id.voidSets the meter type id.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
-
BOMeter
public BOMeter()
-
-
Method Details
-
getId
Returns the meter id.- Returns:
- the the meter id
-
setId
Sets the meter id.- Parameters:
id- the meter id
-
getAddress
Returns the meter address id.- Returns:
- the address id
- See Also:
-
setAddress
Sets the meter address id.- Parameters:
address- the address id- See Also:
-
getSerialNumber
Returns the meter serial number.- Returns:
- the serial number
-
setSerialNumber
Sets the meter serial number.- Parameters:
serialNumber- the serial number
-
getDescription
Returns the meter description.- Returns:
- the description
-
setDescription
Sets the meter description.- Parameters:
description- the description
-
getNote
Returns the meter note.- Returns:
- the note
-
setNote
Sets the meter note.- Parameters:
note- the note
-
isActive
Checks if the meter is active.- Returns:
- true, if the meter is active, false otherwise
-
setActive
Sets the meter to active.- Parameters:
active- true if the meter must be active, false otherwise
-
getState
Returns the meter state id.- Returns:
- the state id
- See Also:
-
setState
Sets the meter state id.- Parameters:
state- the state id- See Also:
-
getLastReadingDate
Returns the meter last reading date.- Returns:
- the last reading date
-
setLastReadingDate
Sets the meter last reading date.- Parameters:
lastReadingDate- the last reading date
-
getLastReading
Returns the meter last reading.- Returns:
- the last reading
-
setLastReading
Sets the meter last reading.- Parameters:
lastReading- the last reading
-
getDigitNumber
Returns the meter digit number.- Returns:
- the digit number
-
setDigitNumber
Sets the meter digit number.- Parameters:
digitNumber- the digit number
-
getLocationType
Returns the meter location type id.- Returns:
- the location type id
- See Also:
-
setLocationType
Sets the meter location type id.- Parameters:
locationType- the location type id- See Also:
-
getBrand
Returns the meter brand id.- Returns:
- the brand id
- See Also:
-
setBrand
Sets the meter brand id.- Parameters:
brand- the brand id- See Also:
-
getAcronym
Returns the meter acronym.- Returns:
- the acronym
-
setAcronym
Sets the meter acronym.- Parameters:
acronym- the acronym
-
getProductionYear
Returns the meter production year.- Returns:
- the production year
-
setProductionYear
Sets the meter production year.- Parameters:
productionYear- the production year
-
getMinReading
Returns the meter min reading.- Returns:
- the min reading
-
setMinReading
Sets the meter min reading.- Parameters:
minReading- the min reading
-
getMaxReading
Returns the meter max reading.- Returns:
- the max reading
-
setMaxReading
Sets the meter max reading.- Parameters:
maxReading- the max reading
-
getType
Returns the meter type id.- Returns:
- the type id
- See Also:
-
setType
Sets the meter type id.- Parameters:
type- the type id- See Also:
-
getIndex
Returns the meter index.- Returns:
- the index
-
setIndex
Sets the meter index.- Parameters:
index- the index
-
getMeterClass
Returns the meter class id.- Returns:
- the meter class id
- See Also:
-
setMeterClass
Sets the meter class id.- Parameters:
meterClass- the meter class id- See Also:
-