Interface AtomicObject
-
- All Superinterfaces:
DataObject
,PropertyHandler
- All Known Subinterfaces:
BooleanObject
,ByteArrayObject
,ChronologicObject
,DateObject
,DoubleObject
,IntegerObject
,NumericObject
,StringObject
,TimeObject
,TimestampObject
,URIObject
- All Known Implementing Classes:
AtomicObjectImpl
,BooleanObjectImpl
,ByteArrayObjectImpl
,ChronologicObjectImpl
,DateObjectImpl
,DoubleObjectImpl
,IntegerObjectImpl
,NumericObjectImpl
,StringObjectImpl
,TimeObjectImpl
,TimestampObjectImpl
,URIObjectImpl
public interface AtomicObject extends DataObject
An AtomicObject represents an container for an plain old java object.A detailed description can be found in the
AtomicClass
.This is an abstract interface for that no corresponding implementation exists. This interface just summarises some methods that are equal for all atomic objects.
- Author:
- Rainer Maximini
- See Also:
AtomicClass
-
-
Field Summary
Fields Modifier and Type Field Description static String
COMPONENT
Component: "cake.data.objects" (LogComponentIdentifier.COMPONENT
)static String
COMPONENT_KEY
Component-Key: "22" (LogComponentIdentifier.COMPONENT_KEY_ATOMICOBJECT
)static String
LOG_INVALID_NATIVE_VALUE
Native value can not be applied to this class.static String
LOG_NO_ORDER_DEFINED
No order defined to compare values in this class.static String
LOG_UNCOMPARABLE_OBJECTS
The specified object could not be compared to this object.
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description AtomicClass
getAtomicClass()
Object
getNativeObject()
boolean
isConsistent()
void
setNativeObject(Object value)
void
setValueFromString(String value)
This method is the same likesetNativeObject(getAtomicClass().nativeFromString(value))
.-
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
-
-
-
-
Field Detail
-
COMPONENT
static final String COMPONENT
Component: "cake.data.objects" (LogComponentIdentifier.COMPONENT
)- See Also:
- Constant Field Values
-
COMPONENT_KEY
static final String COMPONENT_KEY
Component-Key: "22" (LogComponentIdentifier.COMPONENT_KEY_ATOMICOBJECT
)- See Also:
- Constant Field Values
-
LOG_INVALID_NATIVE_VALUE
static final String LOG_INVALID_NATIVE_VALUE
Native value can not be applied to this class.- Component:
COMPONENT
- Key: "2200"
- this
- Class Name
- Native value
- See Also:
- Constant Field Values
- Component:
-
LOG_NO_ORDER_DEFINED
static final String LOG_NO_ORDER_DEFINED
No order defined to compare values in this class.- Component:
COMPONENT
- Key: "2202"
- this
- See Also:
- Constant Field Values
- Component:
-
LOG_UNCOMPARABLE_OBJECTS
static final String LOG_UNCOMPARABLE_OBJECTS
The specified object could not be compared to this object.- Component:
COMPONENT
- Key: "2201"
- this
- Other object
AtomicObject
- See Also:
- Constant Field Values
- Component:
-
-
Method Detail
-
getAtomicClass
AtomicClass getAtomicClass()
-
getNativeObject
Object getNativeObject()
-
setNativeObject
void setNativeObject(Object value) throws InvalidNativeValueException
- Throws:
InvalidNativeValueException
-
setValueFromString
void setValueFromString(String value) throws InvalidNativeValueException
This method is the same likesetNativeObject(getAtomicClass().nativeFromString(value))
.- Parameters:
value
- The value to set.- Throws:
InvalidNativeValueException
-
isConsistent
boolean isConsistent()
-
-