net.sourceforge.ccxjc.it.model.pkg.collections.novalueclass.portlet.app100
Interface PreferenceType

All Known Implementing Classes:
PreferenceTypeImpl

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_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>
 


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.
 List<ValueType> getValue()
          Gets the value of the value property.
 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.
 

Method Detail

getName

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

Returns:
possible object is NameType

setName

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

Parameters:
value - allowed object is NameType

getValue

List<ValueType> getValue()
Gets the value of the value 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 value property.

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

    getValue().add(newItem);
 

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


getReadOnly

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

Returns:
possible object is ReadOnlyType

setReadOnly

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

Parameters:
value - allowed object is ReadOnlyType

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.