Package | Description |
---|---|
org.jboss.shrinkwrap.descriptor.api.validationMapping11 |
Provides the interfaces and enumeration types as defined in the schema
|
Modifier and Type | Method and Description |
---|---|
ConstraintDefinitionType<T> |
ConstraintDefinitionType.annotation(String annotation)
Sets the
annotation attribute |
ConstraintDefinitionType<ValidationMappingDescriptor> |
ValidationMappingDescriptor.createConstraintDefinition()
Creates a new
constraint-definition element |
ConstraintDefinitionType<ValidationMappingDescriptor> |
ValidationMappingDescriptor.getOrCreateConstraintDefinition()
If not already created, a new
constraint-definition element will be created and returned. |
ConstraintDefinitionType<T> |
ConstraintDefinitionType.removeAnnotation()
Removes the
annotation attribute |
ConstraintDefinitionType<T> |
ConstraintDefinitionType.removeValidatedBy()
Removes the
validated-by element |
Modifier and Type | Method and Description |
---|---|
List<ConstraintDefinitionType<ValidationMappingDescriptor>> |
ValidationMappingDescriptor.getAllConstraintDefinition()
Returns all
constraint-definition elements |
ValidatedByType<ConstraintDefinitionType<T>> |
ConstraintDefinitionType.getOrCreateValidatedBy()
If not already created, a new
validated-by element with the given value will be created. |
Copyright © 2020 JBoss by Red Hat. All rights reserved.