001/*
002 *  Copyright 2017 Anyware Services
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 org.ametys.plugins.odfsync.apogee.scc;
017
018import org.ametys.runtime.i18n.I18nizableText;
019
020/**
021 * Criterion for Apogee.
022 */
023public class ApogeeCriterion
024{
025    private String _id;
026    private I18nizableText _label;
027    private String _type;
028    
029    /**
030     * Constructor.
031     * @param id the id
032     * @param label the label
033     * @param type the type
034     */
035    public ApogeeCriterion(String id, I18nizableText label, String type)
036    {
037        this._id = id;
038        this._label = label;
039        this._type = type;
040    }
041    
042    /**
043     * Get the id.
044     * @return the id
045     */
046    public String getId()
047    {
048        return _id;
049    }
050    
051    /**
052     * Get the label.
053     * @return the label
054     */
055    public I18nizableText getLabel()
056    {
057        return _label;
058    }
059    
060    /**
061     * Get the type.
062     * @return the type
063     */
064    public String getType()
065    {
066        return _type;
067    }
068}