|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
A data graph is used to package a graph of data objects
along with their
metadata, that is, data describing the data.
A data graph also contains a change summary
which is used to record changes made to the objects in the graph.
Method Summary | |
DataObject |
createRootObject(String namespaceURI,
String typeName)
Creates a new root data object of the specified type ,
replacing the existing root, if one exists. |
DataObject |
createRootObject(Type type)
Creates a new root data object of the specified type, replacing the existing root, if one exists. |
ChangeSummary |
getChangeSummary()
Returns the change summary associated with this data graph. |
DataObject |
getRootObject()
Returns the root data object of this data graph. |
Type |
getType(String uri,
String typeName)
Returns the type with the given the URI ,
or contained by the resource at the given URI,
and with the given name . |
Method Detail |
public DataObject getRootObject()
data object
of this data graph.
DataObject.getDataGraph()
public DataObject createRootObject(String namespaceURI, String typeName)
specified type
,
replacing the existing root, if one exists.
namespaceURI
- namespace of the type.typeName
- name of the type.
createRootObject(Type)
,
getType(String, String)
public DataObject createRootObject(Type type)
type
- the type of the new root.
createRootObject(String, String)
public ChangeSummary getChangeSummary()
change summary
associated with this data graph.
ChangeSummary.getDataGraph()
public Type getType(String uri, String typeName)
type
with the given the URI
,
or contained by the resource at the given URI,
and with the given name
.
uri
- the namespace URI of a type or the location URI of a resource containing a type.typeName
- name of a type.
|
Copyright 2001-2006 IBM Corporation and others. All Rights Reserved. |
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |