
public interface AnnotationType<T> extends Child<T>
annotationType xsd type| Modifier 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 objectsAnnotationTypeList<String> getAllDescription()
description elementsdescriptionAnnotationType<T> removeAllDescription()
description elementAnnotationTypeAnnotationType<T> annotationClass(String annotationClass)
annotation-class elementannotationClass - the value for the element annotation-classAnnotationTypeString getAnnotationClass()
annotation-class elementannotation-classAnnotationType<T> removeAnnotationClass()
annotation-class elementAnnotationTypeAnnotationType<T> annotationImplementationClass(String annotationImplementationClass)
annotation-implementation-class elementannotationImplementationClass - the value for the element annotation-implementation-classAnnotationTypeString getAnnotationImplementationClass()
annotation-implementation-class elementannotation-implementation-classAnnotationType<T> removeAnnotationImplementationClass()
annotation-implementation-class elementAnnotationTypeInjectionTargetType<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 elementAnnotationTypeAnnotationPropertyType<AnnotationType<T>> getOrCreateProperty()
property element will be created and returned.
Otherwise, the first existing property element will be returned.propertyAnnotationPropertyType<AnnotationType<T>> createProperty()
property elementAnnotationPropertyType> List<AnnotationPropertyType<AnnotationType<T>>> getAllProperty()
property elementspropertyAnnotationType<T> removeAllProperty()
property elementsAnnotationPropertyType> AnnotationType<T> id(String id)
id attributeid - the value for the attribute idAnnotationTypeString getId()
id attributeidAnnotationType<T> removeId()
id attributeAnnotationTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.