|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AnnotationType<T>
This interface defines the contract for the annotationType
xsd type
Method Summary | |
---|---|
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 |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
AnnotationType<T> description(String... values)
description
elements,
a new description
element
values
- list of description
objects
AnnotationType
List<String> getAllDescription()
description
elements
description
AnnotationType<T> removeAllDescription()
description
element
AnnotationType
AnnotationType<T> annotationClass(String annotationClass)
annotation-class
element
annotationClass
- the value for the element annotation-class
AnnotationType
String getAnnotationClass()
annotation-class
element
annotation-class
AnnotationType<T> removeAnnotationClass()
annotation-class
element
AnnotationType
AnnotationType<T> annotationImplementationClass(String annotationImplementationClass)
annotation-implementation-class
element
annotationImplementationClass
- the value for the element annotation-implementation-class
AnnotationType
String getAnnotationImplementationClass()
annotation-implementation-class
element
annotation-implementation-class
AnnotationType<T> removeAnnotationImplementationClass()
annotation-implementation-class
element
AnnotationType
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
element
AnnotationType
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
element
AnnotationPropertyType>
List<AnnotationPropertyType<AnnotationType<T>>> getAllProperty()
property
elements
property
AnnotationType<T> removeAllProperty()
property
elements
AnnotationPropertyType>
AnnotationType<T> id(String id)
id
attribute
id
- the value for the attribute id
AnnotationType
String getId()
id
attribute
id
AnnotationType<T> removeId()
id
attribute
AnnotationType
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |