org.apache.oodt.cas.catalog.struct
Class TransactionId<NativeType>

java.lang.Object
  extended by org.apache.oodt.cas.catalog.struct.TransactionId<NativeType>

public abstract class TransactionId<NativeType>
extends Object

Version:
$Revision$

A Interface for storing TransactionIds

Author:
bfoster

Field Summary
protected  NativeType nativeId
           
 
Constructor Summary
TransactionId()
           
TransactionId(NativeType nativeId)
           
TransactionId(String stringId)
           
 
Method Summary
 boolean equals(Object obj)
           
protected abstract  NativeType fromString(String stringId)
           
 NativeType getNativeId()
           
 int hashCode()
           
 String toString()
          Should override this method if NativeType.toString() does not properly represent the String value of the native type.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Field Detail

nativeId

protected NativeType nativeId
Constructor Detail

TransactionId

public TransactionId()

TransactionId

public TransactionId(NativeType nativeId)

TransactionId

public TransactionId(String stringId)
Method Detail

hashCode

public int hashCode()
Overrides:
hashCode in class Object

getNativeId

public NativeType getNativeId()

toString

public String toString()
Should override this method if NativeType.toString() does not properly represent the String value of the native type. The string value of the NativeType should be as unique as in its native form.

Overrides:
toString in class Object

equals

public boolean equals(Object obj)
Overrides:
equals in class Object

fromString

protected abstract NativeType fromString(String stringId)


Copyright © 1999-2013
Apache OODT. All Rights Reserved.