|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectnet.sourceforge.ccxjc.it.model.prot.collections.valueclass.portlet.app200.PreferenceType
public class 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_2_0.xsd}nameType"/>
<element name="value" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}valueType" maxOccurs="unbounded" minOccurs="0"/>
<element name="read-only" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}read-onlyType" minOccurs="0"/>
</sequence>
<attribute name="id" type="{http://java.sun.com/xml/ns/portlet/portlet-app_2_0.xsd}string" />
</restriction>
</complexContent>
</complexType>
| Field Summary | |
|---|---|
protected String |
id
|
protected NameType |
name
|
protected ReadOnlyType |
readOnly
|
protected List<ValueType> |
value
|
| Constructor Summary | |
|---|---|
PreferenceType()
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.portlet.app200.PreferenceType instance. |
|
PreferenceType(PreferenceType o)
Creates a new net.sourceforge.ccxjc.it.model.prot.collections.valueclass.portlet.app200.PreferenceType instance by copying a given instance. |
|
| Method Summary | |
|---|---|
PreferenceType |
clone()
Creates and returns a copy of this object. |
protected static void |
copyValue(List<ValueType> source,
List<ValueType> target)
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. |
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. |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
protected NameType name
protected List<ValueType> value
protected ReadOnlyType readOnly
protected String id
| Constructor Detail |
|---|
public PreferenceType()
net.sourceforge.ccxjc.it.model.prot.collections.valueclass.portlet.app200.PreferenceType instance.
public PreferenceType(PreferenceType o)
net.sourceforge.ccxjc.it.model.prot.collections.valueclass.portlet.app200.PreferenceType instance by copying a given instance.
o - The instance to copy or null.| Method Detail |
|---|
public NameType getName()
NameTypepublic void setName(NameType value)
value - allowed object is
NameTypepublic List<ValueType> getValue()
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
public ReadOnlyType getReadOnly()
ReadOnlyTypepublic void setReadOnly(ReadOnlyType value)
value - allowed object is
ReadOnlyTypepublic String getId()
Stringpublic void setId(String value)
value - allowed object is
String
protected static void copyValue(List<ValueType> source,
List<ValueType> target)
Value.
target - The target to copy source to.source - The source to copy from.
NullPointerException - if source or target is null.public PreferenceType clone()
clone in class Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||