Class SeverityToPayloadTypeConverter
- java.lang.Object
-
- de.hybris.platform.validation.extractor.impl.SeverityToPayloadTypeConverter
-
- All Implemented Interfaces:
ConstraintConverter<Severity,org.hibernate.validator.internal.xml.binding.PayloadType>
public class SeverityToPayloadTypeConverter extends java.lang.Object implements ConstraintConverter<Severity,org.hibernate.validator.internal.xml.binding.PayloadType>
Converts theSeverityenumeration instance to a hibernatePayloadType.
-
-
Constructor Summary
Constructors Constructor Description SeverityToPayloadTypeConverter()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description org.hibernate.validator.internal.xml.binding.PayloadTypeconvert(Severity source)Converts source to target.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface de.hybris.platform.validation.extractor.ConstraintConverter
isActiveForConstraint
-
-
-
-
Method Detail
-
convert
public org.hibernate.validator.internal.xml.binding.PayloadType convert(Severity source)
Description copied from interface:ConstraintConverterConverts source to target.- Specified by:
convertin interfaceConstraintConverter<Severity,org.hibernate.validator.internal.xml.binding.PayloadType>
-
-