public class StringList extends Object implements Serializable
Constructor and Description |
---|
StringList() |
Modifier and Type | Method and Description |
---|---|
List<String> |
getString()
Gets the value of the string property.
|
public List<String> getString()
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 string property.
For example, to add a new item, do as follows:
getString().add(newItem);
Objects of the following type(s) are allowed in the list
String
Copyright © 2019 JBoss by Red Hat. All rights reserved.