/**
 * Distributable under LGPL license.
 * See terms of license at gnu.org.
 *
 * Copyright (C)
 * <a href="http://www.inab.org">Spanish National Institute of Bioinformatics (INB)</a>
 * <a href="http://www.bsc.es">Barcelona Supercomputing Center (BSC)</a>
 * <a href="http://inb.bsc.es">Computational Node 6</a>
 */

package org.inb.wsrf.rp2;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlType;
import javax.xml.namespace.QName;

@XmlType(name="")
@XmlRootElement(name="GetMultipleResourceProperties")
public class GetMultipleResourceProperties
{
    private List<QName> resourceProperties;

    @XmlElement(name="ResourceProperty", required=true)
    public List<QName> getResourceProperties()
    {
        if (resourceProperties == null)
        {
            resourceProperties = new ArrayList<QName>();
        }
        return resourceProperties;
    }
    
    public void addProperty(QName property)
    {
        getResourceProperties().add(property);
    }
}
