org.xmlhammer.model.preferences
Class HistoryList

java.lang.Object
  extended by org.xmlhammer.model.preferences.HistoryList
Direct Known Subclasses:
CdataSectionElements, Charsets, Directories, DoctypePublics, DoctypeSystems, Expressions, Extensions, Medias, Patterns, Projects, Results, Schemas, Searches, Sources, Stylesheets, Titles

public class HistoryList
extends java.lang.Object

Java class for historyList complex type.

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

 <complexType name="historyList">
   <complexContent>
     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
       <sequence maxOccurs="unbounded" minOccurs="0">
         <element name="value" type="{http://www.w3.org/2001/XMLSchema}string"/>
       </sequence>
       <attribute name="size" type="{http://www.w3.org/2001/XMLSchema}int" default="10" />
     </restriction>
   </complexContent>
 </complexType>
 


Field Summary
protected  java.lang.Integer size
           
protected  java.util.List<java.lang.String> value
           
 
Constructor Summary
HistoryList()
           
 
Method Summary
 int getSize()
          Gets the value of the size property.
 java.util.List<java.lang.String> getValue()
          Gets the value of the value property.
 void setSize(java.lang.Integer value)
          Sets the value of the size property.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

value

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

size

protected java.lang.Integer size
Constructor Detail

HistoryList

public HistoryList()
Method Detail

getValue

public java.util.List<java.lang.String> 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 String


getSize

public int getSize()
Gets the value of the size property.

Returns:
possible object is Integer

setSize

public void setSize(java.lang.Integer value)
Sets the value of the size property.

Parameters:
value - allowed object is Integer


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