ItEr43S09ImplantacionAplicacionItEr42S13: Adding some missing @Valid annotations
This commit is contained in:
parent
4979560324
commit
3d02a137af
2 changed files with 3 additions and 0 deletions
|
|
@ -659,6 +659,7 @@ public abstract class OrderElement extends BaseEntity implements
|
|||
return schedulingStateType;
|
||||
}
|
||||
|
||||
@Valid
|
||||
public TaskSource getTaskSource() {
|
||||
return taskSource;
|
||||
}
|
||||
|
|
|
|||
|
|
@ -26,6 +26,7 @@ import java.util.Set;
|
|||
|
||||
import org.apache.commons.lang.Validate;
|
||||
import org.hibernate.validator.NotNull;
|
||||
import org.hibernate.validator.Valid;
|
||||
import org.navalplanner.business.common.BaseEntity;
|
||||
import org.navalplanner.business.common.exceptions.InstanceNotFoundException;
|
||||
import org.navalplanner.business.orders.entities.SchedulingState.Type;
|
||||
|
|
@ -282,6 +283,7 @@ public class TaskSource extends BaseEntity {
|
|||
this.orderElement = orderElement;
|
||||
}
|
||||
|
||||
@Valid
|
||||
public TaskElement getTask() {
|
||||
return task;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue