Interface DateObject
-
- All Superinterfaces:
AtomicObject,ChronologicObject,DataObject,PropertyHandler
- All Known Implementing Classes:
DateObjectImpl
public interface DateObject extends ChronologicObject
A DateObject represents aDateas value. The native object isjava.sql.Dateand notjava.util.Datebecause ofjava.util.Datealso includes time informations. Consquently, this class contains only the date without any time information. To have the same feature asjava.util.Dateuse the TimeStampObject instead.A detailed description can be found in the
DateClass.Attention:
Date date = new Date(); setNativeDate(date); date == getNativeDate(); // can fail, because of internal reformating date.equals(getNativeDate()) //can also fail, because the time information could be removed
- Author:
- Rainer Maximini
- See Also:
DateClass
-
-
Field Summary
-
Fields inherited from interface de.uni_trier.wi2.procake.data.object.base.AtomicObject
COMPONENT, COMPONENT_KEY, LOG_INVALID_NATIVE_VALUE, LOG_NO_ORDER_DEFINED, LOG_UNCOMPARABLE_OBJECTS
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description DateClassgetDateClass()DategetNativeDate()voidsetNativeDate(Date date)-
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
-
-
-
-
Method Detail
-
getDateClass
DateClass getDateClass()
-
getNativeDate
Date getNativeDate()
-
setNativeDate
void setNativeDate(Date date) throws InvalidNativeValueException
- Throws:
InvalidNativeValueException
-
-