net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app100
Class PortletPreferencesType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app100.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_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>
 

See Also:
Serialized Form

Field Summary
protected  String id
           
protected  PreferenceType[] preference
           
protected  String preferencesValidator
           
 
Constructor Summary
PortletPreferencesType()
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app100.PortletPreferencesType instance.
PortletPreferencesType(PortletPreferencesType o)
          Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app100.PortletPreferencesType instance by copying a given instance.
 
Method Summary
 PortletPreferencesType clone()
          Creates and returns a copy of this object.
protected  void copyPreference(PreferenceType[] source)
          Copies all values of property Preference.
 String getId()
          Gets the value of the id property.
 PreferenceType[] getPreference()
           
 PreferenceType getPreference(int idx)
           
 int getPreferenceLength()
           
 String getPreferencesValidator()
          Gets the value of the preferencesValidator property.
 void setId(String value)
          Sets the value of the id property.
 PreferenceType setPreference(int idx, PreferenceType value)
           
 void setPreference(PreferenceType[] values)
           
 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 PreferenceType[] preference

preferencesValidator

protected String preferencesValidator

id

protected String id
Constructor Detail

PortletPreferencesType

public PortletPreferencesType()
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app100.PortletPreferencesType instance.


PortletPreferencesType

public PortletPreferencesType(PortletPreferencesType o)
Creates a new net.sourceforge.ccxjc.it.model.prot.indexed.valueclass.portlet.app100.PortletPreferencesType instance by copying a given instance.

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

getPreference

public PreferenceType[] getPreference()
Returns:
array of PreferenceType

getPreference

public PreferenceType getPreference(int idx)
Returns:
one of PreferenceType

getPreferenceLength

public int getPreferenceLength()

setPreference

public void setPreference(PreferenceType[] values)
Parameters:
values - allowed objects are PreferenceType

setPreference

public PreferenceType setPreference(int idx,
                                    PreferenceType value)
Parameters:
value - allowed object is 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

copyPreference

protected void copyPreference(PreferenceType[] source)
Copies all values of property Preference.

Parameters:
source - The source to copy from.
Throws:
NullPointerException - if source is null.

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.