com.softwareag.tamino.db.api.accessor
Class TUndefineItem

java.lang.Object
  extended by com.softwareag.tamino.db.api.accessor.TUndefineItem

public class TUndefineItem
extends java.lang.Object

TUndefineItem represents the item to be undefined. In order to undefine a schema cluster, it is possible to specify a list of objects in an _UNDEFINE command:

_UNDEFINE=undefineList where- undefineList -> undefineItem[, undefineItem]* undefineItem -> collection[/schema[/doctype]]

Version:
$Revision: 1.3 $
Author:
Vikram.Shinde@softwareag.com

Constructor Summary
TUndefineItem(java.lang.String collection)
          Initializes the UndefineItem.
TUndefineItem(java.lang.String collection, java.lang.String schema)
          Initializes the UndefineItem.
TUndefineItem(java.lang.String collection, java.lang.String schema, java.lang.String doctype)
          Initializes the UndefineItem.
 
Method Summary
 java.lang.String getCollectionName()
          Returns collection name.
 java.lang.String getDoctype()
          Returns doctype.
 java.lang.String getSchemaName()
          Returns Schema name.
 java.lang.String toString()
          Returns the item to be undefined in following format - collection[/schemaName[/doctype]]
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

TUndefineItem

public TUndefineItem(java.lang.String collection)
Initializes the UndefineItem.

Parameters:
collection - Collection Name

TUndefineItem

public TUndefineItem(java.lang.String collection,
                     java.lang.String schema)
Initializes the UndefineItem.

Parameters:
collection - Collection Name
schema - Schema Name

TUndefineItem

public TUndefineItem(java.lang.String collection,
                     java.lang.String schema,
                     java.lang.String doctype)
Initializes the UndefineItem.

Parameters:
collection - Collection Name
schema - Schema Name
doctype - Doctype that is to be undefined.
Method Detail

getCollectionName

public java.lang.String getCollectionName()
Returns collection name.

Returns:
collection Collection Name

getSchemaName

public java.lang.String getSchemaName()
Returns Schema name.

Returns:
schema Schema Name

getDoctype

public java.lang.String getDoctype()
Returns doctype.

Returns:
doctype Doctype

toString

public java.lang.String toString()
Returns the item to be undefined in following format - collection[/schemaName[/doctype]]

Overrides:
toString in class java.lang.Object
Returns:
undefineItem


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