/******************************************************************************* | |
* Copyright (c) 2013-2015 LAAS-CNRS (www.laas.fr) | |
* 7 Colonel Roche 31077 Toulouse - France | |
* | |
* All rights reserved. This program and the accompanying materials | |
* are made available under the terms of the Eclipse Public License v1.0 | |
* which accompanies this distribution, and is available at | |
* http://www.eclipse.org/legal/epl-v10.html | |
* | |
* Contributors: | |
* Thierry Monteil (Project co-founder) - Management and initial specification, | |
* conception and documentation. | |
* Mahdi Ben Alaya (Project co-founder) - Management and initial specification, | |
* conception, implementation, test and documentation. | |
* Christophe Chassot - Management and initial specification. | |
* Khalil Drira - Management and initial specification. | |
* Yassine Banouar - Initial specification, conception, implementation, test | |
* and documentation. | |
* Guillaume Garzone - Conception, implementation, test and documentation. | |
* Francois Aissaoui - Conception, implementation, test and documentation. | |
******************************************************************************/ | |
package org.eclipse.om2m.commons.resource; | |
/** | |
* Resources represents a collection of {@link Resource} objects. | |
*/ | |
import java.util.ArrayList; | |
import java.util.List; | |
public class Resources { | |
List<Resource> resources; | |
/** | |
* Gets the value of resources | |
* @return list of the resources | |
*/ | |
public List<Resource> getResources() { | |
if (resources == null) { | |
resources = new ArrayList<Resource>(); | |
} | |
return this.resources; | |
} | |
/** | |
* Sets the value of resources | |
* @param resources | |
*/ | |
public void setResources(List<Resource> resources) { | |
this.resources = resources; | |
} | |
} |