001/*
002 * (C) Copyright 2006-2007 Nuxeo SAS <http://nuxeo.com> and others
003 *
004 * All rights reserved. This program and the accompanying materials
005 * are made available under the terms of the Eclipse Public License v1.0
006 * which accompanies this distribution, and is available at
007 * http://www.eclipse.org/legal/epl-v10.html
008 *
009 * Contributors:
010 *     Jean-Marc Orliaguet, Chalmers
011 *
012 * $Id$
013 */
014
015package org.nuxeo.theme.vocabularies;
016
017public final class VocabularyItem {
018
019    private String value = "";
020
021    private String label = "";
022
023    public VocabularyItem(String value) {
024        this(value, value);
025    }
026
027    public VocabularyItem(String value, String label) {
028        this.value = value;
029        this.label = label;
030    }
031
032    public String getLabel() {
033        return label;
034    }
035
036    public String getValue() {
037        return value;
038    }
039
040    public void setLabel(String label) {
041        this.label = label;
042    }
043
044    public void setValue(String value) {
045        this.value = value;
046    }
047
048}