public void initialize() { calculateJavaClientAttributes(); calculateModelAttributes(); calculateExtjsAttributes(); calculateXmlAttributes(); if (tableConfiguration.getModelType() == ModelType.HIERARCHICAL) { rules = new HierarchicalModelRules(this); } else if (tableConfiguration.getModelType() == ModelType.FLAT) { rules = new FlatModelRules(this); } else { rules = new ConditionalModelRules(this); } context.getPlugins().initialized(this); }