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

com.emc.storageos.model.vpool.ProtocolAssignments 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.vpool;

import org.codehaus.jackson.annotate.JsonProperty;
import javax.xml.bind.annotation.XmlElement;

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

/**
 * Class captures a list of Protocols to update in VirtualPool.
 */
public class ProtocolAssignments {

    private Set protocols;

    /**
     * Default Constructor.
     */
    public ProtocolAssignments() {
    }

    public ProtocolAssignments(Set protocols) {
        this.protocols = protocols;
    }

    /**
     * The set of protocols.
     * 
     * @valid FC = Fibre Channel (block)
     * @valid ISCSI = Internet Small Computer System Interface (block)
     * @valid FCoE = Fibre Channel over Ethernet (block)
     * @valid NFS = Network File System (file)
     * @valid NFSv4 = Network File System Version 4 (file)
     * @valid CIFS = Common Internet File System (file)
     */
    @XmlElement(name = "protocol")
    @JsonProperty("protocol")
    public Set getProtocols() {
        if (protocols == null) {
            protocols = new HashSet();
        }
        return protocols;
    }

    public void setProtocols(Set protocols) {
        this.protocols = protocols;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy