|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.jboss51.AnnotationPropertyTypeImpl<T>
public class AnnotationPropertyTypeImpl<T>
This class implements the annotation-propertyType
xsd type
Original Documentation:
Used to set property values for annotations
Constructor Summary | |
---|---|
AnnotationPropertyTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
AnnotationPropertyTypeImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
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. |
T |
up()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public AnnotationPropertyTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public AnnotationPropertyTypeImpl(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 AnnotationPropertyType<T> setDescription(java.lang.String description)
description
element
setDescription
in interface AnnotationPropertyType<T>
AnnotationPropertyType
public AnnotationPropertyType<T> setDescriptionList(java.lang.String... values)
description
elements,
a new description
element
setDescriptionList
in interface AnnotationPropertyType<T>
list
- of description
objects
AnnotationPropertyType
public AnnotationPropertyType<T> removeAllDescription()
description
element
removeAllDescription
in interface AnnotationPropertyType<T>
AnnotationPropertyType
public java.util.List<java.lang.String> getDescriptionList()
description
elements
getDescriptionList
in interface AnnotationPropertyType<T>
description
public 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.
setPropertyName
in interface AnnotationPropertyType<T>
AnnotationPropertyType
public AnnotationPropertyType<T> removePropertyName()
property-name
element
removePropertyName
in interface AnnotationPropertyType<T>
AnnotationPropertyType
public java.lang.String getPropertyName()
property-name
element
getPropertyName
in interface AnnotationPropertyType<T>
property-name
public 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.
setPropertyValue
in interface AnnotationPropertyType<T>
AnnotationPropertyType
public AnnotationPropertyType<T> removePropertyValue()
property-value
element
removePropertyValue
in interface AnnotationPropertyType<T>
AnnotationPropertyType
public java.lang.String getPropertyValue()
property-value
element
getPropertyValue
in interface AnnotationPropertyType<T>
property-value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |