com.silvermindsoftware.hitch.meta
Class FormMeta

java.lang.Object
  extended by com.silvermindsoftware.hitch.meta.FormMeta

public class FormMeta
extends Object

This class holds all of the meta data gathered from the different configuration mediums (annotations, BinderConfig).

File-location:
FormMeta
Last check-in date:
2010-01-05 09:38:21 +0100 (Di, 05. Jan 2010) by jonasha for revision 4068

Constructor Summary
FormMeta(Class componentClass)
           
FormMeta(Class componentClass, Map modelMap, List componentMetaLists)
           
 
Method Summary
 void addComponentMeta(String modelId, BoundComponentConfig boundComponentConfig, boolean autoBound)
           
 void addComponentMeta(String modelId, String modelProperty, Field componentField, Class componentHandler, String[] handlerParameters, boolean autoBound, ReadOnly readOnly, Class type)
           
protected  String composeGetterName(String propertyName)
           
protected  String composeSetterName(String propertyName)
           
 Class getComponentClass()
           
 Iterator<ComponentMeta> getComponentMetaIterator()
           
 ModelMeta getModelMeta(String modelId)
           
 boolean isAnnotationMetaCollected()
           
 void putModelMeta(String id, Field modelField)
           
 void putModelMeta(String id, String modelField)
           
 void setAnnotationMetaCollected(boolean annotationMetaCollected)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FormMeta

public FormMeta(Class componentClass)

FormMeta

public FormMeta(Class componentClass,
                Map modelMap,
                List componentMetaLists)
Method Detail

putModelMeta

public void putModelMeta(String id,
                         String modelField)

putModelMeta

public void putModelMeta(String id,
                         Field modelField)

getModelMeta

public ModelMeta getModelMeta(String modelId)

addComponentMeta

public void addComponentMeta(String modelId,
                             BoundComponentConfig boundComponentConfig,
                             boolean autoBound)

addComponentMeta

public void addComponentMeta(String modelId,
                             String modelProperty,
                             Field componentField,
                             Class componentHandler,
                             String[] handlerParameters,
                             boolean autoBound,
                             ReadOnly readOnly,
                             Class type)

getComponentMetaIterator

public Iterator<ComponentMeta> getComponentMetaIterator()

setAnnotationMetaCollected

public void setAnnotationMetaCollected(boolean annotationMetaCollected)

isAnnotationMetaCollected

public boolean isAnnotationMetaCollected()

getComponentClass

public Class getComponentClass()

composeSetterName

protected String composeSetterName(String propertyName)

composeGetterName

protected String composeGetterName(String propertyName)


Copyright © 2005-2011 ELCA. All Rights Reserved.