to.etc.domui.component.meta
Interface IClassMetaModelFactory

All Known Implementing Classes:
DefaultJavaClassMetaModelFactory

public interface IClassMetaModelFactory

The root for all metamodel lookups. When fields of known classes are used in the system this can be used to lookup data pertaining to the fields.

Author:
Frits Jalvingh Created on Jun 16, 2008

Method Summary
 int accepts(java.lang.Object theThingy)
          Must return a value > 0 when this knows how to create a metamodel for the specified thingerydoo.
 ClassMetaModel createModel(java.lang.Object theThingy)
          When accept() has returned a > 0 value, this must create an (immutable) metamodel for the thingy passed.
 

Method Detail

accepts

int accepts(@Nonnull
            java.lang.Object theThingy)
Must return a value > 0 when this knows how to create a metamodel for the specified thingerydoo.

Parameters:
theThingy -
Returns:

createModel

@Nonnull
ClassMetaModel createModel(@Nonnull
                                   java.lang.Object theThingy)
When accept() has returned a > 0 value, this must create an (immutable) metamodel for the thingy passed.

Parameters:
theThingy -
Returns: