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 |
---|---|
ConstraintType<T> |
ConstraintType.annotation(String annotation)
Sets the
annotation attribute |
ConstraintType<ParameterType<T>> |
ParameterType.createConstraint()
Creates a new
constraint element |
ConstraintType<FieldType<T>> |
FieldType.createConstraint()
Creates a new
constraint element |
ConstraintType<GetterType<T>> |
GetterType.createConstraint()
Creates a new
constraint element |
ConstraintType<CrossParameterType<T>> |
CrossParameterType.createConstraint()
Creates a new
constraint element |
ConstraintType<ClassType<T>> |
ClassType.createConstraint()
Creates a new
constraint element |
ConstraintType<ReturnValueType<T>> |
ReturnValueType.createConstraint()
Creates a new
constraint element |
ConstraintType<ParameterType<T>> |
ParameterType.getOrCreateConstraint()
If not already created, a new
constraint element will be created and returned. |
ConstraintType<FieldType<T>> |
FieldType.getOrCreateConstraint()
If not already created, a new
constraint element will be created and returned. |
ConstraintType<GetterType<T>> |
GetterType.getOrCreateConstraint()
If not already created, a new
constraint element will be created and returned. |
ConstraintType<CrossParameterType<T>> |
CrossParameterType.getOrCreateConstraint()
If not already created, a new
constraint element will be created and returned. |
ConstraintType<ClassType<T>> |
ClassType.getOrCreateConstraint()
If not already created, a new
constraint element will be created and returned. |
ConstraintType<ReturnValueType<T>> |
ReturnValueType.getOrCreateConstraint()
If not already created, a new
constraint element will be created and returned. |
ConstraintType<T> |
ConstraintType.message(String message)
Sets the
message element |
ConstraintType<T> |
ConstraintType.removeAllElement()
Removes all
element elements |
ConstraintType<T> |
ConstraintType.removeAnnotation()
Removes the
annotation attribute |
ConstraintType<T> |
ConstraintType.removeGroups()
Removes the
groups element |
ConstraintType<T> |
ConstraintType.removeMessage()
Removes the
message element |
ConstraintType<T> |
ConstraintType.removePayload()
Removes the
payload element |
Modifier and Type | Method and Description |
---|---|
ElementType<ConstraintType<T>> |
ConstraintType.createElement()
Creates a new
element element |
List<ConstraintType<ParameterType<T>>> |
ParameterType.getAllConstraint()
Returns all
constraint elements |
List<ConstraintType<FieldType<T>>> |
FieldType.getAllConstraint()
Returns all
constraint elements |
List<ConstraintType<GetterType<T>>> |
GetterType.getAllConstraint()
Returns all
constraint elements |
List<ConstraintType<CrossParameterType<T>>> |
CrossParameterType.getAllConstraint()
Returns all
constraint elements |
List<ConstraintType<ClassType<T>>> |
ClassType.getAllConstraint()
Returns all
constraint elements |
List<ConstraintType<ReturnValueType<T>>> |
ReturnValueType.getAllConstraint()
Returns all
constraint elements |
List<ElementType<ConstraintType<T>>> |
ConstraintType.getAllElement()
Returns all
element elements |
ElementType<ConstraintType<T>> |
ConstraintType.getOrCreateElement()
If not already created, a new
element element will be created and returned. |
GroupsType<ConstraintType<T>> |
ConstraintType.getOrCreateGroups()
If not already created, a new
groups element with the given value will be created. |
PayloadType<ConstraintType<T>> |
ConstraintType.getOrCreatePayload()
If not already created, a new
payload element with the given value will be created. |
Copyright © 2024 JBoss by Red Hat. All rights reserved.