Class URIObjectImpl
- 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.URIObjectImpl
-
- All Implemented Interfaces:
AtomicObject,URIObject,DataObject,PropertyHandler
public class URIObjectImpl extends AtomicObjectImpl implements URIObject
Implementation of theURIObjectImplto represent a resource in an owl ontology.- Author:
- Tobias Dahlem
-
-
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 URIObjectImpl(URIClass dataClass)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description protected voidcheckConsistency()StringgetClassOntologyName()ObjectgetNativeObject()StringgetNativeURI()booleanisURI()voidsetNativeObject(Object value)voidsetNativeURI(String value)-
Methods inherited from class de.uni_trier.wi2.procake.data.object.base.impl.AtomicObjectImpl
assertSameValueAsIn, getAtomicClass, hasSameValueAsIn, isConsistent, setValueFromString, toString
-
Methods inherited from class de.uni_trier.wi2.procake.data.object.impl.DataObjectImpl
addProperty, addProperty, copy, 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, isNumeric, isSequence, isSet, isString, isSubWorkflow, isTask, isTime, isTimestamp, isUnion, 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, 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, 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
-
URIObjectImpl
public URIObjectImpl(URIClass dataClass)
-
-
Method Detail
-
isURI
public boolean isURI()
- Specified by:
isURIin interfaceDataObject- Overrides:
isURIin classDataObjectImpl- Returns:
trueif the data class can be casted toURIClass
-
getNativeURI
public String getNativeURI()
- Specified by:
getNativeURIin interfaceURIObject
-
setNativeURI
public void setNativeURI(String value) throws InvalidNativeValueException
- Specified by:
setNativeURIin interfaceURIObject- Throws:
InvalidNativeValueException
-
checkConsistency
protected void checkConsistency() throws InvalidNativeValueException- Overrides:
checkConsistencyin classAtomicObjectImpl- Throws:
InvalidNativeValueException
-
getClassOntologyName
public String getClassOntologyName()
- Specified by:
getClassOntologyNamein interfaceURIObject
-
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
-
-