Interface IntervalClass
- All Superinterfaces:
DataClass
,PropertyHandler
- All Known Implementing Classes:
IntervalClassImpl
Interval Classes are used to create data objects that specify a range of values. Therefore, a
base data class must be specified to define the type of the elements. Of course, intervals can be
only defined for data classes with totally ordered instances, see
InstanceTotalOrderPredicate
.- Author:
- Rainer Maximini
- See Also:
-
Field Summary
Modifier and TypeFieldDescriptionstatic final String
The name of the class.static final String
static final String
static final String
Fields inherited from interface de.uni_trier.wi2.procake.data.model.DataClass
LOG_ABSTRACT_CLASS_NOT_INSTANTIABLE, LOG_ABSTRACT_SYSTEM_SUBCLASS_CREATION_FAILED, LOG_CLASS_NOT_EDITABLE, LOG_CLASS_NOT_INSTANTIABLE, LOG_EDITABLE_CLASS_NOT_INSTANTIABLE, LOG_FINISH_EDIT_FAILED, LOG_GET_SUPERCLASSES_FAILED, LOG_SUBCLASS_CREATION_FAILED
-
Method Summary
Modifier and TypeMethodDescriptionReceive the element class of the interval.void
setElementClass
(AtomicClass elementClass) Specify the element class of the interval.Methods inherited from interface de.uni_trier.wi2.procake.data.model.DataClass
addSubclass, checkInstantiability, createSubclass, finishEditing, getModel, getName, getObjectClass, getSubClasses, getSuperClass, getSuperClasses, getSystemClassName, getSystemSuperClass, includeClass, isAbstract, isAggregate, isAtomic, isBoolean, isByteArray, isCake2DataReference, isChronologic, isCollection, isControlflowItem, isDataflowWrapper, isDate, isDouble, isEditable, isInstantiable, isInteger, isInterval, isList, isNESTConstraintEdge, isNESTControlflowEdge, isNESTControlflowNode, isNESTDataflowEdge, isNESTDataNode, isNESTEdge, isNESTGraph, isNESTGraphItem, isNESTNode, isNESTPartOfEdge, isNESTSequenceNode, isNESTSequentialWorkflow, isNESTSubWorkflowNode, isNESTTaskNode, isNESTWorkflow, isNESTWorkflowNode, isNode, isNumeric, isParentItem, isSequence, isSet, isString, isSubclassOf, isSubWorkflow, isSystemClass, isTask, isTime, isTimestamp, isUnion, isURI, isVoid, isWorkflow, isWorkflowItem, newObject, removeSubclass, setAbstract, setName
Methods inherited from interface de.uni_trier.wi2.procake.data.PropertyHandler
addProperty, addProperty, getAllProperties, getAllPropertyNodes, getProperty, getPropertyNames, getPropertyNode, getPropertyRootNode, hasProperties, removeProperty, setPropertyRootNode
-
Field Details
-
CLASS_NAME
The name of the class. This name should be used inModel.getClass(String)
to receive the system class. The value is * "Interval" .- See Also:
-
LOG_INCONSISTENT_ELEMENTCLASS
- See Also:
-
LOG_MISSING_TOTALLY_ORDERED_ELEMENT
- See Also:
-
LOG_MISSING_ELEMENTCLASS
- See Also:
-
-
Method Details
-
getElementClass
AtomicClass getElementClass()Receive the element class of the interval.An interval can only be specified for another
AtomicClass
. Additionally, theAtomicClass
must specify totally ordered instances.- Returns:
- An
AtomicClass
with totally ordered instances.
-
setElementClass
Specify the element class of the interval.An interval can only be specified for another
AtomicClass
. Additionally, theAtomicClass
must specify totally ordered instances.- Parameters:
elementClass
- AnAtomicClass
with totally ordered instances.- Throws:
IllegalEditException
-