org.jboss.shrinkwrap.descriptor.api.jboss51
Interface AnnotationPropertyType<T>

All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
All Known Implementing Classes:
AnnotationPropertyTypeImpl

public interface AnnotationPropertyType<T>
extends org.jboss.shrinkwrap.descriptor.api.Child<T>

This interface defines the contract for the annotation-propertyType xsd type

Original Documentation:



Used to set property values for annotations


Since:
Generation date :2011-07-19T22:54:35.59+02:00
Author:
Ralf Battenfeld

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

setDescription

AnnotationPropertyType<T> setDescription(java.lang.String description)
Creates a new description element

Returns:
the current instance of AnnotationPropertyType

setDescriptionList

AnnotationPropertyType<T> setDescriptionList(java.lang.String... values)
Creates for all String objects representing description elements, a new description element

Parameters:
list - of description objects
Returns:
the current instance of AnnotationPropertyType

removeAllDescription

AnnotationPropertyType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of AnnotationPropertyType

getDescriptionList

java.util.List<java.lang.String> getDescriptionList()
Returns all description elements

Returns:
list of description

setPropertyName

AnnotationPropertyType<T> setPropertyName(java.lang.String propertyName)
If not already created, a new property-name element with the given value will be created. Otherwise, the existing property-name element will be updated with the given value.

Returns:
the current instance of AnnotationPropertyType

removePropertyName

AnnotationPropertyType<T> removePropertyName()
Removes the property-name element

Returns:
the current instance of AnnotationPropertyType

getPropertyName

java.lang.String getPropertyName()
Returns the property-name element

Returns:
the node defined for the element property-name

setPropertyValue

AnnotationPropertyType<T> setPropertyValue(java.lang.String propertyValue)
If not already created, a new property-value element with the given value will be created. Otherwise, the existing property-value element will be updated with the given value.

Returns:
the current instance of AnnotationPropertyType

removePropertyValue

AnnotationPropertyType<T> removePropertyValue()
Removes the property-value element

Returns:
the current instance of AnnotationPropertyType

getPropertyValue

java.lang.String getPropertyValue()
Returns the property-value element

Returns:
the node defined for the element property-value