Class BOTechnicalObjectHeader

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

@EntityRef({AssetEntity.class,AccountEntity.class}) public class BOTechnicalObjectHeader extends DynO
Business object representing a technical object header.
It contains the master data of the technical object and its relations with the others technical objects of the hierarchy to which it belongs.
Since:
9.2
See Also:
GCApi:
bo
  • Constructor Details

    • BOTechnicalObjectHeader

      public BOTechnicalObjectHeader()
  • Method Details

    • getId

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

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

      public Long getParent()
      Returns the header id of the technical object's parent.
      Returns:
      the parent header id
      See Also:
    • setParent

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

      public Long getRoot()
      Returns the header id of the technical object's root.
      Returns:
      the root header id
      See Also:
    • setRoot

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

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

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

      public String getAbcCode()
      Returns the technical object's abc code.
      Returns:
      the abc code
    • setAbcCode

      public void setAbcCode(String abcCode)
      Sets the technical object's abc code.
      Parameters:
      abcCode - the abc code
    • getDescription

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

      public void setDescription(String description)
      Sets the technical object's description.
      Parameters:
      description - the description
    • getCreationDate

      public Date getCreationDate()
      Returns the technical object's creation date.
      Returns:
      the creation date
    • setCreationDate

      public void setCreationDate(Date creationDate)
      Sets the technical object's creation date.
      Parameters:
      creationDate - the creation date
    • getCreationDateCentral

      public Date getCreationDateCentral()
      Returns the technical object's creation central date.
      Returns:
      the creation date
    • setCreationDateCentral

      public void setCreationDateCentral(Date creationDateCentral)
      Sets the technical object's creation central date.
      Parameters:
      creationDateCentral - the creation central date
    • getType

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

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

      public String getNote()
      Returns the technical object's note.
      Returns:
      the note
    • setNote

      public void setNote(String note)
      Sets the technical object's note.
      Parameters:
      note - the note
    • getOperationCenter

      public Long getOperationCenter()
      Returns the technical object's operation center id.
      Returns:
      the operation center id
      See Also:
    • setOperationCenter

      public void setOperationCenter(Long operationCenter)
      Sets the technical object's operation center id.
      Parameters:
      operationCenter - the operation center id
      See Also:
    • getOrder

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

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

      public Long getCatalogProfile()
      Returns the technical object's catalog profile id.
      Returns:
      the catalog profile id
    • setCatalogProfile

      public void setCatalogProfile(Long catalogProfile)
      Sets the technical object's catalog profile id.
      Parameters:
      catalogProfile - the catalog profile id
    • getEwoType

      public Long getEwoType()
      Returns the technical object's ewo type id.
      Returns:
      the ewo type id
    • setEwoType

      public void setEwoType(Long ewoType)
      Sets the technical object's ewo type id.
      Parameters:
      ewoType - the ewo type id
    • getMeasureUnit

      public Long getMeasureUnit()
      Returns the technical object's measure unit id.
      Returns:
      the measure unit id
      See Also:
    • setMeasureUnit

      public void setMeasureUnit(Long measureUnit)
      Sets the technical object's measure unit id.
      Parameters:
      measureUnit - the measure unit id
      See Also:
    • getOwner

      public Long getOwner()
      Returns the technical object's owner id.
      Returns:
      the owner id
    • setOwner

      public void setOwner(Long owner)
      Sets the technical object's owner id.
      Parameters:
      owner - owner id
    • getState

      public Long getState()
      Returns the technical object's state id.
      Returns:
      the state id
      See Also:
    • setState

      public void setState(Long state)
      Sets the technical object's state id.
      Parameters:
      state - the state id
      See Also:
    • getTimezone

      public String getTimezone()
      Returns the technical object's timezone.
      Returns:
      the timezone
    • setTimezone

      public void setTimezone(String timezone)
      Sets the technical object's timezone.
      Parameters:
      timezone - the timezone
    • getWorkCenter

      public Long getWorkCenter()
      Returns the technical object's work center id.
      Returns:
      the work center id
      See Also:
    • setWorkCenter

      public void setWorkCenter(Long workCenter)
      Sets the technical object's work center id.
      Parameters:
      workCenter - the work center id
      See Also:
    • getLinearStart

      public Double getLinearStart()
      Returns the technical object's linear start, which represent the kilometer where the linear asset begins.
      Returns:
      the linear asset's start
    • setLinearStart

      public void setLinearStart(Double linearStart)
      Sets the technical object's linear start, which represent the kilometer where the linear asset begins.
      Parameters:
      linearStart - the linear asset's start
    • getLinearEnd

      public Double getLinearEnd()
      Returns the technical object's linear end, which represent the kilometer where the linear asset ends.
      Returns:
      the linear asset's end
    • setLinearEnd

      public void setLinearEnd(Double linearEnd)
      Sets the technical object's linear end, which represent the kilometer where the linear asset ends.
      Parameters:
      linearEnd - the linear asset's end
    • getLinearLength

      public Double getLinearLength()
      Returns the length of the technical object's linear asset.
      Returns:
      the linear asset's length
    • setLinearLength

      public void setLinearLength(Double linearLength)
      Sets the length of the technical object's linear asset.
      Parameters:
      linearLength - the linear asset's length
    • getLinearMeasureUnit

      public Long getLinearMeasureUnit()
      Returns the technical object's linear measure unit id.
      Returns:
      the linear measure unit id
      See Also:
    • setLinearMeasureUnit

      public void setLinearMeasureUnit(Long linearMeasureUnit)
      Sets the technical object's linear measure unit id.
      Parameters:
      linearMeasureUnit - the linear measure unit id
      See Also:
    • getExternalCode

      public String getExternalCode()
      Returns the technical object's external code.
      Returns:
      the external code
    • setExternalCode

      public void setExternalCode(String externalCode)
      Sets the technical object's external code.
      Parameters:
      externalCode - the external code
    • getExternalSystem

      public Long getExternalSystem()
      Returns the technical object's external system id.
      Returns:
      the external system id
      See Also:
    • setExternalSystem

      public void setExternalSystem(Long externalSystem)
      Sets the technical object's external system id.
      Parameters:
      externalSystem - the external system id
      See Also:
    • getPrimaryExternalStates

      public String getPrimaryExternalStates()
      Returns the technical object's primary external states, i.e. a list of technical object's states defined and used by an external system.
      Returns:
      the string of primary external states ids
    • setPrimaryExternalStates

      public void setPrimaryExternalStates(String primaryExternalStates)
      Sets the technical object's primary external states, i.e. a list of technical object's states defined and used by an external system.
      Parameters:
      primaryExternalStates - the string of primary external states ids
    • getSecondaryExternalStates

      public String getSecondaryExternalStates()
      Returns the technical object's secondary external states, i.e. a list of technical object's states defined and used by an external system.
      Returns:
      the string of secondary external states ids
    • setSecondaryExternalStates

      public void setSecondaryExternalStates(String secondaryExternalStates)
      Sets the technical object's secondary external states, i.e. a list of technical object's states defined and used by an external system.
      Parameters:
      secondaryExternalStates - the string of secondary external states ids
    • getPreviousCustomer

      public Long getPreviousCustomer()
      Returns the previous customer id
      Returns:
      the previous customer id
    • setPreviousCustomer

      public void setPreviousCustomer(Long previousCustomer)
      Sets technical object's previous customer id
      Parameters:
      previousCustomer - the previous customer id
    • getTaxCode

      public String getTaxCode()
      Returns the technical object's tax code
      Returns:
      the tax code
    • setTaxCode

      public void setTaxCode(String taxCode)
      Sets the technical object's tax code
      Parameters:
      taxCode - the tax code
    • getBirthDate

      public Date getBirthDate()
      Returns the birth date
      Returns:
      the birth date
    • setBirthDate

      public void setBirthDate(Date birthDate)
      Sets birth date
      Parameters:
      birthDate - the birth date
    • getWarehouse

      public Long getWarehouse()
      Returns the technical object's warehouse id.
      Returns:
      the warehouse id
    • setWarehouse

      public void setWarehouse(Long warehouse)
      Sets the technical object's warehouse id.
      Parameters:
      warehouse - the warehouse id