Class IntegerObjectImpl
java.lang.Object
de.uni_trier.wi2.procake.data.object.impl.DataObjectImpl
de.uni_trier.wi2.procake.data.object.base.impl.AtomicObjectImpl
de.uni_trier.wi2.procake.data.object.base.impl.NumericObjectImpl
de.uni_trier.wi2.procake.data.object.base.impl.IntegerObjectImpl
- All Implemented Interfaces:
AtomicObject
,IntegerObject
,NumericObject
,DataObject
,PropertyHandler
- Author:
- Rainer Maximini
-
Field Summary
Fields inherited from class de.uni_trier.wi2.procake.data.object.impl.DataObjectImpl
objectId
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
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptioncopy()
Makes a deep copy of the data objectdouble
int
void
setNativeInteger
(int value) void
setNativeInteger
(Integer value) void
setNativeNumber
(Number value) Methods inherited from class de.uni_trier.wi2.procake.data.object.base.impl.NumericObjectImpl
getNativeObject, getNumericClass, isNumeric, setNativeObject
Methods inherited from class de.uni_trier.wi2.procake.data.object.base.impl.AtomicObjectImpl
assertSameValueAsIn, checkConsistency, getAtomicClass, hasSameValueAsIn, isConsistent, setValueFromString, toString
Methods inherited from class de.uni_trier.wi2.procake.data.object.impl.DataObjectImpl
addProperty, addProperty, deepCopy, getAllProperties, getAllPropertyNodes, getDataClass, getId, getModel, getProperty, getPropertyNames, getPropertyNode, getPropertyRootNode, hasClassName, hasProperties, 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, isSequence, isSet, isString, isSubWorkflow, isTask, isTime, isTimestamp, isUnion, isURI, isVoid, isWorkflow, removeId, removeProperty, setDataClass, setId, setPropertyRootNode, toDetailedString, toXML
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
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.DataObject
assertSameValueAsIn, 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.object.base.NumericObject
getNumericClass
Methods inherited from interface de.uni_trier.wi2.procake.data.PropertyHandler
addProperty, addProperty, getAllProperties, getAllPropertyNodes, getProperty, getPropertyNames, getPropertyNode, getPropertyRootNode, hasProperties, removeProperty, setPropertyRootNode
-
Constructor Details
-
IntegerObjectImpl
- Throws:
IllegalInstantiationException
-
-
Method Details
-
getIntegerClass
- Specified by:
getIntegerClass
in interfaceIntegerObject
-
getNativeDouble
- Specified by:
getNativeDouble
in interfaceNumericObject
-
getNativeDoubleValue
public double getNativeDoubleValue()- Specified by:
getNativeDoubleValue
in interfaceNumericObject
-
getNativeInteger
- Specified by:
getNativeInteger
in interfaceIntegerObject
-
setNativeInteger
- Specified by:
setNativeInteger
in interfaceIntegerObject
- Throws:
InvalidNativeValueException
-
setNativeInteger
- Specified by:
setNativeInteger
in interfaceIntegerObject
- Throws:
InvalidNativeValueException
-
getNativeIntegerValue
public int getNativeIntegerValue()- Specified by:
getNativeIntegerValue
in interfaceIntegerObject
-
getNativeNumber
- Specified by:
getNativeNumber
in interfaceNumericObject
-
setNativeNumber
- Specified by:
setNativeNumber
in interfaceNumericObject
- Throws:
InvalidNativeValueException
-
copy
Description copied from interface:DataObject
Makes a deep copy of the data object- Specified by:
copy
in interfaceDataObject
- Overrides:
copy
in classDataObjectImpl
- Returns:
- deep copy of the data object
-