Example #1
0
  public void delete() {
    for (;
        !getShiftDistributionEntriesSet().isEmpty();
        getShiftDistributionEntriesSet().iterator().next().delete()) {;
    }
    super.setExecutionYear(null);

    setRootDomainObject(null);
    super.deleteDomainObject();
  }
Example #2
0
 protected void init(ExecutionYear executionYear) {
   checkParameters(executionYear);
   if (executionYear.hasShiftDistribution()) {
     throw new DomainException(
         "error.candidacy.degree.ShiftDistribution.executionYear.already.has.a.shiftDistribution");
   }
   super.setExecutionYear(executionYear);
 }
Example #3
0
 private ShiftDistribution() {
   super();
   super.setRootDomainObject(Bennu.getInstance());
 }