Package eu.dzhw.fdz.metadatamanagement.common.domain.validation
package eu.dzhw.fdz.metadatamanagement.common.domain.validation
This package contains the validation annotations with the depending constrain validators of the
domain objects.
- Author:
- Daniel Katzberg
-
ClassDescriptionAnnotation for i18n String (de/en Strings).Defines several
I18nStringEntireNotEmpty
annotations on the same element.Annotation for i18n String (de/en Strings).Validate the single strings of the i18n strings.Validate the single strings of the i18n strings.Annotation for i18n String (de/en Strings).Annotation for i18n String (de/en Strings).Annotation for i18n String (de/en Strings).Validate the single strings of the i18n strings.Annotation for i18n String (de/en Strings).Defines severalI18nStringSize
annotations on the same element.Validate the size of the i18n strings.The string length definition of domain objects attributes for validation.Validates thatAbstractShadowableRdcDomainObject
hidden
is true if and only if the domain object is a shadow and has a successor.Default validator implementation forValidHiddenShadow
validation.Annotation for the validation of a language codes according to ISO 639.Defines severalValidIsoLanguage
annotations on the same element.Validates the language to be an ISO 639 language code.Validate that the begin of a period is less than or equal to the end.Validate that the begin of a period is less than or equal to the end.Validates thatAbstractShadowableRdcDomainObject
id
starts withAbstractShadowableRdcDomainObject
masterId
and optionally contains a version suffix if the domain object is a shadow copy, otherwise the result will always betrue
.Default validator implementation forValidShadowId
validation.