public abstract class BaseRepository
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
private static java.lang.String |
CLASSNAME |
(package private) static java.lang.String |
COPYRIGHT |
private static org.apache.log4j.Logger |
logger |
private java.util.ResourceBundle |
resources |
Modifier | Constructor and Description |
---|---|
protected |
BaseRepository()
Constructor.
|
Modifier and Type | Method and Description |
---|---|
protected abstract java.lang.String |
getName() |
java.lang.String |
lookup(java.lang.String theName)
Performs a lookup in the repository for the given name.
|
java.lang.String |
lookup(java.lang.String theName,
java.lang.String theDftValue)
Performs a lookup in the repository for the given name.
|
static final java.lang.String COPYRIGHT
private static final java.lang.String CLASSNAME
private static org.apache.log4j.Logger logger
private java.util.ResourceBundle resources
protected BaseRepository()
protected abstract java.lang.String getName()
public java.lang.String lookup(java.lang.String theName) throws java.util.MissingResourceException
theName
- - the name to lookupjava.util.MissingResourceException
- - thrown if resource not found in repositorypublic java.lang.String lookup(java.lang.String theName, java.lang.String theDftValue)
theName
- - the name to lookuptheDftValue
- - value returned if resource is not found