|
||||||||||
PREV NEXT | FRAMES NO FRAMES |
Packages that use Constraint | |
---|---|
org.gcube.contentmanagement.contentmanager.stubs.model.constraints | |
org.gcube.contentmanagement.contentmanager.stubs.model.predicates |
Uses of Constraint in org.gcube.contentmanagement.contentmanager.stubs.model.constraints |
---|
Classes in org.gcube.contentmanagement.contentmanager.stubs.model.constraints that implement Constraint | |
---|---|
class |
After
Constraints Calendar values to be later than a given one. |
class |
AfterDate
Constraints Date values to be later than a given one. |
class |
All<T>
Constrains values to satisfy one ore more constraints. |
class |
AnyValue
The 'null' constraint that does not constrain any value of any type. |
class |
BaseConstraint<T>
Base implementation of Constraint |
class |
Before
Constraints Calendar values to be earlier than a given one. |
class |
BeforeDate
Constraints Date values to be earlier than a given one. |
class |
Either<T>
Constrains values to satisfy at least one of one or more constraints. |
class |
Less
Constrains Double values to be strictly smaller than a given one. |
class |
Match
Constrains values to match a regular expression. |
class |
More
Constraints values of type Double to be strictly greater than a given one. |
class |
Not<T>
Constrains values to not satisfy a given constraint. |
class |
Same<T>
Constrains values to be equal to a given one (in the Object.equals(Object) sense). |
Fields in org.gcube.contentmanagement.contentmanager.stubs.model.constraints declared as Constraint | |
---|---|
static Constraint<java.lang.Object> |
Constraints.anyval
The null constraint. |
Methods in org.gcube.contentmanagement.contentmanager.stubs.model.constraints that return Constraint | ||
---|---|---|
static Constraint<java.util.Calendar> |
Constraints.after(java.util.Calendar c)
Returns a After constraint for a given calendar. |
|
static Constraint<java.util.Date> |
Constraints.afterDate(java.util.Date d)
Returns an AfterDate constraint for a given date. |
|
static
|
Constraints.all(Constraint<T>... cs)
Returns an All constraint for given constraints. |
|
static Constraint<java.util.Calendar> |
Constraints.before(java.util.Calendar c)
Returns a Before constraint for a given calendar. |
|
static Constraint<java.util.Date> |
Constraints.before(java.util.Date d)
Returns a BeforeDate constraint for a given date. |
|
Constraint<T>[] |
All.constraints()
|
|
Constraint<T>[] |
Either.constraints()
|
|
static
|
Constraints.either(Constraint<T>... cs)
Returns an Either constraint for given constraints. |
|
static Constraint<java.util.Calendar> |
Constraints.future()
Returns an After constraint for the current date. |
|
static Constraint<java.util.Date> |
Constraints.futureDate()
Returns an AfterDate constraint for the current date. |
|
static Constraint<java.lang.Double> |
Constraints.less(double than)
Returns a Less constraint for a maximum value. |
|
static Constraint<java.lang.Double> |
Constraints.more(double than)
Returns a More constraint for a minimum value. |
|
static
|
Constraints.not(Constraint<T> c)
Returns an Not constraint for a given constraint. |
|
static Constraint<java.util.Calendar> |
Constraints.past()
Returns an BEfore constraint for the current date. |
|
static Constraint<java.util.Date> |
Constraints.pastDate()
Returns a BeforeDate constraint for the current date. |
Methods in org.gcube.contentmanagement.contentmanager.stubs.model.constraints with parameters of type Constraint | ||
---|---|---|
static
|
Constraints.all(Constraint<T>... cs)
Returns an All constraint for given constraints. |
|
static
|
Constraints.either(Constraint<T>... cs)
Returns an Either constraint for given constraints. |
|
static
|
Constraints.not(Constraint<T> c)
Returns an Not constraint for a given constraint. |
Constructors in org.gcube.contentmanagement.contentmanager.stubs.model.constraints with parameters of type Constraint | |
---|---|
All(Constraint<T>... cs)
Creates an instance from one more constraints. |
|
Either(Constraint<T>... cs)
Creates an instance from one more constraints. |
|
Not(Constraint<T> c)
Creates an instance from one more constraints. |
Uses of Constraint in org.gcube.contentmanagement.contentmanager.stubs.model.predicates |
---|
Classes in org.gcube.contentmanagement.contentmanager.stubs.model.predicates with type parameters of type Constraint | |
---|---|
class |
LeafPredicate<T,C extends Constraint<? super T>>
Abstract implementation of Predicate for predicates that apply to Leaf s. |
Methods in org.gcube.contentmanagement.contentmanager.stubs.model.predicates with parameters of type Constraint | |
---|---|
static Bool |
Predicates.bool(Constraint<? super java.lang.Boolean> c)
Returns a Bool predicate with a given constraint. |
static Calendar |
Predicates.calendar(Constraint<? super java.util.Calendar> c)
Returns a Calendar predicate with a given constraint. |
static Date |
Predicates.date(Constraint<? super java.util.Date> c)
Returns a Date predicate with a given constraint. |
static Num |
Predicates.num(Constraint<? super java.lang.Double> c)
Returns a Num predicate with a given constraint. |
static Text |
Predicates.text(Constraint<? super java.lang.String> c)
Returns a Text predicate with a given constraint. |
static RID |
Predicates.uri(Constraint<? super java.net.URI> c)
Returns a RID predicate with a given constraint. |
Constructors in org.gcube.contentmanagement.contentmanager.stubs.model.predicates with parameters of type Constraint | |
---|---|
Bool(Constraint<? super java.lang.Boolean> vp)
Creates an instance with a given constraint. |
|
Calendar(Constraint<? super java.util.Calendar> c)
Creates an instance with a given constraint. |
|
Date(Constraint<? super java.util.Date> c)
Creates an instance with a given constraint. |
|
Num(Constraint<? super java.lang.Double> vp)
Creates an instance with a given constraint. |
|
RID(Constraint<? super java.net.URI> c)
Creates an instance with a given constraint. |
|
Text(Constraint<? super java.lang.String> c)
Creates an instance with a given constraint. |
|
||||||||||
PREV NEXT | FRAMES NO FRAMES |