com.emc.storageos.model.varray.VirtualArrayList Maven / Gradle / Ivy
/*
* Copyright (c) 2008-2013 EMC Corporation
* All Rights Reserved
*/
package com.emc.storageos.model.varray;
import com.emc.storageos.model.NamedRelatedResourceRep;
import org.codehaus.jackson.annotate.JsonProperty;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;
/**
* Used for virtual array listing
*/
@XmlRootElement(name = "varrays")
public class VirtualArrayList {
private List varrays;
public VirtualArrayList() {
}
public VirtualArrayList(List varrays) {
this.varrays = varrays;
}
/**
* A virtual array.
*
* @valid none.
*
* @return A virtual array.
*/
@XmlElement(name = "varray")
@JsonProperty("varray")
public List getVirtualArrays() {
if (varrays == null) {
varrays = new ArrayList();
}
return varrays;
}
public void setVirtualArrays(List varrays) {
this.varrays = varrays;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy