public interface AnnotationType<T> extends Child<T>
annotationType
xsd typeModifier and Type | Method and Description |
---|---|
AnnotationType<T> |
annotationClass(String annotationClass)
Sets the
annotation-class element |
AnnotationType<T> |
annotationImplementationClass(String annotationImplementationClass)
Sets the
annotation-implementation-class element |
AnnotationPropertyType<AnnotationType<T>> |
createProperty()
Creates a new
property element |
AnnotationType<T> |
description(String... values)
Creates for all String objects representing
description elements,
a new description element |
List<String> |
getAllDescription()
Returns all
description elements |
List<AnnotationPropertyType<AnnotationType<T>>> |
getAllProperty()
Returns all
property elements |
String |
getAnnotationClass()
Returns the
annotation-class element |
String |
getAnnotationImplementationClass()
Returns the
annotation-implementation-class element |
String |
getId()
Returns the
id attribute |
InjectionTargetType<AnnotationType<T>> |
getOrCreateInjectionTarget()
If not already created, a new
injection-target element with the given value will be created. |
AnnotationPropertyType<AnnotationType<T>> |
getOrCreateProperty()
If not already created, a new
property element will be created and returned. |
AnnotationType<T> |
id(String id)
Sets the
id attribute |
AnnotationType<T> |
removeAllDescription()
Removes the
description element |
AnnotationType<T> |
removeAllProperty()
Removes all
property elements |
AnnotationType<T> |
removeAnnotationClass()
Removes the
annotation-class element |
AnnotationType<T> |
removeAnnotationImplementationClass()
Removes the
annotation-implementation-class element |
AnnotationType<T> |
removeId()
Removes the
id attribute |
AnnotationType<T> |
removeInjectionTarget()
Removes the
injection-target element |
AnnotationType<T> description(String... values)
description
elements,
a new description
elementvalues
- list of description
objectsAnnotationType
List<String> getAllDescription()
description
elementsdescription
AnnotationType<T> removeAllDescription()
description
elementAnnotationType
AnnotationType<T> annotationClass(String annotationClass)
annotation-class
elementannotationClass
- the value for the element annotation-class
AnnotationType
String getAnnotationClass()
annotation-class
elementannotation-class
AnnotationType<T> removeAnnotationClass()
annotation-class
elementAnnotationType
AnnotationType<T> annotationImplementationClass(String annotationImplementationClass)
annotation-implementation-class
elementannotationImplementationClass
- the value for the element annotation-implementation-class
AnnotationType
String getAnnotationImplementationClass()
annotation-implementation-class
elementannotation-implementation-class
AnnotationType<T> removeAnnotationImplementationClass()
annotation-implementation-class
elementAnnotationType
InjectionTargetType<AnnotationType<T>> getOrCreateInjectionTarget()
injection-target
element with the given value will be created.
Otherwise, the existing injection-target
element will be returned.InjectionTargetType>
AnnotationType<T> removeInjectionTarget()
injection-target
elementAnnotationType
AnnotationPropertyType<AnnotationType<T>> getOrCreateProperty()
property
element will be created and returned.
Otherwise, the first existing property
element will be returned.property
AnnotationPropertyType<AnnotationType<T>> createProperty()
property
elementAnnotationPropertyType>
List<AnnotationPropertyType<AnnotationType<T>>> getAllProperty()
property
elementsproperty
AnnotationType<T> removeAllProperty()
property
elementsAnnotationPropertyType>
AnnotationType<T> id(String id)
id
attributeid
- the value for the attribute id
AnnotationType
String getId()
id
attributeid
AnnotationType<T> removeId()
id
attributeAnnotationType
Copyright © 2023 JBoss by Red Hat. All rights reserved.