Class BooleanObjectImpl
- 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.BooleanObjectImpl
-
- All Implemented Interfaces:
AtomicObject,BooleanObject,DataObject,PropertyHandler
public class BooleanObjectImpl extends AtomicObjectImpl implements BooleanObject
- 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 BooleanObjectImpl(BooleanClass dataClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description DataObjectcopy()Makes a deep copy of the data objectBooleanClassgetBooleanClass()BooleangetNativeBoolean()booleangetNativeBooleanValue()ObjectgetNativeObject()booleanisBoolean()voidsetNativeBoolean(boolean value)voidsetNativeBoolean(Boolean value)voidsetNativeObject(Object value)-
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, 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, 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, isConsistent, setValueFromString
-
Methods inherited from interface de.uni_trier.wi2.procake.data.object.DataObject
assertSameValueAsIn, getDataClass, getId, getModel, hasClassName, hasSameValueAsIn, hasSystemClassName, isAggregate, isAtomic, 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
-
-
-
-
Constructor Detail
-
BooleanObjectImpl
public BooleanObjectImpl(BooleanClass dataClass) throws IllegalInstantiationException
- Throws:
IllegalInstantiationException
-
-
Method Detail
-
getBooleanClass
public BooleanClass getBooleanClass()
- Specified by:
getBooleanClassin interfaceBooleanObject
-
getNativeBoolean
public Boolean getNativeBoolean()
- Specified by:
getNativeBooleanin interfaceBooleanObject
-
setNativeBoolean
public void setNativeBoolean(boolean value) throws InvalidNativeValueException- Specified by:
setNativeBooleanin interfaceBooleanObject- Throws:
InvalidNativeValueException
-
setNativeBoolean
public void setNativeBoolean(Boolean value) throws InvalidNativeValueException
- Specified by:
setNativeBooleanin interfaceBooleanObject- Throws:
InvalidNativeValueException
-
getNativeBooleanValue
public boolean getNativeBooleanValue()
- Specified by:
getNativeBooleanValuein interfaceBooleanObject
-
getNativeObject
public Object getNativeObject()
- Specified by:
getNativeObjectin interfaceAtomicObject- Specified by:
getNativeObjectin classAtomicObjectImpl
-
setNativeObject
public void setNativeObject(Object value) throws InvalidNativeValueException
- Specified by:
setNativeObjectin interfaceAtomicObject- Throws:
InvalidNativeValueException
-
isBoolean
public boolean isBoolean()
- Specified by:
isBooleanin interfaceDataObject- Overrides:
isBooleanin classDataObjectImpl- Returns:
trueif the data class can be casted toBooleanClass
-
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
-
-