Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.jboss.shrinkwrap.descriptor.api.javaee5
Interface PropertyType<T>

All Superinterfaces:
  org.jboss.shrinkwrap.descriptor.api.Child<T>

All Known Implementing Classes:
  PropertyTypeImpl

    public interface PropertyType<T>

extends org.jboss.shrinkwrap.descriptor.api.Child<T>

This interface defines the contract for the `propertyType` xsd type

Original Documentation:

Specifies a name/value pair.

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

Method Summary
`java.lang.String` | `getName()` Returns the `name` element
`java.lang.String` | `getValue()` Returns the `value` element
`PropertyType<T>` | `removeName()` Removes the `name` element
`PropertyType<T>` | `removeValue()` Removes the `value` element
`PropertyType<T>` | `setName(java.lang.String name)` If not already created, a new `name` element with the given value will be created.
`PropertyType<T>` | `setValue(java.lang.String value)` If not already created, a new `value` element with the given value will be created.

Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
`up`

Method Detail

### setName

    PropertyType<T> setName(java.lang.String name)

  If not already created, a new `name` element with the given value will be created. Otherwise, the existing `name` element will be updated with the given value.

  Returns:
    the current instance of `PropertyType`

### removeName

    PropertyType<T> removeName()

  Removes the `name` element

  Returns:
    the current instance of `PropertyType`

### getName

    java.lang.String getName()

  Returns the `name` element

  Returns:
    the node defined for the element `name`

### setValue

    PropertyType<T> setValue(java.lang.String value)

  If not already created, a new `value` element with the given value will be created. Otherwise, the existing `value` element will be updated with the given value.

  Returns:
    the current instance of `PropertyType`

### removeValue

    PropertyType<T> removeValue()

  Removes the `value` element

  Returns:
    the current instance of `PropertyType`

### getValue

    java.lang.String getValue()

  Returns the `value` element

  Returns:
    the node defined for the element `value`

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD