public abstract class BaseBoxResourceHub extends Object implements IBoxResourceHub
| Constructor and Description |
|---|
BaseBoxResourceHub() |
| Modifier and Type | Method and Description |
|---|---|
Class |
getClass(IBoxType type)
Given a
IBoxType, get the corrosponding DAO class. |
protected abstract Class |
getConcreteClassForIBoxType()
Get the concrete class for IBoxType
|
protected Map<String,IBoxType> |
getLowerCaseStringToTypeMap() |
protected abstract Class |
getObjectClassGivenConcreteIBoxType(IBoxType type)
Get class for a certain type, assuming the input type is an object of the concrete class of IBoxType defined in this resource hub.
|
protected void |
initializeEnumTypes(Class<? extends Enum> cls) |
protected void |
initializeTypes()
Do call super.initializeTypes() when overriding this.
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAllTypes, getTypeFromLowercaseStringpublic Class getClass(IBoxType type)
IBoxResourceHubIBoxType, get the corrosponding DAO class.getClass in interface IBoxResourceHubtype - resource typeprotected abstract Class getConcreteClassForIBoxType()
protected abstract Class getObjectClassGivenConcreteIBoxType(IBoxType type)
T - type - protected void initializeTypes()
Copyright © 2014. All Rights Reserved.