/*
* Copyright (c) 2014 Red Hat, Inc. and/or its affiliates.
*
* 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:
* Cheng Fang - Initial API and implementation
*/
package org.jberet.support.io;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlRootElement;
@XmlRootElement(name = "topmoviesboxoffice2012")
@XmlAccessorType(XmlAccessType.FIELD)
public final class Movies {
@XmlElement(name = "t", type = Movie.class)
private List<Movie> movies = new ArrayList<Movie>();
public List<Movie> getMovies() {
return movies;
}
public void setMovies(final List<Movie> movies) {
this.movies = movies;
}
}