portal.services.registry
Class IntegerKey
java.lang.Object
portal.services.registry.IntegerKey
- All Implemented Interfaces:
- RegistryKey
- public class IntegerKey
- extends java.lang.Object
- implements RegistryKey
Field Summary |
static java.lang.String |
TYPE
|
Constructor Summary |
IntegerKey(java.lang.String strValue)
|
Method Summary |
java.lang.Integer |
getInteger()
|
java.lang.Object |
getValue()
|
static java.lang.Integer |
getValue(java.lang.String name)
|
static int |
getValue(java.lang.String name,
int defaultValue)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
TYPE
public static final java.lang.String TYPE
- See Also:
- Constant Field Values
IntegerKey
public IntegerKey(java.lang.String strValue)
throws TypeMismatchException
getValue
public java.lang.Object getValue()
throws RegistryException
- Specified by:
getValue
in interface RegistryKey
- Throws:
RegistryException
getInteger
public java.lang.Integer getInteger()
throws RegistryException
- Throws:
RegistryException
getValue
public static java.lang.Integer getValue(java.lang.String name)
throws RegistryException
- Throws:
RegistryException
getValue
public static int getValue(java.lang.String name,
int defaultValue)