java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.systemsettings.bl.measurementunit.BOMeasureUnit
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class BOMeasureUnit extends DynO
Business object representing a measure unit
Since:
17.0
See Also:
GCApi:
bo
  • Constructor Details

    • BOMeasureUnit

      public BOMeasureUnit()
  • Method Details

    • getId

      public Long getId()
      Returns the measure unit id.
      Returns:
      the the measure unit id
    • setId

      public void setId(Long id)
      Sets the measure unit id.
      Parameters:
      id - the measure unit id
    • getDescription

      public LocalizedString getDescription()
      Returns the measure unit description.
      Returns:
      the description
    • setDescription

      public void setDescription(LocalizedString description)
      Sets the measure unit description.
      Parameters:
      description - the description
    • getOrder

      public Long getOrder()
      Returns the measure unit order.
      Returns:
      the order
    • setOrder

      public void setOrder(Long order)
      Sets the measure unit order.
      Parameters:
      order - the order
    • getActive

      public Boolean getActive()
      Checks if the measure unit is active
      Returns:
      true if the measure unit is active, false otherwise
    • setActive

      public void setActive(Boolean active)
      Sets the measure unit to active.
      Parameters:
      active - true if the measure unit must be active, false otherwise
    • getCode

      public String getCode()
      Returns the measure unit code.
      Returns:
      the code
    • setCode

      public void setCode(String code)
      Sets the measure unit code.
      Parameters:
      code - the code