com.att.gs.codip.resource
Class AbstractResource

java.lang.Object
  |
  +--com.att.gs.codip.resource.AbstractResource
Direct Known Subclasses:
OGResourceImp, RGNode

public abstract class AbstractResource
extends java.lang.Object


Field Summary
protected  LogicalResource delineatedType
           
protected  boolean isSingleTyped
           
 
Constructor Summary
protected AbstractResource()
           
  AbstractResource(java.lang.String theID)
           
 
Method Summary
 boolean equals(java.lang.Object other)
          Exstends Object.equals() to add concept of equality based on the same ID.
 java.lang.String getID()
           
 java.lang.String getLocalName()
           
 java.lang.String getNamespace()
           
 LogicalResource getType()
           
 java.lang.String getURI()
           
 boolean isLiteralType()
           
 boolean isType(LogicalResource theType)
           
protected  void resourceInitialization(java.lang.String theID)
           
protected  void setID(java.lang.String theID)
           
protected  void setLocalName(java.lang.String theLocalName)
           
protected  void setNamespace(java.lang.String theNamespace)
           
 void setType(LogicalResource newType)
           
protected  void setURI(java.lang.String theURI)
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

delineatedType

protected LogicalResource delineatedType

isSingleTyped

protected boolean isSingleTyped
Constructor Detail

AbstractResource

protected AbstractResource()

AbstractResource

public AbstractResource(java.lang.String theID)
Method Detail

resourceInitialization

protected void resourceInitialization(java.lang.String theID)

setID

protected void setID(java.lang.String theID)

getID

public java.lang.String getID()

setURI

protected void setURI(java.lang.String theURI)

getURI

public java.lang.String getURI()

setNamespace

protected void setNamespace(java.lang.String theNamespace)

getNamespace

public java.lang.String getNamespace()

setLocalName

protected void setLocalName(java.lang.String theLocalName)

getLocalName

public java.lang.String getLocalName()

equals

public boolean equals(java.lang.Object other)
Exstends Object.equals() to add concept of equality based on the same ID.

Overrides:
equals in class java.lang.Object

setType

public void setType(LogicalResource newType)

getType

public LogicalResource getType()

isType

public boolean isType(LogicalResource theType)

isLiteralType

public boolean isLiteralType()


CODIP AT&T Government Solutions, Inc.