net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.portlet.app100
Class PreferenceType

java.lang.Object
  extended by net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.portlet.app100.PreferenceType
All Implemented Interfaces:
Serializable, Cloneable

public class PreferenceType
extends Object
implements Serializable, Cloneable

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_1_0.xsd}nameType"/>
         <element name="value" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}valueType" maxOccurs="unbounded" minOccurs="0"/>
         <element name="read-only" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}read-onlyType" 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  NameType name
           
protected  ReadOnlyType readOnly
           
protected  ValueType[] value
           
 
Constructor Summary
PreferenceType()
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.portlet.app100.PreferenceType instance.
PreferenceType(PreferenceType o)
          Creates a new net.sourceforge.ccxjc.it.model.pub.indexed.valueclass.portlet.app100.PreferenceType instance by copying a given instance.
 
Method Summary
 PreferenceType clone()
          Creates and returns a copy of this object.
 void copyValue(ValueType[] source)
          Copies all values of property Value.
 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)
           
 
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

name

protected NameType name

value

protected ValueType[] value

readOnly

protected ReadOnlyType readOnly

id

protected String id
Constructor Detail

PreferenceType

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


PreferenceType

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

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

getName

public NameType getName()
Gets the value of the name property.

Returns:
possible object is NameType

setName

public void setName(NameType value)
Sets the value of the name property.

Parameters:
value - allowed object is NameType

getValue

public ValueType[] getValue()
Returns:
array of ValueType

getValue

public ValueType getValue(int idx)
Returns:
one of ValueType

getValueLength

public int getValueLength()

setValue

public void setValue(ValueType[] values)
Parameters:
values - allowed objects are ValueType

setValue

public ValueType setValue(int idx,
                          ValueType value)
Parameters:
value - allowed object is ValueType

getReadOnly

public ReadOnlyType getReadOnly()
Gets the value of the readOnly property.

Returns:
possible object is ReadOnlyType

setReadOnly

public void setReadOnly(ReadOnlyType value)
Sets the value of the readOnly property.

Parameters:
value - allowed object is ReadOnlyType

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

copyValue

public void copyValue(ValueType[] source)
Copies all values of property Value.

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

clone

public PreferenceType 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.