|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.deduced.framework.FrameworkLoader
public class FrameworkLoader
Title: FrameworkLoader
Description: FrameworkLoader is used to load generated deduced frameworks in the specified deduced framework. It provides basic methods to add types and instances.
Field Summary | |
---|---|
private static DeducedModelLayerExtension |
STATIC_SCHEMA_MODEL
model layer that contains all the statically loaded models |
Constructor Summary | |
---|---|
FrameworkLoader()
|
Method Summary | |
---|---|
private static void |
addRuleToType(DeductionRule ruleToAdd,
PropertyCollectionType propertyCollectionType)
addRuleToType |
static DeducedModelLayerExtension |
createApplicationModel(java.lang.String applicationName)
create a model to host an application. |
static DeducedSchemaLayer |
createBaseSchema()
Utility method to create the base schema layer containing basic property types. |
static DeducedModelLayerExtension |
createBaseSchemaModel()
create the base schema that hosts the basic deduced types this schema is hosted by a model layer. |
private static java.util.List<PropertyType> |
createBasicTypes()
create Basic Types |
private static void |
createCreationTypeValidatorRule()
create Creation Type Validator Rule |
private static StringValidationModelImplementation |
createMultipleLineStringValidationModel()
create Multiple Line String Validation Model |
private static void |
createNullableValidatorRule()
create a deduction rule on the NullableValidator |
private static NullableValidationModel |
createNullNotValidValidationModel()
create Null Not Valid Validation Model |
private static void |
createNumberValidatorRule()
create Number Validator Rule |
private static void |
createReferenceTypeValidatorRule()
create Reference Type Validator Rule |
private static void |
createSetIsValidOnErrorMessage()
create Set Is Valid On Error Message rule |
private static void |
createStringValidatorRule()
create String Validator Rule |
private static InstanceReference |
getRuleOutput(DeductionRule ruleToAdd)
get Rule Output on a deduction rule. |
static DeducedModelLayerExtension |
getStaticSchemaModel()
get the static schema model into which all the static models are loaded |
private static void |
initializeValidationModel()
initialize Validation Model |
private static void |
initializeValidatorDeductionRules()
initialize Validator Deduction Rules |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
private static DeducedModelLayerExtension STATIC_SCHEMA_MODEL
Constructor Detail |
---|
public FrameworkLoader()
Method Detail |
---|
public static DeducedModelLayerExtension createBaseSchemaModel()
private static void initializeValidationModel()
private static StringValidationModelImplementation createMultipleLineStringValidationModel()
private static NullableValidationModel createNullNotValidValidationModel()
public static DeducedSchemaLayer createBaseSchema()
public static DeducedModelLayerExtension getStaticSchemaModel()
public static DeducedModelLayerExtension createApplicationModel(java.lang.String applicationName)
applicationName
- the application name to use
private static java.util.List<PropertyType> createBasicTypes()
private static void initializeValidatorDeductionRules()
private static void createNullableValidatorRule()
private static void createReferenceTypeValidatorRule()
private static InstanceReference getRuleOutput(DeductionRule ruleToAdd)
ruleToAdd
- the rule from which to fetch the output
private static void createCreationTypeValidatorRule()
private static void createStringValidatorRule()
private static void addRuleToType(DeductionRule ruleToAdd, PropertyCollectionType propertyCollectionType)
ruleToAdd
- rule to addpropertyCollectionType
- type to get the ruleprivate static void createNumberValidatorRule()
private static void createSetIsValidOnErrorMessage()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |