Source Code Cross Referenced for PublishedAttachmentData.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » tool » assessment » data » dao » assessment » Java Source Code / Java DocumentationJava Source Code and Java Documentation

Java Source Code / Java Documentation
1. 6.0 JDK Core
2. 6.0 JDK Modules
3. 6.0 JDK Modules com.sun
4. 6.0 JDK Modules com.sun.java
5. 6.0 JDK Modules sun
6. 6.0 JDK Platform
7. Ajax
8. Apache Harmony Java SE
9. Aspect oriented
10. Authentication Authorization
11. Blogger System
12. Build
13. Byte Code
14. Cache
15. Chart
16. Chat
17. Code Analyzer
18. Collaboration
19. Content Management System
20. Database Client
21. Database DBMS
22. Database JDBC Connection Pool
23. Database ORM
24. Development
25. EJB Server geronimo
26. EJB Server GlassFish
27. EJB Server JBoss 4.2.1
28. EJB Server resin 3.1.5
29. ERP CRM Financial
30. ESB
31. Forum
32. GIS
33. Graphic Library
34. Groupware
35. HTML Parser
36. IDE
37. IDE Eclipse
38. IDE Netbeans
39. Installer
40. Internationalization Localization
41. Inversion of Control
42. Issue Tracking
43. J2EE
44. JBoss
45. JMS
46. JMX
47. Library
48. Mail Clients
49. Net
50. Parser
51. PDF
52. Portal
53. Profiler
54. Project Management
55. Report
56. RSS RDF
57. Rule Engine
58. Science
59. Scripting
60. Search Engine
61. Security
62. Sevlet Container
63. Source Control
64. Swing Library
65. Template Engine
66. Test Coverage
67. Testing
68. UML
69. Web Crawler
70. Web Framework
71. Web Mail
72. Web Server
73. Web Services
74. Web Services apache cxf 2.0.1
75. Web Services AXIS2
76. Wiki Engine
77. Workflow Engines
78. XML
79. XML UI
Java
Java Tutorial
Java Open Source
Jar File Download
Java Articles
Java Products
Java by API
Photoshop Tutorials
Maya Tutorials
Flash Tutorials
3ds-Max Tutorials
Illustrator Tutorials
GIMP Tutorials
C# / C Sharp
C# / CSharp Tutorial
C# / CSharp Open Source
ASP.Net
ASP.NET Tutorial
JavaScript DHTML
JavaScript Tutorial
JavaScript Reference
HTML / CSS
HTML CSS Reference
C / ANSI-C
C Tutorial
C++
C++ Tutorial
Ruby
PHP
Python
Python Tutorial
Python Open Source
SQL Server / T-SQL
SQL Server / T-SQL Tutorial
Oracle PL / SQL
Oracle PL/SQL Tutorial
PostgreSQL
SQL / MySQL
MySQL Tutorial
VB.Net
VB.Net Tutorial
Flash / Flex / ActionScript
VBA / Excel / Access / Word
XML
XML Tutorial
Microsoft Office PowerPoint 2007 Tutorial
Microsoft Office Excel 2007 Tutorial
Microsoft Office Word 2007 Tutorial
Java Source Code / Java Documentation » ERP CRM Financial » sakai » org.sakaiproject.tool.assessment.data.dao.assessment 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**********************************************************************************
002:         * $URL: https://source.sakaiproject.org/svn/sam/trunk/samigo-hibernate/src/java/org/sakaiproject/tool/assessment/data/dao/grading/MediaData.java $
003:         * $Id: MediaData.java 11438 2006-06-30 20:06:03Z daisyf@stanford.edu $
004:         ***********************************************************************************
005:         *
006:         * Copyright (c) 2004, 2005, 2006 The Sakai Foundation.
007:         *
008:         * Licensed under the Educational Community License, Version 1.0 (the"License");
009:         * you may not use this file except in compliance with the License.
010:         * You may obtain a copy of the License at
011:         *
012:         *      http://www.opensource.org/licenses/ecl1.php
013:         *
014:         * Unless required by applicable law or agreed to in writing, software
015:         * distributed under the License is distributed on an "AS IS" BASIS,
016:         * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
017:         * See the License for the specific language governing permissions and
018:         * limitations under the License.
019:         *
020:         **********************************************************************************/package org.sakaiproject.tool.assessment.data.dao.assessment;
021:
022:        import org.sakaiproject.tool.assessment.data.ifc.assessment.AttachmentIfc;
023:        import org.sakaiproject.tool.assessment.data.ifc.assessment.ItemDataIfc;
024:        import java.io.Serializable;
025:        import java.util.Date;
026:
027:        //import java.util.ResourceBundle;
028:
029:        public class PublishedAttachmentData implements  Serializable,
030:                AttachmentIfc {
031:
032:            /**
033:             * 
034:             */
035:            private static final long serialVersionUID = -7673339618446778553L;
036:            private Long attachmentId;
037:            private ItemDataIfc item;
038:            private String resourceId;
039:            private String filename;
040:            private String mimeType;
041:            private Long fileSize; // in kilobyte
042:            private String description;
043:            private String location;
044:            private Boolean isLink;
045:            private Integer status;
046:            private String createdBy;
047:            private Date createdDate;
048:            private String lastModifiedBy;
049:            private Date lastModifiedDate;
050:            private Long attachmentType;
051:
052:            public PublishedAttachmentData() {
053:            }
054:
055:            public PublishedAttachmentData(String resourceId,
056:                    Long attachmentType, String filename, String mimeType,
057:                    Long fileSize, String description, String location,
058:                    Boolean isLink, Integer status, String createdBy,
059:                    Date createdDate, String lastModifiedBy,
060:                    Date lastModifiedDate) {
061:                this .resourceId = resourceId;
062:                this .attachmentType = attachmentType;
063:                this .filename = filename;
064:                this .mimeType = mimeType;
065:                this .fileSize = fileSize;
066:                this .description = description;
067:                this .location = location;
068:                this .isLink = isLink;
069:                this .status = status;
070:                this .createdBy = createdBy;
071:                this .createdDate = createdDate;
072:                this .lastModifiedBy = lastModifiedBy;
073:                this .lastModifiedDate = lastModifiedDate;
074:            }
075:
076:            public PublishedAttachmentData(Long attachmentId,
077:                    String resourceId, Long attachmentType, String filename,
078:                    String mimeType, Long fileSize, String description,
079:                    String location, Boolean isLink, Integer status,
080:                    String createdBy, Date createdDate, String lastModifiedBy,
081:                    Date lastModifiedDate) {
082:                this .attachmentId = attachmentId;
083:                this .resourceId = resourceId;
084:                this .attachmentType = attachmentType;
085:                this .filename = filename;
086:                this .mimeType = mimeType;
087:                this .fileSize = fileSize;
088:                this .description = description;
089:                this .location = location;
090:                this .isLink = isLink;
091:                this .status = status;
092:                this .createdBy = createdBy;
093:                this .createdDate = createdDate;
094:                this .lastModifiedBy = lastModifiedBy;
095:                this .lastModifiedDate = lastModifiedDate;
096:            }
097:
098:            public Long getAttachmentId() {
099:                return attachmentId;
100:            }
101:
102:            public void setAttachmentId(Long attachmentId) {
103:                this .attachmentId = attachmentId;
104:            }
105:
106:            public String getResourceId() {
107:                return resourceId;
108:            }
109:
110:            public void setResourceId(String resourceId) {
111:                this .resourceId = resourceId;
112:            }
113:
114:            public String getFilename() {
115:                return filename;
116:            }
117:
118:            public void setFilename(String filename) {
119:                this .filename = filename;
120:            }
121:
122:            public void setMimeType(String mimeType) {
123:                this .mimeType = mimeType;
124:            }
125:
126:            public String getMimeType() {
127:                return mimeType;
128:            }
129:
130:            public Long getFileSize() {
131:                return fileSize;
132:            }
133:
134:            public void setFileSize(Long fileSize) {
135:                this .fileSize = fileSize;
136:            }
137:
138:            public String getDescription() {
139:                return description;
140:            }
141:
142:            public void setDescription(String pdescription) {
143:                description = pdescription;
144:            }
145:
146:            public String getLocation() {
147:                return location;
148:            }
149:
150:            public void setLocation(String location) {
151:                this .location = location;
152:            }
153:
154:            public Boolean getIsLink() {
155:                return isLink;
156:            }
157:
158:            public void setIsLink(Boolean isLink) {
159:                this .isLink = isLink;
160:            }
161:
162:            public Integer getStatus() {
163:                return this .status;
164:            }
165:
166:            public void setStatus(Integer status) {
167:                this .status = status;
168:            }
169:
170:            public String getCreatedBy() {
171:                return this .createdBy;
172:            }
173:
174:            public void setCreatedBy(String createdBy) {
175:                this .createdBy = createdBy;
176:            }
177:
178:            public Date getCreatedDate() {
179:                return this .createdDate;
180:            }
181:
182:            public void setCreatedDate(Date createdDate) {
183:                this .createdDate = createdDate;
184:            }
185:
186:            public String getLastModifiedBy() {
187:                return this .lastModifiedBy;
188:            }
189:
190:            public void setLastModifiedBy(String lastModifiedBy) {
191:                this .lastModifiedBy = lastModifiedBy;
192:            }
193:
194:            public Date getLastModifiedDate() {
195:                return this .lastModifiedDate;
196:            }
197:
198:            public void setLastModifiedDate(Date lastModifiedDate) {
199:                this .lastModifiedDate = lastModifiedDate;
200:            }
201:
202:            public Long getAttachmentType() {
203:                return attachmentType;
204:            }
205:
206:            public void setAttachmentType(Long attachmentType) {
207:            }
208:
209:        }
w__ww.__j___a_v__a2_s.__c__o___m___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.