Interface TimeObject
- All Superinterfaces:
AtomicObject
,ChronologicObject
,DataObject
,PropertyHandler
- All Known Implementing Classes:
TimeObjectImpl
A TimeObject represents a time as value.
The native object is java.sql.Time
and not java.util.Date
because
of
java.util.Date
also includes date informations. Consequently, this class contains
only the time without any date information. To have the same feature as java.util.Date
use the TimeStampObject instead.
Attention:
Time Time = new Time(); setNativeTime(Time); Time == getNativeTime(); // fails, because of internal reformating Time.equals(getNativeTime()) //can also fail, because the time information could be removed
A detailed description can be found in the TimeClass
.
- Author:
- Rainer Maximini
- See Also:
-
Field Summary
Fields inherited from interface de.uni_trier.wi2.procake.data.object.base.AtomicObject
LOG_INVALID_NATIVE_VALUE, LOG_INVALID_VALUE_CAUSES_FAILING_INSTANTIATION, LOG_NO_ORDER_DEFINED, LOG_UNCOMPARABLE_OBJECTS
-
Method Summary
Methods inherited from interface de.uni_trier.wi2.procake.data.object.base.AtomicObject
getAtomicClass, getNativeObject, isConsistent, setNativeObject, setValueFromString
Methods inherited from interface de.uni_trier.wi2.procake.data.object.base.ChronologicObject
getNativeChronologic, setNativeChronologic
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
-
Method Details
-
getNativeTime
Time getNativeTime() -
setNativeTime
- Throws:
InvalidNativeValueException
-
getTimeClass
TimeClass getTimeClass()
-