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
Business object representing a technical object state.
- Since:
- 9.2
- See Also:
- GCApi:
- bo
-
Nested Class Summary
Nested classes/interfaces inherited from class overit.geocall.model.DynO
DynO.SpanFields, DynO.SpanTable, DynO.Valid -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetCode()Returns the technical object state's code.getColor()Returns the technical object state's color.Returns the technical object state's description.getId()Returns the technical object state's id.getOrder()Returns the technical object state's order.getType()Returns the id of the technical object state's type.Returns the type category of the technical object state.isActive()Checks if the technical object state is active.voidSets the technical object state to active.voidSets the technical object state's code.voidSets the technical object state's color.voidsetDescription(LocalizedString description) Sets the technical object state's description.voidSets the technical object state's id.voidSets the technical object state's order.voidSets the id of the technical object state's type.voidsetTypeCategory(Long typeCategory) Sets the type category of the technical object state.Methods inherited from class overit.geocall.model.DynO
addExtension, extract, extract, fields, from, from, getCriteria, getCriteriaNotExploded, getExtension, getFakeFilter, getUnknownAttributes, getUnknownCriteria, getVariant, getZone, insert, insert, isValid, make, removeCriteria, removeExtensionAttribute, setCriteria, setCriteriaNotExploded, setExtension, setFakeFilter, setUnknownAttributes, setUnknownCriteria, setVariant, setZone, toFlatMap, toFlatMap, toMap, toMap, toString, update, validateMethods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface jakarta.validation.ConstraintValidator
initializeMethods inherited from interface overit.geocall.timezone.model.TimeZoned
hasZone
-
Constructor Details
-
BOTechnicalObjectState
public BOTechnicalObjectState()
-
-
Method Details
-
getId
Returns the technical object state's id.- Returns:
- the technical object state's id
-
setId
Sets the technical object state's id.- Parameters:
id- the technical object state's id
-
getCode
Returns the technical object state's code.- Returns:
- the code
-
setCode
Sets the technical object state's code.- Parameters:
code- the code
-
getColor
Returns the technical object state's color.- Returns:
- the color
-
setColor
Sets the technical object state's color.- Parameters:
color- the color
-
getDescription
Returns the technical object state's description.- Returns:
- the description
-
setDescription
Sets the technical object state's description.- Parameters:
description- the description
-
getType
Returns the id of the technical object state's type.- Returns:
- the id of the state type
- See Also:
-
setType
Sets the id of the technical object state's type.- Parameters:
type- the type id- See Also:
-
getTypeCategory
Returns the type category of the technical object state.- Returns:
- the type category
-
setTypeCategory
Sets the type category of the technical object state.- Parameters:
typeCategory- type category
-
getOrder
Returns the technical object state's order.- Returns:
- the order
-
setOrder
Sets the technical object state's order.- Parameters:
order- the order
-
isActive
Checks if the technical object state is active.- Returns:
- the boolean
-
setActive
Sets the technical object state to active.- Parameters:
active- true if the state must be active, false otherwise
-