001    /**
002     * Copyright (c) 2000-2012 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.portal.model.impl;
016    
017    import com.liferay.portal.model.Resource;
018    
019    /**
020     * @author Brian Wing Shun Chan
021     */
022    public class ResourceImpl implements Resource {
023    
024            public ResourceImpl() {
025            }
026    
027            public long getCodeId() {
028                    return _codeId;
029            }
030    
031            public long getCompanyId() {
032                    return _companyId;
033            }
034    
035            public String getName() {
036                    return _name;
037            }
038    
039            public String getPrimKey() {
040                    return _primKey;
041            }
042    
043            public long getResourceId() {
044                    return _resourceId;
045            }
046    
047            public int getScope() {
048                    return _scope;
049            }
050    
051            public void setCodeId(long codeId) {
052                    _codeId = codeId;
053            }
054    
055            public void setCompanyId(long companyId) {
056                    _companyId = companyId;
057            }
058    
059            public void setName(String name) {
060                    _name = name;
061            }
062    
063            public void setPrimKey(String primKey) {
064                    _primKey = primKey;
065            }
066    
067            public void setResourceId(long resourceId) {
068                    _resourceId = resourceId;
069            }
070    
071            public void setScope(int scope) {
072                    _scope = scope;
073            }
074    
075            private long _codeId;
076            private long _companyId;
077            private String _name;
078            private String _primKey;
079            private long _resourceId;
080            private int _scope;
081    
082    }