
public interface FieldType<T> extends Child<T>, MapFieldCommonType<T,FieldType<T>,ConstraintType<FieldType<T>>>
fieldType xsd type| Modifier and Type | Method and Description |
|---|---|
ConstraintType<FieldType<T>> |
createConstraint()
Creates a new
constraint element |
List<ConstraintType<FieldType<T>>> |
getAllConstraint()
Returns all
constraint elements |
String |
getName()
Returns the
name attribute |
ConstraintType<FieldType<T>> |
getOrCreateConstraint()
If not already created, a new
constraint element will be created and returned. |
String |
getValid()
Returns the
valid element |
FieldType<T> |
ignoreAnnotations(Boolean ignoreAnnotations)
Sets the
ignore-annotations attribute |
Boolean |
isIgnoreAnnotations()
Returns the
ignore-annotations attribute |
FieldType<T> |
name(String name)
Sets the
name attribute |
FieldType<T> |
removeAllConstraint()
Removes all
constraint elements |
FieldType<T> |
removeIgnoreAnnotations()
Removes the
ignore-annotations attribute |
FieldType<T> |
removeName()
Removes the
name attribute |
FieldType<T> |
removeValid()
Removes the
valid element |
FieldType<T> |
valid(String valid)
Sets the
valid element |
FieldType<T> valid(String valid)
valid elementvalid - the value for the element validFieldTypeString getValid()
valid elementvalidFieldType<T> removeValid()
valid elementFieldTypeConstraintType<FieldType<T>> getOrCreateConstraint()
constraint element will be created and returned.
Otherwise, the first existing constraint element will be returned.constraintConstraintType<FieldType<T>> createConstraint()
constraint elementConstraintType> List<ConstraintType<FieldType<T>>> getAllConstraint()
constraint elementsconstraintFieldType<T> removeAllConstraint()
constraint elementsConstraintType> FieldType<T> name(String name)
name attributename - the value for the attribute nameFieldTypeString getName()
name attributenameFieldType<T> removeName()
name attributeFieldTypeFieldType<T> ignoreAnnotations(Boolean ignoreAnnotations)
ignore-annotations attributeignoreAnnotations - the value for the attribute ignore-annotationsFieldTypeBoolean isIgnoreAnnotations()
ignore-annotations attributeignore-annotationsCopyright © 2021 JBoss by Red Hat. All rights reserved.