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.impl.jbosscommon51
Class StubPropertyTypeImpl<T>

    java.lang.Object
      org.jboss.shrinkwrap.descriptor.impl.jbosscommon51.StubPropertyTypeImpl<T>

All Implemented Interfaces:
  org.jboss.shrinkwrap.descriptor.api.Child<T>, StubPropertyType<T>

    public class StubPropertyTypeImpl<T>

extends java.lang.Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, StubPropertyType<T>

This class implements the `stub-propertyType` xsd type

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

Constructor Summary
`StubPropertyTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)`
`StubPropertyTypeImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)`

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.
`T` | `up()`

Methods inherited from class java.lang.Object
`equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait`

Constructor Detail

### StubPropertyTypeImpl

    public StubPropertyTypeImpl(T t,
                                java.lang.String nodeName,
                                org.jboss.shrinkwrap.descriptor.spi.Node node)

### StubPropertyTypeImpl

    public StubPropertyTypeImpl(T t,
                                java.lang.String nodeName,
                                org.jboss.shrinkwrap.descriptor.spi.Node node,
                                org.jboss.shrinkwrap.descriptor.spi.Node childNode)

Method Detail

### up

    public T up()

  Specified by:
    `up` in interface `org.jboss.shrinkwrap.descriptor.api.Child<T>`

### setPropName

    public 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.

  Specified by:
    `setPropName` in interface `StubPropertyType<T>`
  Returns:
    the current instance of `StubPropertyType`

### removePropName

    public StubPropertyType<T> removePropName()

  Removes the `prop-name` element

  Specified by:
    `removePropName` in interface `StubPropertyType<T>`
  Returns:
    the current instance of `StubPropertyType`

### getPropName

    public java.lang.String getPropName()

  Returns the `prop-name` element

  Specified by:
    `getPropName` in interface `StubPropertyType<T>`
  Returns:
    the node defined for the element `prop-name`

### setPropValue

    public 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.

  Specified by:
    `setPropValue` in interface `StubPropertyType<T>`
  Returns:
    the current instance of `StubPropertyType`

### removePropValue

    public StubPropertyType<T> removePropValue()

  Removes the `prop-value` element

  Specified by:
    `removePropValue` in interface `StubPropertyType<T>`
  Returns:
    the current instance of `StubPropertyType`

### getPropValue

    public java.lang.String getPropValue()

  Returns the `prop-value` element

  Specified by:
    `getPropValue` in interface `StubPropertyType<T>`
  Returns:
    the node defined for the element `prop-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