001    /**
002     * Copyright (c) 2000-present Liferay, Inc. All rights reserved.
003     *
004     * This library is free software; you can redistribute it and/or modify it under
005     * the terms of the GNU Lesser General Public License as published by the Free
006     * Software Foundation; either version 2.1 of the License, or (at your option)
007     * any later version.
008     *
009     * This library is distributed in the hope that it will be useful, but WITHOUT
010     * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
011     * FOR A PARTICULAR PURPOSE. See the GNU Lesser General Public License for more
012     * details.
013     */
014    
015    package com.liferay.portlet.ratings.definition;
016    
017    import com.liferay.portlet.ratings.RatingsType;
018    
019    /**
020     * @author Roberto D??az
021     */
022    public class PortletRatingsDefinitionValues {
023    
024            public PortletRatingsDefinitionValues(
025                    String[] classNames, RatingsType defaultRatingsType, String portletId) {
026    
027                    _classNames = classNames;
028                    _defaultRatingsType = defaultRatingsType;
029                    _portletId = portletId;
030            }
031    
032            public String[] getClassNames() {
033                    return _classNames;
034            }
035    
036            public RatingsType getDefaultRatingsType() {
037                    return _defaultRatingsType;
038            }
039    
040            public String getPortletId() {
041                    return _portletId;
042            }
043    
044            private final String[] _classNames;
045            private final RatingsType _defaultRatingsType;
046            private final String _portletId;
047    
048    }