com.softwareag.tamino.db.api.namespace
Class TSDNamespace

java.lang.Object
  extended by com.softwareag.tamino.db.api.namespace.TSDNamespace
All Implemented Interfaces:
TNamespace

public class TSDNamespace
extends java.lang.Object
implements TNamespace

TSDNamespace is the representation for Tamino specific elements and attributes within the tsd namespace. The class provides type safe constant objects representing the various elememts/attributes such as schemaInfo, schemaName, collection, doctype etc. The class implements the singleton pattern meaning that only one instance of this class can be instantiated.

Version:
$Revision: 1.4 $
Author:
Marcus Schreyer

Nested Class Summary
protected static class TSDNamespace.TSDObject
          Concrete inner class that implements TNamespaceObject and represents an tsd namespace object.
 
Field Summary
static TNamespaceObject ADMIN_INFO
          Constant that represents the adminInfo element within the tsd namespace.
static TNamespaceObject COLLECTION
          Constant that represents the collection element within the tsd namespace.
static TNamespaceObject DELETE
          Constant that represents the update element within the tsd namespace.
static TNamespaceObject DOCTYPE
          Constant that represents the doctype element within the tsd namespace.
static TNamespaceObject INSERT
          Constant that represents the insert element within the tsd namespace.
static TNamespaceObject LOGI_DOCTYPE
          Constant that represents the logiDoctype element within the tsd namespace.
static TNamespaceObject NAME
          Constant that represents the name attribute within the tsd namespace.
static java.lang.String PREFIX
          Constant that represents the namespace prefix.
static TNamespaceObject READ
          Constant that represents the read element within the tsd namespace.
static TNamespaceObject SCHEMA_INFO
          Constant that represents the schemaInfo element within the tsd namespace.
static TNamespaceObject SCHEMA_NAME
          Constant that represents the schemaName attribute within the tsd namespace.
static TNamespaceObject UPDATE
          Constant that represents the update element within the tsd namespace.
static java.lang.String URI
          Constant that represents the namespace url.
 
Constructor Summary
protected TSDNamespace()
          Private Constructor.
 
Method Summary
static TNamespace getInstance()
          Gets the singleton instance.
 java.lang.String getPrefix()
          Gets the namespace prefix.
 java.lang.String getUri()
          Gets the namespace uri.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

PREFIX

public static final java.lang.String PREFIX
Constant that represents the namespace prefix.

See Also:
Constant Field Values

URI

public static final java.lang.String URI
Constant that represents the namespace url.

See Also:
Constant Field Values

SCHEMA_INFO

public static final TNamespaceObject SCHEMA_INFO
Constant that represents the schemaInfo element within the tsd namespace.


SCHEMA_NAME

public static final TNamespaceObject SCHEMA_NAME
Constant that represents the schemaName attribute within the tsd namespace.


ADMIN_INFO

public static final TNamespaceObject ADMIN_INFO
Constant that represents the adminInfo element within the tsd namespace.


COLLECTION

public static final TNamespaceObject COLLECTION
Constant that represents the collection element within the tsd namespace.


DOCTYPE

public static final TNamespaceObject DOCTYPE
Constant that represents the doctype element within the tsd namespace.


NAME

public static final TNamespaceObject NAME
Constant that represents the name attribute within the tsd namespace.


LOGI_DOCTYPE

public static final TNamespaceObject LOGI_DOCTYPE
Constant that represents the logiDoctype element within the tsd namespace.


READ

public static final TNamespaceObject READ
Constant that represents the read element within the tsd namespace.


INSERT

public static final TNamespaceObject INSERT
Constant that represents the insert element within the tsd namespace.


UPDATE

public static final TNamespaceObject UPDATE
Constant that represents the update element within the tsd namespace.


DELETE

public static final TNamespaceObject DELETE
Constant that represents the update element within the tsd namespace.

Constructor Detail

TSDNamespace

protected TSDNamespace()
Private Constructor.

Method Detail

getInstance

public static TNamespace getInstance()
Gets the singleton instance.


getPrefix

public java.lang.String getPrefix()
Gets the namespace prefix.

Specified by:
getPrefix in interface TNamespace

getUri

public java.lang.String getUri()
Description copied from interface: TNamespace
Gets the namespace uri. It should be noted that the uri might not be available.

Specified by:
getUri in interface TNamespace


Copyright (c) 2013 Software AG. All Rights Reserved.