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

All Superinterfaces:
Child<T>

public interface AnnotationPropertyType<T>
extends Child<T>

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

Since:
Generation date :2013-01-26T19:27:00.777+01:00
Author:
Ralf Battenfeld, Andrew Lee Rubinger

Method Summary
 AnnotationPropertyType<T> description(String... values)
          Creates for all String objects representing description elements, a new description element
 List<String> getAllDescription()
          Returns all description elements
 String getId()
          Returns the id attribute
 String getPropertyName()
          Returns the property-name element
 String getPropertyValue()
          Returns the property-value element
 AnnotationPropertyType<T> id(String id)
          Sets the id attribute
 AnnotationPropertyType<T> propertyName(String propertyName)
          Sets the property-name element
 AnnotationPropertyType<T> propertyValue(String propertyValue)
          Sets the property-value element
 AnnotationPropertyType<T> removeAllDescription()
          Removes the description element
 AnnotationPropertyType<T> removeId()
          Removes the id attribute
 AnnotationPropertyType<T> removePropertyName()
          Removes the property-name element
 AnnotationPropertyType<T> removePropertyValue()
          Removes the property-value element
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

description

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

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

getAllDescription

List<String> getAllDescription()
Returns all description elements

Returns:
list of description

removeAllDescription

AnnotationPropertyType<T> removeAllDescription()
Removes the description element

Returns:
the current instance of AnnotationPropertyType

propertyName

AnnotationPropertyType<T> propertyName(String propertyName)
Sets the property-name element

Parameters:
propertyName - the value for the element property-name
Returns:
the current instance of AnnotationPropertyType

getPropertyName

String getPropertyName()
Returns the property-name element

Returns:
the node defined for the element property-name

removePropertyName

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

Returns:
the current instance of AnnotationPropertyType

propertyValue

AnnotationPropertyType<T> propertyValue(String propertyValue)
Sets the property-value element

Parameters:
propertyValue - the value for the element property-value
Returns:
the current instance of AnnotationPropertyType

getPropertyValue

String getPropertyValue()
Returns the property-value element

Returns:
the node defined for the element property-value

removePropertyValue

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

Returns:
the current instance of AnnotationPropertyType

id

AnnotationPropertyType<T> id(String id)
Sets the id attribute

Parameters:
id - the value for the attribute id
Returns:
the current instance of AnnotationPropertyType

getId

String getId()
Returns the id attribute

Returns:
the value defined for the attribute id

removeId

AnnotationPropertyType<T> removeId()
Removes the id attribute

Returns:
the current instance of AnnotationPropertyType


Copyright © 2013 JBoss, a division of Red Hat, Inc.. All Rights Reserved.