All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.nedap.archie.rm.datastructures.ItemList Maven / Gradle / Ivy

package com.nedap.archie.rm.datastructures;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlType;
import java.util.ArrayList;
import java.util.List;

/**
 * Created by pieter.bos on 04/11/15.
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "ITEM_LIST", propOrder = {
        "items"
})
public class ItemList extends ItemStructure {

        private List items = new ArrayList<>();

        public List getItems() {
                return items;
        }

        public void setItems(List items) {
                this.items = items;
                setThisAsParent(items, "items");
        }

        public void addItem(Element item) {
                this.items.add(item);
                setThisAsParent(item, "items");
        }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy