Interface IntervalObject
- All Superinterfaces:
DataObject
,PropertyHandler
- All Known Implementing Classes:
IntervalObjectImpl
An IntervalObject contains two totally ordered
AtomicClass
es. These values are the upper
and lower bound of the interval.
A detailed description can be found in the IntervalClass
.
- Author:
- Rainer Maximini
- See Also:
-
Field Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
includes
(AtomicObject valueToCheck) void
setBounds
(AtomicObject lowerBound, AtomicObject upperBound) Sets the bound of the interval.Methods inherited from interface de.uni_trier.wi2.procake.data.object.DataObject
assertSameValueAsIn, copy, getDataClass, getId, getModel, hasClassName, hasSameValueAsIn, hasSystemClassName, isAggregate, isAtomic, isBoolean, isByteArray, isChronologic, isCollection, isDataflowWrapper, isDataReference, isDate, isDouble, isInteger, isInterval, isKindOf, isList, isMemberOf, isNESTConstraintEdge, isNESTControlflowEdge, isNESTControlflowNode, isNESTDataflowEdge, isNESTDataNode, isNESTEdge, isNESTGraph, isNESTNode, isNESTPartOfEdge, isNESTSequenceNode, isNESTSequentialWorkflow, isNESTSubWorkflowNode, isNESTTaskNode, isNESTWorkflow, isNESTWorkflowNode, isNode, isNumeric, isSequence, isSet, isString, isSubWorkflow, isTask, isTime, isTimestamp, isUnion, isURI, isVoid, isWorkflow, removeId, setDataClass, setId, toDetailedString, toXML
Methods inherited from interface de.uni_trier.wi2.procake.data.PropertyHandler
addProperty, addProperty, getAllProperties, getAllPropertyNodes, getProperty, getPropertyNames, getPropertyNode, getPropertyRootNode, hasProperties, removeProperty, setPropertyRootNode
-
Field Details
-
LOG_UNCOMPARABLE_OBJECTS
- See Also:
-
LOG_WRONG_ELEMENT_TYPE
- See Also:
-
-
Method Details
-
getIntervalClass
IntervalClass getIntervalClass() -
getLowerBound
AtomicObject getLowerBound() -
getUpperBound
AtomicObject getUpperBound() -
includes
- Parameters:
valueToCheck
- The value that has to be checked.- Returns:
true
if thevalueToCheck
is before the upper bound and after the lower bound.- Throws:
UncomparableObjectsException
-
setBounds
Sets the bound of the interval. The bounds are automatically ordered.- Parameters:
lowerBound
- The lower bound of the interval.upperBound
- The upper bound of the interval.- Throws:
ProCAKEInvalidTypeException
-