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
-
Class Summary Class Description I18nStringEntireNotEmptyOptionalValidator Validate the single strings of the i18n strings.I18nStringEntireNotEmptyValidator Validate the single strings of the i18n strings.I18nStringMustNotContainCommaValidator Annotation for i18n String (de/en Strings).I18nStringNotEmptyValidator Validate the single strings of the i18n strings.I18nStringSizeValidator Validate the size of the i18n strings.StringLengths The string length definition of domain objects attributes for validation.ValidHiddenShadowValidator Default validator implementation forValidHiddenShadow
validation.ValidIsoLanguageValidator Validates the language to be an ISO 639 language code.ValidPeriodValidator Validate that the begin of a period is less than or equal to the end.ValidShadowIdValidator Default validator implementation forValidShadowId
validation. -
Annotation Types Summary Annotation Type Description I18nStringEntireNotEmpty Annotation for i18n String (de/en Strings).I18nStringEntireNotEmpty.List Defines severalI18nStringEntireNotEmpty
annotations on the same element.I18nStringEntireNotEmptyOptional Annotation for i18n String (de/en Strings).I18nStringMustNotContainComma Annotation for i18n String (de/en Strings).I18nStringNotEmpty Annotation for i18n String (de/en Strings).I18nStringSize Annotation for i18n String (de/en Strings).I18nStringSize.List Defines severalI18nStringSize
annotations on the same element.ValidHiddenShadow Validates thatAbstractShadowableRdcDomainObject
hidden
is true if and only if the domain object is a shadow and has a successor.ValidIsoLanguage Annotation for the validation of a language codes according to ISO 639.ValidIsoLanguage.List Defines severalValidIsoLanguage
annotations on the same element.ValidPeriod Validate that the begin of a period is less than or equal to the end.ValidShadowId 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
.