|
||||||||||
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>
AnnotationType
public AnnotationType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface AnnotationType<T>
list
- of description
objects
AnnotationType
public AnnotationType<T> removeAllDescription()
description
element
removeAllDescription
in interface AnnotationType<T>
AnnotationType
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface AnnotationType<T>
description
public 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>
AnnotationType
public AnnotationType<T> removeAnnotationClass()
annotation-class
element
removeAnnotationClass
in interface AnnotationType<T>
AnnotationType
public java.lang.String getAnnotationClass()
annotation-class
element
getAnnotationClass
in interface AnnotationType<T>
annotation-class
public 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>
AnnotationType
public AnnotationType<T> removeAnnotationImplementationClass()
annotation-implementation-class
element
removeAnnotationImplementationClass
in interface AnnotationType<T>
AnnotationType
public java.lang.String getAnnotationImplementationClass()
annotation-implementation-class
element
getAnnotationImplementationClass
in interface AnnotationType<T>
annotation-implementation-class
public AnnotationType<T> removeInjectionTarget()
injection-target
element
removeInjectionTarget
in interface AnnotationType<T>
AnnotationType
public 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-target
public AnnotationType<T> removeAllProperty()
property
elements
removeAllProperty
in interface AnnotationType<T>
AnnotationType
public AnnotationPropertyType<AnnotationType<T>> property()
property
element
property
in interface AnnotationType<T>
property
public 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 |