public void setModelName(String modelName) throws XavaException { this.modelName = modelName; this.metaModel = MetaModel.get(modelName); this.metaComponent = this.metaModel.getMetaComponent(); }
public void setMetaModel(MetaModel metaModel) { this.metaModel = metaModel; this.metaComponent = metaModel.getMetaComponent(); this.modelName = metaModel.getName(); }