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