Package | Description |
---|---|
commonj.sdo | |
commonj.sdo.helper |
Modifier and Type | Method and Description |
---|---|
DataObject |
DataObject.createDataObject(int propertyIndex)
Returns a new
data object contained by this object using the specified property,
which must be a containment property . |
DataObject |
DataObject.createDataObject(int propertyIndex,
String namespaceURI,
String typeName)
Returns a new
data object contained by this object using the specified property,
which must be a containment property . |
DataObject |
DataObject.createDataObject(Property property)
Returns a new
data object contained by this object using the specified property,
which must be a containment property . |
DataObject |
DataObject.createDataObject(Property property,
Type type)
Returns a new
data object contained by this object using the specified property,
which must be of containment type . |
DataObject |
DataObject.createDataObject(String propertyName)
Returns a new
data object contained by this object using the specified property,
which must be a containment property . |
DataObject |
DataObject.createDataObject(String propertyName,
String namespaceURI,
String typeName)
Returns a new
data object contained by this object using the specified property,
which must be a containment property . |
DataObject |
DataGraph.createRootObject(String namespaceURI,
String typeName)
Creates a new root data object of the
specified type . |
DataObject |
DataGraph.createRootObject(Type type)
Creates a new root data object of the specified type.
|
DataObject |
DataObject.getContainer()
Returns the containing
data object
or null if there is no container. |
DataObject |
DataObject.getDataObject(int propertyIndex)
Returns the value of a
DataObject property identified by the specified property index. |
DataObject |
DataObject.getDataObject(Property property)
Returns the value of the specified
DataObject property. |
DataObject |
DataObject.getDataObject(String path)
Returns the value of a
DataObject property identified by the specified path. |
DataObject |
ChangeSummary.getOldContainer(DataObject dataObject)
|
DataObject |
DataObject.getRootObject()
Returns the root
data object . |
DataObject |
DataGraph.getRootObject()
Returns the root
data object of this data graph. |
DataObject |
ChangeSummary.getRootObject()
Returns the ChangeSummary root DataObject - the object from which
changes are tracked.
|
Modifier and Type | Method and Description |
---|---|
DataObject |
ChangeSummary.getOldContainer(DataObject dataObject)
|
Property |
ChangeSummary.getOldContainmentProperty(DataObject dataObject)
Returns the value of the
containment property data object property
at the point when logging began . |
Sequence |
ChangeSummary.getOldSequence(DataObject dataObject)
|
ChangeSummary.Setting |
ChangeSummary.getOldValue(DataObject dataObject,
Property property)
|
List |
ChangeSummary.getOldValues(DataObject dataObject)
|
boolean |
ChangeSummary.isCreated(DataObject dataObject)
Returns whether or not the specified data object was created while
logging . |
boolean |
ChangeSummary.isDeleted(DataObject dataObject)
Returns whether or not the specified data object was deleted while
logging . |
boolean |
ChangeSummary.isModified(DataObject dataObject)
Returns whether or not the specified data object was updated while
logging . |
void |
DataObject.setDataObject(int propertyIndex,
DataObject value)
Sets the value of a
DataObject property identified by the specified property index, to the specified value. |
void |
DataObject.setDataObject(Property property,
DataObject value)
Sets the value of the specified
DataObject property, to the specified value. |
void |
DataObject.setDataObject(String path,
DataObject value)
Sets the value of a
DataObject property identified by the specified path, to the specified value. |
Modifier and Type | Method and Description |
---|---|
DataObject |
CopyHelper.copy(DataObject dataObject)
Create a deep copy of the DataObject tree:
Copies the dataObject and all its
contained
DataObjects recursively. |
DataObject |
CopyHelper.copyShallow(DataObject dataObject)
Create a shallow copy of the DataObject dataObject:
Creates a new DataObject copiedDataObject with the same values
as the source dataObject for each property where
property.getType().isDataType() is true.
|
DataObject |
DataFactory.create(Class interfaceClass)
Create a DataObject supporting the given interface.
|
DataObject |
DataFactory.create(String uri,
String typeName)
Create a DataObject of the Type specified by typeName with the given package uri.
|
DataObject |
DataFactory.create(Type type)
Create a DataObject of the Type specified.
|
DataObject |
XMLDocument.getRootObject()
Return the root DataObject for the XMLDocument.
|
Modifier and Type | Method and Description |
---|---|
DataObject |
CopyHelper.copy(DataObject dataObject)
Create a deep copy of the DataObject tree:
Copies the dataObject and all its
contained
DataObjects recursively. |
DataObject |
CopyHelper.copyShallow(DataObject dataObject)
Create a shallow copy of the DataObject dataObject:
Creates a new DataObject copiedDataObject with the same values
as the source dataObject for each property where
property.getType().isDataType() is true.
|
XMLDocument |
XMLHelper.createDocument(DataObject dataObject,
String rootElementURI,
String rootElementName)
Creates an XMLDocument with the specified XML rootElement for the DataObject.
|
Type |
TypeHelper.define(DataObject type)
Define the DataObject as a Type.
|
Property |
TypeHelper.defineOpenContentProperty(String uri,
DataObject property)
Define the DataObject as a Property for setting open content.
|
boolean |
EqualityHelper.equal(DataObject dataObject1,
DataObject dataObject2)
Two DataObjects are equal(Deep) if they are equalShallow,
all their compared Properties are equal, and all reachable DataObjects in their
graphs excluding containers are equal.
|
boolean |
EqualityHelper.equalShallow(DataObject dataObject1,
DataObject dataObject2)
Two DataObjects are equalShallow if
they have the same
Type
and all their compared Properties are equal. |
String |
XMLHelper.save(DataObject dataObject,
String rootElementURI,
String rootElementName)
Returns the DataObject saved as an XML document with the specified root element.
|
void |
XMLHelper.save(DataObject dataObject,
String rootElementURI,
String rootElementName,
OutputStream outputStream)
Saves the DataObject as an XML document with the specified root element.
|
Copyright © 2019 The Apache Software Foundation. All rights reserved.