Interface XaDatasourcePropertyType<T>
-
- All Superinterfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>
- All Known Implementing Classes:
XaDatasourcePropertyTypeImpl
public interface XaDatasourcePropertyType<T> extends org.jboss.shrinkwrap.descriptor.api.Child<T>This interface defines the contract for thexa-datasource-propertyTypexsd type
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Returns thenameattributeStringgetText()Returns the body text of the elementxa-datasource-propertyTypeXaDatasourcePropertyType<T>name(String name)Sets thenameattributeXaDatasourcePropertyType<T>removeName()Removes thenameattributeXaDatasourcePropertyType<T>text(String value)Sets the body text for the elementxa-datasource-propertyType
-
-
-
Method Detail
-
text
XaDatasourcePropertyType<T> text(String value)
Sets the body text for the elementxa-datasource-propertyType- Parameters:
xaDatasourcePropertyType- the value for the body textxa-datasource-propertyType- Returns:
- the current instance of
XaDatasourcePropertyType
-
getText
String getText()
Returns the body text of the elementxa-datasource-propertyType- Returns:
- the value defined for the text
xa-datasource-propertyType
-
name
XaDatasourcePropertyType<T> name(String name)
Sets thenameattribute- Parameters:
name- the value for the attributename- Returns:
- the current instance of
XaDatasourcePropertyType
-
getName
String getName()
Returns thenameattribute- Returns:
- the value defined for the attribute
name
-
removeName
XaDatasourcePropertyType<T> removeName()
Removes thenameattribute- Returns:
- the current instance of
XaDatasourcePropertyType
-
-