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

com.emc.storageos.model.search.SearchResults 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.search;

import javax.xml.bind.annotation.XmlRootElement;
import javax.xml.bind.annotation.XmlElement;

import java.util.ArrayList;
import java.util.List;
import com.emc.storageos.model.search.SearchResultResourceRep;

/**
 * Resource representation results searched from database
 */
@XmlRootElement(name = "results")
public class SearchResults {
    private List resource;

    public SearchResults() {
    }

    /**
     * A list of resources matching the search parameters
     * 
     * @valid none
     */
    @XmlElement(name = "resource")
    public List getResource() {
        if (resource == null) {
            resource = new ArrayList();
        }
        return resource;
    }

    public void setResource(List resource) {
        this.resource = resource;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy