ItEr25S07CUAsignacionGrupoRecursosAPlanificacionItEr24S08: Removing criterions relationshp from GenericDayAssignment
This commit is contained in:
parent
0aa56afba4
commit
bd04dbe7d1
2 changed files with 0 additions and 19 deletions
|
|
@ -1,10 +1,6 @@
|
|||
package org.navalplanner.business.planner.entities;
|
||||
|
||||
import java.util.HashSet;
|
||||
import java.util.Set;
|
||||
|
||||
import org.joda.time.LocalDate;
|
||||
import org.navalplanner.business.resources.entities.Criterion;
|
||||
import org.navalplanner.business.resources.entities.Resource;
|
||||
|
||||
/**
|
||||
|
|
@ -16,8 +12,6 @@ public class GenericDayAssigment extends DayAssigment {
|
|||
|
||||
private GenericResourceAllocation genericResourceAllocation;
|
||||
|
||||
private Set<Criterion> criterions = new HashSet<Criterion>();
|
||||
|
||||
public static GenericDayAssigment create(LocalDate day, int hours,
|
||||
Resource resource) {
|
||||
return (GenericDayAssigment) create(new GenericDayAssigment(day, hours,
|
||||
|
|
@ -35,14 +29,6 @@ public class GenericDayAssigment extends DayAssigment {
|
|||
|
||||
}
|
||||
|
||||
public Set<Criterion> getCriterions() {
|
||||
return criterions;
|
||||
}
|
||||
|
||||
public void setCriterions(Set<Criterion> criterions) {
|
||||
this.criterions = criterions;
|
||||
}
|
||||
|
||||
public GenericResourceAllocation getGenericResourceAllocation() {
|
||||
return genericResourceAllocation;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -70,11 +70,6 @@
|
|||
<subclass name="GenericDayAssigment" discriminator-value="GENERIC_DAY">
|
||||
<many-to-one name="genericResourceAllocation"
|
||||
class="GenericResourceAllocation" column="GENERIC_RESOURCE_ALLOCATION_ID" />
|
||||
|
||||
<set name="criterions" inverse="false">
|
||||
<key column="GENERIC_DAY_ASSIGMENT_ID"/>
|
||||
<one-to-many class="org.navalplanner.business.resources.entities.Criterion"/>
|
||||
</set>
|
||||
</subclass>
|
||||
</class>
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue