|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.xmlhammer.model.preferences.HistoryList
public class HistoryList
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 |
---|
protected java.util.List<java.lang.String> value
protected java.lang.Integer size
Constructor Detail |
---|
public HistoryList()
Method Detail |
---|
public java.util.List<java.lang.String> 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
String
public int getSize()
Integer
public void setSize(java.lang.Integer value)
value
- allowed object is
Integer
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |