Produced by Araxis Merge on 12/13/2018 10:35:27 AM Eastern Standard Time. See www.araxis.com for information about Merge. This report uses XHTML and CSS2, and is best viewed with a modern standards-compliant browser. For optimum results when printing this report, use landscape orientation and enable printing of background images and colours in your browser.
| # | Location | File | Last Modified |
|---|---|---|---|
| 1 | v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\model\ldap | LdapGroup.java | Fri Dec 7 17:36:36 2018 UTC |
| 2 | v12.5_iter_7_build 51.zip\TRM_Upgrade\src\main\java\gov\va\med\fw\model\ldap | LdapGroup.java | Wed Dec 12 22:13:29 2018 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 2 | 234 |
| Changed | 1 | 2 |
| Inserted | 0 | 0 |
| Removed | 0 | 0 |
| Whitespace | |
|---|---|
| Character case | Differences in character case are significant |
| Line endings | Differences in line endings (CR and LF characters) are ignored |
| CR/LF characters | Not shown in the comparison detail |
No regular expressions were active.
| 1 | /********* ********** ********** ********** ********** ********** ********* | |
| 2 | * Copyrii ght 2008 V HA. All ri ghts reser ved | |
| 3 | ********* ********** ********** ********** ********** ********** *********/ | |
| 4 | package go v.va.med.f w.model.ld ap; | |
| 5 | ||
| 6 | import jav a.io.Seria lizable; | |
| 7 | import jav a.util.Arr ayList; | |
| 8 | import jav a.util.Lis t; | |
| 9 | import jav a.util.Set ; | |
| 10 | import jav a.util.Tre eSet; | |
| 11 | ||
| 12 | import org .apache.co mmons.lang .builder.E qualsBuild er; | |
| 13 | import org .apache.co mmons.lang .builder.H ashCodeBui lder; | |
| 14 | ||
| 15 | /** | |
| 16 | * Class r epresentin g an Ldap Group | |
| 17 | * | |
| 18 | * CISS ci ss_framewo rk Jun 23, 2008 | |
| 19 | * | |
| 20 | * @author
|
|
| 21 | */ | |
| 22 | public cla ss LdapGro up impleme nts Serial izable { | |
| 23 | pr ivate stat ic final l ong serial VersionUID = -360943 1174845703 79L; | |
| 24 | pr ivate Stri ng cnName; | |
| 25 | pr ivate Stri ng disting uishedName ; | |
| 26 | pr ivate Set members = new TreeSe t(); | |
| 27 | pr ivate List ouList = new ArrayL ist(); | |
| 28 | pr ivate Stri ng groupTy pe; | |
| 29 | pr ivate Stri ng samAcco untName; | |
| 30 | ||
| 31 | /* * | |
| 32 | * @return R eturns a S et of Dist inguished Names for Members be longing to the | |
| 33 | * L dap Group. | |
| 34 | * / | |
| 35 | pu blic Set g etMembers( ) { | |
| 36 | retu rn members ; | |
| 37 | } | |
| 38 | ||
| 39 | /* * | |
| 40 | * @param me mbers | |
| 41 | * The Set of Group M embers' Di stinguishe d Names to set. | |
| 42 | * / | |
| 43 | pu blic void setMembers (Set membe rs) { | |
| 44 | this .members = members; | |
| 45 | } | |
| 46 | ||
| 47 | /* * | |
| 48 | * @return R eturns the CN (Name) of the Ld ap Group. | |
| 49 | * / | |
| 50 | pu blic Strin g getCnNam e() { | |
| 51 | retu rn cnName; | |
| 52 | } | |
| 53 | ||
| 54 | /* * | |
| 55 | * @param cn Name | |
| 56 | * The CN ( Name) to s et. | |
| 57 | * / | |
| 58 | pu blic void setCnName( String cnN ame) { | |
| 59 | this .cnName = cnName; | |
| 60 | } | |
| 61 | ||
| 62 | /* * | |
| 63 | * @return R eturns the Distingui shed Name of the Lda p Group. | |
| 64 | * / | |
| 65 | pu blic Strin g getDisti nguishedNa me() { | |
| 66 | retu rn disting uishedName ; | |
| 67 | } | |
| 68 | ||
| 69 | /* * | |
| 70 | * @param di stinguishe dName | |
| 71 | * The Dist inguished Name to se t. | |
| 72 | * / | |
| 73 | pu blic void setDisting uishedName (String di stinguishe dName) { | |
| 74 | this .distingui shedName = distingui shedName; | |
| 75 | } | |
| 76 | ||
| 77 | /* * | |
| 78 | * @return R eturns the list of O Us for the Ldap Grou p, which s hould incl ude | |
| 79 | * C ISS, Partn ers, and G roups. | |
| 80 | * / | |
| 81 | pu blic List getOuList( ) { | |
| 82 | retu rn ouList; | |
| 83 | } | |
| 84 | ||
| 85 | /* * | |
| 86 | * @param dn | |
| 87 | * The list of OUs to set. | |
| 88 | * / | |
| 89 | pu blic void setOuList( List ouLis t) { | |
| 90 | this .ouList = ouList; | |
| 91 | } | |
| 92 | ||
| 93 | /* * | |
| 94 | * @return R eturns the sAMAccoun tName of t he Ldap Gr oup. | |
| 95 | * / | |
| 96 | pu blic Strin g getSamAc countName( ) { | |
| 97 | retu rn samAcco untName; | |
| 98 | } | |
| 99 | ||
| 100 | /* * | |
| 101 | * @param sa mAccountNa me | |
| 102 | * The sAMA ccountName to set. | |
| 103 | * / | |
| 104 | pu blic void setSamAcco untName(St ring samAc countName) { | |
| 105 | this .samAccoun tName = sa mAccountNa me; | |
| 106 | } | |
| 107 | ||
| 108 | pu blic boole an equals( Object obj ) { | |
| 109 | if ( obj == nul l || getCl ass() != o bj.getClas s()) { | |
| 110 | return false; | |
| 111 | } | |
| 112 | retu rn EqualsB uilder.ref lectionEqu als(this, obj); | |
| 113 | } | |
| 114 | ||
| 115 | pu blic int h ashCode() { | |
| 116 | retu rn HashCod eBuilder.r eflectionH ashCode(th is); | |
| 117 | } | |
| 118 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.