public interface PreferenceType<T> extends Child<T>, PortletPreferenceCommonType<T,PreferenceType<T>>
preferenceType
xsd typeModifier and Type | Method and Description |
---|---|
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 |
PreferenceType<T> name(String name)
name
elementname
- the value for the element name
PreferenceType
String getName()
name
elementname
PreferenceType<T> removeName()
name
elementPreferenceType
PreferenceType<T> value(String... values)
value
elements,
a new value
elementvalues
- list of value
objectsPreferenceType
PreferenceType<T> removeAllValue()
value
elementPreferenceType
PreferenceType<T> readOnly(ReadOnlyType readOnly)
read-only
elementreadOnly
- the value for the element read-only
PreferenceType
PreferenceType<T> readOnly(String readOnly)
read-only
elementreadOnly
- the value for the element read-only
PreferenceType
ReadOnlyType getReadOnly()
read-only
elementread-only
String getReadOnlyAsString()
read-only
elementread-only
PreferenceType<T> removeReadOnly()
read-only
attributePreferenceType
PreferenceType<T> id(String id)
id
attributeid
- the value for the attribute id
PreferenceType
String getId()
id
attributeid
PreferenceType<T> removeId()
id
attributePreferenceType
Copyright © 2016 JBoss by Red Hat. All rights reserved.