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

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

public final class TOutputMethod
extends java.lang.Object

TOutputMethod represents the method parameter for the serialization specification. It provides type safe constant objects representing the possible settings for the method parameter.

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

Field Summary
static TOutputMethod INODOCUMENT
          Constant that represents output method=ino:document in serialization specification.
static TOutputMethod TEXT
          Constant that represents output method=text in serialization specification.
static TOutputMethod XML
          Constant that represents output method=xml in serialization specification.
 
Constructor Summary
protected TOutputMethod(java.lang.String description)
          Protected Constructor.
 
Method Summary
 boolean equals(java.lang.Object obj)
          Indicates whether some other object is "equal to" this one.
 int hashCode()
          Returns a hash code value for the object.
 java.lang.String toString()
          Returns the string representation of a TOutputMethod object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

XML

public static final TOutputMethod XML
Constant that represents output method=xml in serialization specification.

e.g. {?serialization method="xml"?}


TEXT

public static final TOutputMethod TEXT
Constant that represents output method=text in serialization specification.

e.g. {?serialization method="text"?}


INODOCUMENT

public static final TOutputMethod INODOCUMENT
Constant that represents output method=ino:document in serialization specification.

e.g. {?serialization method="ino:document"?}

Constructor Detail

TOutputMethod

protected TOutputMethod(java.lang.String description)
Protected Constructor.

Parameters:
description - the description for the method parameter
Method Detail

toString

public java.lang.String toString()
Returns the string representation of a TOutputMethod object.

Overrides:
toString in class java.lang.Object
Returns:
the string representation of the output method parameter.

equals

public boolean equals(java.lang.Object obj)
Indicates whether some other object is "equal to" this one. Overrides the Object.equals method.

Overrides:
equals in class java.lang.Object
Parameters:
obj - - the reference object with which to compare.
Returns:
true if this object is the same as the obj argument; false otherwise.

hashCode

public int hashCode()
Returns a hash code value for the object. This method is supported for the benefit of hashtables such as those provided by java.util.Hashtable. Overrides the Object.hashCode method.

Overrides:
hashCode in class java.lang.Object
Returns:
a hash code value for this object.


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