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

com.emc.storageos.model.pools.VirtualArrayAssignments Maven / Gradle / Ivy

There is a newer version: 3.5.0.0
Show newest version
/*
 * Copyright (c) 2008-2013 EMC Corporation
 * All Rights Reserved
 */
package com.emc.storageos.model.pools;

import java.util.HashSet;
import java.util.Set;

import javax.xml.bind.annotation.XmlElement;

import org.codehaus.jackson.annotate.JsonProperty;

/**
 * Class captures a list of URIs for the virtual arrays assigned to the
 * storage pool.
 */
public class VirtualArrayAssignments {

    private Set varrays;

    public VirtualArrayAssignments() {
    }

    public VirtualArrayAssignments(Set varrays) {
        this.varrays = varrays;
    }

    // The set of varray URIs.
    @XmlElement(name = "varray")
    @JsonProperty("varrays")
    public Set getVarrays() {
        if (varrays == null) {
            varrays = new HashSet();
        }
        return varrays;
    }

    public void setVarrays(Set varrays) {
        this.varrays = varrays;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy