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

com.emc.storageos.model.project.ProjectList Maven / Gradle / Ivy

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

import com.emc.storageos.model.NamedRelatedResourceRep;

import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
import java.util.ArrayList;
import java.util.List;

@XmlRootElement(name = "projects")
public class ProjectList {
    private List projects;

    public ProjectList() {
    }

    public ProjectList(List projects) {
        this.projects = projects;
    }

    /**
     * List of projects
     * 
     * @valid none
     * @return List of projects
     */
    @XmlElement(name = "project")
    public List getProjects() {
        if (projects == null) {
            projects = new ArrayList();
        }
        return projects;
    }

    public void setProjects(List projects) {
        this.projects = projects;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy