public class BoxResourceHub extends BaseBoxResourceHub
lowercaseStringToType
Constructor and Description |
---|
BoxResourceHub() |
Modifier and Type | Method and Description |
---|---|
java.util.Collection<IBoxType> |
getAllTypes() |
java.lang.Class |
getClass(IBoxType type)
Given a
IBoxType , get the corrosponding DAO class. |
protected java.lang.Class |
getConcreteClassForIBoxType()
Get the concrete class for IBoxType
|
protected java.lang.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.
|
IBoxType |
getTypeFromLowercaseString(java.lang.String type)
Get the IBoxType from a lower case string value.
|
protected void |
initializeTypes()
Do call super.initializeTypes() when overriding this.
|
getLowerCaseStringToTypeMap, initializeEnumTypes
public java.lang.Class getClass(IBoxType type)
IBoxResourceHub
IBoxType
, get the corrosponding DAO class.getClass
in interface IBoxResourceHub
getClass
in class BaseBoxResourceHub
type
- resource typepublic java.util.Collection<IBoxType> getAllTypes()
protected java.lang.Class getObjectClassGivenConcreteIBoxType(IBoxType type)
BaseBoxResourceHub
getObjectClassGivenConcreteIBoxType
in class BaseBoxResourceHub
protected java.lang.Class getConcreteClassForIBoxType()
BaseBoxResourceHub
getConcreteClassForIBoxType
in class BaseBoxResourceHub
public IBoxType getTypeFromLowercaseString(java.lang.String type)
IBoxResourceHub
protected void initializeTypes()
BaseBoxResourceHub
initializeTypes
in class BaseBoxResourceHub