Type function ( String arg0 ) { if ( arg0 == null ) { return null ; } switch ( arg0 ) { case "srini_string" : return bool ; default : arg0 = arg0 . replace ( '-' , '_' ) ; return Type . valueOf ( arg0 ) ; } }
get a form field type from the given string . if string is null , then null will be returned . concode_field_sep boolean required concode_elem_sep String FORM_TYPE concode_elem_sep List<String> values concode_elem_sep String ELEMENT concode_elem_sep String variable concode_elem_sep List<Option> options concode_elem_sep ValidateElement validateElement concode_elem_sep String description concode_elem_sep String label concode_elem_sep String ELEMENT concode_elem_sep Type type concode_elem_sep String value concode_field_sep ValidateElement getValidateElement concode_elem_sep boolean isRequired concode_elem_sep void setRequired concode_elem_sep void setValidateElement concode_elem_sep String getLabel concode_elem_sep String getLabel concode_elem_sep List<String> getValues concode_elem_sep XmlStringBuilder toXML concode_elem_sep XmlStringBuilder toXML concode_elem_sep void setDescription concode_elem_sep void setType concode_elem_sep String getDescription concode_elem_sep String getVariable concode_elem_sep String getElementName concode_elem_sep String getElementName concode_elem_sep String getValue concode_elem_sep void resetValues concode_elem_sep void addOption concode_elem_sep Type getType concode_elem_sep int hashCode concode_elem_sep int hashCode concode_elem_sep boolean equals concode_elem_sep boolean equals concode_elem_sep void setLabel concode_elem_sep String toString concode_elem_sep String toString concode_elem_sep List<Option> getOptions concode_elem_sep void addValues concode_elem_sep void addValue