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 thepropertyTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetId()Returns theidattributeStringgetName()Returns thenameelementStringgetValue()Returns thevalueelementPropertyType<T>id(String id)Sets theidattributePropertyType<T>name(String name)Sets thenameelementPropertyType<T>removeId()Removes theidattributePropertyType<T>removeName()Removes thenameelementPropertyType<T>removeValue()Removes thevalueelementPropertyType<T>value(String value)Sets thevalueelement
-
-
-
Method Detail
-
name
PropertyType<T> name(String 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
PropertyType<T> value(String 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
PropertyType<T> id(String 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
-
-