1
22
23 package com.liferay.portal.model.impl;
24
25 import com.liferay.portal.kernel.bean.ReadOnlyBeanHandler;
26 import com.liferay.portal.kernel.util.GetterUtil;
27 import com.liferay.portal.kernel.util.HtmlUtil;
28 import com.liferay.portal.model.PasswordPolicy;
29 import com.liferay.portal.model.PasswordPolicySoap;
30
31 import com.liferay.portlet.expando.model.ExpandoBridge;
32 import com.liferay.portlet.expando.model.impl.ExpandoBridgeImpl;
33
34 import java.io.Serializable;
35
36 import java.lang.reflect.Proxy;
37
38 import java.sql.Types;
39
40 import java.util.ArrayList;
41 import java.util.Date;
42 import java.util.List;
43
44
64 public class PasswordPolicyModelImpl extends BaseModelImpl<PasswordPolicy> {
65 public static final String TABLE_NAME = "PasswordPolicy";
66 public static final Object[][] TABLE_COLUMNS = {
67 { "passwordPolicyId", new Integer(Types.BIGINT) },
68
69
70 { "companyId", new Integer(Types.BIGINT) },
71
72
73 { "userId", new Integer(Types.BIGINT) },
74
75
76 { "userName", new Integer(Types.VARCHAR) },
77
78
79 { "createDate", new Integer(Types.TIMESTAMP) },
80
81
82 { "modifiedDate", new Integer(Types.TIMESTAMP) },
83
84
85 { "defaultPolicy", new Integer(Types.BOOLEAN) },
86
87
88 { "name", new Integer(Types.VARCHAR) },
89
90
91 { "description", new Integer(Types.VARCHAR) },
92
93
94 { "changeable", new Integer(Types.BOOLEAN) },
95
96
97 { "changeRequired", new Integer(Types.BOOLEAN) },
98
99
100 { "minAge", new Integer(Types.BIGINT) },
101
102
103 { "checkSyntax", new Integer(Types.BOOLEAN) },
104
105
106 { "allowDictionaryWords", new Integer(Types.BOOLEAN) },
107
108
109 { "minLength", new Integer(Types.INTEGER) },
110
111
112 { "history", new Integer(Types.BOOLEAN) },
113
114
115 { "historyCount", new Integer(Types.INTEGER) },
116
117
118 { "expireable", new Integer(Types.BOOLEAN) },
119
120
121 { "maxAge", new Integer(Types.BIGINT) },
122
123
124 { "warningTime", new Integer(Types.BIGINT) },
125
126
127 { "graceLimit", new Integer(Types.INTEGER) },
128
129
130 { "lockout", new Integer(Types.BOOLEAN) },
131
132
133 { "maxFailure", new Integer(Types.INTEGER) },
134
135
136 { "lockoutDuration", new Integer(Types.BIGINT) },
137
138
139 { "requireUnlock", new Integer(Types.BOOLEAN) },
140
141
142 { "resetFailureCount", new Integer(Types.BIGINT) }
143 };
144 public static final String TABLE_SQL_CREATE = "create table PasswordPolicy (passwordPolicyId LONG not null primary key,companyId LONG,userId LONG,userName VARCHAR(75) null,createDate DATE null,modifiedDate DATE null,defaultPolicy BOOLEAN,name VARCHAR(75) null,description STRING null,changeable BOOLEAN,changeRequired BOOLEAN,minAge LONG,checkSyntax BOOLEAN,allowDictionaryWords BOOLEAN,minLength INTEGER,history BOOLEAN,historyCount INTEGER,expireable BOOLEAN,maxAge LONG,warningTime LONG,graceLimit INTEGER,lockout BOOLEAN,maxFailure INTEGER,lockoutDuration LONG,requireUnlock BOOLEAN,resetFailureCount LONG)";
145 public static final String TABLE_SQL_DROP = "drop table PasswordPolicy";
146 public static final String DATA_SOURCE = "liferayDataSource";
147 public static final String SESSION_FACTORY = "liferaySessionFactory";
148 public static final String TX_MANAGER = "liferayTransactionManager";
149 public static final boolean ENTITY_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
150 "value.object.entity.cache.enabled.com.liferay.portal.model.PasswordPolicy"),
151 true);
152 public static final boolean FINDER_CACHE_ENABLED = GetterUtil.getBoolean(com.liferay.portal.util.PropsUtil.get(
153 "value.object.finder.cache.enabled.com.liferay.portal.model.PasswordPolicy"),
154 true);
155
156 public static PasswordPolicy toModel(PasswordPolicySoap soapModel) {
157 PasswordPolicy model = new PasswordPolicyImpl();
158
159 model.setPasswordPolicyId(soapModel.getPasswordPolicyId());
160 model.setCompanyId(soapModel.getCompanyId());
161 model.setUserId(soapModel.getUserId());
162 model.setUserName(soapModel.getUserName());
163 model.setCreateDate(soapModel.getCreateDate());
164 model.setModifiedDate(soapModel.getModifiedDate());
165 model.setDefaultPolicy(soapModel.getDefaultPolicy());
166 model.setName(soapModel.getName());
167 model.setDescription(soapModel.getDescription());
168 model.setChangeable(soapModel.getChangeable());
169 model.setChangeRequired(soapModel.getChangeRequired());
170 model.setMinAge(soapModel.getMinAge());
171 model.setCheckSyntax(soapModel.getCheckSyntax());
172 model.setAllowDictionaryWords(soapModel.getAllowDictionaryWords());
173 model.setMinLength(soapModel.getMinLength());
174 model.setHistory(soapModel.getHistory());
175 model.setHistoryCount(soapModel.getHistoryCount());
176 model.setExpireable(soapModel.getExpireable());
177 model.setMaxAge(soapModel.getMaxAge());
178 model.setWarningTime(soapModel.getWarningTime());
179 model.setGraceLimit(soapModel.getGraceLimit());
180 model.setLockout(soapModel.getLockout());
181 model.setMaxFailure(soapModel.getMaxFailure());
182 model.setLockoutDuration(soapModel.getLockoutDuration());
183 model.setRequireUnlock(soapModel.getRequireUnlock());
184 model.setResetFailureCount(soapModel.getResetFailureCount());
185
186 return model;
187 }
188
189 public static List<PasswordPolicy> toModels(PasswordPolicySoap[] soapModels) {
190 List<PasswordPolicy> models = new ArrayList<PasswordPolicy>(soapModels.length);
191
192 for (PasswordPolicySoap soapModel : soapModels) {
193 models.add(toModel(soapModel));
194 }
195
196 return models;
197 }
198
199 public static final long LOCK_EXPIRATION_TIME = GetterUtil.getLong(com.liferay.portal.util.PropsUtil.get(
200 "lock.expiration.time.com.liferay.portal.model.PasswordPolicy"));
201
202 public PasswordPolicyModelImpl() {
203 }
204
205 public long getPrimaryKey() {
206 return _passwordPolicyId;
207 }
208
209 public void setPrimaryKey(long pk) {
210 setPasswordPolicyId(pk);
211 }
212
213 public Serializable getPrimaryKeyObj() {
214 return new Long(_passwordPolicyId);
215 }
216
217 public long getPasswordPolicyId() {
218 return _passwordPolicyId;
219 }
220
221 public void setPasswordPolicyId(long passwordPolicyId) {
222 _passwordPolicyId = passwordPolicyId;
223 }
224
225 public long getCompanyId() {
226 return _companyId;
227 }
228
229 public void setCompanyId(long companyId) {
230 _companyId = companyId;
231
232 if (!_setOriginalCompanyId) {
233 _setOriginalCompanyId = true;
234
235 _originalCompanyId = companyId;
236 }
237 }
238
239 public long getOriginalCompanyId() {
240 return _originalCompanyId;
241 }
242
243 public long getUserId() {
244 return _userId;
245 }
246
247 public void setUserId(long userId) {
248 _userId = userId;
249 }
250
251 public String getUserName() {
252 return GetterUtil.getString(_userName);
253 }
254
255 public void setUserName(String userName) {
256 _userName = userName;
257 }
258
259 public Date getCreateDate() {
260 return _createDate;
261 }
262
263 public void setCreateDate(Date createDate) {
264 _createDate = createDate;
265 }
266
267 public Date getModifiedDate() {
268 return _modifiedDate;
269 }
270
271 public void setModifiedDate(Date modifiedDate) {
272 _modifiedDate = modifiedDate;
273 }
274
275 public boolean getDefaultPolicy() {
276 return _defaultPolicy;
277 }
278
279 public boolean isDefaultPolicy() {
280 return _defaultPolicy;
281 }
282
283 public void setDefaultPolicy(boolean defaultPolicy) {
284 _defaultPolicy = defaultPolicy;
285
286 if (!_setOriginalDefaultPolicy) {
287 _setOriginalDefaultPolicy = true;
288
289 _originalDefaultPolicy = defaultPolicy;
290 }
291 }
292
293 public boolean getOriginalDefaultPolicy() {
294 return _originalDefaultPolicy;
295 }
296
297 public String getName() {
298 return GetterUtil.getString(_name);
299 }
300
301 public void setName(String name) {
302 _name = name;
303
304 if (_originalName == null) {
305 _originalName = name;
306 }
307 }
308
309 public String getOriginalName() {
310 return GetterUtil.getString(_originalName);
311 }
312
313 public String getDescription() {
314 return GetterUtil.getString(_description);
315 }
316
317 public void setDescription(String description) {
318 _description = description;
319 }
320
321 public boolean getChangeable() {
322 return _changeable;
323 }
324
325 public boolean isChangeable() {
326 return _changeable;
327 }
328
329 public void setChangeable(boolean changeable) {
330 _changeable = changeable;
331 }
332
333 public boolean getChangeRequired() {
334 return _changeRequired;
335 }
336
337 public boolean isChangeRequired() {
338 return _changeRequired;
339 }
340
341 public void setChangeRequired(boolean changeRequired) {
342 _changeRequired = changeRequired;
343 }
344
345 public long getMinAge() {
346 return _minAge;
347 }
348
349 public void setMinAge(long minAge) {
350 _minAge = minAge;
351 }
352
353 public boolean getCheckSyntax() {
354 return _checkSyntax;
355 }
356
357 public boolean isCheckSyntax() {
358 return _checkSyntax;
359 }
360
361 public void setCheckSyntax(boolean checkSyntax) {
362 _checkSyntax = checkSyntax;
363 }
364
365 public boolean getAllowDictionaryWords() {
366 return _allowDictionaryWords;
367 }
368
369 public boolean isAllowDictionaryWords() {
370 return _allowDictionaryWords;
371 }
372
373 public void setAllowDictionaryWords(boolean allowDictionaryWords) {
374 _allowDictionaryWords = allowDictionaryWords;
375 }
376
377 public int getMinLength() {
378 return _minLength;
379 }
380
381 public void setMinLength(int minLength) {
382 _minLength = minLength;
383 }
384
385 public boolean getHistory() {
386 return _history;
387 }
388
389 public boolean isHistory() {
390 return _history;
391 }
392
393 public void setHistory(boolean history) {
394 _history = history;
395 }
396
397 public int getHistoryCount() {
398 return _historyCount;
399 }
400
401 public void setHistoryCount(int historyCount) {
402 _historyCount = historyCount;
403 }
404
405 public boolean getExpireable() {
406 return _expireable;
407 }
408
409 public boolean isExpireable() {
410 return _expireable;
411 }
412
413 public void setExpireable(boolean expireable) {
414 _expireable = expireable;
415 }
416
417 public long getMaxAge() {
418 return _maxAge;
419 }
420
421 public void setMaxAge(long maxAge) {
422 _maxAge = maxAge;
423 }
424
425 public long getWarningTime() {
426 return _warningTime;
427 }
428
429 public void setWarningTime(long warningTime) {
430 _warningTime = warningTime;
431 }
432
433 public int getGraceLimit() {
434 return _graceLimit;
435 }
436
437 public void setGraceLimit(int graceLimit) {
438 _graceLimit = graceLimit;
439 }
440
441 public boolean getLockout() {
442 return _lockout;
443 }
444
445 public boolean isLockout() {
446 return _lockout;
447 }
448
449 public void setLockout(boolean lockout) {
450 _lockout = lockout;
451 }
452
453 public int getMaxFailure() {
454 return _maxFailure;
455 }
456
457 public void setMaxFailure(int maxFailure) {
458 _maxFailure = maxFailure;
459 }
460
461 public long getLockoutDuration() {
462 return _lockoutDuration;
463 }
464
465 public void setLockoutDuration(long lockoutDuration) {
466 _lockoutDuration = lockoutDuration;
467 }
468
469 public boolean getRequireUnlock() {
470 return _requireUnlock;
471 }
472
473 public boolean isRequireUnlock() {
474 return _requireUnlock;
475 }
476
477 public void setRequireUnlock(boolean requireUnlock) {
478 _requireUnlock = requireUnlock;
479 }
480
481 public long getResetFailureCount() {
482 return _resetFailureCount;
483 }
484
485 public void setResetFailureCount(long resetFailureCount) {
486 _resetFailureCount = resetFailureCount;
487 }
488
489 public PasswordPolicy toEscapedModel() {
490 if (isEscapedModel()) {
491 return (PasswordPolicy)this;
492 }
493 else {
494 PasswordPolicy model = new PasswordPolicyImpl();
495
496 model.setNew(isNew());
497 model.setEscapedModel(true);
498
499 model.setPasswordPolicyId(getPasswordPolicyId());
500 model.setCompanyId(getCompanyId());
501 model.setUserId(getUserId());
502 model.setUserName(HtmlUtil.escape(getUserName()));
503 model.setCreateDate(getCreateDate());
504 model.setModifiedDate(getModifiedDate());
505 model.setDefaultPolicy(getDefaultPolicy());
506 model.setName(HtmlUtil.escape(getName()));
507 model.setDescription(HtmlUtil.escape(getDescription()));
508 model.setChangeable(getChangeable());
509 model.setChangeRequired(getChangeRequired());
510 model.setMinAge(getMinAge());
511 model.setCheckSyntax(getCheckSyntax());
512 model.setAllowDictionaryWords(getAllowDictionaryWords());
513 model.setMinLength(getMinLength());
514 model.setHistory(getHistory());
515 model.setHistoryCount(getHistoryCount());
516 model.setExpireable(getExpireable());
517 model.setMaxAge(getMaxAge());
518 model.setWarningTime(getWarningTime());
519 model.setGraceLimit(getGraceLimit());
520 model.setLockout(getLockout());
521 model.setMaxFailure(getMaxFailure());
522 model.setLockoutDuration(getLockoutDuration());
523 model.setRequireUnlock(getRequireUnlock());
524 model.setResetFailureCount(getResetFailureCount());
525
526 model = (PasswordPolicy)Proxy.newProxyInstance(PasswordPolicy.class.getClassLoader(),
527 new Class[] { PasswordPolicy.class },
528 new ReadOnlyBeanHandler(model));
529
530 return model;
531 }
532 }
533
534 public ExpandoBridge getExpandoBridge() {
535 if (_expandoBridge == null) {
536 _expandoBridge = new ExpandoBridgeImpl(PasswordPolicy.class.getName(),
537 getPrimaryKey());
538 }
539
540 return _expandoBridge;
541 }
542
543 public Object clone() {
544 PasswordPolicyImpl clone = new PasswordPolicyImpl();
545
546 clone.setPasswordPolicyId(getPasswordPolicyId());
547 clone.setCompanyId(getCompanyId());
548 clone.setUserId(getUserId());
549 clone.setUserName(getUserName());
550 clone.setCreateDate(getCreateDate());
551 clone.setModifiedDate(getModifiedDate());
552 clone.setDefaultPolicy(getDefaultPolicy());
553 clone.setName(getName());
554 clone.setDescription(getDescription());
555 clone.setChangeable(getChangeable());
556 clone.setChangeRequired(getChangeRequired());
557 clone.setMinAge(getMinAge());
558 clone.setCheckSyntax(getCheckSyntax());
559 clone.setAllowDictionaryWords(getAllowDictionaryWords());
560 clone.setMinLength(getMinLength());
561 clone.setHistory(getHistory());
562 clone.setHistoryCount(getHistoryCount());
563 clone.setExpireable(getExpireable());
564 clone.setMaxAge(getMaxAge());
565 clone.setWarningTime(getWarningTime());
566 clone.setGraceLimit(getGraceLimit());
567 clone.setLockout(getLockout());
568 clone.setMaxFailure(getMaxFailure());
569 clone.setLockoutDuration(getLockoutDuration());
570 clone.setRequireUnlock(getRequireUnlock());
571 clone.setResetFailureCount(getResetFailureCount());
572
573 return clone;
574 }
575
576 public int compareTo(PasswordPolicy passwordPolicy) {
577 long pk = passwordPolicy.getPrimaryKey();
578
579 if (getPrimaryKey() < pk) {
580 return -1;
581 }
582 else if (getPrimaryKey() > pk) {
583 return 1;
584 }
585 else {
586 return 0;
587 }
588 }
589
590 public boolean equals(Object obj) {
591 if (obj == null) {
592 return false;
593 }
594
595 PasswordPolicy passwordPolicy = null;
596
597 try {
598 passwordPolicy = (PasswordPolicy)obj;
599 }
600 catch (ClassCastException cce) {
601 return false;
602 }
603
604 long pk = passwordPolicy.getPrimaryKey();
605
606 if (getPrimaryKey() == pk) {
607 return true;
608 }
609 else {
610 return false;
611 }
612 }
613
614 public int hashCode() {
615 return (int)getPrimaryKey();
616 }
617
618 public String toString() {
619 StringBuilder sb = new StringBuilder();
620
621 sb.append("{passwordPolicyId=");
622 sb.append(getPasswordPolicyId());
623 sb.append(", companyId=");
624 sb.append(getCompanyId());
625 sb.append(", userId=");
626 sb.append(getUserId());
627 sb.append(", userName=");
628 sb.append(getUserName());
629 sb.append(", createDate=");
630 sb.append(getCreateDate());
631 sb.append(", modifiedDate=");
632 sb.append(getModifiedDate());
633 sb.append(", defaultPolicy=");
634 sb.append(getDefaultPolicy());
635 sb.append(", name=");
636 sb.append(getName());
637 sb.append(", description=");
638 sb.append(getDescription());
639 sb.append(", changeable=");
640 sb.append(getChangeable());
641 sb.append(", changeRequired=");
642 sb.append(getChangeRequired());
643 sb.append(", minAge=");
644 sb.append(getMinAge());
645 sb.append(", checkSyntax=");
646 sb.append(getCheckSyntax());
647 sb.append(", allowDictionaryWords=");
648 sb.append(getAllowDictionaryWords());
649 sb.append(", minLength=");
650 sb.append(getMinLength());
651 sb.append(", history=");
652 sb.append(getHistory());
653 sb.append(", historyCount=");
654 sb.append(getHistoryCount());
655 sb.append(", expireable=");
656 sb.append(getExpireable());
657 sb.append(", maxAge=");
658 sb.append(getMaxAge());
659 sb.append(", warningTime=");
660 sb.append(getWarningTime());
661 sb.append(", graceLimit=");
662 sb.append(getGraceLimit());
663 sb.append(", lockout=");
664 sb.append(getLockout());
665 sb.append(", maxFailure=");
666 sb.append(getMaxFailure());
667 sb.append(", lockoutDuration=");
668 sb.append(getLockoutDuration());
669 sb.append(", requireUnlock=");
670 sb.append(getRequireUnlock());
671 sb.append(", resetFailureCount=");
672 sb.append(getResetFailureCount());
673 sb.append("}");
674
675 return sb.toString();
676 }
677
678 public String toXmlString() {
679 StringBuilder sb = new StringBuilder();
680
681 sb.append("<model><model-name>");
682 sb.append("com.liferay.portal.model.PasswordPolicy");
683 sb.append("</model-name>");
684
685 sb.append(
686 "<column><column-name>passwordPolicyId</column-name><column-value><![CDATA[");
687 sb.append(getPasswordPolicyId());
688 sb.append("]]></column-value></column>");
689 sb.append(
690 "<column><column-name>companyId</column-name><column-value><![CDATA[");
691 sb.append(getCompanyId());
692 sb.append("]]></column-value></column>");
693 sb.append(
694 "<column><column-name>userId</column-name><column-value><![CDATA[");
695 sb.append(getUserId());
696 sb.append("]]></column-value></column>");
697 sb.append(
698 "<column><column-name>userName</column-name><column-value><![CDATA[");
699 sb.append(getUserName());
700 sb.append("]]></column-value></column>");
701 sb.append(
702 "<column><column-name>createDate</column-name><column-value><![CDATA[");
703 sb.append(getCreateDate());
704 sb.append("]]></column-value></column>");
705 sb.append(
706 "<column><column-name>modifiedDate</column-name><column-value><![CDATA[");
707 sb.append(getModifiedDate());
708 sb.append("]]></column-value></column>");
709 sb.append(
710 "<column><column-name>defaultPolicy</column-name><column-value><![CDATA[");
711 sb.append(getDefaultPolicy());
712 sb.append("]]></column-value></column>");
713 sb.append(
714 "<column><column-name>name</column-name><column-value><![CDATA[");
715 sb.append(getName());
716 sb.append("]]></column-value></column>");
717 sb.append(
718 "<column><column-name>description</column-name><column-value><![CDATA[");
719 sb.append(getDescription());
720 sb.append("]]></column-value></column>");
721 sb.append(
722 "<column><column-name>changeable</column-name><column-value><![CDATA[");
723 sb.append(getChangeable());
724 sb.append("]]></column-value></column>");
725 sb.append(
726 "<column><column-name>changeRequired</column-name><column-value><![CDATA[");
727 sb.append(getChangeRequired());
728 sb.append("]]></column-value></column>");
729 sb.append(
730 "<column><column-name>minAge</column-name><column-value><![CDATA[");
731 sb.append(getMinAge());
732 sb.append("]]></column-value></column>");
733 sb.append(
734 "<column><column-name>checkSyntax</column-name><column-value><![CDATA[");
735 sb.append(getCheckSyntax());
736 sb.append("]]></column-value></column>");
737 sb.append(
738 "<column><column-name>allowDictionaryWords</column-name><column-value><![CDATA[");
739 sb.append(getAllowDictionaryWords());
740 sb.append("]]></column-value></column>");
741 sb.append(
742 "<column><column-name>minLength</column-name><column-value><![CDATA[");
743 sb.append(getMinLength());
744 sb.append("]]></column-value></column>");
745 sb.append(
746 "<column><column-name>history</column-name><column-value><![CDATA[");
747 sb.append(getHistory());
748 sb.append("]]></column-value></column>");
749 sb.append(
750 "<column><column-name>historyCount</column-name><column-value><![CDATA[");
751 sb.append(getHistoryCount());
752 sb.append("]]></column-value></column>");
753 sb.append(
754 "<column><column-name>expireable</column-name><column-value><![CDATA[");
755 sb.append(getExpireable());
756 sb.append("]]></column-value></column>");
757 sb.append(
758 "<column><column-name>maxAge</column-name><column-value><![CDATA[");
759 sb.append(getMaxAge());
760 sb.append("]]></column-value></column>");
761 sb.append(
762 "<column><column-name>warningTime</column-name><column-value><![CDATA[");
763 sb.append(getWarningTime());
764 sb.append("]]></column-value></column>");
765 sb.append(
766 "<column><column-name>graceLimit</column-name><column-value><![CDATA[");
767 sb.append(getGraceLimit());
768 sb.append("]]></column-value></column>");
769 sb.append(
770 "<column><column-name>lockout</column-name><column-value><![CDATA[");
771 sb.append(getLockout());
772 sb.append("]]></column-value></column>");
773 sb.append(
774 "<column><column-name>maxFailure</column-name><column-value><![CDATA[");
775 sb.append(getMaxFailure());
776 sb.append("]]></column-value></column>");
777 sb.append(
778 "<column><column-name>lockoutDuration</column-name><column-value><![CDATA[");
779 sb.append(getLockoutDuration());
780 sb.append("]]></column-value></column>");
781 sb.append(
782 "<column><column-name>requireUnlock</column-name><column-value><![CDATA[");
783 sb.append(getRequireUnlock());
784 sb.append("]]></column-value></column>");
785 sb.append(
786 "<column><column-name>resetFailureCount</column-name><column-value><![CDATA[");
787 sb.append(getResetFailureCount());
788 sb.append("]]></column-value></column>");
789
790 sb.append("</model>");
791
792 return sb.toString();
793 }
794
795 private long _passwordPolicyId;
796 private long _companyId;
797 private long _originalCompanyId;
798 private boolean _setOriginalCompanyId;
799 private long _userId;
800 private String _userName;
801 private Date _createDate;
802 private Date _modifiedDate;
803 private boolean _defaultPolicy;
804 private boolean _originalDefaultPolicy;
805 private boolean _setOriginalDefaultPolicy;
806 private String _name;
807 private String _originalName;
808 private String _description;
809 private boolean _changeable;
810 private boolean _changeRequired;
811 private long _minAge;
812 private boolean _checkSyntax;
813 private boolean _allowDictionaryWords;
814 private int _minLength;
815 private boolean _history;
816 private int _historyCount;
817 private boolean _expireable;
818 private long _maxAge;
819 private long _warningTime;
820 private int _graceLimit;
821 private boolean _lockout;
822 private int _maxFailure;
823 private long _lockoutDuration;
824 private boolean _requireUnlock;
825 private long _resetFailureCount;
826 private transient ExpandoBridge _expandoBridge;
827 }