java.lang.Object
overit.geocall.model.DynO
overit.geocallapp.wfm.orchestrator.workorders.bl.resourcewithintervention.InterventionTeamLeader
All Implemented Interfaces:
ConstraintValidator<DynO.Valid,DynO>, Serializable, overit.geocall.timezone.model.TimeZoned

public class InterventionTeamLeader extends DynO
This class is used to model the relationship between resources and interventions, specifically tracking whether a resource serves as a team leader (foreman) for a particular intervention or is just a regular team member (assistant).
Since:
18.0
See Also:
  • Constructor Details

    • InterventionTeamLeader

      public InterventionTeamLeader()
  • Method Details

    • getInterventionId

      public Long getInterventionId()
      Gets the ID of the intervention associated with this resource.
      Returns:
      the ID of the intervention
    • setInterventionId

      public void setInterventionId(Long interventionId)
      Sets the ID of the intervention associated with this resource.
      Parameters:
      interventionId - the ID of the intervention to set
    • getTeamLeader

      public boolean getTeamLeader()
      Indicates whether the resource is a team leader for this intervention.

      If true, the resource serves as a team leader (foreman) for the intervention. If false, the resource is a regular team member (assistant).

      Returns:
      true if the resource is a team leader for this intervention, false otherwise
    • setTeamLeader

      public void setTeamLeader(boolean teamLeader)
      Sets whether the resource is a team leader for this intervention.

      Use true to indicate that the resource serves as a team leader (foreman), or false to indicate that the resource is a regular team member (assistant).

      Parameters:
      teamLeader - true if the resource is a team leader, false otherwise