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

public class MeterSearchFilter extends DynO
Business object representing a research filter for the meter.
Since:
16.0
See Also:
GCApi:
bo
  • Constructor Details

    • MeterSearchFilter

      public MeterSearchFilter()
  • Method Details

    • getId

      public Collection<Long> getId()
      Returns the collection of meter ids that was set as filter.
      Returns:
      a collection of meter ids
    • setId

      public void setId(Collection<Long> id)
      Sets the collection of meter ids as filter.
      Parameters:
      id - the collection of meter ids
    • getAddress

      public Collection<Long> getAddress()
      Returns the collection of address ids that was set as filter.
      Returns:
      a collection of address ids
    • setAddress

      public void setAddress(Collection<Long> address)
      Sets the collection of address ids as filter.
      Parameters:
      address - the address
    • getSerialNumber

      public String getSerialNumber()
      Returns the meter serial number that was set as filter.
      Returns:
      the meter serial number
    • setSerialNumber

      public void setSerialNumber(String serialNumber)
      Sets the meter serial number as filter.
      Parameters:
      serialNumber - the meter serial number
    • getNote

      public String getNote()
      Returns the meter note that was set as filter.
      Returns:
      the meter note
    • setNote

      public void setNote(String note)
      Sets the meter note as filter.
      Parameters:
      note - the meter note
    • isActive

      public Boolean isActive()
      Checks if the meter that was set as filter is active.
      Returns:
      true if is the meter is active, false otherwise
    • setActive

      public void setActive(Boolean active)
      Sets the meter to active as filter.
      Parameters:
      active - true if the meter must be active, false otherwise
    • getLastReadingDate

      public Date getLastReadingDate()
      Returns the meter last reading date that was set as filter.
      Returns:
      the meter last reading date
    • setLastReadingDate

      public void setLastReadingDate(Date lastReadingDate)
      Sets the meter last reading date as filter.
      Parameters:
      lastReadingDate - the meter last reading date
    • getLastReading

      public Collection<Long> getLastReading()
      Returns the collection of last reading ids that was set as filter.
      Returns:
      a collection of last reading ids
    • setLastReading

      public void setLastReading(Collection<Long> lastReading)
      Sets the collection of last reading ids as filter.
      Parameters:
      lastReading - the last reading
    • getDigitNumber

      public Collection<Long> getDigitNumber()
      Returns the collection of digit number ids that was set as filter.
      Returns:
      a collection of digit number ids
    • setDigitNumber

      public void setDigitNumber(Collection<Long> digitNumber)
      Sets the collection of digit number ids as filter.
      Parameters:
      digitNumber - the digit number
    • getLocation

      public Collection<Long> getLocation()
      Returns the collection of location ids that was set as filter.
      Returns:
      a collection of location ids
    • setLocation

      public void setLocation(Collection<Long> location)
      Sets the collection of location ids as filter.
      Parameters:
      location - the location
    • getBrand

      public Collection<Long> getBrand()
      Returns the collection of brand ids that was set as filter.
      Returns:
      a collection of brand ids
    • setBrand

      public void setBrand(Collection<Long> brand)
      Sets the collection of brand ids as filter.
      Parameters:
      brand - the brand
    • getAcronym

      public String getAcronym()
      Returns the meter acronym that was set as filter.
      Returns:
      the meter acronym
    • setAcronym

      public void setAcronym(String acronym)
      Sets the meter acronym as filter.
      Parameters:
      acronym - the meter acronym
    • getProductionYear

      public String getProductionYear()
      Returns the meter production year that was set as filter.
      Returns:
      the meter production year
    • setProductionYear

      public void setProductionYear(String productionYear)
      Sets the meter production year as filter.
      Parameters:
      productionYear - the meter production year
    • getMinReading

      public Double getMinReading()
      Returns the meter min reading that was set as filter.
      Returns:
      the meter min reading
    • setMinReading

      public void setMinReading(Double minReading)
      Sets the meter min reading as filter.
      Parameters:
      minReading - the meter min reading
    • getMaxReading

      public Double getMaxReading()
      Returns the meter max reading that was set as filter.
      Returns:
      the meter max reading
    • setMaxReading

      public void setMaxReading(Double maxReading)
      Sets the meter max reading as filter.
      Parameters:
      maxReading - the meter max reading
    • getType

      public Collection<Long> getType()
      Returns the collection of type ids that was set as filter.
      Returns:
      a collection of type ids
    • setType

      public void setType(Collection<Long> type)
      Sets the collection of type ids as filter.
      Parameters:
      type - the type
    • getMeterClass

      public Collection<Long> getMeterClass()
      Returns the collection of meter class ids that was set as filter.
      Returns:
      a collection of meter class ids
    • setMeterClass

      public void setMeterClass(Collection<Long> meterClass)
      Sets the collection of meter class ids as filter.
      Parameters:
      meterClass - the meter class
    • getModel

      public String getModel()
      Returns the meter model.
      Returns:
      the meter model
    • setModel

      public void setModel(String model)
      Sets the meter model to filter.
      Parameters:
      model - the meter model
    • getCapacity

      public Double getCapacity()
      Returns the meter capacity.
      Returns:
      the meter capacity
    • setCapacity

      public void setCapacity(Double capacity)
      Sets the meter capacity to filter.
      Parameters:
      capacity - the meter capacity
    • getAccount

      public Long getAccount()
      Returns the meter account that was set as filter.
      Returns:
      the meter account
    • setAccount

      public void setAccount(Long account)
      Sets the meter account as filter.
      Parameters:
      account - the meter account