001/*
002 *  Copyright 2020 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 */
016
017package org.ametys.plugins.odfpilotage.cost.entity;
018
019/**
020 * This class store informations about the norm
021 */
022public class NormDetails
023{
024    /** Norm label */
025    private String _label;
026    
027    /** Effective min sup */
028    private Long _effectiveMinSup;
029    
030    /** Effective max */
031    private Long _effectiveMax;
032    
033    /**
034     * The constructor
035     * @param effMinSup the effective min sup
036     * @param effMax the effective max
037     * @param label the norm label
038     */
039    public NormDetails(Long effMinSup, Long effMax, String label)
040    {
041        _effectiveMinSup = effMinSup;
042        _effectiveMax = effMax;
043        _label = label;
044    }
045
046    /**
047     * Get the effective min sup
048     * @return the effective min sup
049     */
050    public Long getEffectiveMinSup()
051    {
052        return _effectiveMinSup;
053    }
054
055    /**
056     * Get the effective max
057     * @return the effective max
058     */
059    public Long getEffectiveMax()
060    {
061        return _effectiveMax;
062    } 
063    
064    /**
065     * Get the norm label
066     * @return the norm label
067     */
068    public String getNormLabel()
069    {
070        return _label;
071    } 
072}