com.att.gs.codip.resource.rgraph
Class RGraph
java.lang.Object
|
+--com.att.gs.codip.resource.AbstractResource
|
+--com.att.gs.codip.resource.rgraph.RGNode
|
+--com.att.gs.codip.resource.rgraph.RGraph
- All Implemented Interfaces:
- LogicalResource
- public class RGraph
- extends RGNode
RGNode Graph
Constructor Summary |
protected |
RGraph()
Creators and Initializers |
|
RGraph(java.lang.String theURI)
|
|
RGraph(java.lang.String theURI,
java.util.Comparator theComptor)
|
|
RGraph(java.lang.String theURI,
int classSize,
int propertySize,
int literalSize)
|
Methods inherited from class com.att.gs.codip.resource.rgraph.RGNode |
addNewProperty, addProperty, addType, containsProperty, containsType, getComment, getContainingGraph, getLabel, getProperties, getProperties, getProperty, isType, lookupProperty, properties, removeProperty, removeType, resourceInitialization, setComment, setLabel, toString, types |
Methods inherited from class com.att.gs.codip.resource.AbstractResource |
equals, getID, getLocalName, getNamespace, getType, getURI, isLiteralType, isType, resourceInitialization, setID, setLocalName, setNamespace, setType, setURI |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
RGraph
protected RGraph()
- Creators and Initializers
RGraph
public RGraph(java.lang.String theURI)
RGraph
public RGraph(java.lang.String theURI,
int classSize,
int propertySize,
int literalSize)
RGraph
public RGraph(java.lang.String theURI,
java.util.Comparator theComptor)
morphID
protected void morphID(java.lang.String theURI)
- Overrides:
morphID
in class RGNode
morph
public void morph(java.lang.String theURI)
setPhysicalURL
public void setPhysicalURL(java.lang.String theSourceURI)
- Simple Access Methods.
getSourceURI
public java.lang.String getSourceURI()
lookupResource
public LogicalResource lookupResource(java.lang.Object theID)
- Collection Access Methods.
lookupResource
public LogicalResource lookupResource(java.lang.Object theID,
boolean pCreate)
createResource
public LogicalResource createResource()
createResource
public LogicalResource createResource(java.lang.String theID)
createResource
public LogicalResource createResource(LogicalResource aType)
createResource
public LogicalResource createResource(LogicalResource aType,
java.lang.String theID)
addResource
public void addResource(LogicalResource theLogicalResource)
removeResource
public void removeResource(LogicalResource theLogicalResource)
getResource
public LogicalResource getResource(java.lang.Object theID)
containsLogicalResource
public boolean containsLogicalResource(java.lang.Object theID)
resources
public java.util.Iterator resources()
resources
public java.util.Iterator resources(RGNode aType)
getResources
public java.util.Collection getResources(RGNode aType)
createEdge
public RGEdge createEdge(LogicalResource aType)
createEdge
public RGEdge createEdge(LogicalResource aType,
java.lang.String theID)
addEdge
public void addEdge(RGEdge theRGEdge)
removeEdge
public void removeEdge(RGEdge theRGEdge)
getEdge
public RGEdge getEdge(java.lang.Object theID)
containsRGEdge
public boolean containsRGEdge(java.lang.Object theID)
properties
public java.util.Iterator properties()
- Overrides:
properties
in class RGNode
edges
public java.util.Iterator edges(RGNode aType)
getEdges
public java.util.Collection getEdges(RGNode aType)
lookupLiteral
public RGLiteral lookupLiteral(java.lang.Object theID)
lookupLiteral
public RGLiteral lookupLiteral(java.lang.Object theID,
boolean pCreate)
createLiteral
public RGLiteral createLiteral()
createLiteralByValue
public RGLiteral createLiteralByValue(java.lang.String theValue)
createLiteral
public RGLiteral createLiteral(java.lang.String theID)
createLiteral
public RGLiteral createLiteral(LogicalResource aType)
createLiteralByValue
public RGLiteral createLiteralByValue(LogicalResource aType,
java.lang.String theValue)
createLiteral
public RGLiteral createLiteral(LogicalResource aType,
java.lang.String theID)
addLiteral
public void addLiteral(RGLiteral theRGLiteral)
removeLiteral
public void removeLiteral(RGLiteral theRGLiteral)
getLiteral
public RGLiteral getLiteral(java.lang.Object theID)
containsRGLiteral
public boolean containsRGLiteral(java.lang.Object theID)
literals
public java.util.Iterator literals()
literals
public java.util.Iterator literals(LogicalResource aType)
getLiterals
public java.util.Collection getLiterals(LogicalResource aType)
lookupNode
public RGNode lookupNode(java.lang.Object theID)
getNode
public RGNode getNode(java.lang.Object theID)
containsRGNode
public boolean containsRGNode(java.lang.Object theID)
nodes
public java.util.Iterator nodes()
nodes
public java.util.Iterator nodes(RGNode aType)
getNodes
public java.util.Collection getNodes(RGNode aType)
copySubGraph
public void copySubGraph(RGNode subject,
RGraph subGraph)
- Utility/Display/Debug Methods.
CODIP AT&T Government Solutions, Inc.