com.emc.storageos.model.vpool.ProtocolAssignments Maven / Gradle / Ivy
/*
* 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