org.wicketopia.mapping
Class ClassBasedTypeMapping
java.lang.Object
org.wicketopia.mapping.ClassBasedTypeMapping
- All Implemented Interfaces:
- TypeMapping
- Direct Known Subclasses:
- DefaultEditorTypeMapping, DefaultViewerTypeMapping
public class ClassBasedTypeMapping
- extends Object
- implements TypeMapping
- Since:
- 1.0
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
ClassBasedTypeMapping
public ClassBasedTypeMapping()
ClassBasedTypeMapping
public ClassBasedTypeMapping(String defaultType)
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.