public interface ConstraintDefinitionType<T> extends Child<T>, MapConstraintDefinitionCommonType<T,ConstraintDefinitionType<T>,ValidatedByType<ConstraintDefinitionType<T>>>
constraint-definitionType
xsd typeModifier and Type | Method and Description |
---|---|
ConstraintDefinitionType<T> |
annotation(String annotation)
Sets the
annotation attribute |
String |
getAnnotation()
Returns the
annotation attribute |
ValidatedByType<ConstraintDefinitionType<T>> |
getOrCreateValidatedBy()
If not already created, a new
validated-by element with the given value will be created. |
ConstraintDefinitionType<T> |
removeAnnotation()
Removes the
annotation attribute |
ConstraintDefinitionType<T> |
removeValidatedBy()
Removes the
validated-by element |
ValidatedByType<ConstraintDefinitionType<T>> getOrCreateValidatedBy()
validated-by
element with the given value will be created.
Otherwise, the existing validated-by
element will be returned.ValidatedByType>
ConstraintDefinitionType<T> removeValidatedBy()
validated-by
elementConstraintDefinitionType
ConstraintDefinitionType<T> annotation(String annotation)
annotation
attributeannotation
- the value for the attribute annotation
ConstraintDefinitionType
String getAnnotation()
annotation
attributeannotation
ConstraintDefinitionType<T> removeAnnotation()
annotation
attributeConstraintDefinitionType
Copyright © 2019 JBoss by Red Hat. All rights reserved.