com.att.gs.codip.ograph
Class XSD

java.lang.Object
  |
  +--com.att.gs.codip.ograph.OGBaseOntology
        |
        +--com.att.gs.codip.ograph.XSD
All Implemented Interfaces:
LogicalResource, OGOntology, OGResource

public class XSD
extends OGBaseOntology
implements OGOntology

An implementaiton of the OGOntology Interface that provides static instances of the XML Schema Data types.


Field Summary
static OGOntology Ontology
          Common XSD data types are predefined.
static OGDatatype xsd_decimal
           
static OGDatatype xsd_double
           
static OGDatatype xsd_integer
           
static OGDatatype xsd_long
           
static java.lang.String XSD_NS
          The Namespace of the XMLSchema Datatype specificaiton.
static OGDatatype xsd_real
           
static OGDatatype xsd_string
           
static java.lang.String XSD_URI
           
static java.lang.String XSD_URI_2000
          The URI of the XMLSchema Datatype specificaiton.
 
Fields inherited from class com.att.gs.codip.ograph.OGBaseOntology
myImpl
 
Constructor Summary
XSD(OGOntology anOntoImpl)
          Creates an instance using the passed in OGOntology.
 
Method Summary
 void initialize()
          Creates the static classes.
 OGResource lookupResource(java.lang.Object theID)
          Magic lookup Resoruce that will create datatype if does not exist in XSD ontologiy.
 void morph(java.lang.String URI)
          XSD ID can not be morphed.
 
Methods inherited from class com.att.gs.codip.ograph.OGBaseOntology
addClass, addDatatype, addImport, addLiteral, addNewPropInstance, addProperty, addPropInstance, addResource, addType, classes, classes, containsClass, containsDatatype, containsImport, containsLiteral, containsProperty, containsPropInstance, containsResource, containsType, createClass, createClass, createClass, createClass, createDatatype, createDatatype, createDatatype, createDatatype, createLiteral, createLiteral, createLiteral, createLiteral, createLiteralByValue, createLiteralByValue, createProperty, createProperty, createProperty, createProperty, createPropInstance, createPropInstance, datatypes, datatypes, getClass, getClasses, getComment, getDatatype, getDatatypes, getID, getImport, getImports, getLabel, getLiteral, getLiterals, getLocalName, getNamespace, getOntology, getProperties, getProperty, getPropInstance, getPropInstances, getPropInstances, getResource, getResources, getSourceURI, getType, getURI, getVersionInfo, imports, isLiteralType, isType, literals, literals, lookupClass, lookupClass, lookupDatatype, lookupDatatype, lookupImport, lookupLiteral, lookupLiteral, lookupProperty, lookupProperty, lookupPropInstance, properties, properties, propInstances, propInstances, removeClass, removeDatatype, removeImport, removeLiteral, removeProperty, removePropInstance, removeResource, removeType, resources, resources, setComment, setLabel, setSourceURI, setType, setVersionInfo, types
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface com.att.gs.codip.ograph.OGOntology
addClass, addDatatype, addImport, addLiteral, addProperty, addResource, classes, classes, containsClass, containsDatatype, containsImport, containsLiteral, containsProperty, containsResource, createClass, createClass, createClass, createClass, createDatatype, createDatatype, createDatatype, createDatatype, createLiteral, createLiteral, createLiteral, createLiteral, createLiteralByValue, createLiteralByValue, createProperty, createProperty, createProperty, createProperty, createPropInstance, createPropInstance, datatypes, datatypes, getClass, getClasses, getDatatype, getDatatypes, getImport, getImports, getLiteral, getLiterals, getProperties, getProperty, getResource, getResources, getSourceURI, getVersionInfo, imports, literals, literals, lookupClass, lookupClass, lookupDatatype, lookupDatatype, lookupImport, lookupLiteral, lookupLiteral, lookupProperty, lookupProperty, properties, properties, removeClass, removeDatatype, removeImport, removeLiteral, removeProperty, removeResource, resources, resources, setSourceURI, setVersionInfo
 
Methods inherited from interface com.att.gs.codip.ograph.OGResource
addNewPropInstance, addPropInstance, addType, containsPropInstance, containsType, getComment, getID, getLabel, getLocalName, getNamespace, getOntology, getPropInstance, getPropInstances, getPropInstances, getURI, lookupPropInstance, propInstances, propInstances, removePropInstance, removeType, setComment, setLabel, types
 
Methods inherited from interface com.att.gs.codip.resource.LogicalResource
getType, isLiteralType, isType, setType
 

Field Detail

XSD_URI_2000

public static final java.lang.String XSD_URI_2000
The URI of the XMLSchema Datatype specificaiton.

See Also:
Constant Field Values

XSD_URI

public static final java.lang.String XSD_URI
See Also:
Constant Field Values

XSD_NS

public static final java.lang.String XSD_NS
The Namespace of the XMLSchema Datatype specificaiton.

See Also:
Constant Field Values

Ontology

public static OGOntology Ontology
Common XSD data types are predefined.


xsd_string

public static OGDatatype xsd_string

xsd_double

public static OGDatatype xsd_double

xsd_long

public static OGDatatype xsd_long

xsd_real

public static OGDatatype xsd_real

xsd_integer

public static OGDatatype xsd_integer

xsd_decimal

public static OGDatatype xsd_decimal
Constructor Detail

XSD

public XSD(OGOntology anOntoImpl)
Creates an instance using the passed in OGOntology.

Method Detail

initialize

public void initialize()
Creates the static classes.


morph

public void morph(java.lang.String URI)
XSD ID can not be morphed. Override any possible implelmetation morph method.

Specified by:
morph in interface OGOntology
Overrides:
morph in class OGBaseOntology

lookupResource

public OGResource lookupResource(java.lang.Object theID)
Magic lookup Resoruce that will create datatype if does not exist in XSD ontologiy.

Specified by:
lookupResource in interface OGOntology
Overrides:
lookupResource in class OGBaseOntology
Parameters:
theID - The ID of the sought resource.
Returns:
The matching resource if found, otherwise returns void.


CODIP AT&T Government Solutions, Inc.