org.wicketopia.mapping
Class ClassBasedTypeMapping

java.lang.Object
  extended by org.wicketopia.mapping.ClassBasedTypeMapping
All Implemented Interfaces:
TypeMapping
Direct Known Subclasses:
DefaultEditorTypeMapping, DefaultViewerTypeMapping

public class ClassBasedTypeMapping
extends Object
implements TypeMapping

Since:
1.0

Constructor Summary
ClassBasedTypeMapping()
           
ClassBasedTypeMapping(String defaultType)
           
 
Method Summary
 void addTypeOverride(Class<?> propertyType, String type)
           
 String getTypeName(Class<?> propertyType)
           
 String getTypeName(org.metastopheles.PropertyMetaData propertyMetaData)
           
 void setTypeOverrides(Map<Class,String> typeOverrides)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ClassBasedTypeMapping

public ClassBasedTypeMapping()

ClassBasedTypeMapping

public ClassBasedTypeMapping(String defaultType)
Method Detail

getTypeName

public String getTypeName(org.metastopheles.PropertyMetaData propertyMetaData)
Specified by:
getTypeName in interface TypeMapping

getTypeName

public String getTypeName(Class<?> propertyType)

addTypeOverride

public void addTypeOverride(Class<?> propertyType,
                            String type)
Specified by:
addTypeOverride in interface TypeMapping

setTypeOverrides

public void setTypeOverrides(Map<Class,String> typeOverrides)


Copyright © 2010-2013. All Rights Reserved.