Source Code Cross Referenced for SSOSession.java in  » Authentication-Authorization » josso-1.7 » org » josso » gateway » session » service » ws » impl » 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 » Authentication Authorization » josso 1.7 » org.josso.gateway.session.service.ws.impl 
Source Cross Referenced  Class Diagram Java Document (Java Doc) 


001:        /**
002:         * SSOSession.java
003:         *
004:         * This file was auto-generated from WSDL
005:         * by the Apache Axis 1.2.1 Jul 21, 2005 (10:26:06 GMT-03:00) WSDL2Java emitter.
006:         */package org.josso.gateway.session.service.ws.impl;
007:
008:        public class SSOSession implements  java.io.Serializable {
009:            private long accessCount;
010:            private long creationTime;
011:            private java.lang.String id;
012:            private long lastAccessTime;
013:            private int maxInactiveInterval;
014:            private java.lang.String username;
015:            private boolean valid;
016:
017:            public SSOSession() {
018:            }
019:
020:            public SSOSession(long accessCount, long creationTime,
021:                    java.lang.String id, long lastAccessTime,
022:                    int maxInactiveInterval, java.lang.String username,
023:                    boolean valid) {
024:                this .accessCount = accessCount;
025:                this .creationTime = creationTime;
026:                this .id = id;
027:                this .lastAccessTime = lastAccessTime;
028:                this .maxInactiveInterval = maxInactiveInterval;
029:                this .username = username;
030:                this .valid = valid;
031:            }
032:
033:            /**
034:             * Gets the accessCount value for this SSOSession.
035:             * 
036:             * @return accessCount
037:             */
038:            public long getAccessCount() {
039:                return accessCount;
040:            }
041:
042:            /**
043:             * Sets the accessCount value for this SSOSession.
044:             * 
045:             * @param accessCount
046:             */
047:            public void setAccessCount(long accessCount) {
048:                this .accessCount = accessCount;
049:            }
050:
051:            /**
052:             * Gets the creationTime value for this SSOSession.
053:             * 
054:             * @return creationTime
055:             */
056:            public long getCreationTime() {
057:                return creationTime;
058:            }
059:
060:            /**
061:             * Sets the creationTime value for this SSOSession.
062:             * 
063:             * @param creationTime
064:             */
065:            public void setCreationTime(long creationTime) {
066:                this .creationTime = creationTime;
067:            }
068:
069:            /**
070:             * Gets the id value for this SSOSession.
071:             * 
072:             * @return id
073:             */
074:            public java.lang.String getId() {
075:                return id;
076:            }
077:
078:            /**
079:             * Sets the id value for this SSOSession.
080:             * 
081:             * @param id
082:             */
083:            public void setId(java.lang.String id) {
084:                this .id = id;
085:            }
086:
087:            /**
088:             * Gets the lastAccessTime value for this SSOSession.
089:             * 
090:             * @return lastAccessTime
091:             */
092:            public long getLastAccessTime() {
093:                return lastAccessTime;
094:            }
095:
096:            /**
097:             * Sets the lastAccessTime value for this SSOSession.
098:             * 
099:             * @param lastAccessTime
100:             */
101:            public void setLastAccessTime(long lastAccessTime) {
102:                this .lastAccessTime = lastAccessTime;
103:            }
104:
105:            /**
106:             * Gets the maxInactiveInterval value for this SSOSession.
107:             * 
108:             * @return maxInactiveInterval
109:             */
110:            public int getMaxInactiveInterval() {
111:                return maxInactiveInterval;
112:            }
113:
114:            /**
115:             * Sets the maxInactiveInterval value for this SSOSession.
116:             * 
117:             * @param maxInactiveInterval
118:             */
119:            public void setMaxInactiveInterval(int maxInactiveInterval) {
120:                this .maxInactiveInterval = maxInactiveInterval;
121:            }
122:
123:            /**
124:             * Gets the username value for this SSOSession.
125:             * 
126:             * @return username
127:             */
128:            public java.lang.String getUsername() {
129:                return username;
130:            }
131:
132:            /**
133:             * Sets the username value for this SSOSession.
134:             * 
135:             * @param username
136:             */
137:            public void setUsername(java.lang.String username) {
138:                this .username = username;
139:            }
140:
141:            /**
142:             * Gets the valid value for this SSOSession.
143:             * 
144:             * @return valid
145:             */
146:            public boolean isValid() {
147:                return valid;
148:            }
149:
150:            /**
151:             * Sets the valid value for this SSOSession.
152:             * 
153:             * @param valid
154:             */
155:            public void setValid(boolean valid) {
156:                this .valid = valid;
157:            }
158:
159:            private java.lang.Object __equalsCalc = null;
160:
161:            public synchronized boolean equals(java.lang.Object obj) {
162:                if (!(obj instanceof  SSOSession))
163:                    return false;
164:                SSOSession other = (SSOSession) obj;
165:                if (obj == null)
166:                    return false;
167:                if (this  == obj)
168:                    return true;
169:                if (__equalsCalc != null) {
170:                    return (__equalsCalc == obj);
171:                }
172:                __equalsCalc = obj;
173:                boolean _equals;
174:                _equals = true
175:                        && this .accessCount == other.getAccessCount()
176:                        && this .creationTime == other.getCreationTime()
177:                        && ((this .id == null && other.getId() == null) || (this .id != null && this .id
178:                                .equals(other.getId())))
179:                        && this .lastAccessTime == other.getLastAccessTime()
180:                        && this .maxInactiveInterval == other
181:                                .getMaxInactiveInterval()
182:                        && ((this .username == null && other.getUsername() == null) || (this .username != null && this .username
183:                                .equals(other.getUsername())))
184:                        && this .valid == other.isValid();
185:                __equalsCalc = null;
186:                return _equals;
187:            }
188:
189:            private boolean __hashCodeCalc = false;
190:
191:            public synchronized int hashCode() {
192:                if (__hashCodeCalc) {
193:                    return 0;
194:                }
195:                __hashCodeCalc = true;
196:                int _hashCode = 1;
197:                _hashCode += new Long(getAccessCount()).hashCode();
198:                _hashCode += new Long(getCreationTime()).hashCode();
199:                if (getId() != null) {
200:                    _hashCode += getId().hashCode();
201:                }
202:                _hashCode += new Long(getLastAccessTime()).hashCode();
203:                _hashCode += getMaxInactiveInterval();
204:                if (getUsername() != null) {
205:                    _hashCode += getUsername().hashCode();
206:                }
207:                _hashCode += (isValid() ? Boolean.TRUE : Boolean.FALSE)
208:                        .hashCode();
209:                __hashCodeCalc = false;
210:                return _hashCode;
211:            }
212:
213:            // Type metadata
214:            private static org.apache.axis.description.TypeDesc typeDesc = new org.apache.axis.description.TypeDesc(
215:                    SSOSession.class, true);
216:
217:            static {
218:                typeDesc.setXmlType(new javax.xml.namespace.QName(
219:                        "http://josso.org/gateway/session/service/ws/impl",
220:                        "SSOSession"));
221:                org.apache.axis.description.ElementDesc elemField = new org.apache.axis.description.ElementDesc();
222:                elemField.setFieldName("accessCount");
223:                elemField.setXmlName(new javax.xml.namespace.QName("",
224:                        "accessCount"));
225:                elemField.setXmlType(new javax.xml.namespace.QName(
226:                        "http://www.w3.org/2001/XMLSchema", "long"));
227:                elemField.setNillable(false);
228:                typeDesc.addFieldDesc(elemField);
229:                elemField = new org.apache.axis.description.ElementDesc();
230:                elemField.setFieldName("creationTime");
231:                elemField.setXmlName(new javax.xml.namespace.QName("",
232:                        "creationTime"));
233:                elemField.setXmlType(new javax.xml.namespace.QName(
234:                        "http://www.w3.org/2001/XMLSchema", "long"));
235:                elemField.setNillable(false);
236:                typeDesc.addFieldDesc(elemField);
237:                elemField = new org.apache.axis.description.ElementDesc();
238:                elemField.setFieldName("id");
239:                elemField.setXmlName(new javax.xml.namespace.QName("", "id"));
240:                elemField.setXmlType(new javax.xml.namespace.QName(
241:                        "http://www.w3.org/2001/XMLSchema", "string"));
242:                elemField.setNillable(true);
243:                typeDesc.addFieldDesc(elemField);
244:                elemField = new org.apache.axis.description.ElementDesc();
245:                elemField.setFieldName("lastAccessTime");
246:                elemField.setXmlName(new javax.xml.namespace.QName("",
247:                        "lastAccessTime"));
248:                elemField.setXmlType(new javax.xml.namespace.QName(
249:                        "http://www.w3.org/2001/XMLSchema", "long"));
250:                elemField.setNillable(false);
251:                typeDesc.addFieldDesc(elemField);
252:                elemField = new org.apache.axis.description.ElementDesc();
253:                elemField.setFieldName("maxInactiveInterval");
254:                elemField.setXmlName(new javax.xml.namespace.QName("",
255:                        "maxInactiveInterval"));
256:                elemField.setXmlType(new javax.xml.namespace.QName(
257:                        "http://www.w3.org/2001/XMLSchema", "int"));
258:                elemField.setNillable(false);
259:                typeDesc.addFieldDesc(elemField);
260:                elemField = new org.apache.axis.description.ElementDesc();
261:                elemField.setFieldName("username");
262:                elemField.setXmlName(new javax.xml.namespace.QName("",
263:                        "username"));
264:                elemField.setXmlType(new javax.xml.namespace.QName(
265:                        "http://www.w3.org/2001/XMLSchema", "string"));
266:                elemField.setNillable(true);
267:                typeDesc.addFieldDesc(elemField);
268:                elemField = new org.apache.axis.description.ElementDesc();
269:                elemField.setFieldName("valid");
270:                elemField
271:                        .setXmlName(new javax.xml.namespace.QName("", "valid"));
272:                elemField.setXmlType(new javax.xml.namespace.QName(
273:                        "http://www.w3.org/2001/XMLSchema", "boolean"));
274:                elemField.setNillable(false);
275:                typeDesc.addFieldDesc(elemField);
276:            }
277:
278:            /**
279:             * Return type metadata object
280:             */
281:            public static org.apache.axis.description.TypeDesc getTypeDesc() {
282:                return typeDesc;
283:            }
284:
285:            /**
286:             * Get Custom Serializer
287:             */
288:            public static org.apache.axis.encoding.Serializer getSerializer(
289:                    java.lang.String mechType, java.lang.Class _javaType,
290:                    javax.xml.namespace.QName _xmlType) {
291:                return new org.apache.axis.encoding.ser.BeanSerializer(
292:                        _javaType, _xmlType, typeDesc);
293:            }
294:
295:            /**
296:             * Get Custom Deserializer
297:             */
298:            public static org.apache.axis.encoding.Deserializer getDeserializer(
299:                    java.lang.String mechType, java.lang.Class _javaType,
300:                    javax.xml.namespace.QName _xmlType) {
301:                return new org.apache.axis.encoding.ser.BeanDeserializer(
302:                        _javaType, _xmlType, typeDesc);
303:            }
304:
305:        }
w_w___w_.___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.