org.dasein.util
Class Translation<T>

java.lang.Object
  extended by org.dasein.util.Translation<T>
All Implemented Interfaces:
Serializable, DelegatedComparable

public class Translation<T>
extends Object
implements DelegatedComparable, Serializable


Last modified: $Date: 2007/04/15 11:19:44 $

Version:
$Revision: 1.2 $
Author:
George Reese (http://george.reese.name)
See Also:
Serialized Form

Constructor Summary
Translation(Locale loc, T dat)
           
 
Method Summary
 T getData()
           
 Object getDelegate(Locale loc)
           
 Locale getLocale()
           
 String getString()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Translation

public Translation(Locale loc,
                   T dat)
Method Detail

getData

public T getData()

getDelegate

public Object getDelegate(Locale loc)
Specified by:
getDelegate in interface DelegatedComparable

getLocale

public Locale getLocale()

getString

public String getString()

toString

public String toString()
Overrides:
toString in class Object


Copyright © 2011 enStratus Networks LLC. All Rights Reserved.