
public interface ConstraintType<T> extends Child<T>, MapConstraintCommonType<T,ConstraintType<T>,GroupsType<ConstraintType<T>>,PayloadType<ConstraintType<T>>,ElementType<ConstraintType<T>>>
constraintType xsd type| Modifier and Type | Method and Description |
|---|---|
ConstraintType<T> |
annotation(String annotation)
Sets the
annotation attribute |
ElementType<ConstraintType<T>> |
createElement()
Creates a new
element element |
List<ElementType<ConstraintType<T>>> |
getAllElement()
Returns all
element elements |
String |
getAnnotation()
Returns the
annotation attribute |
String |
getMessage()
Returns the
message element |
ElementType<ConstraintType<T>> |
getOrCreateElement()
If not already created, a new
element element will be created and returned. |
GroupsType<ConstraintType<T>> |
getOrCreateGroups()
If not already created, a new
groups element with the given value will be created. |
PayloadType<ConstraintType<T>> |
getOrCreatePayload()
If not already created, a new
payload element with the given value will be created. |
ConstraintType<T> |
message(String message)
Sets the
message element |
ConstraintType<T> |
removeAllElement()
Removes all
element elements |
ConstraintType<T> |
removeAnnotation()
Removes the
annotation attribute |
ConstraintType<T> |
removeGroups()
Removes the
groups element |
ConstraintType<T> |
removeMessage()
Removes the
message element |
ConstraintType<T> |
removePayload()
Removes the
payload element |
ConstraintType<T> message(String message)
message elementmessage - the value for the element messageConstraintTypeString getMessage()
message elementmessageConstraintType<T> removeMessage()
message elementConstraintTypeGroupsType<ConstraintType<T>> getOrCreateGroups()
groups element with the given value will be created.
Otherwise, the existing groups element will be returned.GroupsType> ConstraintType<T> removeGroups()
groups elementConstraintTypePayloadType<ConstraintType<T>> getOrCreatePayload()
payload element with the given value will be created.
Otherwise, the existing payload element will be returned.PayloadType> ConstraintType<T> removePayload()
payload elementConstraintTypeElementType<ConstraintType<T>> getOrCreateElement()
element element will be created and returned.
Otherwise, the first existing element element will be returned.elementElementType<ConstraintType<T>> createElement()
element elementElementType> List<ElementType<ConstraintType<T>>> getAllElement()
element elementselementConstraintType<T> removeAllElement()
element elementsElementType> ConstraintType<T> annotation(String annotation)
annotation attributeannotation - the value for the attribute annotationConstraintTypeString getAnnotation()
annotation attributeannotationConstraintType<T> removeAnnotation()
annotation attributeConstraintTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.