Package overit.geocallapp.wfm.assets.bl
Class BOAsset
java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.assets.bl.BOAsset
- All Implemented Interfaces:
ConstraintValidator<DynO.Valid,,DynO> Serializable,overit.geocall.timezone.model.TimeZoned
Business object representing an asset.
It contains the master data of the asset and its relations with the others assets of the hierarchy to which it belongs.
It contains the master data of the asset and its relations with the others assets of the hierarchy to which it belongs.
- 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 code.Returns the asset description.Returns the external code of the asset.Returns the asset external system id.getId()Returns the asset header id.getNote()Returns the asset note.Returns the asset operation center id.getOwner()Returns the asset owner id.Returns the header id of the asset parent.getRoot()Returns the header id of the asset root.Returns the asset status id.Returns the asset time zone.getType()Returns the id of the asset type.Returns the asset work center id.voidSets the asset code.voidsetDescription(String description) Sets the asset description.voidsetExternalCode(String externalCode) Sets the external code of the asset.voidsetExternalSystem(Long externalSystem) Sets the asset external system id.voidSets the asset header id.voidSets the asset note.voidsetOperationCenter(Long operationCenter) Sets the asset operation center id.voidSets the asset owner id.voidSets the header id of the asset parent.voidSets the header id of the asset root.voidSets the asset status id.voidsetTimeZone(String timeZone) Sets the asset time zone.voidSets the id of the asset type.voidsetWorkCenter(Long workCenter) Sets the asset work center id.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
-
BOAsset
public BOAsset()
-
-
Method Details
-
getId
Returns the asset header id.- Returns:
- the asset header id
-
setId
Sets the asset header id.- Parameters:
id- the asset header id
-
getParent
Returns the header id of the asset parent.- Returns:
- the parent header id
- See Also:
-
setParent
Sets the header id of the asset parent.- Parameters:
parent- the parent header id- See Also:
-
getRoot
Returns the header id of the asset root.- Returns:
- the root header id
- See Also:
-
setRoot
Sets the header id of the asset root.- Parameters:
root- the root header id- See Also:
-
getCode
Returns the asset code.- Returns:
- the code
-
setCode
Sets the asset code.- Parameters:
code- the code
-
getDescription
Returns the asset description.- Returns:
- the description
-
setDescription
Sets the asset description.- Parameters:
description- the description
-
getType
Returns the id of the asset type.- Returns:
- the id of the type
-
setType
Sets the id of the asset type.- Parameters:
type- the type id
-
getNote
Returns the asset note.- Returns:
- the note
-
setNote
Sets the asset note.- Parameters:
note- the note
-
getOperationCenter
Returns the asset operation center id.- Returns:
- the operation center id
-
setOperationCenter
Sets the asset operation center id.- Parameters:
operationCenter- the operation center id
-
getOwner
Returns the asset owner id.- Returns:
- the owner id
-
setOwner
Sets the asset owner id.- Parameters:
owner- owner id
-
getStatus
Returns the asset status id.- Returns:
- the status id
-
setStatus
Sets the asset status id.- Parameters:
status- the status id
-
getTimeZone
Returns the asset time zone.- Returns:
- the time zone
-
setTimeZone
Sets the asset time zone.- Parameters:
timeZone- the time zone
-
getExternalSystem
Returns the asset external system id.- Returns:
- the external system id
-
setExternalSystem
Sets the asset external system id.- Parameters:
externalSystem- the external system id
-
getExternalCode
Returns the external code of the asset.- Returns:
- externalCode the external code of the asset
-
setExternalCode
Sets the external code of the asset.- Parameters:
externalCode- the external code of the asset
-
getWorkCenter
Returns the asset work center id.- Returns:
- the work center id
-
setWorkCenter
Sets the asset work center id.- Parameters:
workCenter- the work center id
-