org.jboss.shrinkwrap.descriptor.api.jbosscommon51
Interface StubPropertyType<T>

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

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

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

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

Method Summary
 java.lang.String getPropName()
          Returns the prop-name element
 java.lang.String getPropValue()
          Returns the prop-value element
 StubPropertyType<T> removePropName()
          Removes the prop-name element
 StubPropertyType<T> removePropValue()
          Removes the prop-value element
 StubPropertyType<T> setPropName(java.lang.String propName)
          If not already created, a new prop-name element with the given value will be created.
 StubPropertyType<T> setPropValue(java.lang.String propValue)
          If not already created, a new prop-value element with the given value will be created.
 
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
 

Method Detail

setPropName

StubPropertyType<T> setPropName(java.lang.String propName)
If not already created, a new prop-name element with the given value will be created. Otherwise, the existing prop-name element will be updated with the given value.

Returns:
the current instance of StubPropertyType

removePropName

StubPropertyType<T> removePropName()
Removes the prop-name element

Returns:
the current instance of StubPropertyType

getPropName

java.lang.String getPropName()
Returns the prop-name element

Returns:
the node defined for the element prop-name

setPropValue

StubPropertyType<T> setPropValue(java.lang.String propValue)
If not already created, a new prop-value element with the given value will be created. Otherwise, the existing prop-value element will be updated with the given value.

Returns:
the current instance of StubPropertyType

removePropValue

StubPropertyType<T> removePropValue()
Removes the prop-value element

Returns:
the current instance of StubPropertyType

getPropValue

java.lang.String getPropValue()
Returns the prop-value element

Returns:
the node defined for the element prop-value