Interface InstancePredicate
- All Known Subinterfaces:
InstanceEnumerationPredicate
,InstanceIntervalPredicate
,InstanceOntologyOrderPredicate
,InstanceTaxonomyOrderPredicate
,InstanceTotalOrderPredicate
,InstanceValueOrderPredicate
- All Known Implementing Classes:
InstanceEnumerationPredicateImpl
,InstanceIntervalPredicateImpl
,InstanceOntologyOrderPredicateImpl
,InstancePredicateImpl
,InstanceTaxonomyOrderPredicateImpl
,InstanceTotalOrderPredicateImpl
,InstanceValueOrderPredicateImpl
public interface InstancePredicate
The
InstancePredicate
can be used in
AtomicClass
es to refine the range of possible
values.
The InstancePredicate
is an abstract interface for that no implementation exists.
Only the inherited interfaces can be instantiated:
InstanceEnumerationPredicate
can be instantiated by usingAtomicClass.createNewInstanceEnumerationPredicate()
InstanceIntervalPredicate
can be instantiated by usingAtomicClass.createNewInstanceIntervalPredicate()
InstanceOntologyOrderPredicate
can be instantiated by usingAtomicClass.createNewInstanceOntologyOrderPredicate()
- Author:
- Rainer Maximini
- See Also:
-
Method Summary
Modifier and TypeMethodDescriptionEachInstancePredicate
is defined for anAtomicClass
.boolean
EachInstancePredicate
must implement this method to check if the givenvalue
is an element of theInstancePredicate
.boolean
isEnumerationPredicate.boolean
isIntervalPredicate.boolean
isOntologyOrderPredicate.boolean
isTaxonomyOrderPredicate.boolean
isTotalOrderPredicate.
-
Method Details
-
isEnumerationPredicate
boolean isEnumerationPredicate()isEnumerationPredicate.
- Returns:
true
if the predicate is anInstanceEnumerationPredicate
-
isIntervalPredicate
boolean isIntervalPredicate()isIntervalPredicate.
- Returns:
true
if the predicate is anInstanceIntervalPredicate
-
isTaxonomyOrderPredicate
boolean isTaxonomyOrderPredicate()isTaxonomyOrderPredicate.
- Returns:
true
if the order is a taxonomy- See Also:
-
isTotalOrderPredicate
boolean isTotalOrderPredicate()isTotalOrderPredicate.
- Returns:
true
if the predicate is anInstanceTotalOrderPredicate
-
isOntologyOrderPredicate
boolean isOntologyOrderPredicate()isOntologyOrderPredicate.
- Returns:
true
if the predicate is anInstanceOntologyOrderPredicate
-
getAtomicClass
AtomicClass getAtomicClass()EachInstancePredicate
is defined for anAtomicClass
. This class can be received with this method.- Returns:
- The
AtomicClass
on that theInstancePredicate
is defined.
-
holdsFor
EachInstancePredicate
must implement this method to check if the givenvalue
is an element of theInstancePredicate
.- Parameters:
value
- The value to check- Returns:
true
if the value is an element of theInstancePredicate
-