| 1 | |
package org.kuali.rice.core.api.util.jaxb; |
| 2 | |
|
| 3 | |
import org.kuali.rice.core.api.mo.AbstractDataTransferObject; |
| 4 | |
import org.w3c.dom.Element; |
| 5 | |
|
| 6 | |
import javax.xml.bind.annotation.XmlAccessType; |
| 7 | |
import javax.xml.bind.annotation.XmlAccessorType; |
| 8 | |
import javax.xml.bind.annotation.XmlAnyElement; |
| 9 | |
import javax.xml.bind.annotation.XmlElement; |
| 10 | |
import javax.xml.bind.annotation.XmlType; |
| 11 | |
import java.util.ArrayList; |
| 12 | |
import java.util.Collection; |
| 13 | |
import java.util.Collections; |
| 14 | |
import java.util.List; |
| 15 | |
|
| 16 | |
|
| 17 | |
|
| 18 | |
|
| 19 | |
|
| 20 | |
|
| 21 | |
|
| 22 | |
|
| 23 | |
@XmlAccessorType(XmlAccessType.FIELD) |
| 24 | |
@XmlType(name = "MultiValuedStringMapEntryListType") |
| 25 | |
public class MultiValuedStringMapEntryList extends AbstractDataTransferObject { |
| 26 | |
|
| 27 | |
private static final long serialVersionUID = 1L; |
| 28 | |
|
| 29 | |
@XmlElement(name = "entry") |
| 30 | |
private final List<MultiValuedStringMapEntry> entries; |
| 31 | |
|
| 32 | 0 | @SuppressWarnings("unused") @XmlAnyElement |
| 33 | |
private final Collection<Element> _futureElements = null; |
| 34 | |
|
| 35 | |
@SuppressWarnings("unused") |
| 36 | 0 | MultiValuedStringMapEntryList() { |
| 37 | 0 | this.entries = null; |
| 38 | 0 | } |
| 39 | |
|
| 40 | 0 | public MultiValuedStringMapEntryList(List<MultiValuedStringMapEntry> entries) { |
| 41 | 0 | this.entries = new ArrayList<MultiValuedStringMapEntry>(entries); |
| 42 | 0 | } |
| 43 | |
|
| 44 | |
|
| 45 | |
|
| 46 | |
|
| 47 | |
public List<MultiValuedStringMapEntry> getEntries() { |
| 48 | 0 | if (this.entries == null) { |
| 49 | 0 | return Collections.emptyList(); |
| 50 | |
} |
| 51 | 0 | return Collections.unmodifiableList(entries); |
| 52 | |
} |
| 53 | |
} |