net.sourceforge.ccxjc.it.model.priv.collections.novalueclass.portlet.app100
Interface PortletPreferencesType

All Known Implementing Classes:
PortletPreferencesTypeImpl

public interface PortletPreferencesType

Portlet persistent preference store. Used in: portlet

Java class for portlet-preferencesType complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType name="portlet-preferencesType">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence>
         <element name="preference" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}preferenceType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="preferences-validator" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}preferences-validatorType" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
     </restriction>
   </complexContent>
 </complexType>
 


Method Summary
 String getId()
          Gets the value of the id property.
 List<PreferenceType> getPreference()
          Gets the value of the preference property.
 String getPreferencesValidator()
          Gets the value of the preferencesValidator property.
 void setId(String value)
          Sets the value of the id property.
 void setPreferencesValidator(String value)
          Sets the value of the preferencesValidator property.
 

Method Detail

getPreference

List<PreferenceType> getPreference()
Gets the value of the preference property.

This accessor method returns a reference to the live list, not a snapshot. Therefore any modification you make to the returned list will be present inside the JAXB object. This is why there is not a set method for the preference property.

For example, to add a new item, do as follows:

    getPreference().add(newItem);
 

Objects of the following type(s) are allowed in the list PreferenceType


getPreferencesValidator

String getPreferencesValidator()
Gets the value of the preferencesValidator property.

Returns:
possible object is String

setPreferencesValidator

void setPreferencesValidator(String value)
Sets the value of the preferencesValidator property.

Parameters:
value - allowed object is String

getId

String getId()
Gets the value of the id property.

Returns:
possible object is String

setId

void setId(String value)
Sets the value of the id property.

Parameters:
value - allowed object is String


Copyright © 2009 The CC-XJC Community. All Rights Reserved.