Produced by Araxis Merge on 6/9/2017 3:50:22 PM Eastern Daylight 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 | Fri Jun 9 19:50:22 2017 UTC | ||
| 2 | eHealth_Exch (eHealth Exchange Enhancements) Build 3 docs & code_May_2017.zip\VAP_CIF_CODE0502.zip\VAP_CIF_CODE0502\VAP_CIF_CODE0502\nvap-ext-svc-proxy\src\main\java\oasis\names\tc\xacml\_2_0\policy\schema\os | PolicyType.java | Fri Apr 21 20:03:28 2017 UTC |
| Description | Between Files 1 and 2 |
|
|---|---|---|
| Text Blocks | Lines | |
| Unchanged | 0 | 0 |
| Changed | 0 | 0 |
| Inserted | 1 | 284 |
| 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 | package oa sis.names. tc.xacml._ 2_0.policy .schema.os ; | |||||
| 3 | ||||||
| 4 | import jav a.util.Arr ayList; | |||||
| 5 | import jav a.util.Lis t; | |||||
| 6 | import jav ax.xml.bin d.annotati on.XmlAcce ssType; | |||||
| 7 | import jav ax.xml.bin d.annotati on.XmlAcce ssorType; | |||||
| 8 | import jav ax.xml.bin d.annotati on.XmlAttr ibute; | |||||
| 9 | import jav ax.xml.bin d.annotati on.XmlElem ent; | |||||
| 10 | import jav ax.xml.bin d.annotati on.XmlElem ents; | |||||
| 11 | import jav ax.xml.bin d.annotati on.XmlSche maType; | |||||
| 12 | import jav ax.xml.bin d.annotati on.XmlType ; | |||||
| 13 | ||||||
| 14 | ||||||
| 15 | /** | |||||
| 16 | * <p>Java class for PolicyTyp e complex type. | |||||
| 17 | * | |||||
| 18 | * <p>The following schema fra gment spec ifies the expected c ontent con tained wit hin this c lass. | |||||
| 19 | * | |||||
| 20 | * <pre> | |||||
| 21 | * <com plexType n ame="Polic yType"> | |||||
| 22 | * <c omplexCont ent> | |||||
| 23 | * < ;restricti on base="{ http://www .w3.org/20 01/XMLSche ma}anyType "> | |||||
| 24 | * & lt;sequenc e> | |||||
| 25 | * <eleme nt ref="{u rn:oasis:n ames:tc:xa cml:2.0:po licy:schem a:os}Descr iption" mi nOccurs="0 "/> | |||||
| 26 | * <eleme nt ref="{u rn:oasis:n ames:tc:xa cml:2.0:po licy:schem a:os}Polic yDefaults" minOccurs ="0"/> | |||||
| 27 | * <eleme nt ref="{u rn:oasis:n ames:tc:xa cml:2.0:po licy:schem a:os}Targe t"/> | |||||
| 28 | * <choic e maxOccur s="unbound ed"> | |||||
| 29 | * <ele ment ref=" {urn:oasis :names:tc: xacml:2.0: policy:sch ema:os}Com binerParam eters" min Occurs="0" /> | |||||
| 30 | * <ele ment ref=" {urn:oasis :names:tc: xacml:2.0: policy:sch ema:os}Rul eCombinerP arameters" minOccurs ="0"/> | |||||
| 31 | * <ele ment ref=" {urn:oasis :names:tc: xacml:2.0: policy:sch ema:os}Var iableDefin ition"/> | |||||
| 32 | * <ele ment ref=" {urn:oasis :names:tc: xacml:2.0: policy:sch ema:os}Rul e"/> | |||||
| 33 | * </choi ce> | |||||
| 34 | * <eleme nt ref="{u rn:oasis:n ames:tc:xa cml:2.0:po licy:schem a:os}Oblig ations" mi nOccurs="0 "/> | |||||
| 35 | * & lt;/sequen ce> | |||||
| 36 | * & lt;attribu te name="P olicyId" u se="requir ed" type=" {http://ww w.w3.org/2 001/XMLSch ema}anyURI " /> | |||||
| 37 | * & lt;attribu te name="V ersion" ty pe="{urn:o asis:names :tc:xacml: 2.0:policy :schema:os }VersionTy pe" defaul t="1.0" /> | |||||
| 38 | * & lt;attribu te name="R uleCombini ngAlgId" u se="requir ed" type=" {http://ww w.w3.org/2 001/XMLSch ema}anyURI " /> | |||||
| 39 | * < ;/restrict ion> | |||||
| 40 | * </ complexCon tent> | |||||
| 41 | * </co mplexType> | |||||
| 42 | * </pre> | |||||
| 43 | * | |||||
| 44 | * | |||||
| 45 | */ | |||||
| 46 | @XmlAccess orType(Xml AccessType .FIELD) | |||||
| 47 | @XmlType(n ame = "Pol icyType", propOrder = { | |||||
| 48 | "descr iption", | |||||
| 49 | "polic yDefaults" , | |||||
| 50 | "targe t", | |||||
| 51 | "combi nerParamet ersOrRuleC ombinerPar ametersOrV ariableDef inition", | |||||
| 52 | "oblig ations" | |||||
| 53 | }) | |||||
| 54 | public cla ss PolicyT ype { | |||||
| 55 | ||||||
| 56 | @XmlEl ement(name = "Descri ption") | |||||
| 57 | protec ted String descripti on; | |||||
| 58 | @XmlEl ement(name = "Policy Defaults") | |||||
| 59 | protec ted Defaul tsType pol icyDefault s; | |||||
| 60 | @XmlEl ement(name = "Target ", require d = true) | |||||
| 61 | protec ted Target Type targe t; | |||||
| 62 | @XmlEl ements({ | |||||
| 63 | @X mlElement( name = "Ru le", type = RuleType .class), | |||||
| 64 | @X mlElement( name = "Va riableDefi nition", t ype = Vari ableDefini tionType.c lass), | |||||
| 65 | @X mlElement( name = "Ru leCombiner Parameters ", type = RuleCombin erParamete rsType.cla ss), | |||||
| 66 | @X mlElement( name = "Co mbinerPara meters", t ype = Comb inerParame tersType.c lass) | |||||
| 67 | }) | |||||
| 68 | protec ted List<O bject> com binerParam etersOrRul eCombinerP arametersO rVariableD efinition; | |||||
| 69 | @XmlEl ement(name = "Obliga tions") | |||||
| 70 | protec ted Obliga tionsType obligation s; | |||||
| 71 | @XmlAt tribute(na me = "Poli cyId", req uired = tr ue) | |||||
| 72 | @XmlSc hemaType(n ame = "any URI") | |||||
| 73 | protec ted String policyId; | |||||
| 74 | @XmlAt tribute(na me = "Vers ion") | |||||
| 75 | protec ted String version; | |||||
| 76 | @XmlAt tribute(na me = "Rule CombiningA lgId", req uired = tr ue) | |||||
| 77 | @XmlSc hemaType(n ame = "any URI") | |||||
| 78 | protec ted String ruleCombi ningAlgId; | |||||
| 79 | ||||||
| 80 | /** | |||||
| 81 | * Get s the valu e of the d escription property. | |||||
| 82 | * | |||||
| 83 | * @re turn | |||||
| 84 | * possible object is | |||||
| 85 | * {@link St ring } | |||||
| 86 | * | |||||
| 87 | */ | |||||
| 88 | public String ge tDescripti on() { | |||||
| 89 | re turn descr iption; | |||||
| 90 | } | |||||
| 91 | ||||||
| 92 | /** | |||||
| 93 | * Set s the valu e of the d escription property. | |||||
| 94 | * | |||||
| 95 | * @pa ram value | |||||
| 96 | * allowed o bject is | |||||
| 97 | * {@link St ring } | |||||
| 98 | * | |||||
| 99 | */ | |||||
| 100 | public void setD escription (String va lue) { | |||||
| 101 | th is.descrip tion = val ue; | |||||
| 102 | } | |||||
| 103 | ||||||
| 104 | /** | |||||
| 105 | * Get s the valu e of the p olicyDefau lts proper ty. | |||||
| 106 | * | |||||
| 107 | * @re turn | |||||
| 108 | * possible object is | |||||
| 109 | * {@link De faultsType } | |||||
| 110 | * | |||||
| 111 | */ | |||||
| 112 | public DefaultsT ype getPol icyDefault s() { | |||||
| 113 | re turn polic yDefaults; | |||||
| 114 | } | |||||
| 115 | ||||||
| 116 | /** | |||||
| 117 | * Set s the valu e of the p olicyDefau lts proper ty. | |||||
| 118 | * | |||||
| 119 | * @pa ram value | |||||
| 120 | * allowed o bject is | |||||
| 121 | * {@link De faultsType } | |||||
| 122 | * | |||||
| 123 | */ | |||||
| 124 | public void setP olicyDefau lts(Defaul tsType val ue) { | |||||
| 125 | th is.policyD efaults = value; | |||||
| 126 | } | |||||
| 127 | ||||||
| 128 | /** | |||||
| 129 | * Get s the valu e of the t arget prop erty. | |||||
| 130 | * | |||||
| 131 | * @re turn | |||||
| 132 | * possible object is | |||||
| 133 | * {@link Ta rgetType } | |||||
| 134 | * | |||||
| 135 | */ | |||||
| 136 | public TargetTyp e getTarge t() { | |||||
| 137 | re turn targe t; | |||||
| 138 | } | |||||
| 139 | ||||||
| 140 | /** | |||||
| 141 | * Set s the valu e of the t arget prop erty. | |||||
| 142 | * | |||||
| 143 | * @pa ram value | |||||
| 144 | * allowed o bject is | |||||
| 145 | * {@link Ta rgetType } | |||||
| 146 | * | |||||
| 147 | */ | |||||
| 148 | public void setT arget(Targ etType val ue) { | |||||
| 149 | th is.target = value; | |||||
| 150 | } | |||||
| 151 | ||||||
| 152 | /** | |||||
| 153 | * Get s the valu e of the c ombinerPar ametersOrR uleCombine rParameter sOrVariabl eDefinitio n property . | |||||
| 154 | * | |||||
| 155 | * <p> | |||||
| 156 | * Thi s accessor method re turns a re ference to the live list, | |||||
| 157 | * not a snapsho t. Therefo re any mod ification you make t o the | |||||
| 158 | * ret urned list will be p resent ins ide the JA XB object. | |||||
| 159 | * Thi s is why t here is no t a <CODE> set</CODE> method fo r the comb inerParame tersOrRule CombinerPa rametersOr VariableDe finition p roperty. | |||||
| 160 | * | |||||
| 161 | * <p> | |||||
| 162 | * For example, to add a n ew item, d o as follo ws: | |||||
| 163 | * <pr e> | |||||
| 164 | * getCombine rParameter sOrRuleCom binerParam etersOrVar iableDefin ition().ad d(newItem) ; | |||||
| 165 | * </p re> | |||||
| 166 | * | |||||
| 167 | * | |||||
| 168 | * <p> | |||||
| 169 | * Obj ects of th e followin g type(s) are allowe d in the l ist | |||||
| 170 | * {@l ink RuleTy pe } | |||||
| 171 | * {@l ink Variab leDefiniti onType } | |||||
| 172 | * {@l ink RuleCo mbinerPara metersType } | |||||
| 173 | * {@l ink Combin erParamete rsType } | |||||
| 174 | * | |||||
| 175 | * | |||||
| 176 | */ | |||||
| 177 | public List<Obje ct> getCom binerParam etersOrRul eCombinerP arametersO rVariableD efinition( ) { | |||||
| 178 | if (combiner Parameters OrRuleComb inerParame tersOrVari ableDefini tion == nu ll) { | |||||
| 179 | combiner Parameters OrRuleComb inerParame tersOrVari ableDefini tion = new ArrayList <Object>() ; | |||||
| 180 | } | |||||
| 181 | re turn this. combinerPa rametersOr RuleCombin erParamete rsOrVariab leDefiniti on; | |||||
| 182 | } | |||||
| 183 | ||||||
| 184 | /** | |||||
| 185 | * Get s the valu e of the o bligations property. | |||||
| 186 | * | |||||
| 187 | * @re turn | |||||
| 188 | * possible object is | |||||
| 189 | * {@link Ob ligationsT ype } | |||||
| 190 | * | |||||
| 191 | */ | |||||
| 192 | public Obligatio nsType get Obligation s() { | |||||
| 193 | re turn oblig ations; | |||||
| 194 | } | |||||
| 195 | ||||||
| 196 | /** | |||||
| 197 | * Set s the valu e of the o bligations property. | |||||
| 198 | * | |||||
| 199 | * @pa ram value | |||||
| 200 | * allowed o bject is | |||||
| 201 | * {@link Ob ligationsT ype } | |||||
| 202 | * | |||||
| 203 | */ | |||||
| 204 | public void setO bligations (Obligatio nsType val ue) { | |||||
| 205 | th is.obligat ions = val ue; | |||||
| 206 | } | |||||
| 207 | ||||||
| 208 | /** | |||||
| 209 | * Get s the valu e of the p olicyId pr operty. | |||||
| 210 | * | |||||
| 211 | * @re turn | |||||
| 212 | * possible object is | |||||
| 213 | * {@link St ring } | |||||
| 214 | * | |||||
| 215 | */ | |||||
| 216 | public String ge tPolicyId( ) { | |||||
| 217 | re turn polic yId; | |||||
| 218 | } | |||||
| 219 | ||||||
| 220 | /** | |||||
| 221 | * Set s the valu e of the p olicyId pr operty. | |||||
| 222 | * | |||||
| 223 | * @pa ram value | |||||
| 224 | * allowed o bject is | |||||
| 225 | * {@link St ring } | |||||
| 226 | * | |||||
| 227 | */ | |||||
| 228 | public void setP olicyId(St ring value ) { | |||||
| 229 | th is.policyI d = value; | |||||
| 230 | } | |||||
| 231 | ||||||
| 232 | /** | |||||
| 233 | * Get s the valu e of the v ersion pro perty. | |||||
| 234 | * | |||||
| 235 | * @re turn | |||||
| 236 | * possible object is | |||||
| 237 | * {@link St ring } | |||||
| 238 | * | |||||
| 239 | */ | |||||
| 240 | public String ge tVersion() { | |||||
| 241 | if (version == null) { | |||||
| 242 | return " 1.0"; | |||||
| 243 | } else { | |||||
| 244 | return v ersion; | |||||
| 245 | } | |||||
| 246 | } | |||||
| 247 | ||||||
| 248 | /** | |||||
| 249 | * Set s the valu e of the v ersion pro perty. | |||||
| 250 | * | |||||
| 251 | * @pa ram value | |||||
| 252 | * allowed o bject is | |||||
| 253 | * {@link St ring } | |||||
| 254 | * | |||||
| 255 | */ | |||||
| 256 | public void setV ersion(Str ing value) { | |||||
| 257 | th is.version = value; | |||||
| 258 | } | |||||
| 259 | ||||||
| 260 | /** | |||||
| 261 | * Get s the valu e of the r uleCombini ngAlgId pr operty. | |||||
| 262 | * | |||||
| 263 | * @re turn | |||||
| 264 | * possible object is | |||||
| 265 | * {@link St ring } | |||||
| 266 | * | |||||
| 267 | */ | |||||
| 268 | public String ge tRuleCombi ningAlgId( ) { | |||||
| 269 | re turn ruleC ombiningAl gId; | |||||
| 270 | } | |||||
| 271 | ||||||
| 272 | /** | |||||
| 273 | * Set s the valu e of the r uleCombini ngAlgId pr operty. | |||||
| 274 | * | |||||
| 275 | * @pa ram value | |||||
| 276 | * allowed o bject is | |||||
| 277 | * {@link St ring } | |||||
| 278 | * | |||||
| 279 | */ | |||||
| 280 | public void setR uleCombini ngAlgId(St ring value ) { | |||||
| 281 | th is.ruleCom biningAlgI d = value; | |||||
| 282 | } | |||||
| 283 | ||||||
| 284 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.