Interface ConfigPropertyType<T>
-
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
ConfigPropertyTypeImpl
public interface ConfigPropertyType<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>This interface defines the contract for theconfig-propertyTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Returns thenameattributeStringgetText()Returns the body text of the elementconfig-propertyTypeConfigPropertyType<T>name(String name)Sets thenameattributeConfigPropertyType<T>removeName()Removes thenameattributeConfigPropertyType<T>text(String value)Sets the body text for the elementconfig-propertyType
-
-
-
Method Detail
-
text
ConfigPropertyType<T> text(String value)
Sets the body text for the elementconfig-propertyType- Parameters:
configPropertyType- the value for the body textconfig-propertyType- Returns:
- the current instance of
ConfigPropertyType
-
getText
String getText()
Returns the body text of the elementconfig-propertyType- Returns:
- the value defined for the text
config-propertyType
-
name
ConfigPropertyType<T> name(String name)
Sets thenameattribute- Parameters:
name- the value for the attributename- Returns:
- the current instance of
ConfigPropertyType
-
getName
String getName()
Returns thenameattribute- Returns:
- the value defined for the attribute
name
-
removeName
ConfigPropertyType<T> removeName()
Removes thenameattribute- Returns:
- the current instance of
ConfigPropertyType
-
-