Package | Description |
---|---|
org.jboss.shrinkwrap.descriptor.api.validationMapping10 |
Provides the interfaces and enumeration types as defined in the schema
|
Modifier and Type | Method and Description |
---|---|
FieldType<BeanType<T>> |
BeanType.createField()
Creates a new
field element |
FieldType<BeanType<T>> |
BeanType.getOrCreateField()
If not already created, a new
field element will be created and returned. |
FieldType<T> |
FieldType.ignoreAnnotations(Boolean ignoreAnnotations)
Sets the
ignore-annotations attribute |
FieldType<T> |
FieldType.name(String name)
Sets the
name attribute |
FieldType<T> |
FieldType.removeAllConstraint()
Removes all
constraint elements |
FieldType<T> |
FieldType.removeIgnoreAnnotations()
Removes the
ignore-annotations attribute |
FieldType<T> |
FieldType.removeName()
Removes the
name attribute |
FieldType<T> |
FieldType.removeValid()
Removes the
valid element |
FieldType<T> |
FieldType.valid(String valid)
Sets the
valid element |
Modifier and Type | Method and Description |
---|---|
ConstraintType<FieldType<T>> |
FieldType.createConstraint()
Creates a new
constraint element |
List<ConstraintType<FieldType<T>>> |
FieldType.getAllConstraint()
Returns all
constraint elements |
List<FieldType<BeanType<T>>> |
BeanType.getAllField()
Returns all
field elements |
ConstraintType<FieldType<T>> |
FieldType.getOrCreateConstraint()
If not already created, a new
constraint element will be created and returned. |
Copyright © 2020 JBoss by Red Hat. All rights reserved.