Class PropertyTypeImpl<T>
java.lang.Object
org.jboss.shrinkwrap.descriptor.impl.javaee6.PropertyTypeImpl<T>
- All Implemented Interfaces:
org.jboss.shrinkwrap.descriptor.api.Child<T>,PropertyType<T>
public class PropertyTypeImpl<T>
extends Object
implements org.jboss.shrinkwrap.descriptor.api.Child<T>, PropertyType<T>
This class implements the
propertyType xsd type-
Constructor Summary
ConstructorsConstructorDescriptionPropertyTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node) PropertyTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node, org.jboss.shrinkwrap.descriptor.spi.node.Node childNode) -
Method Summary
Modifier and TypeMethodDescriptiongetId()Returns theidattributegetName()Returns thenameelementgetValue()Returns thevalueelementSets theidattributeSets thenameelementremoveId()Removes theidattributeRemoves thenameelementRemoves thevalueelementup()Sets thevalueelement
-
Constructor Details
-
PropertyTypeImpl
-
PropertyTypeImpl
-
-
Method Details
-
up
- Specified by:
upin interfaceorg.jboss.shrinkwrap.descriptor.api.Child<T>
-
name
Sets thenameelement- Specified by:
namein interfacePropertyType<T>- Parameters:
name- the value for the elementname- Returns:
- the current instance of
PropertyType
-
getName
Returns thenameelement- Specified by:
getNamein interfacePropertyType<T>- Returns:
- the node defined for the element
name
-
removeName
Removes thenameelement- Specified by:
removeNamein interfacePropertyType<T>- Returns:
- the current instance of
PropertyType
-
value
Sets thevalueelement- Specified by:
valuein interfacePropertyType<T>- Parameters:
value- the value for the elementvalue- Returns:
- the current instance of
PropertyType
-
getValue
Returns thevalueelement- Specified by:
getValuein interfacePropertyType<T>- Returns:
- the node defined for the element
value
-
removeValue
Removes thevalueelement- Specified by:
removeValuein interfacePropertyType<T>- Returns:
- the current instance of
PropertyType
-
id
Sets theidattribute- Specified by:
idin interfacePropertyType<T>- Parameters:
id- the value for the attributeid- Returns:
- the current instance of
PropertyType
-
getId
Returns theidattribute- Specified by:
getIdin interfacePropertyType<T>- Returns:
- the value defined for the attribute
id
-
removeId
Removes theidattribute- Specified by:
removeIdin interfacePropertyType<T>- Returns:
- the current instance of
PropertyType
-