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

com.emc.storageos.model.block.CopiesParam 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.storageos.model.block;

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

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

/**
 * List of com.emc.storageos.model.block.Copy to be operated on
 */
@XmlRootElement(name = "copies")
public class CopiesParam {

    private List copies;

    public CopiesParam() {
    }

    public CopiesParam(List copies) {
        this.copies = copies;
    }

    /**
     * A list of copies.
     * 
     * @valid none
     */
    @XmlElement(name = "copy")
    public List getCopies() {
        if (copies == null) {
            copies = new ArrayList();
        }
        return copies;
    }

    public void setCopies(List copies) {
        this.copies = copies;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy