Class ConstraintUbiquita
java.lang.Object
org.cswteams.ms3.entity.constraint.Constraint
org.cswteams.ms3.entity.constraint.ConstraintAssegnazioneTurnoTurno
org.cswteams.ms3.entity.constraint.ConstraintUbiquita
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidverifyConstraint(ContextConstraint context) This method checks if Ubiquita constraint is respected while inserting a new concrete shift into a schedule.Methods inherited from class org.cswteams.ms3.entity.constraint.ConstraintAssegnazioneTurnoTurno
getAssegnazioneTurnoPrecedenteIdx, verificaContiguità AssegnazioneTurni, verificaContiguità AssegnazioneTurni
-
Constructor Details
-
ConstraintUbiquita
public ConstraintUbiquita()
-
-
Method Details
-
verifyConstraint
This method checks if Ubiquita constraint is respected while inserting a new concrete shift into a schedule.- Specified by:
verifyConstraintin classConstraint- Parameters:
context- Object comprehending the new concrete shift to be assigned and the information about doctor's state in the corresponding schedule- Throws:
ViolatedConstraintException- Exception thrown if the constraint is violated
-