| org.romaframework.core.schema.SchemaManager
SchemaManager | public class SchemaManager extends Configurable (Code) | | Manage the Entities and cache them.
author: Luca Garulli (luca.garulli@assetdata.it) |
Method Summary | |
public void | config() Invoked by IoC container at startup. | public SchemaClass | createClassInfo(Class> iEntityClass, SchemaConfiguration iDescriptor) | public SchemaClass | createClassInfo(String iEntityName, Class> iBaseClass, SchemaConfiguration iDescriptor) | public Collection<SchemaClass> | getAllClassesInfo() | public SchemaClass | getClassInfo(String iEntityName) | public SchemaClass | getClassInfo(Class> iEntityClass, SchemaConfiguration iDescriptor) | public SchemaClass | getClassInfo(String iEntityName, Class> iBaseClass, SchemaConfiguration iDescriptor) Virtual class: implementation by concrete java class but extended by xml descriptor. | public Collection<SchemaClass> | getClassesInfoByInheritance(Class iBaseClass) | public ArrayList<String> | getIgnoreActions() | public ArrayList<String> | getIgnoreFields() | public SchemaElement | getSchemaAction(String iClassName, String iActionName) Return the SchemaAction requested. | public SchemaEvent | getSchemaEvent(String iClassName, String iEventName) Return the SchemaEvent requested. | public SchemaField | getSchemaField(String iClassName, String iFieldName) Return the SchemaField requested. | public boolean | isAvailableClassInfo(String typeName) | public SchemaClass | registerClassInfo(String iEntityName, Class> iClass, Class> iBaseClass, SchemaConfiguration iDescriptor) Create and register a class info. |
SchemaManager | public SchemaManager()(Code) | | |
config | public void config()(Code) | | Invoked by IoC container at startup.
|
getClassInfo | public SchemaClass getClassInfo(String iEntityName, Class> iBaseClass, SchemaConfiguration iDescriptor)(Code) | | Virtual class: implementation by concrete java class but extended by xml descriptor.
Parameters: iEntityName - Parameters: iBaseClass - Parameters: iDescriptor - |
getSchemaAction | public SchemaElement getSchemaAction(String iClassName, String iActionName)(Code) | | Return the SchemaAction requested.
Parameters: iClassName - Name of the class Parameters: iActionName - Name of the action to search SchemaAction object if found, otherwise null |
getSchemaEvent | public SchemaEvent getSchemaEvent(String iClassName, String iEventName)(Code) | | Return the SchemaEvent requested.
Parameters: iClassName - Name of the class Parameters: iEventName - Name of the event to search SchemaEvent object if found, otherwise null |
getSchemaField | public SchemaField getSchemaField(String iClassName, String iFieldName)(Code) | | Return the SchemaField requested.
Parameters: iClassName - Name of the class Parameters: iFieldName - Name of the field to search SchemaField object if found, otherwise null |
isAvailableClassInfo | public boolean isAvailableClassInfo(String typeName)(Code) | | |
|
|