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: * Persistent preference values that may be used for customization
031: * and personalization by the portlet.
032: * Used in: portlet-preferences
033: *
034: * Java content class for preferenceType complex type.
035: * <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 318)
036: * <p>
037: * <pre>
038: * <complexType name="preferenceType">
039: * <complexContent>
040: * <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
041: * <sequence>
042: * <element name="name" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}nameType"/>
043: * <element name="value" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}valueType" maxOccurs="unbounded" minOccurs="0"/>
044: * <element name="read-only" type="{http://java.sun.com/xml/ns/portlet/portlet-app_1_0.xsd}read-onlyType" minOccurs="0"/>
045: * </sequence>
046: * <attribute name="id" type="{http://www.w3.org/2001/XMLSchema}string" />
047: * </restriction>
048: * </complexContent>
049: * </complexType>
050: * </pre>
051: *
052: */
053: public interface PreferenceType {
054:
055: /**
056: * Gets the value of the Value property.
057: *
058: * <p>
059: * This accessor method returns a reference to the live list,
060: * not a snapshot. Therefore any modification you make to the
061: * returned list will be present inside the JAXB object.
062: * This is why there is not a <CODE>set</CODE> method for the Value property.
063: *
064: * <p>
065: * For example, to add a new item, do as follows:
066: * <pre>
067: * getValue().add(newItem);
068: * </pre>
069: *
070: *
071: * <p>
072: * Objects of the following type(s) are allowed in the list
073: * {@link com.nabhinc.portal.config.ValueType}
074: *
075: */
076: java.util.List getValue();
077:
078: /**
079: * Gets the value of the readOnly property.
080: *
081: * @return
082: * possible object is
083: * {@link java.lang.String}
084: */
085: java.lang.String getReadOnly();
086:
087: /**
088: * Sets the value of the readOnly property.
089: *
090: * @param value
091: * allowed object is
092: * {@link java.lang.String}
093: */
094: void setReadOnly(java.lang.String value);
095:
096: /**
097: * Gets the value of the name property.
098: *
099: * @return
100: * possible object is
101: * {@link com.nabhinc.portal.config.NameType}
102: */
103: com.nabhinc.portal.config.NameType getName();
104:
105: /**
106: * Sets the value of the name property.
107: *
108: * @param value
109: * allowed object is
110: * {@link com.nabhinc.portal.config.NameType}
111: */
112: void setName(com.nabhinc.portal.config.NameType value);
113:
114: /**
115: * Gets the value of the id property.
116: *
117: * @return
118: * possible object is
119: * {@link java.lang.String}
120: */
121: java.lang.String getId();
122:
123: /**
124: * Sets the value of the id property.
125: *
126: * @param value
127: * allowed object is
128: * {@link java.lang.String}
129: */
130: void setId(java.lang.String value);
131:
132: }
|