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

com.emc.vipr.model.catalog.OrderBulkRep Maven / Gradle / Ivy

There is a newer version: 3.5.0.0
Show newest version
/*
 * Copyright (c) 2015 EMC Corporation
 * All Rights Reserved
 */
package com.emc.vipr.model.catalog;

import java.util.ArrayList;
import java.util.List;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

import com.emc.storageos.model.BulkRestRep;

@XmlRootElement(name = "bulk_orders")
public class OrderBulkRep extends BulkRestRep {

    private List orders;

    public OrderBulkRep() {

    }

    public OrderBulkRep(List orders) {
        this.orders = orders;
    }

    /**
     * List of projects
     * 
     * @valid none
     * @return List of projects
     */
    @XmlElement(name = "order")
    public List getOrders() {
        if (orders == null) {
            orders = new ArrayList<>();
        }
        return orders;
    }

    public void setOrders(List orders) {
        this.orders = orders;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy