Gets the value of the preference 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 preference property.
For example, to add a new item, do as follows:
getPreference().add(newItem);
Objects of the following type(s) are allowed in the list
{@link Preference }
if (preference == null) {
preference = new ArrayList<Preference>();
}
return this.preference;