Interface IntervalClass
-
- All Superinterfaces:
DataClass,PropertyHandler
- All Known Implementing Classes:
IntervalClassImpl
public interface IntervalClass extends DataClass
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, seeInstanceTotalOrderPredicate.- Author:
- Rainer Maximini
- See Also:
InstanceTotalOrderPredicate
-
-
Field Summary
Fields Modifier and Type Field Description static StringCLASS_NAMEThe name of the class.static StringCOMPONENTComponent: "cake.data.model" (LogComponentIdentifier.COMPONENT)static StringCOMPONENT_KEYComponent-Key: "06" (LogComponentIdentifier.COMPONENT_KEY_INTERVALCLASS)static StringLOG_INCONSISTENT_ELEMENTCLASSInconsistency between this class' element-class and the super-class' element class.static StringLOG_MISSING_ELEMENTCLASSNo element class specified for this class.static StringLOG_MISSING_TOTALLY_ORDERED_ELEMENTMissing total order in element class.-
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
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AtomicClassgetElementClass()Receive the element class of the interval.voidsetElementClass(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
-
-
-
-
Field Detail
-
CLASS_NAME
static final String 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:
- Constant Field Values
-
COMPONENT
static final String COMPONENT
Component: "cake.data.model" (LogComponentIdentifier.COMPONENT)- See Also:
- Constant Field Values
-
COMPONENT_KEY
static final String COMPONENT_KEY
Component-Key: "06" (LogComponentIdentifier.COMPONENT_KEY_INTERVALCLASS)- See Also:
- Constant Field Values
-
LOG_INCONSISTENT_ELEMENTCLASS
static final String LOG_INCONSISTENT_ELEMENTCLASS
Inconsistency between this class' element-class and the super-class' element class.- Component:
COMPONENT - Key: "0601"
- this
- Element class
- Super-Class element class
- Super-Class
- See Also:
- Constant Field Values
- Component:
-
LOG_MISSING_TOTALLY_ORDERED_ELEMENT
static final String LOG_MISSING_TOTALLY_ORDERED_ELEMENT
Missing total order in element class.- Component:
COMPONENT - Key: "0602"
- this
- Element class
- See Also:
- Constant Field Values
- Component:
-
LOG_MISSING_ELEMENTCLASS
static final String LOG_MISSING_ELEMENTCLASS
No element class specified for this class.- Component:
COMPONENT - Key: "0600"
- this
- See Also:
- Constant Field Values
- Component:
-
-
Method Detail
-
getElementClass
AtomicClass getElementClass()
Receive the element class of the interval.An interval can only be specified for another
AtomicClass. Additionally, theAtomicClassmust specify totally ordered instances.- Returns:
- An
AtomicClasswith totally ordered instances.
-
setElementClass
void setElementClass(AtomicClass elementClass) throws IllegalEditException
Specify the element class of the interval.An interval can only be specified for another
AtomicClass. Additionally, theAtomicClassmust specify totally ordered instances.- Parameters:
elementClass- AnAtomicClasswith totally ordered instances.- Throws:
IllegalEditException
-
-