|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.jboss.shrinkwrap.descriptor.impl.persistence20.PropertyImpl<T>
public class PropertyImpl<T>
This class implements the property
xsd type
Original Documentation:
A name-value pair.
Constructor Summary | |
---|---|
PropertyImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node)
|
|
PropertyImpl(T t,
java.lang.String nodeName,
org.jboss.shrinkwrap.descriptor.spi.Node node,
org.jboss.shrinkwrap.descriptor.spi.Node childNode)
|
Method Summary | |
---|---|
java.lang.String |
getName()
Returns the name element |
java.lang.String |
getValue()
Returns the value element |
Property<T> |
removeName()
Removes the name attribute |
Property<T> |
removeValue()
Removes the value attribute |
Property<T> |
setName(java.lang.String name)
Sets the name attribute |
Property<T> |
setValue(java.lang.String value)
Sets the value attribute |
T |
up()
|
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public PropertyImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node)
public PropertyImpl(T t, java.lang.String nodeName, org.jboss.shrinkwrap.descriptor.spi.Node node, org.jboss.shrinkwrap.descriptor.spi.Node childNode)
Method Detail |
---|
public T up()
up
in interface org.jboss.shrinkwrap.descriptor.api.Child<T>
public Property<T> setName(java.lang.String name)
name
attribute
setName
in interface Property<T>
name
- the value for the attribute name
Property
public Property<T> removeName()
name
attribute
removeName
in interface Property<T>
Property
public java.lang.String getName()
name
element
getName
in interface Property<T>
name
public Property<T> setValue(java.lang.String value)
value
attribute
setValue
in interface Property<T>
value
- the value for the attribute value
Property
public Property<T> removeValue()
value
attribute
removeValue
in interface Property<T>
Property
public java.lang.String getValue()
value
element
getValue
in interface Property<T>
value
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |