Interface PropertyType<T>

  • All Superinterfaces:
    org.jboss.shrinkwrap.descriptor.api.Child<T>
    All Known Implementing Classes:
    PropertyTypeImpl

    public interface PropertyType<T>
    extends org.jboss.shrinkwrap.descriptor.api.Child<T>
    This interface defines the contract for the propertyType xsd type
    • Method Detail

      • name

        PropertyType<T> name​(String name)
        Sets the name element
        Parameters:
        name - the value for the element name
        Returns:
        the current instance of PropertyType
      • getName

        String getName()
        Returns the name element
        Returns:
        the node defined for the element name
      • removeName

        PropertyType<T> removeName()
        Removes the name element
        Returns:
        the current instance of PropertyType
      • value

        PropertyType<T> value​(String value)
        Sets the value element
        Parameters:
        value - the value for the element value
        Returns:
        the current instance of PropertyType
      • getValue

        String getValue()
        Returns the value element
        Returns:
        the node defined for the element value
      • removeValue

        PropertyType<T> removeValue()
        Removes the value element
        Returns:
        the current instance of PropertyType
      • id

        PropertyType<T> id​(String id)
        Sets the id attribute
        Parameters:
        id - the value for the attribute id
        Returns:
        the current instance of PropertyType
      • getId

        String getId()
        Returns the id attribute
        Returns:
        the value defined for the attribute id
      • removeId

        PropertyType<T> removeId()
        Removes the id attribute
        Returns:
        the current instance of PropertyType