com.att.gs.codip.resource
Interface LogicalResource

All Known Subinterfaces:
OGClass, OGDatatype, OGLiteral, OGOntology, OGProperty, OGPropInstance, OGResource, PhysicalResource
All Known Implementing Classes:
DAML, OGBaseOntology, OGClassImp, OGDatatypeImp, OGLiteralImp, OGOntologyImp, OGPropertyImp, OGPropInstanceImp, OGResourceImp, OGVirtualOntologyImp, OWL, RDFS, RGNode, XSD

public interface LogicalResource

Defines required functionality of Kage Logical resources.

The resource ID is unique and immutable once created. Currently the ID is the resources Logical URI. Note that this is distinct from one or more Physical URLs that are used to locate and access the resource.

Each resource exists with in a single XML Name Space.


Method Summary
 java.lang.String getComment()
          Getter method for this resource's comment string.
 java.lang.String getID()
          Getter method for the Resources ID.
 java.lang.String getLabel()
          Getter method for this resource's label string.
 java.lang.String getLocalName()
          Getter method for this resource's local (fragment) Name.
 java.lang.String getNamespace()
          Getter method for this resource's Namespace.
 LogicalResource getType()
          Getter method for this resource's type.
 java.lang.String getURI()
          Getter method for this resource's URI.
 boolean isLiteralType()
          Type checker for any literal type.
 boolean isType(LogicalResource theType)
          Type checker, extensions can add support for multi-types.
 void setComment(java.lang.String theComment)
          Setter method for this resource's comment string.
 void setLabel(java.lang.String theLabel)
          Setter method for this resource's label string.
 void setType(LogicalResource theType)
          Setter method for this resource's type.
 

Method Detail

getID

public java.lang.String getID()
Getter method for the Resources ID. The resource ID is unique and immutable once created. Currently the ID is the resources URI.


setLabel

public void setLabel(java.lang.String theLabel)
Setter method for this resource's label string.

Parameters:
theLabel - The label of this resource.

getLabel

public java.lang.String getLabel()
Getter method for this resource's label string.


setComment

public void setComment(java.lang.String theComment)
Setter method for this resource's comment string.

Parameters:
theComment - The comment for this resource.

getComment

public java.lang.String getComment()
Getter method for this resource's comment string.


getURI

public java.lang.String getURI()
Getter method for this resource's URI. The URI is immutable and is set when an ontology is built from an RDF model. It is also used when an RDF model is built from the ontology.


getNamespace

public java.lang.String getNamespace()
Getter method for this resource's Namespace. The Namespace is immutable and is set when an ontology is built from an RDF model. It is also used when an RDF model is built from the ontology.


getLocalName

public java.lang.String getLocalName()
Getter method for this resource's local (fragment) Name. The local name is immutable.


setType

public void setType(LogicalResource theType)
Setter method for this resource's type.

Parameters:
theType - The type of this resource.

getType

public LogicalResource getType()
Getter method for this resource's type.


isType

public boolean isType(LogicalResource theType)
Type checker, extensions can add support for multi-types.


isLiteralType

public boolean isLiteralType()
Type checker for any literal type.



CODIP AT&T Government Solutions, Inc.