001    /*
002     * 
003     * $Revision: 1.1 $ $Date: 2009/01/13 08:41:14 $
004     *
005     * This file is part of ***  M y C o R e  ***
006     * See http://www.mycore.de/ for details.
007     *
008     * This program is free software; you can use it, redistribute it
009     * and / or modify it under the terms of the GNU General Public License
010     * (GPL) as published by the Free Software Foundation; either version 2
011     * of the License or (at your option) any later version.
012     *
013     * This program is distributed in the hope that it will be useful, but
014     * WITHOUT ANY WARRANTY; without even the implied warranty of
015     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
016     * GNU General Public License for more details.
017     *
018     * You should have received a copy of the GNU General Public License
019     * along with this program, in a file called gpl.txt or license.txt.
020     * If not, write to the Free Software Foundation Inc.,
021     * 59 Temple Place - Suite 330, Boston, MA  02111-1307 USA
022     */
023    
024    
025    package org.mycore.frontend.metsmods;
026    /**
027     * @author Stefan Freitag
028     * @version $Revision: 1.1 $ $Date: 2009/01/13 08:41:14 $
029     */
030    public class MCRMetsModsPicture {
031    
032            String picture;
033            int order;
034            String orderlabel;
035            
036            public MCRMetsModsPicture(String picture, int order, String orderlabel)
037            {
038                    this.picture = picture;
039                    this.order = order;
040                    this.orderlabel = orderlabel;
041            }
042            
043            public int getOrder()
044            {
045                    return this.order;
046            }
047            
048            public String getOrderlabel()
049            {
050                    return this.orderlabel;
051            }
052            
053            public String getPicture()
054            {
055                    return this.picture;
056            }
057            
058            public void setOrder(int i)
059            {
060                    this.order = i;
061                    this.orderlabel = String.valueOf(i);
062            }
063            
064            public void setOrderlabel(String i)
065            {
066                    this.orderlabel = i;
067            }
068            
069            public void show()
070            {
071                    System.out.println("Picture: "+picture+" Order: "+order+" Orderlabel: "+orderlabel);
072            }
073    }