1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16 package org.kuali.rice.core.api.criteria;
17
18 import org.kuali.rice.core.api.CoreConstants;
19 import org.w3c.dom.Element;
20
21 import javax.xml.bind.annotation.XmlAccessType;
22 import javax.xml.bind.annotation.XmlAccessorType;
23 import javax.xml.bind.annotation.XmlAnyElement;
24 import javax.xml.bind.annotation.XmlRootElement;
25 import javax.xml.bind.annotation.XmlType;
26 import java.util.Collection;
27 import java.util.Set;
28
29
30
31
32
33
34
35
36
37 @XmlRootElement(name = AndPredicate.Constants.ROOT_ELEMENT_NAME)
38 @XmlAccessorType(XmlAccessType.NONE)
39 @XmlType(name = AndPredicate.Constants.TYPE_NAME, propOrder = {
40 CoreConstants.CommonElements.FUTURE_ELEMENTS
41 })
42 public final class AndPredicate extends AbstractCompositePredicate {
43
44 private static final long serialVersionUID = -6575256900578172242L;
45
46 @SuppressWarnings("unused")
47 @XmlAnyElement
48 private final Collection<Element> _futureElements = null;
49
50
51
52
53 @SuppressWarnings("unused")
54 private AndPredicate() {
55 super();
56 }
57
58
59
60
61
62
63
64
65 AndPredicate(Set<Predicate> predicates) {
66
67 super(predicates);
68 }
69
70
71
72
73 static class Constants {
74 final static String ROOT_ELEMENT_NAME = "and";
75 final static String TYPE_NAME = "AndType";
76 }
77
78 }