Class BOCrewShell

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.crewshell.bl.BOCrewShell
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned
Direct Known Subclasses:
BOCrewShellDailyPlan

public class BOCrewShell extends DynO
Business object representing a crew shell.
Since:
16.0
See Also:
GCApi:
bo
  • Constructor Details

    • BOCrewShell

      public BOCrewShell()
  • Method Details

    • getId

      public Long getId()
      Returns the crew shell's ID
      Returns:
      id the crew shell's ID
    • setId

      public void setId(Long id)
      Sets the crew shell's ID
      Parameters:
      id - the crew shell's ID
    • getOperationCenter

      public Long getOperationCenter()
      Returns the ID of the crew shell's operation center
      Returns:
      operationCenter the ID of the crew shell's operation center
    • setOperationCenter

      public void setOperationCenter(Long operationCenter)
      Sets the ID of the crew shell's operation center
      Parameters:
      operationCenter - the ID of the crew shell's operation center
    • getCode

      public String getCode()
      Returns the crew shell's code
      Returns:
      code the crew shell's code
    • setCode

      public void setCode(String code)
      Sets the crew shell's code
      Parameters:
      code - the crew shell's code
    • getDescription

      public String getDescription()
      Returns the crew shell's description
      Returns:
      description the crew shell's description
    • setDescription

      public void setDescription(String description)
      Sets the crew shell's description
      Parameters:
      description - the crew shell's description
    • getCrewSize

      public Long getCrewSize()
      Returns the crew shell's size
      Returns:
      crewSize the crew shell's size
    • setCrewSize

      public void setCrewSize(Long crewSize)
      Sets the crew shell's size
      Parameters:
      crewSize - the crew shell's size
    • getMovementType

      public Long getMovementType()
      Returns the ID of the crew shell's movement type
      Returns:
      movementType the ID of the crew shell's movement type
    • setMovementType

      public void setMovementType(Long movementType)
      Sets the ID of the crew shell's movement type
      Parameters:
      movementType - the ID of the crew shell's movement type
    • getActive

      public Boolean getActive()
      Returns true if the crew shell is active
      Returns:
      true if is the crew shell is active, false otherwise
    • setActive

      public void setActive(Boolean active)
      Sets the active state of the crew shell
      Parameters:
      active - true if the crew shell must be active, false otherwise
    • getDummyUser

      public Long getDummyUser()
      Returns the ID of the dummy user
      Returns:
      dummyUser the ID of the dummy user
    • setDummyUser

      public void setDummyUser(Long dummyUser)
      Sets the ID of the dummy user
      Parameters:
      dummyUser - the ID of the dummy user
    • getDepartureAddress

      public Long getDepartureAddress()
      Returns the ID of the crew shell's departure address
      Returns:
      departureAddress the ID of the crew shell's departure address
    • setDepartureAddress

      public void setDepartureAddress(Long departureAddress)
      Sets the ID of the crew shell's departure address
      Parameters:
      departureAddress - the ID of the crew shell's departure address
    • getArrivalAddress

      public Long getArrivalAddress()
      Returns the ID of the crew shell's arrival address
      Returns:
      arrivalAddress the ID of the crew shell's arrival address
    • setArrivalAddress

      public void setArrivalAddress(Long arrivalAddress)
      Sets the ID of the crew shell's arrival address
      Parameters:
      arrivalAddress - the ID of the crew shell's arrival address
    • getColor

      public String getColor()
      Returns the color of the crew shell
      Returns:
      color the color of the crew shell
    • setColor

      public void setColor(String color)
      Sets the color of the crew shell
      Parameters:
      color - the color of the crew shell
    • getType

      public Long getType()
      Returns the ID of the crew shell's type
      Returns:
      type the ID of the crew shell's type
      See Also:
    • setType

      public void setType(Long type)
      Sets the ID of the crew shell's type
      Parameters:
      type - the ID of the crew shell's type
      See Also:
    • getWorkCenter

      public Long getWorkCenter()
      Returns the ID of the crew shell's work center
      Returns:
      workCenter the ID of the crew shell's work center
    • setWorkCenter

      public void setWorkCenter(Long workCenter)
      Sets the ID of the crew shell's work center
      Parameters:
      workCenter - the ID of the crew shell's work center