org.jboss.shrinkwrap.descriptor.test.impl.connector10
Class ConfigPropertyImpl<T>

java.lang.Object
  extended by org.jboss.shrinkwrap.descriptor.test.impl.connector10.ConfigPropertyImpl<T>
All Implemented Interfaces:
Child<T>, ConfigProperty<T>

public class ConfigPropertyImpl<T>
extends Object
implements Child<T>, ConfigProperty<T>

This class implements the config-property xsd type

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

Constructor Summary
ConfigPropertyImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
           
ConfigPropertyImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
           
 
Method Summary
 ConfigProperty<T> configPropertyName(String configPropertyName)
          Sets the config-property-name element
 ConfigProperty<T> configPropertyType(String configPropertyType)
          Sets the config-property-type element
 ConfigProperty<T> configPropertyValue(String configPropertyValue)
          Sets the config-property-value element
 ConfigProperty<T> description(String description)
          Sets the description element
 String getConfigPropertyName()
          Returns the config-property-name element
 String getConfigPropertyType()
          Returns the config-property-type element
 String getConfigPropertyValue()
          Returns the config-property-value element
 String getDescription()
          Returns the description element
 ConfigProperty<T> removeConfigPropertyName()
          Removes the config-property-name element
 ConfigProperty<T> removeConfigPropertyType()
          Removes the config-property-type element
 ConfigProperty<T> removeConfigPropertyValue()
          Removes the config-property-value element
 ConfigProperty<T> removeDescription()
          Removes the description element
 T up()
          Returns the parent of this Child
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

ConfigPropertyImpl

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

ConfigPropertyImpl

public ConfigPropertyImpl(T t,
                          String nodeName,
                          org.jboss.shrinkwrap.descriptor.spi.node.Node node,
                          org.jboss.shrinkwrap.descriptor.spi.node.Node childNode)
Method Detail

up

public T up()
Description copied from interface: Child
Returns the parent of this Child

Specified by:
up in interface Child<T>
Returns:
The parent of this Child

configPropertyValue

public ConfigProperty<T> configPropertyValue(String configPropertyValue)
Sets the config-property-value element

Specified by:
configPropertyValue in interface ConfigProperty<T>
Parameters:
configPropertyValue - the value for the element config-property-value
Returns:
the current instance of ConfigProperty

getConfigPropertyValue

public String getConfigPropertyValue()
Returns the config-property-value element

Specified by:
getConfigPropertyValue in interface ConfigProperty<T>
Returns:
the node defined for the element config-property-value

removeConfigPropertyValue

public ConfigProperty<T> removeConfigPropertyValue()
Removes the config-property-value element

Specified by:
removeConfigPropertyValue in interface ConfigProperty<T>
Returns:
the current instance of ConfigProperty

description

public ConfigProperty<T> description(String description)
Sets the description element

Specified by:
description in interface ConfigProperty<T>
Parameters:
description - the value for the element description
Returns:
the current instance of ConfigProperty

getDescription

public String getDescription()
Returns the description element

Specified by:
getDescription in interface ConfigProperty<T>
Returns:
the node defined for the element description

removeDescription

public ConfigProperty<T> removeDescription()
Removes the description element

Specified by:
removeDescription in interface ConfigProperty<T>
Returns:
the current instance of ConfigProperty

configPropertyName

public ConfigProperty<T> configPropertyName(String configPropertyName)
Sets the config-property-name element

Specified by:
configPropertyName in interface ConfigProperty<T>
Parameters:
configPropertyName - the value for the element config-property-name
Returns:
the current instance of ConfigProperty

getConfigPropertyName

public String getConfigPropertyName()
Returns the config-property-name element

Specified by:
getConfigPropertyName in interface ConfigProperty<T>
Returns:
the node defined for the element config-property-name

removeConfigPropertyName

public ConfigProperty<T> removeConfigPropertyName()
Removes the config-property-name element

Specified by:
removeConfigPropertyName in interface ConfigProperty<T>
Returns:
the current instance of ConfigProperty

configPropertyType

public ConfigProperty<T> configPropertyType(String configPropertyType)
Sets the config-property-type element

Specified by:
configPropertyType in interface ConfigProperty<T>
Parameters:
configPropertyType - the value for the element config-property-type
Returns:
the current instance of ConfigProperty

getConfigPropertyType

public String getConfigPropertyType()
Returns the config-property-type element

Specified by:
getConfigPropertyType in interface ConfigProperty<T>
Returns:
the node defined for the element config-property-type

removeConfigPropertyType

public ConfigProperty<T> removeConfigPropertyType()
Removes the config-property-type element

Specified by:
removeConfigPropertyType in interface ConfigProperty<T>
Returns:
the current instance of ConfigProperty


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