TypeValidation

public class TypeValidation

The TypeValidation contains a single validation option for the given type. This class is related with table in database with the same name.

Constructors

TypeValidation

public TypeValidation()

TypeValidation

public TypeValidation(String displayName, Type valueType)

Methods

getAnnotations

public List<Class<? extends Annotation>> getAnnotations()

getDisplayName

public String getDisplayName()

getId

public Long getId()

getValueType

public Type getValueType()

setAnnotations

public void setAnnotations(List<Class<? extends Annotation>> annotations)

setDisplayName

public void setDisplayName(String displayName)

setId

public void setId(Long id)

setValueType

public void setValueType(Type valueType)

toDto

public TypeValidationDto toDto()

toString

public String toString()