-
- All Superinterfaces:
Serializable
- All Known Implementing Classes:
SDODataGraph
public interface DataGraph extends Serializable
Deprecated.. Because the same functionality can be obtained with DataObjects alone and because using DataObjects has the advantages of consistence and richer functionality, the use of the special envelope DataGraph is discouraged and may be removed altogether in a future version.A data graph is used to package a graph ofdata objectsalong with their metadata, that is, data describing the data. A data graph also contains achange summarywhich is used to record changes made to the objects in the graph.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description DataObjectcreateRootObject(Type type)Deprecated.Creates a new root data object of the specified type.DataObjectcreateRootObject(String namespaceURI, String typeName)Deprecated.Creates a new root data object of thespecified type.ChangeSummarygetChangeSummary()Deprecated.Returns thechange summaryassociated with this data graph.DataObjectgetRootObject()Deprecated.Returns the rootdata objectof this data graph.TypegetType(String uri, String typeName)Deprecated.
-
-
-
Method Detail
-
getRootObject
DataObject getRootObject()
Deprecated.Returns the rootdata objectof this data graph.- Returns:
- the root data object.
- See Also:
DataObject.getDataGraph()
-
getChangeSummary
ChangeSummary getChangeSummary()
Deprecated.Returns thechange summaryassociated with this data graph.- Returns:
- the change summary.
- See Also:
ChangeSummary.getDataGraph()
-
getType
Type getType(String uri, String typeName)
Deprecated.Returns thetypewith the given theURI, or contained by the resource at the given URI, and with the givenname.- Parameters:
uri- the namespace URI of a type or the location URI of a resource containing a type.typeName- name of a type.- Returns:
- the type with the corresponding namespace and name.
-
createRootObject
DataObject createRootObject(String namespaceURI, String typeName)
Deprecated.Creates a new root data object of thespecified type. An exception is thrown if a root object exists.- Parameters:
namespaceURI- namespace of the type.typeName- name of the type.- Returns:
- the new root.
- Throws:
IllegalStateException- if the root object already exists.- See Also:
createRootObject(Type),getType(String, String)
-
createRootObject
DataObject createRootObject(Type type)
Deprecated.Creates a new root data object of the specified type. An exception is thrown if a root object exists.- Parameters:
type- the type of the new root.- Returns:
- the new root.
- Throws:
IllegalStateException- if the root object already exists.- See Also:
createRootObject(String, String)
-
-