Class AssetStatusSearchFilter

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

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

    • AssetStatusSearchFilter

      public AssetStatusSearchFilter()
  • Method Details

    • getId

      public Collection<Long> getId()
      Returns the asset status ids that was set as filter.
      Returns:
      the asset status ids
    • setId

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

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

      public void setCode(Collection<String> code)
      Sets the asset status code as filter.
      Parameters:
      code - the code
    • getColor

      public String getColor()
      Returns the asset status color that was set as filter.
      Returns:
      the color
    • setColor

      public void setColor(String color)
      Sets the asset status color as filter.
      Parameters:
      color - the color
    • getDescription

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

      public void setDescription(LocalizedString description)
      Sets the asset status description as filter.
      Parameters:
      description - the description
    • getType

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

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

      public Long getTypeCategory()
      Returns the type category of the asset status that was set as filter.
      Returns:
      the type category
    • setTypeCategory

      public void setTypeCategory(Long typeCategory)
      Sets the type category of the asset status as filter.
      Parameters:
      typeCategory - type category
    • getOrder

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

      public void setOrder(Long order)
      Sets the asset status order as filter.
      Parameters:
      order - the order
    • isActive

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

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