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
public class IntegerObjectImpl extends NumericObjectImpl implements IntegerObject
- 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
COMPONENT, COMPONENT_KEY, LOG_INVALID_NATIVE_VALUE, LOG_NO_ORDER_DEFINED, LOG_UNCOMPARABLE_OBJECTS
-
-
Constructor Summary
Constructors Constructor Description IntegerObjectImpl(IntegerClass dataClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataObjectcopy()Makes a deep copy of the data objectIntegerClassgetIntegerClass()DoublegetNativeDouble()doublegetNativeDoubleValue()IntegergetNativeInteger()intgetNativeIntegerValue()NumbergetNativeNumber()voidsetNativeInteger(int value)voidsetNativeInteger(Integer value)voidsetNativeNumber(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, 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
-
-
-
-
Constructor Detail
-
IntegerObjectImpl
public IntegerObjectImpl(IntegerClass dataClass) throws IllegalInstantiationException
- Throws:
IllegalInstantiationException
-
-
Method Detail
-
getIntegerClass
public IntegerClass getIntegerClass()
- Specified by:
getIntegerClassin interfaceIntegerObject
-
getNativeDouble
public Double getNativeDouble()
- Specified by:
getNativeDoublein interfaceNumericObject
-
getNativeDoubleValue
public double getNativeDoubleValue()
- Specified by:
getNativeDoubleValuein interfaceNumericObject
-
getNativeInteger
public Integer getNativeInteger()
- Specified by:
getNativeIntegerin interfaceIntegerObject
-
setNativeInteger
public void setNativeInteger(int value) throws InvalidNativeValueException- Specified by:
setNativeIntegerin interfaceIntegerObject- Throws:
InvalidNativeValueException
-
setNativeInteger
public void setNativeInteger(Integer value) throws InvalidNativeValueException
- Specified by:
setNativeIntegerin interfaceIntegerObject- Throws:
InvalidNativeValueException
-
getNativeIntegerValue
public int getNativeIntegerValue()
- Specified by:
getNativeIntegerValuein interfaceIntegerObject
-
getNativeNumber
public Number getNativeNumber()
- Specified by:
getNativeNumberin interfaceNumericObject
-
setNativeNumber
public void setNativeNumber(Number value) throws InvalidNativeValueException
- Specified by:
setNativeNumberin interfaceNumericObject- Throws:
InvalidNativeValueException
-
copy
public DataObject copy()
Description copied from interface:DataObjectMakes a deep copy of the data object- Specified by:
copyin interfaceDataObject- Overrides:
copyin classDataObjectImpl- Returns:
- deep copy of the data object
-
-