Package io.vertigo.datamodel.smarttype
Interface SmartTypeManager
-
- All Superinterfaces:
io.vertigo.core.node.component.Component
,io.vertigo.core.node.component.CoreComponent
,io.vertigo.core.node.component.Manager
- All Known Implementing Classes:
SmartTypeManagerImpl
public interface SmartTypeManager extends io.vertigo.core.node.component.Manager
-
-
Method Summary
All Methods Instance Methods Abstract 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)
Object
stringToValue(SmartTypeDefinition smartTypeDefinition, String strValue)
String
valueToString(SmartTypeDefinition smartTypeDefinition, Object objValue)
-
-
-
Method Detail
-
checkValue
void checkValue(SmartTypeDefinition smartTypeDefinition, Object value)
-
checkConstraints
void checkConstraints(SmartTypeDefinition smartTypeDefinition, Object value) throws ConstraintException
- Throws:
ConstraintException
-
valueToString
String valueToString(SmartTypeDefinition smartTypeDefinition, Object objValue)
-
stringToValue
Object stringToValue(SmartTypeDefinition smartTypeDefinition, String strValue) throws FormatterException
- Throws:
FormatterException
-
-