|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.deduced.framework.DefaultSchema
public class DefaultSchema
Class used to initialize the schema : org.deduced.framework.DefaultSchema extends org.deduced.framework.FrameworkLoader Class generated by org.deduced.generator.VelocityGenerator Using template : org/deduced/generator/java/JavaFramework.vm
Field Summary | |
---|---|
private static DefaultSchema |
INSTANCE
singleton instance used to initialize the schema |
static DeducedModelLayerExtension |
MODEL
model layer containing the packages and types |
static PropertyPackage |
ORG_DEDUCED_ANALYZER_PACKAGE
variable used to hold the package : analyzer |
static PropertyPackage |
ORG_DEDUCED_CONTROLLER_PACKAGE
variable used to hold the package : controller |
static PropertyPackage |
ORG_DEDUCED_INITIALIZATION_MODEL_PACKAGE
variable used to hold the package : model |
static PropertyPackage |
ORG_DEDUCED_INITIALIZATION_PACKAGE
variable used to hold the package : initialization |
static PropertyPackage |
ORG_DEDUCED_PACKAGE
variable used to hold the package : deduced |
static PropertyPackage |
ORG_DEDUCED_TASK_PACKAGE
variable used to hold the package : task |
static PropertyPackage |
ORG_DEDUCED_TEXT_BUILDER_PACKAGE
variable used to hold the package : builder |
static PropertyPackage |
ORG_DEDUCED_TEXT_PACKAGE
variable used to hold the package : text |
static PropertyPackage |
ORG_DEDUCED_VALIDATION_MODEL_PACKAGE
variable used to hold the package : model |
static PropertyPackage |
ORG_DEDUCED_VALIDATION_PACKAGE
variable used to hold the package : validation |
static PropertyPackage |
ORG_DEDUCED_VALIDATION_VALIDATOR_PACKAGE
variable used to hold the package : validator |
static PropertyPackage |
ORG_PACKAGE
variable used to hold the package : org |
static PropertyPackage |
ROOT_PACKAGE
variable used to hold the package : |
static DeducedSchemaLayer |
SCHEMA
schema layer containing the packages and types |
static java.lang.String |
XML_FILE_NAME
file name used to load this schema |
Constructor Summary | |
---|---|
private |
DefaultSchema()
Constructor for the schema |
private |
DefaultSchema(boolean loadedFromXml,
PropertyCollection model)
Constructor for the schema |
Method Summary | |
---|---|
static void |
configureFactory(TypeBasedModelFactory factoryToConfigure)
configure a model factory to associate the required classes to the Property Collection types. |
private void |
createFramework()
load the framework |
static void |
createInstancesAndTypes()
create all instances and types |
static void |
createKeyList()
create the key list for each type |
static void |
createPackages()
create all the packages |
static void |
fillInstancesAndTypes()
fill all instances and types |
static void |
fillPackageSubPackages()
fill all the package sub packages |
static void |
fillPackageSubTypes()
fill all the packages sub types |
static void |
fillStaticVariablesFromSchema(PropertyCollection<?,?> schema)
fill all the static variables from the schema |
static void |
fillTypeLists()
create all the type lists |
static DefaultSchema |
getInstance()
get the schema initializer singleton |
static DefaultSchema |
initializeFromXml()
initialize the schema from XML |
static void |
loadSchemaFromXml(PropertyCollection model)
fill all the static variables from the schema |
static void |
resetPackageListFixedInstances()
reset all the fixed instances on each list in a package |
static void |
resetTypeListFixedInstances()
reset all the fixed instances on each list in a type |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static DefaultSchema INSTANCE
public static java.lang.String XML_FILE_NAME
public static DeducedSchemaLayer SCHEMA
public static DeducedModelLayerExtension MODEL
public static PropertyPackage ROOT_PACKAGE
public static PropertyPackage ORG_PACKAGE
public static PropertyPackage ORG_DEDUCED_PACKAGE
public static PropertyPackage ORG_DEDUCED_CONTROLLER_PACKAGE
public static PropertyPackage ORG_DEDUCED_VALIDATION_PACKAGE
public static PropertyPackage ORG_DEDUCED_VALIDATION_VALIDATOR_PACKAGE
public static PropertyPackage ORG_DEDUCED_VALIDATION_MODEL_PACKAGE
public static PropertyPackage ORG_DEDUCED_ANALYZER_PACKAGE
public static PropertyPackage ORG_DEDUCED_TASK_PACKAGE
public static PropertyPackage ORG_DEDUCED_INITIALIZATION_PACKAGE
public static PropertyPackage ORG_DEDUCED_INITIALIZATION_MODEL_PACKAGE
public static PropertyPackage ORG_DEDUCED_TEXT_PACKAGE
public static PropertyPackage ORG_DEDUCED_TEXT_BUILDER_PACKAGE
Constructor Detail |
---|
private DefaultSchema(boolean loadedFromXml, PropertyCollection model)
loadedFromXml
- set to true if loading from XMLmodel
- the application model to use if loading from XMLprivate DefaultSchema()
Method Detail |
---|
public static DefaultSchema getInstance()
public static DefaultSchema initializeFromXml()
public static void configureFactory(TypeBasedModelFactory factoryToConfigure)
factoryToConfigure
- the model factoryprivate void createFramework()
public static void loadSchemaFromXml(PropertyCollection model)
model
- the model to usepublic static void fillStaticVariablesFromSchema(PropertyCollection<?,?> schema)
schema
- the schema to usepublic static void createInstancesAndTypes()
public static void fillInstancesAndTypes()
public static void fillTypeLists()
public static void createPackages()
public static void fillPackageSubPackages()
public static void fillPackageSubTypes()
public static void createKeyList()
public static void resetTypeListFixedInstances()
public static void resetPackageListFixedInstances()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |