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
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 |
RGNode
protected RGNode()
RGNode
protected RGNode(RGraph aGraph)
RGNode
public RGNode(java.lang.String theID,
RGraph aGraph)
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.