001    /*
002     * Apache License
003     * Version 2.0, January 2004
004     * http://www.apache.org/licenses/
005     *
006     * Copyright 2008 by chenillekit.org
007     *
008     * Licensed under the Apache License, Version 2.0 (the "License");
009     * you may not use this file except in compliance with the License.
010     * You may obtain a copy of the License at
011     *
012     * http://www.apache.org/licenses/LICENSE-2.0
013     *
014     */
015    
016    package org.chenillekit.tapestry.core.utils;
017    
018    /**
019     * holder class for YouTube video informations.
020     *
021     * @version $Id: ProtoTubeIdHolder.java 588 2009-11-10 21:55:07Z homburgs $
022     */
023    public class ProtoTubeIdHolder
024    {
025            /**
026             * the YouTube video id
027             */
028            private String id;
029    
030            /**
031             * title that should displayed for this video thumb 
032             */
033            private String title;
034    
035            public ProtoTubeIdHolder(String id, String title)
036            {
037                    this.id = id;
038                    this.title = title;
039            }
040    
041            public String getId()
042            {
043                    return id;
044            }
045    
046            public void setId(String id)
047            {
048                    this.id = id;
049            }
050    
051            public String getTitle()
052            {
053                    return title;
054            }
055    
056            public void setTitle(String title)
057            {
058                    this.title = title;
059            }
060    }