public interface FieldType<T> extends Child<T>, MapFieldCommonType<T,FieldType<T>,ConstraintType<FieldType<T>>>
fieldType
xsd typeModifier and Type | Method and Description |
---|---|
ConstraintType<FieldType<T>> |
createConstraint()
Creates a new
constraint element |
GroupConversionType<FieldType<T>> |
createConvertGroup()
Creates a new
convert-group element |
List<ConstraintType<FieldType<T>>> |
getAllConstraint()
Returns all
constraint elements |
List<GroupConversionType<FieldType<T>>> |
getAllConvertGroup()
Returns all
convert-group elements |
String |
getName()
Returns the
name attribute |
ConstraintType<FieldType<T>> |
getOrCreateConstraint()
If not already created, a new
constraint element will be created and returned. |
GroupConversionType<FieldType<T>> |
getOrCreateConvertGroup()
If not already created, a new
convert-group 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> |
removeAllConvertGroup()
Removes all
convert-group 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 valid
FieldType
String getValid()
valid
elementvalid
FieldType<T> removeValid()
valid
elementFieldType
GroupConversionType<FieldType<T>> getOrCreateConvertGroup()
convert-group
element will be created and returned.
Otherwise, the first existing convert-group
element will be returned.convert-group
GroupConversionType<FieldType<T>> createConvertGroup()
convert-group
elementGroupConversionType>
List<GroupConversionType<FieldType<T>>> getAllConvertGroup()
convert-group
elementsconvert-group
FieldType<T> removeAllConvertGroup()
convert-group
elementsGroupConversionType>
ConstraintType<FieldType<T>> getOrCreateConstraint()
constraint
element will be created and returned.
Otherwise, the first existing constraint
element will be returned.constraint
ConstraintType<FieldType<T>> createConstraint()
constraint
elementConstraintType>
List<ConstraintType<FieldType<T>>> getAllConstraint()
constraint
elementsconstraint
FieldType<T> removeAllConstraint()
constraint
elementsConstraintType>
FieldType<T> name(String name)
name
attributename
- the value for the attribute name
FieldType
String getName()
name
attributename
FieldType<T> removeName()
name
attributeFieldType
FieldType<T> ignoreAnnotations(Boolean ignoreAnnotations)
ignore-annotations
attributeignoreAnnotations
- the value for the attribute ignore-annotations
FieldType
Boolean isIgnoreAnnotations()
ignore-annotations
attributeignore-annotations
Copyright © 2018 JBoss by Red Hat. All rights reserved.