Produced by Araxis Merge on 6/9/2017 3:50:21 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:21 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\context\schema\os | SubjectType.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 | 103 |
| 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.contex t.schema.o s; | |||||
| 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.XmlSche maType; | |||||
| 11 | import jav ax.xml.bin d.annotati on.XmlType ; | |||||
| 12 | ||||||
| 13 | ||||||
| 14 | /** | |||||
| 15 | * <p>Java class for SubjectTy pe complex type. | |||||
| 16 | * | |||||
| 17 | * <p>The following schema fra gment spec ifies the expected c ontent con tained wit hin this c lass. | |||||
| 18 | * | |||||
| 19 | * <pre> | |||||
| 20 | * <com plexType n ame="Subje ctType"> | |||||
| 21 | * <c omplexCont ent> | |||||
| 22 | * < ;restricti on base="{ http://www .w3.org/20 01/XMLSche ma}anyType "> | |||||
| 23 | * & lt;sequenc e> | |||||
| 24 | * <eleme nt ref="{u rn:oasis:n ames:tc:xa cml:2.0:co ntext:sche ma:os}Attr ibute" max Occurs="un bounded" m inOccurs=" 0"/> | |||||
| 25 | * & lt;/sequen ce> | |||||
| 26 | * & lt;attribu te name="S ubjectCate gory" type ="{http:// www.w3.org /2001/XMLS chema}anyU RI" defaul t="urn:oas is:names:t c:xacml:1. 0:subject- category:a ccess-subj ect" /> | |||||
| 27 | * < ;/restrict ion> | |||||
| 28 | * </ complexCon tent> | |||||
| 29 | * </co mplexType> | |||||
| 30 | * </pre> | |||||
| 31 | * | |||||
| 32 | * | |||||
| 33 | */ | |||||
| 34 | @XmlAccess orType(Xml AccessType .FIELD) | |||||
| 35 | @XmlType(n ame = "Sub jectType", propOrder = { | |||||
| 36 | "attri bute" | |||||
| 37 | }) | |||||
| 38 | public cla ss Subject Type { | |||||
| 39 | ||||||
| 40 | @XmlEl ement(name = "Attrib ute") | |||||
| 41 | protec ted List<A ttributeTy pe> attrib ute; | |||||
| 42 | @XmlAt tribute(na me = "Subj ectCategor y") | |||||
| 43 | @XmlSc hemaType(n ame = "any URI") | |||||
| 44 | protec ted String subjectCa tegory; | |||||
| 45 | ||||||
| 46 | /** | |||||
| 47 | * Get s the valu e of the a ttribute p roperty. | |||||
| 48 | * | |||||
| 49 | * <p> | |||||
| 50 | * Thi s accessor method re turns a re ference to the live list, | |||||
| 51 | * not a snapsho t. Therefo re any mod ification you make t o the | |||||
| 52 | * ret urned list will be p resent ins ide the JA XB object. | |||||
| 53 | * Thi s is why t here is no t a <CODE> set</CODE> method fo r the attr ibute prop erty. | |||||
| 54 | * | |||||
| 55 | * <p> | |||||
| 56 | * For example, to add a n ew item, d o as follo ws: | |||||
| 57 | * <pr e> | |||||
| 58 | * getAttribu te().add(n ewItem); | |||||
| 59 | * </p re> | |||||
| 60 | * | |||||
| 61 | * | |||||
| 62 | * <p> | |||||
| 63 | * Obj ects of th e followin g type(s) are allowe d in the l ist | |||||
| 64 | * {@l ink Attrib uteType } | |||||
| 65 | * | |||||
| 66 | * | |||||
| 67 | */ | |||||
| 68 | public List<Attr ibuteType> getAttrib ute() { | |||||
| 69 | if (attribut e == null) { | |||||
| 70 | attribut e = new Ar rayList<At tributeTyp e>(); | |||||
| 71 | } | |||||
| 72 | re turn this. attribute; | |||||
| 73 | } | |||||
| 74 | ||||||
| 75 | /** | |||||
| 76 | * Get s the valu e of the s ubjectCate gory prope rty. | |||||
| 77 | * | |||||
| 78 | * @re turn | |||||
| 79 | * possible object is | |||||
| 80 | * {@link St ring } | |||||
| 81 | * | |||||
| 82 | */ | |||||
| 83 | public String ge tSubjectCa tegory() { | |||||
| 84 | if (subjectC ategory == null) { | |||||
| 85 | return " urn:oasis: names:tc:x acml:1.0:s ubject-cat egory:acce ss-subject "; | |||||
| 86 | } else { | |||||
| 87 | return s ubjectCate gory; | |||||
| 88 | } | |||||
| 89 | } | |||||
| 90 | ||||||
| 91 | /** | |||||
| 92 | * Set s the valu e of the s ubjectCate gory prope rty. | |||||
| 93 | * | |||||
| 94 | * @pa ram value | |||||
| 95 | * allowed o bject is | |||||
| 96 | * {@link St ring } | |||||
| 97 | * | |||||
| 98 | */ | |||||
| 99 | public void setS ubjectCate gory(Strin g value) { | |||||
| 100 | th is.subject Category = value; | |||||
| 101 | } | |||||
| 102 | ||||||
| 103 | } |
Araxis Merge (but not the data content of this report) is Copyright © 1993-2016 Araxis Ltd (www.araxis.com). All rights reserved.