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.persistence20
Interface Property<T>

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

All Known Implementing Classes:
  PropertyImpl

    public interface Property<T>

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

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

Original Documentation:

A name-value pair.

Since:
  Generation date :2011-07-19T22:55:02.759+02:00
Author:
  Ralf Battenfeld

Method Summary
`java.lang.String` | `getName()` Returns the `name` element
`java.lang.String` | `getValue()` Returns the `value` element
`Property<T>` | `removeName()` Removes the `name` attribute
`Property<T>` | `removeValue()` Removes the `value` attribute
`Property<T>` | `setName(java.lang.String name)` Sets the `name` attribute
`Property<T>` | `setValue(java.lang.String value)` Sets the `value` attribute

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

Method Detail

### setName

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

  Sets the `name` attribute

  Parameters:
    `name` - the value for the attribute `name`
  Returns:
    the current instance of `Property`

### removeName

    Property<T> removeName()

  Removes the `name` attribute

  Returns:
    the current instance of `Property`

### getName

    java.lang.String getName()

  Returns the `name` element

  Returns:
    the node defined for the element `name`

### setValue

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

  Sets the `value` attribute

  Parameters:
    `value` - the value for the attribute `value`
  Returns:
    the current instance of `Property`

### removeValue

    Property<T> removeValue()

  Removes the `value` attribute

  Returns:
    the current instance of `Property`

### 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