Class SmartTypeManagerImpl
- java.lang.Object
-
- io.vertigo.datamodel.impl.smarttype.SmartTypeManagerImpl
-
- All Implemented Interfaces:
io.vertigo.core.node.component.Activeable,io.vertigo.core.node.component.Component,io.vertigo.core.node.component.CoreComponent,io.vertigo.core.node.component.Manager,SmartTypeManager
public class SmartTypeManagerImpl extends Object implements SmartTypeManager, io.vertigo.core.node.component.Activeable
-
-
Constructor Summary
Constructors Constructor Description SmartTypeManagerImpl()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description voidcheckConstraints(SmartTypeDefinition smartTypeDefinition, Object value)voidcheckValue(SmartTypeDefinition smartTypeDefinition, Object value)Map<Class,io.vertigo.core.lang.BasicTypeAdapter>getTypeAdapters(String adapterType)voidstart()voidstop()ObjectstringToValue(SmartTypeDefinition smartTypeDefinition, String strValue)StringvalueToString(SmartTypeDefinition smartTypeDefinition, Object objValue)
-
-
-
Method Detail
-
start
public void start()
- Specified by:
startin interfaceio.vertigo.core.node.component.Activeable
-
stop
public void stop()
- Specified by:
stopin interfaceio.vertigo.core.node.component.Activeable
-
checkValue
public void checkValue(SmartTypeDefinition smartTypeDefinition, Object value)
- Specified by:
checkValuein interfaceSmartTypeManager
-
checkConstraints
public void checkConstraints(SmartTypeDefinition smartTypeDefinition, Object value) throws ConstraintException
- Specified by:
checkConstraintsin interfaceSmartTypeManager- Throws:
ConstraintException
-
valueToString
public String valueToString(SmartTypeDefinition smartTypeDefinition, Object objValue)
- Specified by:
valueToStringin interfaceSmartTypeManager
-
stringToValue
public Object stringToValue(SmartTypeDefinition smartTypeDefinition, String strValue) throws FormatterException
- Specified by:
stringToValuein interfaceSmartTypeManager- Throws:
FormatterException
-
getTypeAdapters
public Map<Class,io.vertigo.core.lang.BasicTypeAdapter> getTypeAdapters(String adapterType)
- Specified by:
getTypeAdaptersin interfaceSmartTypeManager
-
-