TypeServiceImpl

public class TypeServiceImpl implements TypeService

Default implementation of org.motechproject.mds.service.TypeService interface

Methods

findType

public TypeDto findType(Class<?> clazz)

findValidations

public List<TypeValidation> findValidations(TypeDto type, Class<? extends Annotation> aClass)

getAllTypes

public List<TypeDto> getAllTypes()

getType

public Type getType(TypeValidation validation)

setAllTypeValidations

public void setAllTypeValidations(AllTypeValidations allTypeValidations)

setAllTypes

public void setAllTypes(AllTypes allTypes)