java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.organizationalstructures.bl.operationcenter.address.BOOperationCenterAddress
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class BOOperationCenterAddress extends DynO
Business object representing the relation between an operation center and an address.
Since:
17.0
See Also:
GCApi:
bo
  • Constructor Details

    • BOOperationCenterAddress

      public BOOperationCenterAddress()
  • Method Details

    • getAddress

      public Long getAddress()
      Returns the address id.
      Returns:
      the address id
      See Also:
    • getOperationCenter

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

      public String getDescription()
      Returns the operation center address description.
      Returns:
      the description
    • getMain

      public Boolean getMain()
      Checks if the address is the main one for the operation center.
      Returns:
      true if the address is the main one for the operation center, false otherwise
    • setAddress

      public void setAddress(Long address)
      Sets the address id.
      Parameters:
      address - the address id
      See Also:
    • setOperationCenter

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

      public void setDescription(String description)
      Sets the operation center address description.
      Parameters:
      description - the description
    • setMain

      public void setMain(Boolean main)
      Sets the address as the main one for the operation center.
      Parameters:
      main - true if the address must be the main one for the operation center, false otherwise