net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.portlet.app200
Class PortletPreferencesType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.portlet.app200.PortletPreferencesType
All Implemented Interfaces:
Serializable, Cloneable

public class PortletPreferencesType
extends Object
implements Serializable, Cloneable

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_2_0.xsd}preferenceType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="preferences-validator" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}preferences-validatorType" minOccurs="0"/>
       </sequence>
       <attribute name="id" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}string" />
     </restriction>
   </complexContent>
 </complexType>
 

See Also:
Serialized Form

Field Summary
protected  String id
           
protected  List<PreferenceType> preference
           
protected  String preferencesValidator
           
 
Constructor Summary
PortletPreferencesType()
          Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.portlet.app200.PortletPreferencesType instance.
PortletPreferencesType(PortletPreferencesType o)
          Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.portlet.app200.PortletPreferencesType instance by copying a given instance.
 
Method Summary
 PortletPreferencesType clone()
          Creates and returns a copy of this object.
 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.
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

preference

protected List<PreferenceType> preference

preferencesValidator

protected String preferencesValidator

id

protected String id
Constructor Detail

PortletPreferencesType

public PortletPreferencesType()
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.portlet.app200.PortletPreferencesType instance.


PortletPreferencesType

public PortletPreferencesType(PortletPreferencesType o)
Creates a new net.sourceforge.ccxjc.it.model.pkg.collections.valueclass.portlet.app200.PortletPreferencesType instance by copying a given instance.

Parameters:
o - The instance to copy or null.
Method Detail

getPreference

public 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

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

Returns:
possible object is String

setPreferencesValidator

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

Parameters:
value - allowed object is String

getId

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

Returns:
possible object is String

setId

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

Parameters:
value - allowed object is String

clone

public PortletPreferencesType clone()
Creates and returns a copy of this object.

Overrides:
clone in class Object
Returns:
A clone of this instance.


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