public interface BeanType<T> extends Child<T>, MapBeanCommonType<T,BeanType<T>,ClassType<BeanType<T>>,FieldType<BeanType<T>>,GetterType<BeanType<T>>>
beanType
xsd typeModifier and Type | Method and Description |
---|---|
BeanType<T> |
clazz(String clazz)
Sets the
class attribute |
FieldType<BeanType<T>> |
createField()
Creates a new
field element |
GetterType<BeanType<T>> |
createGetter()
Creates a new
getter element |
List<FieldType<BeanType<T>>> |
getAllField()
Returns all
field elements |
List<GetterType<BeanType<T>>> |
getAllGetter()
Returns all
getter elements |
String |
getClazz()
Returns the
class attribute |
ClassType<BeanType<T>> |
getOrCreateClazz()
If not already created, a new
class element with the given value will be created. |
FieldType<BeanType<T>> |
getOrCreateField()
If not already created, a new
field element will be created and returned. |
GetterType<BeanType<T>> |
getOrCreateGetter()
If not already created, a new
getter element will be created and returned. |
BeanType<T> |
ignoreAnnotations(Boolean ignoreAnnotations)
Sets the
ignore-annotations attribute |
Boolean |
isIgnoreAnnotations()
Returns the
ignore-annotations attribute |
BeanType<T> |
removeAllField()
Removes all
field elements |
BeanType<T> |
removeAllGetter()
Removes all
getter elements |
BeanType<T> |
removeClazz()
Removes the
class element |
BeanType<T> |
removeClazzAttr()
Removes the
class attribute |
BeanType<T> |
removeIgnoreAnnotations()
Removes the
ignore-annotations attribute |
ClassType<BeanType<T>> getOrCreateClazz()
class
element with the given value will be created.
Otherwise, the existing class
element will be returned.ClassType>
BeanType<T> removeClazz()
class
elementBeanType
FieldType<BeanType<T>> getOrCreateField()
field
element will be created and returned.
Otherwise, the first existing field
element will be returned.field
FieldType<BeanType<T>> createField()
field
elementFieldType>
List<FieldType<BeanType<T>>> getAllField()
field
elementsfield
BeanType<T> removeAllField()
field
elementsFieldType>
GetterType<BeanType<T>> getOrCreateGetter()
getter
element will be created and returned.
Otherwise, the first existing getter
element will be returned.getter
GetterType<BeanType<T>> createGetter()
getter
elementGetterType>
List<GetterType<BeanType<T>>> getAllGetter()
getter
elementsgetter
BeanType<T> removeAllGetter()
getter
elementsGetterType>
BeanType<T> clazz(String clazz)
class
attributeclazz
- the value for the attribute class
BeanType
String getClazz()
class
attributeclass
BeanType<T> removeClazzAttr()
class
attributeBeanType
BeanType<T> ignoreAnnotations(Boolean ignoreAnnotations)
ignore-annotations
attributeignoreAnnotations
- the value for the attribute ignore-annotations
BeanType
Boolean isIgnoreAnnotations()
ignore-annotations
attributeignore-annotations
Copyright © 2019 JBoss by Red Hat. All rights reserved.