com.att.gs.codip.resource.rgraph
Class RGNode

java.lang.Object
  |
  +--com.att.gs.codip.resource.AbstractResource
        |
        +--com.att.gs.codip.resource.rgraph.RGNode
All Implemented Interfaces:
LogicalResource
Direct Known Subclasses:
RGCORE, RGEdge, RGLiteral, RGraph

public class RGNode
extends AbstractResource
implements LogicalResource


Field Summary
 
Fields inherited from class com.att.gs.codip.resource.AbstractResource
delineatedType, isSingleTyped
 
Constructor Summary
protected RGNode()
           
protected RGNode(RGraph aGraph)
           
  RGNode(java.lang.String theID, RGraph aGraph)
           
 
Method Summary
 RGEdge addNewProperty(LogicalResource newPropType, RGNode theObject)
           
 void addProperty(RGEdge theProperty)
           
 void addType(RGNode theType)
           
 boolean containsProperty(java.lang.Object theID)
           
 boolean containsType(RGNode theType)
           
 java.lang.String getComment()
          Getter method for this resource's comment string.
 RGraph getContainingGraph()
           
 java.lang.String getLabel()
          Getter method for this resource's label string.
 RGEdge[] getProperties()
           
 java.util.Collection getProperties(LogicalResource aType)
           
 RGEdge getProperty(java.lang.Object theID)
           
 boolean isType(RGNode theType)
           
 RGEdge lookupProperty(java.lang.Object theID)
           
protected  void morphID(java.lang.String theURI)
           
 java.util.Iterator properties()
           
 java.util.Iterator properties(LogicalResource aType)
           
 void removeProperty(RGEdge theProperty)
           
 void removeType(RGNode theType)
           
protected  void resourceInitialization(java.lang.String theID, RGraph aGraph)
           
 void setComment(java.lang.String theLabel)
          Setter method for this resource's comment string.
 void setLabel(java.lang.String theLabel)
          Setter method for this resource's label string.
 java.lang.String toString()
           
 java.util.Iterator 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

RGNode

protected RGNode()

RGNode

protected RGNode(RGraph aGraph)

RGNode

public RGNode(java.lang.String theID,
              RGraph aGraph)
Method Detail

resourceInitialization

protected void resourceInitialization(java.lang.String theID,
                                      RGraph aGraph)

getContainingGraph

public RGraph getContainingGraph()

morphID

protected void morphID(java.lang.String theURI)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object

setLabel

public void setLabel(java.lang.String theLabel)
Description copied from interface: LogicalResource
Setter method for this resource's label string.

Specified by:
setLabel in interface LogicalResource
Parameters:
theLabel - The label of this resource.

getLabel

public java.lang.String getLabel()
Description copied from interface: LogicalResource
Getter method for this resource's label string.

Specified by:
getLabel in interface LogicalResource

setComment

public void setComment(java.lang.String theLabel)
Description copied from interface: LogicalResource
Setter method for this resource's comment string.

Specified by:
setComment in interface LogicalResource
Parameters:
theLabel - The comment for this resource.

getComment

public java.lang.String getComment()
Description copied from interface: LogicalResource
Getter method for this resource's comment string.

Specified by:
getComment in interface LogicalResource

containsType

public boolean containsType(RGNode theType)

isType

public boolean isType(RGNode theType)

addType

public void addType(RGNode theType)

removeType

public void removeType(RGNode theType)

types

public java.util.Iterator types()

lookupProperty

public RGEdge lookupProperty(java.lang.Object theID)

addNewProperty

public RGEdge addNewProperty(LogicalResource newPropType,
                             RGNode theObject)

addProperty

public void addProperty(RGEdge theProperty)

removeProperty

public void removeProperty(RGEdge theProperty)

getProperty

public RGEdge getProperty(java.lang.Object theID)

getProperties

public RGEdge[] getProperties()

containsProperty

public boolean containsProperty(java.lang.Object theID)

properties

public java.util.Iterator properties()

properties

public java.util.Iterator properties(LogicalResource aType)

getProperties

public java.util.Collection getProperties(LogicalResource aType)


CODIP AT&T Government Solutions, Inc.