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

@EntityRef(AssetEntity.class) public class BOAsset extends DynO
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.
Since:
16.0
See Also:
GCApi:
bo
  • Constructor Details

    • BOAsset

      public BOAsset()
  • Method Details

    • getId

      public Long getId()
      Returns the asset header id.
      Returns:
      the asset header id
    • setId

      public void setId(Long id)
      Sets the asset header id.
      Parameters:
      id - the asset header id
    • getParent

      public Long getParent()
      Returns the header id of the asset parent.
      Returns:
      the parent header id
      See Also:
    • setParent

      public void setParent(Long parent)
      Sets the header id of the asset parent.
      Parameters:
      parent - the parent header id
      See Also:
    • getRoot

      public Long getRoot()
      Returns the header id of the asset root.
      Returns:
      the root header id
      See Also:
    • setRoot

      public void setRoot(Long root)
      Sets the header id of the asset root.
      Parameters:
      root - the root header id
      See Also:
    • getCode

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

      public void setCode(String code)
      Sets the asset code.
      Parameters:
      code - the code
    • getDescription

      public String getDescription()
      Returns the asset description.
      Returns:
      the description
    • setDescription

      public void setDescription(String description)
      Sets the asset description.
      Parameters:
      description - the description
    • getType

      public Long getType()
      Returns the id of the asset type.
      Returns:
      the id of the type
    • setType

      public void setType(Long type)
      Sets the id of the asset type.
      Parameters:
      type - the type id
    • getNote

      public String getNote()
      Returns the asset note.
      Returns:
      the note
    • setNote

      public void setNote(String note)
      Sets the asset note.
      Parameters:
      note - the note
    • getOperationCenter

      public Long getOperationCenter()
      Returns the asset operation center id.
      Returns:
      the operation center id
    • setOperationCenter

      public void setOperationCenter(Long operationCenter)
      Sets the asset operation center id.
      Parameters:
      operationCenter - the operation center id
    • getOwner

      public Long getOwner()
      Returns the asset owner id.
      Returns:
      the owner id
    • setOwner

      public void setOwner(Long owner)
      Sets the asset owner id.
      Parameters:
      owner - owner id
    • getStatus

      public Long getStatus()
      Returns the asset status id.
      Returns:
      the status id
    • setStatus

      public void setStatus(Long status)
      Sets the asset status id.
      Parameters:
      status - the status id
    • getTimeZone

      public String getTimeZone()
      Returns the asset time zone.
      Returns:
      the time zone
    • setTimeZone

      public void setTimeZone(String timeZone)
      Sets the asset time zone.
      Parameters:
      timeZone - the time zone
    • getExternalSystem

      public Long getExternalSystem()
      Returns the asset external system id.
      Returns:
      the external system id
    • setExternalSystem

      public void setExternalSystem(Long externalSystem)
      Sets the asset external system id.
      Parameters:
      externalSystem - the external system id
    • getExternalCode

      public String getExternalCode()
      Returns the external code of the asset.
      Returns:
      externalCode the external code of the asset
    • setExternalCode

      public void setExternalCode(String externalCode)
      Sets the external code of the asset.
      Parameters:
      externalCode - the external code of the asset
    • getWorkCenter

      public Long getWorkCenter()
      Returns the asset work center id.
      Returns:
      the work center id
    • setWorkCenter

      public void setWorkCenter(Long workCenter)
      Sets the asset work center id.
      Parameters:
      workCenter - the work center id