Class BOTechnicalObjectState

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.core.bl.technicalobject.state.BOTechnicalObjectState
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class BOTechnicalObjectState extends DynO
Business object representing a technical object state.
Since:
9.2
See Also:
GCApi:
bo
  • Constructor Details

    • BOTechnicalObjectState

      public BOTechnicalObjectState()
  • Method Details

    • getId

      public Long getId()
      Returns the technical object state's id.
      Returns:
      the technical object state's id
    • setId

      public void setId(Long id)
      Sets the technical object state's id.
      Parameters:
      id - the technical object state's id
    • getCode

      public String getCode()
      Returns the technical object state's code.
      Returns:
      the code
    • setCode

      public void setCode(String code)
      Sets the technical object state's code.
      Parameters:
      code - the code
    • getColor

      public String getColor()
      Returns the technical object state's color.
      Returns:
      the color
    • setColor

      public void setColor(String color)
      Sets the technical object state's color.
      Parameters:
      color - the color
    • getDescription

      public LocalizedString getDescription()
      Returns the technical object state's description.
      Returns:
      the description
    • setDescription

      public void setDescription(LocalizedString description)
      Sets the technical object state's description.
      Parameters:
      description - the description
    • getType

      public Long getType()
      Returns the id of the technical object state's type.
      Returns:
      the id of the state type
      See Also:
    • setType

      public void setType(Long type)
      Sets the id of the technical object state's type.
      Parameters:
      type - the type id
      See Also:
    • getTypeCategory

      public Long getTypeCategory()
      Returns the type category of the technical object state.
      Returns:
      the type category
    • setTypeCategory

      public void setTypeCategory(Long typeCategory)
      Sets the type category of the technical object state.
      Parameters:
      typeCategory - type category
    • getOrder

      public Long getOrder()
      Returns the technical object state's order.
      Returns:
      the order
    • setOrder

      public void setOrder(Long order)
      Sets the technical object state's order.
      Parameters:
      order - the order
    • isActive

      public Boolean isActive()
      Checks if the technical object state is active.
      Returns:
      the boolean
    • setActive

      public void setActive(Boolean active)
      Sets the technical object state to active.
      Parameters:
      active - true if the state must be active, false otherwise