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

com.emc.storageos.model.protection.ProtectionSystemConnectivitySiteRestRep Maven / Gradle / Ivy

There is a newer version: 3.5.0.0
Show newest version
/*
 * Copyright (c) 2013 EMC Corporation
 * All Rights Reserved
 */

package com.emc.storageos.model.protection;

import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.*;
import com.emc.storageos.model.RelatedResourceRep;

@XmlRootElement(name = "protection_connectivity_site")
@XmlAccessorType(XmlAccessType.PROPERTY)
public class ProtectionSystemConnectivitySiteRestRep {
    private String siteID;
    private List storageSystems;

    public ProtectionSystemConnectivitySiteRestRep() {
    }

    public ProtectionSystemConnectivitySiteRestRep(String siteID,
            List storageSystems) {
        this.siteID = siteID;
        this.storageSystems = storageSystems;
    }

    /**
     * The Site ID
     * 
     * @valid example: lrmb017
     */
    @XmlElement(name = "site_id")
    public String getSiteID() {
        return siteID;
    }

    public void setSiteID(String siteID) {
        this.siteID = siteID;
    }

    /**
     * The Storage Systems associated to with this Site
     * 
     * @valid 0 or more Storage Systems
     * @valid example: urn:storageos:StorageSystem:f468a1c5-3fe8-4aa9-886f-abc6c6963ebc:
     */
    @XmlElementWrapper(name = "storage_systems")
    @XmlElement(name = "storage_system")
    public List getStorageSystems() {
        if (storageSystems == null) {
            storageSystems = new ArrayList();
        }
        return storageSystems;
    }

    public void setStorageSystems(List storageSystems) {
        this.storageSystems = storageSystems;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy