
public interface PreferenceType<T> extends Child<T>, PortletPreferenceCommonType<T,PreferenceType<T>>
preferenceType xsd type| Modifier 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 namePreferenceTypeString getName()
name elementnamePreferenceType<T> removeName()
name elementPreferenceTypePreferenceType<T> value(String... values)
value elements,
a new value elementvalues - list of value objectsPreferenceTypePreferenceType<T> removeAllValue()
value elementPreferenceTypePreferenceType<T> readOnly(ReadOnlyType readOnly)
read-only elementreadOnly - the value for the element read-onlyPreferenceTypePreferenceType<T> readOnly(String readOnly)
read-only elementreadOnly - the value for the element read-onlyPreferenceTypeReadOnlyType getReadOnly()
read-only elementread-onlyString getReadOnlyAsString()
read-only elementread-onlyPreferenceType<T> removeReadOnly()
read-only attributePreferenceTypePreferenceType<T> id(String id)
id attributeid - the value for the attribute idPreferenceTypeString getId()
id attributeidPreferenceType<T> removeId()
id attributePreferenceTypeCopyright © 2021 JBoss by Red Hat. All rights reserved.