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 | PolicySetType.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 | 295 |
| 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.JAXBElem ent; | |||||
| 7 | import jav ax.xml.bin d.annotati on.XmlAcce ssType; | |||||
| 8 | import jav ax.xml.bin d.annotati on.XmlAcce ssorType; | |||||
| 9 | import jav ax.xml.bin d.annotati on.XmlAttr ibute; | |||||
| 10 | import jav ax.xml.bin d.annotati on.XmlElem ent; | |||||
| 11 | import jav ax.xml.bin d.annotati on.XmlElem entRef; | |||||
| 12 | import jav ax.xml.bin d.annotati on.XmlElem entRefs; | |||||
| 13 | import jav ax.xml.bin d.annotati on.XmlSche maType; | |||||
| 14 | import jav ax.xml.bin d.annotati on.XmlType ; | |||||
| 15 | ||||||
| 16 | ||||||
| 17 | /** | |||||
| 18 | * <p>Java class for PolicySet Type compl ex type. | |||||
| 19 | * | |||||
| 20 | * <p>The following schema fra gment spec ifies the expected c ontent con tained wit hin this c lass. | |||||
| 21 | * | |||||
| 22 | * <pre> | |||||
| 23 | * <com plexType n ame="Polic ySetType"> | |||||
| 24 | * <c omplexCont ent> | |||||
| 25 | * < ;restricti on base="{ http://www .w3.org/20 01/XMLSche ma}anyType "> | |||||
| 26 | * & lt;sequenc e> | |||||
| 27 | * <eleme nt ref="{u rn:oasis:n ames:tc:xa cml:2.0:po licy:schem a:os}Descr iption" mi nOccurs="0 "/> | |||||
| 28 | * <eleme nt ref="{u rn:oasis:n ames:tc:xa cml:2.0:po licy:schem a:os}Polic ySetDefaul ts" minOcc urs="0"/> | |||||
| 29 | * <eleme nt ref="{u rn:oasis:n ames:tc:xa cml:2.0:po licy:schem a:os}Targe t"/> | |||||
| 30 | * <choic e maxOccur s="unbound ed" minOcc urs="0"> | |||||
| 31 | * <ele ment ref=" {urn:oasis :names:tc: xacml:2.0: policy:sch ema:os}Pol icySet"/> | |||||
| 32 | * <ele ment ref=" {urn:oasis :names:tc: xacml:2.0: policy:sch ema:os}Pol icy"/> | |||||
| 33 | * <ele ment ref=" {urn:oasis :names:tc: xacml:2.0: policy:sch ema:os}Pol icySetIdRe ference"/> | |||||
| 34 | * <ele ment ref=" {urn:oasis :names:tc: xacml:2.0: policy:sch ema:os}Pol icyIdRefer ence"/> | |||||
| 35 | * <ele ment ref=" {urn:oasis :names:tc: xacml:2.0: policy:sch ema:os}Com binerParam eters"/> | |||||
| 36 | * <ele ment ref=" {urn:oasis :names:tc: xacml:2.0: policy:sch ema:os}Pol icyCombine rParameter s"/> | |||||
| 37 | * <ele ment ref=" {urn:oasis :names:tc: xacml:2.0: policy:sch ema:os}Pol icySetComb inerParame ters"/> | |||||
| 38 | * </choi ce> | |||||
| 39 | * <eleme nt ref="{u rn:oasis:n ames:tc:xa cml:2.0:po licy:schem a:os}Oblig ations" mi nOccurs="0 "/> | |||||
| 40 | * & lt;/sequen ce> | |||||
| 41 | * & lt;attribu te name="P olicySetId " use="req uired" typ e="{http:/ /www.w3.or g/2001/XML Schema}any URI" /> | |||||
| 42 | * & 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" /> | |||||
| 43 | * & lt;attribu te name="P olicyCombi ningAlgId" use="requ ired" type ="{http:// www.w3.org /2001/XMLS chema}anyU RI" /> | |||||
| 44 | * < ;/restrict ion> | |||||
| 45 | * </ complexCon tent> | |||||
| 46 | * </co mplexType> | |||||
| 47 | * </pre> | |||||
| 48 | * | |||||
| 49 | * | |||||
| 50 | */ | |||||
| 51 | @XmlAccess orType(Xml AccessType .FIELD) | |||||
| 52 | @XmlType(n ame = "Pol icySetType ", propOrd er = { | |||||
| 53 | "descr iption", | |||||
| 54 | "polic ySetDefaul ts", | |||||
| 55 | "targe t", | |||||
| 56 | "polic ySetOrPoli cyOrPolicy SetIdRefer ence", | |||||
| 57 | "oblig ations" | |||||
| 58 | }) | |||||
| 59 | public cla ss PolicyS etType { | |||||
| 60 | ||||||
| 61 | @XmlEl ement(name = "Descri ption") | |||||
| 62 | protec ted String descripti on; | |||||
| 63 | @XmlEl ement(name = "Policy SetDefault s") | |||||
| 64 | protec ted Defaul tsType pol icySetDefa ults; | |||||
| 65 | @XmlEl ement(name = "Target ", require d = true) | |||||
| 66 | protec ted Target Type targe t; | |||||
| 67 | @XmlEl ementRefs( { | |||||
| 68 | @X mlElementR ef(name = "CombinerP arameters" , namespac e = "urn:o asis:names :tc:xacml: 2.0:policy :schema:os ", type = JAXBElemen t.class), | |||||
| 69 | @X mlElementR ef(name = "PolicySet IdReferenc e", namesp ace = "urn :oasis:nam es:tc:xacm l:2.0:poli cy:schema: os", type = JAXBElem ent.class) , | |||||
| 70 | @X mlElementR ef(name = "PolicyIdR eference", namespace = "urn:oa sis:names: tc:xacml:2 .0:policy: schema:os" , type = J AXBElement .class), | |||||
| 71 | @X mlElementR ef(name = "PolicySet ", namespa ce = "urn: oasis:name s:tc:xacml :2.0:polic y:schema:o s", type = JAXBEleme nt.class), | |||||
| 72 | @X mlElementR ef(name = "Policy", namespace = "urn:oas is:names:t c:xacml:2. 0:policy:s chema:os", type = JA XBElement. class), | |||||
| 73 | @X mlElementR ef(name = "PolicySet CombinerPa rameters", namespace = "urn:oa sis:names: tc:xacml:2 .0:policy: schema:os" , type = J AXBElement .class), | |||||
| 74 | @X mlElementR ef(name = "PolicyCom binerParam eters", na mespace = "urn:oasis :names:tc: xacml:2.0: policy:sch ema:os", t ype = JAXB Element.cl ass) | |||||
| 75 | }) | |||||
| 76 | protec ted List<J AXBElement <?>> polic ySetOrPoli cyOrPolicy SetIdRefer ence; | |||||
| 77 | @XmlEl ement(name = "Obliga tions") | |||||
| 78 | protec ted Obliga tionsType obligation s; | |||||
| 79 | @XmlAt tribute(na me = "Poli cySetId", required = true) | |||||
| 80 | @XmlSc hemaType(n ame = "any URI") | |||||
| 81 | protec ted String policySet Id; | |||||
| 82 | @XmlAt tribute(na me = "Vers ion") | |||||
| 83 | protec ted String version; | |||||
| 84 | @XmlAt tribute(na me = "Poli cyCombinin gAlgId", r equired = true) | |||||
| 85 | @XmlSc hemaType(n ame = "any URI") | |||||
| 86 | protec ted String policyCom biningAlgI d; | |||||
| 87 | ||||||
| 88 | /** | |||||
| 89 | * Get s the valu e of the d escription property. | |||||
| 90 | * | |||||
| 91 | * @re turn | |||||
| 92 | * possible object is | |||||
| 93 | * {@link St ring } | |||||
| 94 | * | |||||
| 95 | */ | |||||
| 96 | public String ge tDescripti on() { | |||||
| 97 | re turn descr iption; | |||||
| 98 | } | |||||
| 99 | ||||||
| 100 | /** | |||||
| 101 | * Set s the valu e of the d escription property. | |||||
| 102 | * | |||||
| 103 | * @pa ram value | |||||
| 104 | * allowed o bject is | |||||
| 105 | * {@link St ring } | |||||
| 106 | * | |||||
| 107 | */ | |||||
| 108 | public void setD escription (String va lue) { | |||||
| 109 | th is.descrip tion = val ue; | |||||
| 110 | } | |||||
| 111 | ||||||
| 112 | /** | |||||
| 113 | * Get s the valu e of the p olicySetDe faults pro perty. | |||||
| 114 | * | |||||
| 115 | * @re turn | |||||
| 116 | * possible object is | |||||
| 117 | * {@link De faultsType } | |||||
| 118 | * | |||||
| 119 | */ | |||||
| 120 | public DefaultsT ype getPol icySetDefa ults() { | |||||
| 121 | re turn polic ySetDefaul ts; | |||||
| 122 | } | |||||
| 123 | ||||||
| 124 | /** | |||||
| 125 | * Set s the valu e of the p olicySetDe faults pro perty. | |||||
| 126 | * | |||||
| 127 | * @pa ram value | |||||
| 128 | * allowed o bject is | |||||
| 129 | * {@link De faultsType } | |||||
| 130 | * | |||||
| 131 | */ | |||||
| 132 | public void setP olicySetDe faults(Def aultsType value) { | |||||
| 133 | th is.policyS etDefaults = value; | |||||
| 134 | } | |||||
| 135 | ||||||
| 136 | /** | |||||
| 137 | * Get s the valu e of the t arget prop erty. | |||||
| 138 | * | |||||
| 139 | * @re turn | |||||
| 140 | * possible object is | |||||
| 141 | * {@link Ta rgetType } | |||||
| 142 | * | |||||
| 143 | */ | |||||
| 144 | public TargetTyp e getTarge t() { | |||||
| 145 | re turn targe t; | |||||
| 146 | } | |||||
| 147 | ||||||
| 148 | /** | |||||
| 149 | * Set s the valu e of the t arget prop erty. | |||||
| 150 | * | |||||
| 151 | * @pa ram value | |||||
| 152 | * allowed o bject is | |||||
| 153 | * {@link Ta rgetType } | |||||
| 154 | * | |||||
| 155 | */ | |||||
| 156 | public void setT arget(Targ etType val ue) { | |||||
| 157 | th is.target = value; | |||||
| 158 | } | |||||
| 159 | ||||||
| 160 | /** | |||||
| 161 | * Get s the valu e of the p olicySetOr PolicyOrPo licySetIdR eference p roperty. | |||||
| 162 | * | |||||
| 163 | * <p> | |||||
| 164 | * Thi s accessor method re turns a re ference to the live list, | |||||
| 165 | * not a snapsho t. Therefo re any mod ification you make t o the | |||||
| 166 | * ret urned list will be p resent ins ide the JA XB object. | |||||
| 167 | * Thi s is why t here is no t a <CODE> set</CODE> method fo r the poli cySetOrPol icyOrPolic ySetIdRefe rence prop erty. | |||||
| 168 | * | |||||
| 169 | * <p> | |||||
| 170 | * For example, to add a n ew item, d o as follo ws: | |||||
| 171 | * <pr e> | |||||
| 172 | * getPolicyS etOrPolicy OrPolicySe tIdReferen ce().add(n ewItem); | |||||
| 173 | * </p re> | |||||
| 174 | * | |||||
| 175 | * | |||||
| 176 | * <p> | |||||
| 177 | * Obj ects of th e followin g type(s) are allowe d in the l ist | |||||
| 178 | * {@l ink JAXBEl ement }{@c ode <}{@li nk Combine rParameter sType }{@c ode >} | |||||
| 179 | * {@l ink JAXBEl ement }{@c ode <}{@li nk IdRefer enceType } {@code >} | |||||
| 180 | * {@l ink JAXBEl ement }{@c ode <}{@li nk IdRefer enceType } {@code >} | |||||
| 181 | * {@l ink JAXBEl ement }{@c ode <}{@li nk PolicyS etType }{@ code >} | |||||
| 182 | * {@l ink JAXBEl ement }{@c ode <}{@li nk PolicyT ype }{@cod e >} | |||||
| 183 | * {@l ink JAXBEl ement }{@c ode <}{@li nk PolicyS etCombiner Parameters Type }{@co de >} | |||||
| 184 | * {@l ink JAXBEl ement }{@c ode <}{@li nk PolicyC ombinerPar ametersTyp e }{@code >} | |||||
| 185 | * | |||||
| 186 | * | |||||
| 187 | */ | |||||
| 188 | public List<JAXB Element<?> > getPolic ySetOrPoli cyOrPolicy SetIdRefer ence() { | |||||
| 189 | if (policySe tOrPolicyO rPolicySet IdReferenc e == null) { | |||||
| 190 | policySe tOrPolicyO rPolicySet IdReferenc e = new Ar rayList<JA XBElement< ?>>(); | |||||
| 191 | } | |||||
| 192 | re turn this. policySetO rPolicyOrP olicySetId Reference; | |||||
| 193 | } | |||||
| 194 | ||||||
| 195 | /** | |||||
| 196 | * Get s the valu e of the o bligations property. | |||||
| 197 | * | |||||
| 198 | * @re turn | |||||
| 199 | * possible object is | |||||
| 200 | * {@link Ob ligationsT ype } | |||||
| 201 | * | |||||
| 202 | */ | |||||
| 203 | public Obligatio nsType get Obligation s() { | |||||
| 204 | re turn oblig ations; | |||||
| 205 | } | |||||
| 206 | ||||||
| 207 | /** | |||||
| 208 | * Set s the valu e of the o bligations property. | |||||
| 209 | * | |||||
| 210 | * @pa ram value | |||||
| 211 | * allowed o bject is | |||||
| 212 | * {@link Ob ligationsT ype } | |||||
| 213 | * | |||||
| 214 | */ | |||||
| 215 | public void setO bligations (Obligatio nsType val ue) { | |||||
| 216 | th is.obligat ions = val ue; | |||||
| 217 | } | |||||
| 218 | ||||||
| 219 | /** | |||||
| 220 | * Get s the valu e of the p olicySetId property. | |||||
| 221 | * | |||||
| 222 | * @re turn | |||||
| 223 | * possible object is | |||||
| 224 | * {@link St ring } | |||||
| 225 | * | |||||
| 226 | */ | |||||
| 227 | public String ge tPolicySet Id() { | |||||
| 228 | re turn polic ySetId; | |||||
| 229 | } | |||||
| 230 | ||||||
| 231 | /** | |||||
| 232 | * Set s the valu e of the p olicySetId property. | |||||
| 233 | * | |||||
| 234 | * @pa ram value | |||||
| 235 | * allowed o bject is | |||||
| 236 | * {@link St ring } | |||||
| 237 | * | |||||
| 238 | */ | |||||
| 239 | public void setP olicySetId (String va lue) { | |||||
| 240 | th is.policyS etId = val ue; | |||||
| 241 | } | |||||
| 242 | ||||||
| 243 | /** | |||||
| 244 | * Get s the valu e of the v ersion pro perty. | |||||
| 245 | * | |||||
| 246 | * @re turn | |||||
| 247 | * possible object is | |||||
| 248 | * {@link St ring } | |||||
| 249 | * | |||||
| 250 | */ | |||||
| 251 | public String ge tVersion() { | |||||
| 252 | if (version == null) { | |||||
| 253 | return " 1.0"; | |||||
| 254 | } else { | |||||
| 255 | return v ersion; | |||||
| 256 | } | |||||
| 257 | } | |||||
| 258 | ||||||
| 259 | /** | |||||
| 260 | * Set s the valu e of the v ersion pro perty. | |||||
| 261 | * | |||||
| 262 | * @pa ram value | |||||
| 263 | * allowed o bject is | |||||
| 264 | * {@link St ring } | |||||
| 265 | * | |||||
| 266 | */ | |||||
| 267 | public void setV ersion(Str ing value) { | |||||
| 268 | th is.version = value; | |||||
| 269 | } | |||||
| 270 | ||||||
| 271 | /** | |||||
| 272 | * Get s the valu e of the p olicyCombi ningAlgId property. | |||||
| 273 | * | |||||
| 274 | * @re turn | |||||
| 275 | * possible object is | |||||
| 276 | * {@link St ring } | |||||
| 277 | * | |||||
| 278 | */ | |||||
| 279 | public String ge tPolicyCom biningAlgI d() { | |||||
| 280 | re turn polic yCombining AlgId; | |||||
| 281 | } | |||||
| 282 | ||||||
| 283 | /** | |||||
| 284 | * Set s the valu e of the p olicyCombi ningAlgId property. | |||||
| 285 | * | |||||
| 286 | * @pa ram value | |||||
| 287 | * allowed o bject is | |||||
| 288 | * {@link St ring } | |||||
| 289 | * | |||||
| 290 | */ | |||||
| 291 | public void setP olicyCombi ningAlgId( String val ue) { | |||||
| 292 | th is.policyC ombiningAl gId = valu e; | |||||
| 293 | } | |||||
| 294 | ||||||
| 295 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.