Class BOAssetType
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.assets.bl.type.BOAssetType
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing an asset type.
- Since:
- 16.0
- 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 asset type's code.getColor()Returns the asset type's color.Returns the asset type's description.getDummy()Checks if asset is dummy.Returns the asset type's external code.getId()Returns the asset type's id.getOrder()Returns the asset type's order.Checks if asset is visible from mobile.isActive()Checks if asset type is active.isLinear()Checks if the asset type is linear.voidSets the asset type active.voidSets the asset type's code.voidSets the asset type's color.voidsetDescription(LocalizedString description) Sets the asset type's description.voidSets the asset dummy.voidsetExternalCode(String externalCode) Sets the asset type's external code.voidSets the asset type's id.voidSets the asset type linear.voidSets the asset type's order.voidsetVisibleFromMobile(Boolean visibleFromMobile) Sets the asset visibility from mobile.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
-
BOAssetType
public BOAssetType()
-
-
Method Details
-
getId
Returns the asset type's id.- Returns:
- the asset type's id
-
setId
Sets the asset type's id.- Parameters:
id- the asset type's id
-
getDescription
Returns the asset type's description.- Returns:
- the description
-
setDescription
Sets the asset type's description.- Parameters:
description- the description
-
getCode
Returns the asset type's code.- Returns:
- the code
-
setCode
Sets the asset type's code.- Parameters:
code- the code
-
getExternalCode
Returns the asset type's external code.- Returns:
- the external code
-
setExternalCode
Sets the asset type's external code.- Parameters:
externalCode- the external code
-
getColor
Returns the asset type's color.- Returns:
- the color
-
setColor
Sets the asset type's color.- Parameters:
color- the color
-
isLinear
Checks if the asset type is linear.- Returns:
- true, if is linear
-
setLinear
Sets the asset type linear.- Parameters:
linear- the linear
-
getOrder
Returns the asset type's order.- Returns:
- the order id
-
setOrder
Sets the asset type's order.- Parameters:
order- the order id
-
isActive
Checks if asset type is active.- Returns:
- true, if is active
-
setActive
Sets the asset type active.- Parameters:
active- true if the type must be active, false otherwise
-
getVisibleFromMobile
Checks if asset is visible from mobile.- Returns:
- true if is visible from mobile
-
setVisibleFromMobile
Sets the asset visibility from mobile.- Parameters:
visibleFromMobile- the mobile visibility
-
getDummy
Checks if asset is dummy.- Returns:
- true if is dummy
-
setDummy
Sets the asset dummy.- Parameters:
dummy- the dummy
-