1 7 package com.inversoft.verge.mvc.model.form; 8 9 10 import java.util.Map ; 11 12 import com.inversoft.verge.mvc.MVCConstants; 13 import com.inversoft.verge.mvc.MVCException; 14 import com.inversoft.verge.mvc.MVCRegistry; 15 import com.inversoft.verge.mvc.model.AbstractMetaData; 16 import com.inversoft.verge.mvc.model.ModelHandler; 17 18 19 28 public class FormMetaData extends AbstractMetaData { 29 30 33 public FormMetaData(String definition) throws MVCException { 34 super(definition); 35 } 36 37 40 public FormMetaData(String id, String property) { 41 super(id, property); 42 } 43 44 45 50 public void setProperty(String property) { 51 this.property = property; 52 } 53 54 59 public Map getExtraParams() { 60 return null; 61 } 62 63 70 public ModelHandler getModelHandler() { 71 return MVCRegistry.lookupModelHandler(MVCConstants.FORM_NAME); 72 } 73 74 79 public String getModelSystem() { 80 return MVCConstants.FORM_NAME; 81 } 82 } | Popular Tags |