/* * ### * Phresco Commons * * Copyright (C) 1999 - 2012 Photon Infotech Inc. * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. * ### */ package com.photon.phresco.model; import java.util.List; import javax.xml.bind.annotation.XmlRootElement; @XmlRootElement public class VideoInfo { private String id; private String name; private String description; private String imageurl; private String categories; private String helpText; private List<VideoType> videoList; private String customerId; public VideoInfo() { } public VideoInfo(String name, String description, String imageurl,String categories,String helpText, List<VideoType> videoList) { this.name = name; this.description = description; this.imageurl = imageurl; this.description = categories; this.helpText = helpText; this.videoList = videoList; } public String getName() { return name; } public void setName(String name) { this.name = name; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } public String getImageurl() { return imageurl; } public void setImageurl(String imageurl) { this.imageurl = imageurl; } public List<VideoType> getVideoList() { return videoList; } public void setVideoList(List<VideoType> videoList) { this.videoList = videoList; } public String getCategories() { return categories; } public void setCategories(String categories) { this.categories = categories; } public String getHelpText() { return helpText; } public void setHelpText(String helpText) { this.helpText = helpText; } public String getId() { return id; } public void setId(String id) { this.id = id; } public String getCustomerId() { return customerId; } public void setCustomerId(String customerId) { this.customerId = customerId; } @Override public String toString() { return "VideoInfo [id=" + id + ", name=" + name + ", description=" + description + ", imageurl=" + imageurl + ", categories=" + categories + ", helpText=" + helpText + ", videoList=" + videoList + ", customerId=" + customerId + "]"; } }