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


Field Summary
 
Fields inherited from class com.att.gs.codip.resource.AbstractResource
delineatedType, isSingleTyped
 
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)
           
 
Method Summary
 void addEdge(RGEdge theRGEdge)
           
 void addLiteral(RGLiteral theRGLiteral)
           
 void addResource(LogicalResource theLogicalResource)
           
 boolean containsLogicalResource(java.lang.Object theID)
           
 boolean containsRGEdge(java.lang.Object theID)
           
 boolean containsRGLiteral(java.lang.Object theID)
           
 boolean containsRGNode(java.lang.Object theID)
           
 void copySubGraph(RGNode subject, RGraph subGraph)
          Utility/Display/Debug Methods.
 RGEdge createEdge(LogicalResource aType)
           
 RGEdge createEdge(LogicalResource aType, java.lang.String theID)
           
 RGLiteral createLiteral()
           
 RGLiteral createLiteral(LogicalResource aType)
           
 RGLiteral createLiteral(LogicalResource aType, java.lang.String theID)
           
 RGLiteral createLiteral(java.lang.String theID)
           
 RGLiteral createLiteralByValue(LogicalResource aType, java.lang.String theValue)
           
 RGLiteral createLiteralByValue(java.lang.String theValue)
           
 LogicalResource createResource()
           
 LogicalResource createResource(LogicalResource aType)
           
 LogicalResource createResource(LogicalResource aType, java.lang.String theID)
           
 LogicalResource createResource(java.lang.String theID)
           
 java.util.Iterator edges(RGNode aType)
           
 RGEdge getEdge(java.lang.Object theID)
           
 java.util.Collection getEdges(RGNode aType)
           
 RGLiteral getLiteral(java.lang.Object theID)
           
 java.util.Collection getLiterals(LogicalResource aType)
           
 RGNode getNode(java.lang.Object theID)
           
 java.util.Collection getNodes(RGNode aType)
           
 LogicalResource getResource(java.lang.Object theID)
           
 java.util.Collection getResources(RGNode aType)
           
 java.lang.String getSourceURI()
           
 java.util.Iterator literals()
           
 java.util.Iterator literals(LogicalResource aType)
           
 RGLiteral lookupLiteral(java.lang.Object theID)
           
 RGLiteral lookupLiteral(java.lang.Object theID, boolean pCreate)
           
 RGNode lookupNode(java.lang.Object theID)
           
 LogicalResource lookupResource(java.lang.Object theID)
          Collection Access Methods.
 LogicalResource lookupResource(java.lang.Object theID, boolean pCreate)
           
 void morph(java.lang.String theURI)
           
protected  void morphID(java.lang.String theURI)
           
 java.util.Iterator nodes()
           
 java.util.Iterator nodes(RGNode aType)
           
 java.util.Iterator properties()
           
 void removeEdge(RGEdge theRGEdge)
           
 void removeLiteral(RGLiteral theRGLiteral)
           
 void removeResource(LogicalResource theLogicalResource)
           
 java.util.Iterator resources()
           
 java.util.Iterator resources(RGNode aType)
           
 void setPhysicalURL(java.lang.String theSourceURI)
          Simple Access Methods.
 
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
 
Methods inherited from interface com.att.gs.codip.resource.LogicalResource
getID, getLocalName, getNamespace, getType, getURI, isLiteralType, isType, setType
 

Constructor Detail

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)
Method Detail

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.