|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AnnotationPropertyType<T>
This interface defines the contract for the annotation-propertyType
xsd type
Original Documentation:
Used to set property values for annotations
Method Summary | |
---|---|
java.util.List<java.lang.String> |
getDescriptionList()
Returns all description elements |
java.lang.String |
getPropertyName()
Returns the property-name element |
java.lang.String |
getPropertyValue()
Returns the property-value element |
AnnotationPropertyType<T> |
removeAllDescription()
Removes the description element |
AnnotationPropertyType<T> |
removePropertyName()
Removes the property-name element |
AnnotationPropertyType<T> |
removePropertyValue()
Removes the property-value element |
AnnotationPropertyType<T> |
setDescription(java.lang.String description)
Creates a new description element |
AnnotationPropertyType<T> |
setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements,
a new description element |
AnnotationPropertyType<T> |
setPropertyName(java.lang.String propertyName)
If not already created, a new property-name element with the given value will be created. |
AnnotationPropertyType<T> |
setPropertyValue(java.lang.String propertyValue)
If not already created, a new property-value element with the given value will be created. |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
AnnotationPropertyType<T> setDescription(java.lang.String description)
description
element
AnnotationPropertyType
AnnotationPropertyType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
list
- of description
objects
AnnotationPropertyType
AnnotationPropertyType<T> removeAllDescription()
description
element
AnnotationPropertyType
java.util.List<java.lang.String> getDescriptionList()
description
elements
description
AnnotationPropertyType<T> setPropertyName(java.lang.String propertyName)
property-name
element with the given value will be created.
Otherwise, the existing property-name
element will be updated with the given value.
AnnotationPropertyType
AnnotationPropertyType<T> removePropertyName()
property-name
element
AnnotationPropertyType
java.lang.String getPropertyName()
property-name
element
property-name
AnnotationPropertyType<T> setPropertyValue(java.lang.String propertyValue)
property-value
element with the given value will be created.
Otherwise, the existing property-value
element will be updated with the given value.
AnnotationPropertyType
AnnotationPropertyType<T> removePropertyValue()
property-value
element
AnnotationPropertyType
java.lang.String getPropertyValue()
property-value
element
property-value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |