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