Class BOTeam

java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.teams.bl.team.BOTeam
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class BOTeam extends DynO
Business Object representing a Team.
It represents the details about the team.
Since:
16.0
See Also:
GCApi:
bo
  • Constructor Details

    • BOTeam

      public BOTeam()
  • Method Details

    • getId

      public Long getId()
      Returns the working team id.
      Returns:
      the the working team id
    • setId

      public void setId(Long id)
      Sets the working team id.
      Parameters:
      id - the working team id
    • getCode

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

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

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

      public void setDescription(String description)
      Sets the working team description.
      Parameters:
      description - the working team description
    • isActive

      public Boolean isActive()
      Checks if the working team is active.
      Returns:
      true if is the working team is active, false otherwise
    • setActive

      public void setActive(Boolean active)
      Sets the working team to active.
      Parameters:
      active - true if the working team must be active, false otherwise
    • getOperationCenter

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

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

      public Long getAddress()
      Returns the address id.
      Returns:
      the address id
    • setAddress

      public void setAddress(Long address)
      Sets the address id.
      Parameters:
      address - the address id
    • getTimeCalculationType

      public Long getTimeCalculationType()
      Returns the time calculation type id.
      Returns:
      the time calculation type id
    • setTimeCalculationType

      public void setTimeCalculationType(Long timeCalculationType)
      Sets the time calculation type id.
      Parameters:
      timeCalculationType - the time calculation type id
    • isLoan

      public Boolean isLoan()
      Checks if the working team is a loan.
      Returns:
      true if is the working team is a loan, false otherwise
    • setLoan

      public void setLoan(Boolean loan)
      Sets the working team to loan.
      Parameters:
      loan - true if the working team must be a loan, false otherwise
    • getType

      public Long getType()
      Returns the working team type id.
      Returns:
      the type id
    • setType

      public void setType(Long type)
      Sets the working team type id.
      Parameters:
      type - the type id
    • getTeamCardinality

      public Long getTeamCardinality()
      Returns the team cardinality id.
      Returns:
      the team cardinality id
    • setTeamCardinality

      public void setTeamCardinality(Long teamCardinality)
      Sets the team cardinality id.
      Parameters:
      teamCardinality - the team cardinality id
    • getEndDayAddress

      public Long getEndDayAddress()
      Returns the end day address id.
      Returns:
      the end day address id
    • setEndDayAddress

      public void setEndDayAddress(Long endDayAddress)
      Sets the end day address id.
      Parameters:
      endDayAddress - the end day address id
    • getOssSpace

      public Long getOssSpace()
      Returns the oss space id.
      Returns:
      the oss space id
    • setOssSpace

      public void setOssSpace(Long ossSpace)
      Sets the oss space id.
      Parameters:
      ossSpace - the oss space id
    • getColor

      public String getColor()
      Returns the working team color.
      Returns:
      the working team color
    • setColor

      public void setColor(String color)
      Sets the working team color.
      Parameters:
      color - the working team color
    • getTeamLocation

      public Long getTeamLocation()
      Returns the working team location.
      Returns:
      the working team location
    • setTeamLocation

      public void setTeamLocation(Long teamLocation)
      Sets the working team location.
      Parameters:
      teamLocation - the working team location.
    • getTeamDislocation

      public Long getTeamDislocation()
      Returns the working team dislocation.
      Returns:
      the working team dislocation
    • setTeamDislocation

      public void setTeamDislocation(Long teamDislocation)
      Sets the working team dislocation.
      Parameters:
      teamDislocation - the working team dislocation