|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PreferenceType<T>
This interface defines the contract for the preferenceType
xsd type
Method Summary | |
---|---|
List<String> |
getAllValue()
Returns all value elements |
String |
getId()
Returns the id attribute |
String |
getName()
Returns the name element |
ReadOnlyType |
getReadOnly()
Returns the read-only element |
String |
getReadOnlyAsString()
Returns the read-only element |
PreferenceType<T> |
id(String id)
Sets the id attribute |
PreferenceType<T> |
name(String name)
Sets the name element |
PreferenceType<T> |
readOnly(ReadOnlyType readOnly)
Sets the read-only element |
PreferenceType<T> |
readOnly(String readOnly)
Sets the read-only element |
PreferenceType<T> |
removeAllValue()
Removes the value element |
PreferenceType<T> |
removeId()
Removes the id attribute |
PreferenceType<T> |
removeName()
Removes the name element |
PreferenceType<T> |
removeReadOnly()
Removes the read-only attribute |
PreferenceType<T> |
value(String... values)
Creates for all String objects representing value elements,
a new value element |
Methods inherited from interface org.jboss.shrinkwrap.descriptor.api.Child |
---|
up |
Method Detail |
---|
PreferenceType<T> name(String name)
name
element
name
- the value for the element name
PreferenceType
String getName()
name
element
name
PreferenceType<T> removeName()
name
element
PreferenceType
PreferenceType<T> value(String... values)
value
elements,
a new value
element
values
- list of value
objects
PreferenceType
List<String> getAllValue()
value
elements
value
PreferenceType<T> removeAllValue()
value
element
PreferenceType
PreferenceType<T> readOnly(ReadOnlyType readOnly)
read-only
element
readOnly
- the value for the element read-only
PreferenceType
PreferenceType<T> readOnly(String readOnly)
read-only
element
readOnly
- the value for the element read-only
PreferenceType
ReadOnlyType getReadOnly()
read-only
element
read-only
String getReadOnlyAsString()
read-only
element
read-only
PreferenceType<T> removeReadOnly()
read-only
attribute
PreferenceType
PreferenceType<T> id(String id)
id
attribute
id
- the value for the attribute id
PreferenceType
String getId()
id
attribute
id
PreferenceType<T> removeId()
id
attribute
PreferenceType
|
ShrinkWrap Descriptors Generated Java EE API 2.0.0-alpha-3 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |