Class CharacteristicSearchFilter

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.characteristics.bl.event.CharacteristicSearchFilter
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class CharacteristicSearchFilter extends DynO
Business object representing a search filter for the characteristics.
Since:
16.0
See Also:
GCApi:
bo
  • Constructor Details

    • CharacteristicSearchFilter

      public CharacteristicSearchFilter()
  • Method Details

    • getId

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

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

      public Collection<String> getCode()
      Returns the characteristic code that was set as filter.
      Returns:
      the characteristic code
    • setCode

      public void setCode(Collection<String> code)
      Sets the characteristic code as filter.
      Parameters:
      code - the characteristic code
    • getDescription

      public LocalizedString getDescription()
      Returns the characteristic description that was set as filter.
      Returns:
      the characteristic description
    • setDescription

      public void setDescription(LocalizedString description)
      Sets the characteristic description as filter.
      Parameters:
      description - the characteristic description
    • getDataType

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

      public void setDataType(Collection<Long> dataType)
      Sets the collection of data type ids as filter.
      Parameters:
      dataType - the data type
    • getFormat

      public String getFormat()
      Returns the characteristic format that was set as filter.
      Returns:
      the characteristic format
    • setFormat

      public void setFormat(String format)
      Sets the characteristic format as filter.
      Parameters:
      format - the characteristic format
    • getSize

      public Long getSize()
      Returns the characteristic size that was set as filter.
      Returns:
      the characteristic size
    • setSize

      public void setSize(Long size)
      Sets the characteristic size as filter.
      Parameters:
      size - the characteristic size
    • getMaxLength

      public Long getMaxLength()
      Returns the characteristic max length that was set as filter.
      Returns:
      the characteristic max length
    • setMaxLength

      public void setMaxLength(Long maxLength)
      Sets the characteristic max length as filter.
      Parameters:
      maxLength - the characteristic max length
    • isNotNull

      public Boolean isNotNull()
      Checks if the characteristic that was set as filter is not null.
      Returns:
      true if is the characteristic is not null, false otherwise
    • setNotNull

      public void setNotNull(Boolean notNull)
      Sets the characteristic to not null as filter.
      Parameters:
      notNull - true if the characteristic must be not null, false otherwise
    • getMeasureUnit

      public Collection<Long> getMeasureUnit()
      Returns the collection of measure unit ids that was set as filter.
      Returns:
      a collection of measure unit ids
    • setMeasureUnit

      public void setMeasureUnit(Collection<Long> measureUnit)
      Sets the collection of measure unit ids as filter.
      Parameters:
      measureUnit - the measure unit
    • isActive

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

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

      public Long getPrecision()
      Returns the characteristic precision that was set as filter.
      Returns:
      the characteristic precision
    • setPrecision

      public void setPrecision(Long precision)
      Sets the characteristic precision as filter.
      Parameters:
      precision - the characteristic precision
    • getValueDomain

      public Collection<Long> getValueDomain()
      Returns the collection of value domain ids that was set as filter.
      Returns:
      a collection of value domain ids
    • setValueDomain

      public void setValueDomain(Collection<Long> valueDomain)
      Sets the collection of value domain ids as filter.
      Parameters:
      valueDomain - the value domain
    • getCharacteristicClass

      public Collection<Long> getCharacteristicClass()
      Returns the collection of characteristic class ids that was set as filter.
      Returns:
      a collection of characteristic class ids
    • setCharacteristicClass

      public void setCharacteristicClass(Collection<Long> characteristicClass)
      Sets the collection of characteristic class ids as filter.
      Parameters:
      characteristicClass - the characteristic class
    • getOrder

      public Long getOrder()
      Returns the characteristic order that was set as filter.
      Returns:
      the characteristic order
    • setOrder

      public void setOrder(Long order)
      Sets the characteristic order as filter.
      Parameters:
      order - the characteristic order
    • getUsage

      public Collection<Long> getUsage()
      Returns the collection of usage ids that was set as filter.
      Returns:
      a collection of usage ids
    • setUsage

      public void setUsage(Collection<Long> usage)
      Sets the collection of usage ids as filter.
      Parameters:
      usage - the usage
    • isMeter

      public Boolean isMeter()
      Checks if the characteristic that was set as filter is meter.
      Returns:
      true if is the characteristic is meter, false otherwise
    • setMeter

      public void setMeter(Boolean meter)
      Sets the characteristic to meter as filter.
      Parameters:
      meter - true if the characteristic must be meter, false otherwise
    • isNegativeValues

      public Boolean isNegativeValues()
      Checks if the characteristic that was set as filter is negative values.
      Returns:
      true if is the characteristic is negative values, false otherwise
    • setNegativeValues

      public void setNegativeValues(Boolean negativeValues)
      Sets the characteristic to negative values as filter.
      Parameters:
      negativeValues - true if the characteristic must be negative values, false otherwise