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 Summary
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child
up
-
Method Details
-
name
Sets thenameelement- Parameters:
name- the value for the elementname- Returns:
- the current instance of
PropertyType
-
getName
String getName()Returns thenameelement- Returns:
- the node defined for the element
name
-
removeName
PropertyType<T> removeName()Removes thenameelement- Returns:
- the current instance of
PropertyType
-
value
Sets thevalueelement- Parameters:
value- the value for the elementvalue- Returns:
- the current instance of
PropertyType
-
getValue
String getValue()Returns thevalueelement- Returns:
- the node defined for the element
value
-
removeValue
PropertyType<T> removeValue()Removes thevalueelement- Returns:
- the current instance of
PropertyType
-
id
Sets theidattribute- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
PropertyType
-
getId
String getId()Returns theidattribute- Returns:
- the value defined for the attribute
id
-
removeId
PropertyType<T> removeId()Removes theidattribute- Returns:
- the current instance of
PropertyType
-