public class PropertyTypeImpl<T> extends Object implements org.jboss.shrinkwrap.descriptor.api.Child<T>, PropertyType<T>
propertyType xsd type| Constructor and Description |
|---|
PropertyTypeImpl(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) |
| Modifier and Type | Method and Description |
|---|---|
String |
getId()
Returns the
id attribute |
String |
getName()
Returns the
name element |
String |
getValue()
Returns the
value element |
PropertyType<T> |
id(String id)
Sets the
id attribute |
PropertyType<T> |
name(String name)
Sets the
name element |
PropertyType<T> |
removeId()
Removes the
id attribute |
PropertyType<T> |
removeName()
Removes the
name element |
PropertyType<T> |
removeValue()
Removes the
value element |
T |
up() |
PropertyType<T> |
value(String value)
Sets the
value element |
public PropertyTypeImpl(T t, String nodeName, org.jboss.shrinkwrap.descriptor.spi.node.Node node)
public PropertyType<T> name(String name)
name elementname in interface PropertyType<T>name - the value for the element namePropertyTypepublic String getName()
name elementgetName in interface PropertyType<T>namepublic PropertyType<T> removeName()
name elementremoveName in interface PropertyType<T>PropertyTypepublic PropertyType<T> value(String value)
value elementvalue in interface PropertyType<T>value - the value for the element valuePropertyTypepublic String getValue()
value elementgetValue in interface PropertyType<T>valuepublic PropertyType<T> removeValue()
value elementremoveValue in interface PropertyType<T>PropertyTypepublic PropertyType<T> id(String id)
id attributeid in interface PropertyType<T>id - the value for the attribute idPropertyTypepublic String getId()
id attributegetId in interface PropertyType<T>idpublic PropertyType<T> removeId()
id attributeremoveId in interface PropertyType<T>PropertyTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.