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.documentlibrary.model;
016    
017    import aQute.bnd.annotation.ProviderType;
018    
019    import java.sql.Blob;
020    
021    /**
022     * The Blob model class for lazy loading the data column in DLContent.
023     *
024     * @author Brian Wing Shun Chan
025     * @see DLContent
026     * @generated
027     */
028    @ProviderType
029    public class DLContentDataBlobModel {
030            public DLContentDataBlobModel() {
031            }
032    
033            public DLContentDataBlobModel(long contentId) {
034                    _contentId = contentId;
035            }
036    
037            public DLContentDataBlobModel(long contentId, Blob dataBlob) {
038                    _contentId = contentId;
039                    _dataBlob = dataBlob;
040            }
041    
042            public long getContentId() {
043                    return _contentId;
044            }
045    
046            public void setContentId(long contentId) {
047                    _contentId = contentId;
048            }
049    
050            public Blob getDataBlob() {
051                    return _dataBlob;
052            }
053    
054            public void setDataBlob(Blob dataBlob) {
055                    _dataBlob = dataBlob;
056            }
057    
058            private long _contentId;
059            private Blob _dataBlob;
060    }