Source Code Cross Referenced for MeetingImpl.java in  » ERP-CRM-Financial » sakai » org » sakaiproject » component » section » 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.component.section 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        package org.sakaiproject.component.section;
002:
003:        import java.io.Serializable;
004:        import java.sql.Time;
005:
006:        import org.apache.commons.lang.StringUtils;
007:        import org.sakaiproject.section.api.coursemanagement.Meeting;
008:
009:        public class MeetingImpl implements  Meeting, Serializable {
010:
011:            private static final long serialVersionUID = 1L;
012:
013:            private String location;
014:            private boolean monday;
015:            private boolean tuesday;
016:            private boolean wednesday;
017:            private boolean thursday;
018:            private boolean friday;
019:            private boolean saturday;
020:            private boolean sunday;
021:            private Time startTime;
022:            private Time endTime;
023:
024:            public MeetingImpl() {
025:            }
026:
027:            public MeetingImpl(String location, Time startTime, Time endTime,
028:                    boolean monday, boolean tuesday, boolean wednesday,
029:                    boolean thursday, boolean friday, boolean saturday,
030:                    boolean sunday) {
031:                this .location = location;
032:                this .startTime = startTime;
033:                this .endTime = endTime;
034:                this .monday = monday;
035:                this .tuesday = tuesday;
036:                this .wednesday = wednesday;
037:                this .thursday = thursday;
038:                this .friday = friday;
039:                this .saturday = saturday;
040:                this .sunday = sunday;
041:            }
042:
043:            public MeetingImpl(Meeting meeting) {
044:                this .location = meeting.getLocation();
045:                this .startTime = meeting.getStartTime();
046:                this .endTime = meeting.getEndTime();
047:                this .monday = meeting.isMonday();
048:                this .tuesday = meeting.isTuesday();
049:                this .wednesday = meeting.isWednesday();
050:                this .thursday = meeting.isThursday();
051:                this .friday = meeting.isFriday();
052:                this .saturday = meeting.isSaturday();
053:                this .sunday = meeting.isSunday();
054:            }
055:
056:            public boolean isEmpty() {
057:                return !monday && !tuesday && !wednesday && !thursday
058:                        && !friday && !saturday && !sunday && startTime == null
059:                        && endTime == null
060:                        && StringUtils.trimToNull(location) == null;
061:            }
062:
063:            public Time getEndTime() {
064:                return endTime;
065:            }
066:
067:            public void setEndTime(Time endTime) {
068:                this .endTime = endTime;
069:            }
070:
071:            public boolean isFriday() {
072:                return friday;
073:            }
074:
075:            public void setFriday(boolean friday) {
076:                this .friday = friday;
077:            }
078:
079:            public String getLocation() {
080:                return location;
081:            }
082:
083:            public void setLocation(String location) {
084:                this .location = location;
085:            }
086:
087:            public boolean isMonday() {
088:                return monday;
089:            }
090:
091:            public void setMonday(boolean monday) {
092:                this .monday = monday;
093:            }
094:
095:            public boolean isSaturday() {
096:                return saturday;
097:            }
098:
099:            public void setSaturday(boolean saturday) {
100:                this .saturday = saturday;
101:            }
102:
103:            public Time getStartTime() {
104:                return startTime;
105:            }
106:
107:            public void setStartTime(Time startTime) {
108:                this .startTime = startTime;
109:            }
110:
111:            public boolean isSunday() {
112:                return sunday;
113:            }
114:
115:            public void setSunday(boolean sunday) {
116:                this .sunday = sunday;
117:            }
118:
119:            public boolean isThursday() {
120:                return thursday;
121:            }
122:
123:            public void setThursday(boolean thursday) {
124:                this .thursday = thursday;
125:            }
126:
127:            public boolean isTuesday() {
128:                return tuesday;
129:            }
130:
131:            public void setTuesday(boolean tuesday) {
132:                this .tuesday = tuesday;
133:            }
134:
135:            public boolean isWednesday() {
136:                return wednesday;
137:            }
138:
139:            public void setWednesday(boolean wednesday) {
140:                this.wednesday = wednesday;
141:            }
142:        }
www.java2java.com | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.