|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.jboss51.AnnotationTypeImpl<T>
public class AnnotationTypeImpl<T>
This class implements the annotationType xsd type
Original Documentation:
The annotationType is used to add annotations to a bean class,
method, or field.
| Constructor Summary | |
|---|---|
AnnotationTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
AnnotationTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
|
| Method Summary | |
|---|---|
java.lang.String |
getAnnotationClass()
Returns the annotation-class element |
java.lang.String |
getAnnotationImplementationClass()
Returns the annotation-implementation-class element |
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.util.List<AnnotationPropertyType<AnnotationType<T>>> |
getPropertyList()
Returns all property elements |
InjectionTargetType<AnnotationType<T>> |
injectionTarget()
If not already created, a new injection-target element will be created and returned. |
AnnotationPropertyType<AnnotationType<T>> |
property()
Returns the property element |
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> |
removeInjectionTarget()
Removes the injection-target element |
AnnotationType<T> |
setAnnotationClass(java.lang.String annotationClass)
If not already created, a new annotation-class element with the given value will be created. |
AnnotationType<T> |
setAnnotationImplementationClass(java.lang.String annotationImplementationClass)
If not already created, a new annotation-implementation-class element with the given value will be created. |
AnnotationType<T> |
setDescription(java.lang.String description)
Creates a new description element |
AnnotationType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
T |
up()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public AnnotationTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
public AnnotationTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
| Method Detail |
|---|
public T up()
up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>public AnnotationType<T> setDescription(java.lang.String description)
description element
setDescription in interface AnnotationType<T>AnnotationTypepublic AnnotationType<T> setDescriptionList(java.lang.String... values)
description elements,
a new description element
setDescriptionList in interface AnnotationType<T>list - of description objects
AnnotationTypepublic AnnotationType<T> removeAllDescription()
description element
removeAllDescription in interface AnnotationType<T>AnnotationTypepublic java.util.List<java.lang.String> getDescriptionList()
description elements
getDescriptionList in interface AnnotationType<T>descriptionpublic AnnotationType<T> setAnnotationClass(java.lang.String annotationClass)
annotation-class element with the given value will be created.
Otherwise, the existing annotation-class element will be updated with the given value.
setAnnotationClass in interface AnnotationType<T>AnnotationTypepublic AnnotationType<T> removeAnnotationClass()
annotation-class element
removeAnnotationClass in interface AnnotationType<T>AnnotationTypepublic java.lang.String getAnnotationClass()
annotation-class element
getAnnotationClass in interface AnnotationType<T>annotation-classpublic AnnotationType<T> setAnnotationImplementationClass(java.lang.String annotationImplementationClass)
annotation-implementation-class element with the given value will be created.
Otherwise, the existing annotation-implementation-class element will be updated with the given value.
setAnnotationImplementationClass in interface AnnotationType<T>AnnotationTypepublic AnnotationType<T> removeAnnotationImplementationClass()
annotation-implementation-class element
removeAnnotationImplementationClass in interface AnnotationType<T>AnnotationTypepublic java.lang.String getAnnotationImplementationClass()
annotation-implementation-class element
getAnnotationImplementationClass in interface AnnotationType<T>annotation-implementation-classpublic AnnotationType<T> removeInjectionTarget()
injection-target element
removeInjectionTarget in interface AnnotationType<T>AnnotationTypepublic InjectionTargetType<AnnotationType<T>> injectionTarget()
injection-target element will be created and returned.
Otherwise, the existing injection-target element will be returned.
injectionTarget in interface AnnotationType<T>injection-targetpublic AnnotationType<T> removeAllProperty()
property elements
removeAllProperty in interface AnnotationType<T>AnnotationTypepublic AnnotationPropertyType<AnnotationType<T>> property()
property element
property in interface AnnotationType<T>propertypublic java.util.List<AnnotationPropertyType<AnnotationType<T>>> getPropertyList()
property elements
getPropertyList in interface AnnotationType<T>property
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||