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

com.emc.storageos.model.block.RelatedVolumeList 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 com.emc.storageos.model.NamedRelatedResourceRep;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;

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

/**
 * Snapshot creation response
 */
@XmlRootElement(name = "consistent_volumes")
public class RelatedVolumeList {

    private List volumeList;

    public RelatedVolumeList() {
    }

    public RelatedVolumeList(List volumeList) {
        this.volumeList = volumeList;
    }

    /**
     * List of volumes.
     * 
     * @valid none
     */
    @XmlElement(name = "consistent_volume")
    public List getVolumeList() {
        if (volumeList == null) {
            volumeList = new ArrayList();
        }
        return volumeList;
    }

    public void setVolumeList(List volumeList) {
        this.volumeList = volumeList;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy