org.xmlhammer.model.preferences
Class Preferences.Views

java.lang.Object
  extended by org.xmlhammer.model.preferences.Preferences.Views
Enclosing class:
Preferences

public static class Preferences.Views
extends java.lang.Object

Java class for anonymous complex type.

The following schema fragment specifies the expected content contained within this class.

 <complexType>
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence maxOccurs="unbounded">
         <element name="view" type="{http://www.w3.org/2001/XMLSchema}anyURI"/>
       </sequence>
       <attribute name="selected" type="{http://www.w3.org/2001/XMLSchema}int" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.Integer selected
           
protected  java.util.List<java.lang.String> view
           
 
Constructor Summary
Preferences.Views()
           
 
Method Summary
 java.lang.Integer getSelected()
          Gets the value of the selected property.
 java.util.List<java.lang.String> getView()
          Gets the value of the view property.
 void setSelected(java.lang.Integer value)
          Sets the value of the selected property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

view

protected java.util.List<java.lang.String> view

selected

protected java.lang.Integer selected
Constructor Detail

Preferences.Views

public Preferences.Views()
Method Detail

getView

public java.util.List<java.lang.String> getView()
Gets the value of the view 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 view property.

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

    getView().add(newItem);
 

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


getSelected

public java.lang.Integer getSelected()
Gets the value of the selected property.

Returns:
possible object is Integer

setSelected

public void setSelected(java.lang.Integer value)
Sets the value of the selected property.

Parameters:
value - allowed object is Integer


Copyright 2005-2005-2008 Edwin Dankert. All Rights Reserved.