|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
public interface PreferenceType
Persistent preference values that may be used for customization and personalization by the portlet. Used in: portlet-preferences
Java class for preferenceType complex type.
The following schema fragment specifies the expected content contained within this class.
<complexType name="preferenceType">
<complexContent>
<restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
<sequence>
<element name="name" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}nameType"/>
<element name="value" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}valueType" maxOccurs="unbounded" minOccurs="0"/>
<element name="read-only" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}read-onlyType" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}string" />
</restriction>
</complexContent>
</complexType>
| Method Summary | |
|---|---|
String |
getId()
Gets the value of the id property. |
NameType |
getName()
Gets the value of the name property. |
ReadOnlyType |
getReadOnly()
Gets the value of the readOnly property. |
ValueType[] |
getValue()
|
ValueType |
getValue(int idx)
|
int |
getValueLength()
|
void |
setId(String value)
Sets the value of the id property. |
void |
setName(NameType value)
Sets the value of the name property. |
void |
setReadOnly(ReadOnlyType value)
Sets the value of the readOnly property. |
ValueType |
setValue(int idx,
ValueType value)
|
void |
setValue(ValueType[] values)
|
| Method Detail |
|---|
NameType getName()
NameTypevoid setName(NameType value)
value - allowed object is
NameTypeValueType[] getValue()
ValueTypeValueType getValue(int idx)
ValueTypeint getValueLength()
void setValue(ValueType[] values)
values - allowed objects are
ValueType
ValueType setValue(int idx,
ValueType value)
value - allowed object is
ValueTypeReadOnlyType getReadOnly()
ReadOnlyTypevoid setReadOnly(ReadOnlyType value)
value - allowed object is
ReadOnlyTypeString getId()
Stringvoid setId(String value)
value - allowed object is
String
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||