Commit 2050c5b7 authored by Matija Obreza's avatar Matija Obreza
Browse files

Serializable: Added serialVersionUID to Filters

parent 9aa76f45
......@@ -34,6 +34,7 @@ public interface AccessionActionService extends ActionService<AccessionAction, A
}
class AccessionActionScheduleFilter extends ActionService.ActionScheduleFilter<AccessionAction> {
private static final long serialVersionUID = -5335781949017851207L;
public AccessionFilter accession;
}
}
......
......@@ -69,6 +69,7 @@ public interface ActionService<T extends AbstractAction<T>, F extends ActionFilt
}
abstract class ActionScheduleFilter<T extends AbstractAction<T>> extends SuperModelFilter<ActionScheduleFilter<T>, T> {
private static final long serialVersionUID = 6905980861555793439L;
@NotNull
public Date fromInclusive; // x >= DATE1
@NotNull
......
......@@ -42,6 +42,7 @@ public interface InventoryActionService extends ActionService<InventoryAction, I
}
class InventoryActionScheduleFilter extends ActionService.ActionScheduleFilter<InventoryAction> {
private static final long serialVersionUID = -4364656770058858145L;
public InventoryFilter inventory;
}
}
......
......@@ -33,6 +33,7 @@ public interface InventoryViabilityActionService extends ActionService<Inventory
}
class InventoryViabilityActionScheduleFilter extends ActionService.ActionScheduleFilter<InventoryViabilityAction> {
private static final long serialVersionUID = -8417006860158986875L;
public InventoryViabilityFilter inventoryViability;
}
}
......@@ -39,6 +39,7 @@ public interface OrderRequestActionService extends ActionService<OrderRequestAct
}
class OrderRequestActionScheduleFilter extends ActionService.ActionScheduleFilter<OrderRequestAction> {
private static final long serialVersionUID = -384520835609810328L;
public OrderRequestFilter orderRequest;
}
......
......@@ -40,6 +40,7 @@ public interface OrderRequestItemActionService extends ActionService<OrderReques
}
class OrderRequestItemActionScheduleFilter extends ActionService.ActionScheduleFilter<OrderRequestItemAction> {
private static final long serialVersionUID = 394794380324680608L;
public OrderRequestItemFilter orderRequestItem;
}
......
......@@ -28,6 +28,8 @@ import com.querydsl.core.types.Predicate;
*/
public class AccessionActionFilter extends ActionFilter<AccessionActionFilter, AccessionAction> {
private static final long serialVersionUID = 3290113151060922955L;
public AccessionFilter accession;
/**
......
......@@ -34,6 +34,8 @@ import com.querydsl.core.types.Predicate;
*/
public class AccessionFilter extends CooperatorOwnedModelFilter<AccessionFilter, Accession> implements IFullTextFilter {
private static final long serialVersionUID = -7684502726900427124L;
/** Any text. */
public String _text;
......
......@@ -31,6 +31,7 @@ import com.querydsl.core.types.Predicate;
*/
public class AccessionInvGroupFilter extends CooperatorOwnedModelFilter<AccessionInvGroupFilter, AccessionInvGroup> {
private static final long serialVersionUID = 6538687263701155313L;
/** Any text. */
public StringFilter groupName;
......
......@@ -30,6 +30,8 @@ import com.querydsl.core.types.Predicate;
*/
public class AccessionSourceFilter extends CooperatorOwnedModelFilter<AccessionSourceFilter, AccessionSource> {
private static final long serialVersionUID = 8108778483347390574L;
/** sourceTypeCodes */
public Set<String> sourceTypeCode;
......
......@@ -36,6 +36,7 @@ import com.querydsl.core.types.dsl.EntityPathBase;
*/
public abstract class ActionFilter<T extends ActionFilter<T, R>, R extends AbstractAction<R>> extends CooperatorOwnedModelFilter<T, R> {
private static final long serialVersionUID = 3870340079764137534L;
/** The action name code. */
public Set<String> actionNameCode;
/** Action "state" */
......
......@@ -30,6 +30,8 @@ import com.querydsl.core.types.dsl.BooleanExpression;
*/
public class AppResourceFilter extends CooperatorOwnedModelFilter<AppResourceFilter, AppResource> {
private static final long serialVersionUID = 2262073031210962761L;
/** Any text. */
public String _text;
......
......@@ -17,6 +17,7 @@ import com.querydsl.core.types.dsl.EntityPathBase;
public abstract class AuditedModelFilter<T extends AuditedModelFilter<T, R>, R extends AuditedModel> extends EmptyModelFilter<T, R> {
private static final long serialVersionUID = 3000864197634727372L;
/** The created by. */
public Set<Long> createdBy;
/** The created date. */
......
......@@ -30,6 +30,8 @@ import com.querydsl.core.types.Predicate;
*/
public class CodeValueFilter extends TranslatedEntityFilter<CodeValueFilter, CodeValue> {
private static final long serialVersionUID = 8682413091872481307L;
/** The groupName */
public StringFilter groupName;
......
......@@ -30,6 +30,8 @@ import com.querydsl.core.types.Predicate;
*/
public class CooperatorFilter extends CooperatorOwnedModelFilter<CooperatorFilter, Cooperator> implements IFullTextFilter {
private static final long serialVersionUID = -6902623022933217392L;
/** Any text. */
public String _text;
......
......@@ -34,6 +34,8 @@ import com.querydsl.core.types.dsl.EntityPathBase;
*/
public abstract class CooperatorOwnedModelFilter<T extends CooperatorOwnedModelFilter<T, R>, R extends CooperatorOwnedModel> extends AuditedModelFilter<T, R> {
private static final long serialVersionUID = -8096327516700573523L;
/** The owned by. */
public Set<Long> ownedBy;
......
......@@ -28,6 +28,7 @@ import com.querydsl.core.types.Predicate;
*/
public class CropFilter extends CooperatorOwnedModelFilter<CropFilter, Crop> {
private static final long serialVersionUID = -9049993226758316912L;
/** The crop name. */
public StringFilter name;
......
......@@ -31,6 +31,8 @@ import com.querydsl.core.types.Predicate;
*/
public class CropTraitCodeFilter extends TranslatedEntityFilter<CropTraitCodeFilter, CropTraitCode> {
private static final long serialVersionUID = -8708378251343880353L;
/** The code */
public Set<String> code;
......
......@@ -31,6 +31,8 @@ import com.querydsl.core.types.Predicate;
*/
public class CropTraitFilter extends TranslatedEntityFilter<CropTraitFilter, CropTrait> {
private static final long serialVersionUID = 8424281927306885550L;
/** The crop */
public Set<Long> crop;
......
......@@ -33,6 +33,8 @@ import com.querydsl.core.types.Predicate;
*/
public class CropTraitObservationDataFilter extends CooperatorOwnedModelFilter<CropTraitObservationDataFilter, CropTraitObservationData> {
private static final long serialVersionUID = 3545428754688511294L;
/** The cropTraitId */
public Set<Long> cropTraitId;
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment