Class ConfigPropertyImpl<T>

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

public class ConfigPropertyImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ConfigProperty<T>
This class implements the config-property xsd type
  • Constructor Details

    • 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 Details

    • up

      public T up()
      Specified by:
      up in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
    • 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