KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > org > infoglue > cms > entities > content > DigitalAssetVO


1 /* ===============================================================================
2  *
3  * Part of the InfoGlue Content Management Platform (www.infoglue.org)
4  *
5  * ===============================================================================
6  *
7  * Copyright (C)
8  *
9  * This program is free software; you can redistribute it and/or modify it under
10  * the terms of the GNU General Public License version 2, as published by the
11  * Free Software Foundation. See the file LICENSE.html for more information.
12  *
13  * This program is distributed in the hope that it will be useful, but WITHOUT
14  * ANY WARRANTY, including the implied warranty of MERCHANTABILITY or FITNESS
15  * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
16  *
17  * You should have received a copy of the GNU General Public License along with
18  * this program; if not, write to the Free Software Foundation, Inc. / 59 Temple
19  * Place, Suite 330 / Boston, MA 02111-1307 / USA.
20  *
21  * ===============================================================================
22  */

23
24 package org.infoglue.cms.entities.content;
25
26 import org.infoglue.cms.entities.kernel.BaseEntityVO;
27 import org.infoglue.cms.util.ConstraintExceptionBuffer;
28
29 public class DigitalAssetVO implements BaseEntityVO, Cloneable JavaDoc
30 {
31
32     private java.lang.Integer JavaDoc digitalAssetId;
33     private java.lang.String JavaDoc assetFileName;
34     private java.lang.String JavaDoc assetKey;
35     private java.lang.String JavaDoc assetFilePath;
36     private java.lang.String JavaDoc assetContentType;
37     private java.lang.Integer JavaDoc assetFileSize;
38     
39
40     /**
41      * @see org.infoglue.cms.entities.kernel.BaseEntityVO#getId()
42      */

43     
44     public Integer JavaDoc getId()
45     {
46         return getDigitalAssetId();
47     }
48     
49     /**
50      * @see org.infoglue.cms.entities.kernel.BaseEntityVO#validate()
51      */

52     
53     public ConstraintExceptionBuffer validate()
54     {
55         return null;
56     }
57       
58     public java.lang.Integer JavaDoc getDigitalAssetId()
59     {
60         return this.digitalAssetId;
61     }
62                 
63     public void setDigitalAssetId(java.lang.Integer JavaDoc digitalAssetId)
64     {
65         this.digitalAssetId = digitalAssetId;
66     }
67     
68     public java.lang.String JavaDoc getAssetFileName()
69     {
70         return this.assetFileName;
71     }
72                 
73     public void setAssetFileName(java.lang.String JavaDoc assetFileName)
74     {
75         this.assetFileName = assetFileName;
76     }
77     
78     public java.lang.String JavaDoc getAssetKey()
79     {
80         return this.assetKey;
81     }
82                 
83     public void setAssetKey(java.lang.String JavaDoc assetKey)
84     {
85         this.assetKey = assetKey;
86     }
87
88     public java.lang.String JavaDoc getAssetFilePath()
89     {
90         return this.assetFilePath;
91     }
92                 
93     public void setAssetFilePath(java.lang.String JavaDoc assetFilePath)
94     {
95         this.assetFilePath = assetFilePath;
96     }
97     
98     public java.lang.String JavaDoc getAssetContentType()
99     {
100         return this.assetContentType;
101     }
102                 
103     public void setAssetContentType(java.lang.String JavaDoc assetContentType)
104     {
105         this.assetContentType = assetContentType;
106     }
107     
108     public java.lang.Integer JavaDoc getAssetFileSize()
109     {
110         return this.assetFileSize;
111     }
112                 
113     public void setAssetFileSize(java.lang.Integer JavaDoc assetFileSize)
114     {
115         this.assetFileSize = assetFileSize;
116     }
117     
118     public DigitalAssetVO createCopy() throws Exception JavaDoc
119     {
120         return (DigitalAssetVO)this.clone();
121     }
122
123 }
124         
125
Popular Tags