001/** 002 * Copyright 2015 Tampere University of Technology, Pori Department 003 * 004 * Licensed under the Apache License, Version 2.0 (the "License"); 005 * you may not use this file except in compliance with the License. 006 * You may obtain a copy of the License at 007 * 008 * http://www.apache.org/licenses/LICENSE-2.0 009 * 010 * Unless required by applicable law or agreed to in writing, software 011 * distributed under the License is distributed on an "AS IS" BASIS, 012 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 013 * See the License for the specific language governing permissions and 014 * limitations under the License. 015 */ 016package service.tut.pori.contentanalysis.video; 017 018import javax.xml.bind.annotation.XmlAccessType; 019import javax.xml.bind.annotation.XmlAccessorType; 020import javax.xml.bind.annotation.XmlElement; 021import javax.xml.bind.annotation.XmlRootElement; 022 023import service.tut.pori.contentanalysis.TaskResponse; 024 025/** 026 * Class for representing a response received from a back-end to a previously submitted analysis task. 027 * 028 * <h3>XML Example</h3> 029 * 030 * {@doc.restlet service="[service.tut.pori.contentanalysis.video.reference.Definitions#SERVICE_VCA_REFERENCE_EXAMPLE]" method="[service.tut.pori.contentanalysis.Definitions#ELEMENT_TASK_RESULTS]" type="GET" query="" body_uri=""} 031 * 032 * @see service.tut.pori.contentanalysis.video.VideoList 033 */ 034@XmlRootElement(name=service.tut.pori.contentanalysis.Definitions.ELEMENT_TASK_RESULTS) 035@XmlAccessorType(XmlAccessType.NONE) 036public class VideoTaskResponse extends TaskResponse { 037 @XmlElement(name = Definitions.ELEMENT_VIDEOLIST) 038 private VideoList _videoList = null; 039 040 /** 041 * @return the videoList 042 * @see #setVideoList(VideoList) 043 */ 044 public VideoList getVideoList() { 045 return _videoList; 046 } 047 048 /** 049 * @param videoList the videoList to set 050 * @see #getVideoList() 051 */ 052 public void setVideoList(VideoList videoList) { 053 _videoList = videoList; 054 } 055}