001: /*
002: * (C) Copyright 2000 - 2005 Nabh Information Systems, Inc.
003: *
004: * This program is free software; you can redistribute it and/or
005: * modify it under the terms of the GNU General Public License
006: * as published by the Free Software Foundation; either version 2
007: * of the License, or (at your option) any later version.
008: *
009: * This program is distributed in the hope that it will be useful,
010: * but WITHOUT ANY WARRANTY; without even the implied warranty of
011: * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
012: * GNU General Public License for more details.
013: *
014: * You should have received a copy of the GNU General Public License
015: * along with this program; if not, write to the Free Software
016: * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
017: *
018: */
019:
020: //
021: // This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v1.0.4-b18-fcs
022: // See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
023: // Any modifications to this file will be lost upon recompilation of the source schema.
024: // Generated on: 2005.03.04 at 10:20:40 PST
025: //
026:
027: package com.nabhinc.portal.config;
028:
029: /**
030: * Portlet persistent preference store.
031: * Used in: portlet
032: *
033: * Java content class for portlet-preferencesType complex type.
034: * <p>The following schema fragment specifies the expected content contained within this java content object. (defined at file:/C:/Sun/jwsdp-1.5/jaxb/lib/portlet-app_1_0.xsd line 305)
035: * <p>
036: * <pre>
037: * <complexType name="portlet-preferencesType">
038: * <complexContent>
039: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
040: * <sequence>
041: * <element name="preference" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}preferenceType" maxOccurs="unbounded" minOccurs="0"/>
042: * <element name="preferences-validator" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}preferences-validatorType" minOccurs="0"/>
043: * </sequence>
044: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
045: * </restriction>
046: * </complexContent>
047: * </complexType>
048: * </pre>
049: *
050: */
051: public interface PortletPreferencesType {
052:
053: /**
054: * Gets the value of the Preference property.
055: *
056: * <p>
057: * This accessor method returns a reference to the live list,
058: * not a snapshot. Therefore any modification you make to the
059: * returned list will be present inside the JAXB object.
060: * This is why there is not a <CODE>set</CODE> method for the Preference property.
061: *
062: * <p>
063: * For example, to add a new item, do as follows:
064: * <pre>
065: * getPreference().add(newItem);
066: * </pre>
067: *
068: *
069: * <p>
070: * Objects of the following type(s) are allowed in the list
071: * {@link com.nabhinc.portal.config.PreferenceType}
072: *
073: */
074: java.util.List getPreference();
075:
076: /**
077: * Gets the value of the preferencesValidator property.
078: *
079: * @return
080: * possible object is
081: * {@link java.lang.String}
082: */
083: java.lang.String getPreferencesValidator();
084:
085: /**
086: * Sets the value of the preferencesValidator property.
087: *
088: * @param value
089: * allowed object is
090: * {@link java.lang.String}
091: */
092: void setPreferencesValidator(java.lang.String value);
093:
094: /**
095: * Gets the value of the id property.
096: *
097: * @return
098: * possible object is
099: * {@link java.lang.String}
100: */
101: java.lang.String getId();
102:
103: /**
104: * Sets the value of the id property.
105: *
106: * @param value
107: * allowed object is
108: * {@link java.lang.String}
109: */
110: void setId(java.lang.String value);
111:
112: }
|