portal.services.registry
Class LongKey

java.lang.Object
  extended byportal.services.registry.LongKey
All Implemented Interfaces:
RegistryKey

public class LongKey
extends java.lang.Object
implements RegistryKey


Field Summary
static java.lang.String TYPE
           
 
Constructor Summary
LongKey(java.lang.String strValue)
           
 
Method Summary
 java.lang.Long getLong()
           
 java.lang.Object getValue()
           
static java.lang.Long getValue(java.lang.String name)
           
static long getValue(java.lang.String name, long defaultValue)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

TYPE

public static final java.lang.String TYPE
See Also:
Constant Field Values
Constructor Detail

LongKey

public LongKey(java.lang.String strValue)
        throws TypeMismatchException
Method Detail

getValue

public java.lang.Object getValue()
                          throws RegistryException
Specified by:
getValue in interface RegistryKey
Throws:
RegistryException

getLong

public java.lang.Long getLong()
                       throws RegistryException
Throws:
RegistryException

getValue

public static java.lang.Long getValue(java.lang.String name)
                               throws RegistryException
Throws:
RegistryException

getValue

public static long getValue(java.lang.String name,
                            long defaultValue)