Class ConnectionPropertyTypeImpl<T>

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

    public class ConnectionPropertyTypeImpl<T>
    extends Object
    implements org.jboss.shrinkwrap.descriptor.api.Child<T>, ConnectionPropertyType<T>
    This class implements the connection-propertyType xsd type
    • Constructor Detail

      • ConnectionPropertyTypeImpl

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

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

        public ConnectionPropertyType<T> text​(String value)
        Sets the body text for the element connection-propertyType
        Specified by:
        text in interface ConnectionPropertyType<T>
        Parameters:
        connectionPropertyType - the value for the body text connection-propertyType
        Returns:
        the current instance of ConnectionPropertyType
      • getText

        public String getText()
        Returns the body text of the element connection-propertyType
        Specified by:
        getText in interface ConnectionPropertyType<T>
        Returns:
        the value defined for the text connection-propertyType