* @param annotationValues The values for the annotation
* @return The MetaData for the column
*/
public static ColumnMetaData getColumnMetaDataForAnnotations(HashMap<String, Object> annotationValues)
{
ColumnMetaData colmd = new ColumnMetaData();
colmd.setName((String)annotationValues.get("name"));
colmd.setTarget((String)annotationValues.get("target"));
colmd.setTargetMember((String)annotationValues.get("targetField"));
colmd.setJdbcType((String)annotationValues.get("jdbcType"));
colmd.setSqlType((String)annotationValues.get("sqlType"));
colmd.setLength((Integer)annotationValues.get("length"));
colmd.setScale((Integer)annotationValues.get("scale"));
colmd.setAllowsNull((String)annotationValues.get("allowsNull"));
colmd.setDefaultValue((String)annotationValues.get("defaultValue"));
colmd.setInsertValue((String)annotationValues.get("insertValue"));
addExtensionsToMetaData(colmd, (Extension[])annotationValues.get("extensions"));
return colmd;
}