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 void
checkConstraints(SmartTypeDefinition smartTypeDefinition, Object value)
void
checkValue(SmartTypeDefinition smartTypeDefinition, Object value)
Map<Class,io.vertigo.core.lang.BasicTypeAdapter>
getTypeAdapters(String adapterType)
void
start()
void
stop()
Object
stringToValue(SmartTypeDefinition smartTypeDefinition, String strValue)
String
valueToString(SmartTypeDefinition smartTypeDefinition, Object objValue)
-
-
-
Method Detail
-
start
public void start()
- Specified by:
start
in interfaceio.vertigo.core.node.component.Activeable
-
stop
public void stop()
- Specified by:
stop
in interfaceio.vertigo.core.node.component.Activeable
-
checkValue
public void checkValue(SmartTypeDefinition smartTypeDefinition, Object value)
- Specified by:
checkValue
in interfaceSmartTypeManager
-
checkConstraints
public void checkConstraints(SmartTypeDefinition smartTypeDefinition, Object value) throws ConstraintException
- Specified by:
checkConstraints
in interfaceSmartTypeManager
- Throws:
ConstraintException
-
valueToString
public String valueToString(SmartTypeDefinition smartTypeDefinition, Object objValue)
- Specified by:
valueToString
in interfaceSmartTypeManager
-
stringToValue
public Object stringToValue(SmartTypeDefinition smartTypeDefinition, String strValue) throws FormatterException
- Specified by:
stringToValue
in interfaceSmartTypeManager
- Throws:
FormatterException
-
getTypeAdapters
public Map<Class,io.vertigo.core.lang.BasicTypeAdapter> getTypeAdapters(String adapterType)
- Specified by:
getTypeAdapters
in interfaceSmartTypeManager
-
-