Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BATM-6376 Fix US sanctions list failing to download #916

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.06.17 at 11:26:16 AM CEST
//


package com.generalbytes.batm.server.extensions.extra.watchlists.ofac.tags;

Expand All @@ -19,7 +26,7 @@
* &lt;complexType>
* &lt;simpleContent>
* &lt;extension base="&lt;http://www.w3.org/2001/XMLSchema>string">
* &lt;attribute name="DeltaAction" type="{http://www.un.org/sanctions/1.0}DeltaActionSchemaType" />
* &lt;attribute name="DeltaAction" type="{https://sanctionslistservice.ofac.treas.gov/api/PublicationPreview/exports/ADVANCED_XML}DeltaActionSchemaType" />
* &lt;/extension>
* &lt;/simpleContent>
* &lt;/complexType>
Expand All @@ -31,15 +38,15 @@
@XmlType(name = "", propOrder = {
"value"
})
@XmlRootElement(name = "Comment", namespace = "http://www.un.org/sanctions/1.0")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@XmlRootElement(name = "Comment", namespace = "https://sanctionslistservice.ofac.treas.gov/api/PublicationPreview/exports/ADVANCED_XML")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
public class Comment {

@XmlValue
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
protected String value;
@XmlAttribute(name = "DeltaAction")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
protected DeltaActionSchemaType deltaAction;

/**
Expand All @@ -50,7 +57,7 @@ public class Comment {
* {@link String }
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
public String getValue() {
return value;
}
Expand All @@ -63,7 +70,7 @@ public String getValue() {
* {@link String }
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
public void setValue(String value) {
this.value = value;
}
Expand All @@ -76,7 +83,7 @@ public void setValue(String value) {
* {@link DeltaActionSchemaType }
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
public DeltaActionSchemaType getDeltaAction() {
return deltaAction;
}
Expand All @@ -89,7 +96,7 @@ public DeltaActionSchemaType getDeltaAction() {
* {@link DeltaActionSchemaType }
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
public void setDeltaAction(DeltaActionSchemaType value) {
this.deltaAction = value;
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,10 @@
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.8-b130911.1802
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2024.06.17 at 11:26:16 AM CEST
//


package com.generalbytes.batm.server.extensions.extra.watchlists.ofac.tags;

Expand All @@ -24,16 +31,16 @@
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
* &lt;choice>
* &lt;sequence>
* &lt;element ref="{http://www.un.org/sanctions/1.0}From"/>
* &lt;element ref="{http://www.un.org/sanctions/1.0}To" minOccurs="0"/>
* &lt;element ref="{https://sanctionslistservice.ofac.treas.gov/api/PublicationPreview/exports/ADVANCED_XML}From"/>
* &lt;element ref="{https://sanctionslistservice.ofac.treas.gov/api/PublicationPreview/exports/ADVANCED_XML}To" minOccurs="0"/>
* &lt;/sequence>
* &lt;element ref="{http://www.un.org/sanctions/1.0}To"/>
* &lt;element ref="{https://sanctionslistservice.ofac.treas.gov/api/PublicationPreview/exports/ADVANCED_XML}To"/>
* &lt;/choice>
* &lt;attribute name="Approximate" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* &lt;attribute name="YearFixed" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* &lt;attribute name="MonthFixed" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* &lt;attribute name="DayFixed" use="required" type="{http://www.w3.org/2001/XMLSchema}boolean" />
* &lt;attribute name="DeltaAction" type="{http://www.un.org/sanctions/1.0}DeltaActionSchemaType" />
* &lt;attribute name="DeltaAction" type="{https://sanctionslistservice.ofac.treas.gov/api/PublicationPreview/exports/ADVANCED_XML}DeltaActionSchemaType" />
* &lt;/restriction>
* &lt;/complexContent>
* &lt;/complexType>
Expand All @@ -42,32 +49,32 @@
*
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "DateBoundarySchemaType", namespace = "http://www.un.org/sanctions/1.0", propOrder = {
@XmlType(name = "DateBoundarySchemaType", namespace = "https://sanctionslistservice.ofac.treas.gov/api/PublicationPreview/exports/ADVANCED_XML", propOrder = {
"content"
})
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
public class DateBoundarySchemaType {

@XmlElementRefs({
@XmlElementRef(name = "From", namespace = "http://www.un.org/sanctions/1.0", type = JAXBElement.class, required = false),
@XmlElementRef(name = "To", namespace = "http://www.un.org/sanctions/1.0", type = JAXBElement.class, required = false)
@XmlElementRef(name = "To", namespace = "https://sanctionslistservice.ofac.treas.gov/api/PublicationPreview/exports/ADVANCED_XML", type = JAXBElement.class, required = false),
@XmlElementRef(name = "From", namespace = "https://sanctionslistservice.ofac.treas.gov/api/PublicationPreview/exports/ADVANCED_XML", type = JAXBElement.class, required = false)
})
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
protected List<JAXBElement<DatePointSchemaType>> content;
@XmlAttribute(name = "Approximate", required = true)
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
protected boolean approximate;
@XmlAttribute(name = "YearFixed", required = true)
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
protected boolean yearFixed;
@XmlAttribute(name = "MonthFixed", required = true)
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
protected boolean monthFixed;
@XmlAttribute(name = "DayFixed", required = true)
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
protected boolean dayFixed;
@XmlAttribute(name = "DeltaAction")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
protected DeltaActionSchemaType deltaAction;

/**
Expand All @@ -76,8 +83,8 @@ public class DateBoundarySchemaType {
* <p>
* You are getting this "catch-all" property because of the following reason:
* The field name "To" is used by two different parts of a schema. See:
* line 1228 of file:/home/b00lean/projects/batm/batm_main/server/src/com/generalbytes/batm/server/services/amlkyc/watchlist/ofac/tags/sdn_advanced.xsd
* line 1226 of file:/home/b00lean/projects/batm/batm_main/server/src/com/generalbytes/batm/server/services/amlkyc/watchlist/ofac/tags/sdn_advanced.xsd
* line 1228 of file:/home/tplansky/IdeaProjects/batm_public/server_extensions_extra/src/main/java/sdn_advanced.xsd
* line 1226 of file:/home/tplansky/IdeaProjects/batm_public/server_extensions_extra/src/main/java/sdn_advanced.xsd
* <p>
* To get rid of this property, apply a property customization to one
* of both of the following declarations to change their names:
Expand All @@ -103,7 +110,7 @@ public class DateBoundarySchemaType {
*
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
public List<JAXBElement<DatePointSchemaType>> getContent() {
if (content == null) {
content = new ArrayList<JAXBElement<DatePointSchemaType>>();
Expand All @@ -115,7 +122,7 @@ public List<JAXBElement<DatePointSchemaType>> getContent() {
* Gets the value of the approximate property.
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
public boolean isApproximate() {
return approximate;
}
Expand All @@ -124,7 +131,7 @@ public boolean isApproximate() {
* Sets the value of the approximate property.
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
public void setApproximate(boolean value) {
this.approximate = value;
}
Expand All @@ -133,7 +140,7 @@ public void setApproximate(boolean value) {
* Gets the value of the yearFixed property.
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
public boolean isYearFixed() {
return yearFixed;
}
Expand All @@ -142,7 +149,7 @@ public boolean isYearFixed() {
* Sets the value of the yearFixed property.
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
public void setYearFixed(boolean value) {
this.yearFixed = value;
}
Expand All @@ -151,7 +158,7 @@ public void setYearFixed(boolean value) {
* Gets the value of the monthFixed property.
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
public boolean isMonthFixed() {
return monthFixed;
}
Expand All @@ -160,7 +167,7 @@ public boolean isMonthFixed() {
* Sets the value of the monthFixed property.
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
public void setMonthFixed(boolean value) {
this.monthFixed = value;
}
Expand All @@ -169,7 +176,7 @@ public void setMonthFixed(boolean value) {
* Gets the value of the dayFixed property.
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
public boolean isDayFixed() {
return dayFixed;
}
Expand All @@ -178,7 +185,7 @@ public boolean isDayFixed() {
* Sets the value of the dayFixed property.
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
public void setDayFixed(boolean value) {
this.dayFixed = value;
}
Expand All @@ -191,7 +198,7 @@ public void setDayFixed(boolean value) {
* {@link DeltaActionSchemaType }
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
public DeltaActionSchemaType getDeltaAction() {
return deltaAction;
}
Expand All @@ -204,7 +211,7 @@ public DeltaActionSchemaType getDeltaAction() {
* {@link DeltaActionSchemaType }
*
*/
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2016-02-08T09:26:29+01:00", comments = "JAXB RI v2.2.4-2")
@Generated(value = "com.sun.tools.internal.xjc.Driver", date = "2024-06-17T11:26:16+02:00", comments = "JAXB RI v2.2.8-b130911.1802")
public void setDeltaAction(DeltaActionSchemaType value) {
this.deltaAction = value;
}
Expand Down
Loading
Loading