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

java.lang.Object
  extended by com.softwareag.tamino.db.api.namespace.TNamespaceObject
      extended by com.softwareag.tamino.db.api.namespace.TSDNamespace.TSDObject
Enclosing class:
TSDNamespace

protected static class TSDNamespace.TSDObject
extends TNamespaceObject

Concrete inner class that implements TNamespaceObject and represents an tsd namespace object.

Version:
$Revision: 1.4 $
Author:
Marcus Schreyer

Field Summary
 
Fields inherited from class com.softwareag.tamino.db.api.namespace.TNamespaceObject
ATTRIBUTE_TYPE, ELEMENT_TYPE
 
Constructor Summary
TSDNamespace.TSDObject(java.lang.String name, java.lang.String type)
          Special Constructor.
 
Method Summary
 java.lang.String getQualifiedName()
          Gets the full qualified name of the given xql element/attribute.
 java.lang.String toString()
          Returns the objects name.
 
Methods inherited from class com.softwareag.tamino.db.api.namespace.TNamespaceObject
getName, getType, isAttribute, isElement
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TSDNamespace.TSDObject

public TSDNamespace.TSDObject(java.lang.String name,
                              java.lang.String type)
Special Constructor. Initializes the namespace object with the given name and type.

Method Detail

getQualifiedName

public java.lang.String getQualifiedName()
Gets the full qualified name of the given xql element/attribute.

Specified by:
getQualifiedName in class TNamespaceObject

toString

public java.lang.String toString()
Returns the objects name. If the TSDObject referrs to an element this is the fully qualified name whereas for an attribute only the local name is returned. This is due to the fact that tsd specific attributes are always implicitly bound to the tsd namespace instead of an explicit binding.

Overrides:
toString in class TNamespaceObject


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