diff --git a/.idea/copilot.data.migration.agent.xml b/.idea/copilot.data.migration.agent.xml new file mode 100644 index 0000000000..3f9a01c925 --- /dev/null +++ b/.idea/copilot.data.migration.agent.xml @@ -0,0 +1,19 @@ + + + + + + + \ No newline at end of file diff --git a/build/Jenkinsfile.groovy b/build/Jenkinsfile.groovy index ee8b464771..fcf28dba29 100644 --- a/build/Jenkinsfile.groovy +++ b/build/Jenkinsfile.groovy @@ -186,14 +186,14 @@ sleep 10''', execTimeout: 120000, flatten: false, makeEmptyDirs: false, noDefaul success { script { if (env.GIT_BRANCH == "master" || env.GIT_BRANCH == "develop") { - office365ConnectorSend adaptiveCards: true, color: '#008000', message: 'EMS-API ` stato compilato con successo', status: 'SUCCESS', webhookUrl: 'https://prod-197.westeurope.logic.azure.com:443/workflows/69a7b8ee3c284175bd6da7127c7eb3cf/triggers/manual/paths/invoke?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=_-eMfvsQGkIidHWzzlhGFgiZG28ujHZ41QqzuqD9YGw' + office365ConnectorSend adaptiveCards: true, color: '#008000', message: 'EMS-API è stato compilato con successo', status: 'SUCCESS', webhookUrl: 'https://prod-197.westeurope.logic.azure.com:443/workflows/69a7b8ee3c284175bd6da7127c7eb3cf/triggers/manual/paths/invoke?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=_-eMfvsQGkIidHWzzlhGFgiZG28ujHZ41QqzuqD9YGw' } } } unstable { script { if (env.GIT_BRANCH == "master" || env.GIT_BRANCH == "develop") { - office365ConnectorSend adaptiveCards: true, color: '#FFDE21', message: 'EMS-API ` INSTABILE', status: 'UNSTABLE', webhookUrl: 'https://prod-197.westeurope.logic.azure.com:443/workflows/69a7b8ee3c284175bd6da7127c7eb3cf/triggers/manual/paths/invoke?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=_-eMfvsQGkIidHWzzlhGFgiZG28ujHZ41QqzuqD9YGw' + office365ConnectorSend adaptiveCards: true, color: '#FFDE21', message: 'EMS-API è INSTABILE', status: 'UNSTABLE', webhookUrl: 'https://prod-197.westeurope.logic.azure.com:443/workflows/69a7b8ee3c284175bd6da7127c7eb3cf/triggers/manual/paths/invoke?api-version=2016-06-01&sp=%2Ftriggers%2Fmanual%2Frun&sv=1.0&sig=_-eMfvsQGkIidHWzzlhGFgiZG28ujHZ41QqzuqD9YGw' } } } diff --git a/ems-core/src/main/java/it/integry/ems/controller/EmsController.java b/ems-core/src/main/java/it/integry/ems/controller/EmsController.java index a8328abeb4..51c4a5ad6f 100644 --- a/ems-core/src/main/java/it/integry/ems/controller/EmsController.java +++ b/ems-core/src/main/java/it/integry/ems/controller/EmsController.java @@ -750,6 +750,24 @@ public class EmsController { return ResponseEntity.notFound().build(); } + @GetMapping(value = "downloadFileFromRefUuid") + public ResponseEntity downloadFileFromRefUuid(@RequestParam(CommonConstants.PROFILE_DB) String config, + @RequestParam() String refUuid, + @RequestParam() String fileName) throws Exception { + AttachmentDTO attached = emsServices.downloadFileFromRefUuid(refUuid, fileName); + + if (attached == null) return ResponseEntity.notFound().build(); + + return ResponseEntity.ok() + .contentType(MediaType.parseMediaType(attached.getMimeType())) + .contentLength(attached.getFileSize()) + .header(HttpHeaders.CONTENT_DISPOSITION, ContentDisposition + .attachment() + .filename(attached.getFileName()) + .build() + .toString()) + .body(attached.getFileContent()); + } @RequestMapping(value = EmsRestConstants.PATH_DOWNLOAD_STB_FILE_ATTACHMENT, method = RequestMethod.GET) public ResponseEntity downloadStbFileAttachmentPath( diff --git a/ems-core/src/main/java/it/integry/ems/directory/EmailWatcherListener.java b/ems-core/src/main/java/it/integry/ems/directory/EmailWatcherListener.java index c60c3da54a..b57bf74715 100644 --- a/ems-core/src/main/java/it/integry/ems/directory/EmailWatcherListener.java +++ b/ems-core/src/main/java/it/integry/ems/directory/EmailWatcherListener.java @@ -2,15 +2,16 @@ package it.integry.ems.directory; import com.fasterxml.jackson.databind.node.ArrayNode; import it.integry.common.var.CommonConstants; -import it.integry.ems.datasource.DataSource; import it.integry.ems.json.ResponseJSONObjectMapper; import it.integry.ems.properties.EmsProperties; import it.integry.ems.response.EsitoType; import it.integry.ems.response.FileItem; import it.integry.ems.response.ServiceRestResponse; +import it.integry.ems.sync.MultiDBTransaction.Connection; import it.integry.ems.sync.MultiDBTransaction.MultiDBTransactionManager; import it.integry.ems_model.config.EmsRestConstants; import it.integry.ems_model.service.SetupGest; +import it.integry.ems_model.utility.UtilityHashMap; import it.integry.ems_model.utility.UtilityString; import it.integry.security.utility.RestUtil; import org.apache.logging.log4j.LogManager; @@ -30,6 +31,7 @@ import java.sql.PreparedStatement; import java.sql.ResultSet; import java.text.SimpleDateFormat; import java.util.Date; +import java.util.HashMap; import java.util.Properties; import java.util.TimerTask; @@ -53,42 +55,44 @@ public class EmailWatcherListener extends TimerTask { @Override public synchronized void run() { - try { + try (MultiDBTransactionManager multiDBTransactionManager = new MultiDBTransactionManager(emailListenerInfo.getDatabase())) { + Connection conn = multiDBTransactionManager.getPrimaryConnection(); + String flagAttivo = null, username = null, password = null, imap = null, pop3 = null, pop3Port = null, imapPort = null; - DataSource ds = new DataSource(); - ds.initialize(emailListenerInfo.getDatabase()); String[] params = emailListenerInfo.getSetupGestBranch().split("\\|"); if (params.length >= 2) { - flagAttivo = setupGest.getSetup(ds.getConnection(), params[0], params[1], "ATTIVO"); - username = setupGest.getSetup(ds.getConnection(), params[0], params[1], "USERNAME"); + final HashMap setupData = setupGest.getSetupSection(conn, params[0], params[1]); + + flagAttivo = UtilityHashMap.getValueIfExists(setupData, "ATTIVO"); + username = UtilityHashMap.getValueIfExists(setupData, "USERNAME"); if (UtilityString.isNullOrEmpty(username)) throw new Exception(params[0] + "/" + params[1] + "/USERNAME non configurato correttamente"); - password = setupGest.getSetup(ds.getConnection(), params[0], params[1], "PASSWORD"); + password = UtilityHashMap.getValueIfExists(setupData, "PASSWORD"); if (UtilityString.isNullOrEmpty(password)) throw new Exception(params[0] + "/" + params[1] + "/PASSWORD non configurato correttamente"); - pop3 = setupGest.getSetup(ds.getConnection(), params[0], params[1], "POP3"); + pop3 = UtilityHashMap.getValueIfExists(setupData, "POP3"); if (UtilityString.isNullOrEmpty(pop3)) throw new Exception(params[0] + "/" + params[1] + "/POP3 non configurato correttamente"); - pop3Port = setupGest.getSetup(ds.getConnection(), params[0], params[1], "POP3_PORT"); + pop3Port = UtilityHashMap.getValueIfExists(setupData, "POP3_PORT"); if (UtilityString.isNullOrEmpty(pop3Port)) throw new Exception(params[0] + "/" + params[1] + "/POP3_PORT non configurato correttamente"); - imap = setupGest.getSetup(ds.getConnection(), params[0], params[1], "IMAP"); + imap = UtilityHashMap.getValueIfExists(setupData, "IMAP"); if (UtilityString.isNullOrEmpty(imap)) throw new Exception(params[0] + "/" + params[1] + "/IMAP non configurato correttamente"); - imapPort = setupGest.getSetup(ds.getConnection(), params[0], params[1], "IMAP_PORT"); + imapPort = UtilityHashMap.getValueIfExists(setupData, "IMAP_PORT"); if (UtilityString.isNullOrEmpty(imapPort)) throw new Exception(params[0] + "/" + params[1] + "/IMAP_PORT non configurato correttamente"); } - ds.close(); + if (!UtilityString.isNullOrEmpty(flagAttivo) && "S".equals(flagAttivo)) { Properties sysProperties = System.getProperties(); Session session = Session.getDefaultInstance(sysProperties); @@ -160,7 +164,7 @@ public class EmailWatcherListener extends TimerTask { String value = response.readEntity(String.class); - String emailDbg = setupGest.getSetup(ds.getConnection(), params[0], params[1], "EMAIL_DBG"); + String emailDbg = setupGest.getSetup(conn, params[0], params[1], "EMAIL_DBG"); if (value.charAt(0) == '{') { ServiceRestResponse respWra = jsonObjectMapper.readValue(value, ServiceRestResponse.class); if (respWra.getEsito() == EsitoType.KO) { diff --git a/ems-core/src/main/java/it/integry/ems/expansion/ObservableArrayList.java b/ems-core/src/main/java/it/integry/ems/expansion/ObservableArrayList.java index bbd90bcdc4..1dbd582a88 100644 --- a/ems-core/src/main/java/it/integry/ems/expansion/ObservableArrayList.java +++ b/ems-core/src/main/java/it/integry/ems/expansion/ObservableArrayList.java @@ -1,9 +1,6 @@ package it.integry.ems.expansion; -import java.util.ArrayList; -import java.util.Collection; -import java.util.Observable; -import java.util.Observer; +import java.util.*; public class ObservableArrayList extends Observable { @@ -122,4 +119,16 @@ public class ObservableArrayList extends Observable { notifyObservers(); } + + @Override + public boolean equals(Object o) { + if (!(o instanceof ObservableArrayList)) return false; + ObservableArrayList that = (ObservableArrayList) o; + return Objects.equals(value, that.value); + } + + @Override + public int hashCode() { + return Objects.hashCode(value); + } } diff --git a/ems-core/src/main/java/it/integry/ems/expansion/ObservableField.java b/ems-core/src/main/java/it/integry/ems/expansion/ObservableField.java index 6569d526f4..2caf33920f 100644 --- a/ems-core/src/main/java/it/integry/ems/expansion/ObservableField.java +++ b/ems-core/src/main/java/it/integry/ems/expansion/ObservableField.java @@ -1,5 +1,6 @@ package it.integry.ems.expansion; +import java.util.Objects; import java.util.Observable; public class ObservableField extends Observable { @@ -34,4 +35,16 @@ public class ObservableField extends Observable { super.addObserver((o, arg) -> observerCallback.run()); } + + @Override + public boolean equals(Object o) { + if (!(o instanceof ObservableField)) return false; + ObservableField that = (ObservableField) o; + return Objects.equals(value, that.value); + } + + @Override + public int hashCode() { + return Objects.hashCode(value); + } } \ No newline at end of file diff --git a/ems-core/src/main/java/it/integry/ems/file_formatter/csv/CsvMapper.java b/ems-core/src/main/java/it/integry/ems/file_formatter/csv/CsvMapper.java index 42bd8bb88b..16b766a737 100644 --- a/ems-core/src/main/java/it/integry/ems/file_formatter/csv/CsvMapper.java +++ b/ems-core/src/main/java/it/integry/ems/file_formatter/csv/CsvMapper.java @@ -5,7 +5,6 @@ import com.fasterxml.jackson.annotation.JsonProperty; import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.dataformat.csv.CsvSchema; import com.fasterxml.jackson.dataformat.csv.CsvSchema.Column; -import it.integry.common.var.CommonConstants; import it.integry.ems_model.ImportExport.Interfaces.IExportFormat; import it.integry.ems_model.ImportExport.Interfaces.IImportFormat; import it.integry.ems_model.annotation.DtoField; @@ -64,7 +63,7 @@ public class CsvMapper { builder.addColumn(new Column(i, columns[i])); } - builder.setLineSeparator(System.getProperty("line.separator")); + builder.setLineSeparator(System.lineSeparator()); CsvSchema schema = builder.build().withoutQuoteChar(); mapper.configure(JsonGenerator.Feature.IGNORE_UNKNOWN, true); diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250904154412.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250904154412.java new file mode 100644 index 0000000000..217688dc34 --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250904154412.java @@ -0,0 +1,40 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250904154412 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + executeStatement( + "alter table dbo.ctb_amac add cod_mdep varchar(5)", + "alter table dbo.ctb_amac add posizione varchar(40)", + "alter table dbo.ctb_amac\n" + + " add constraint FK_ctb_amac_mtb_depo_posizioni\n" + + " foreign key (cod_mdep, posizione) references dbo.mtb_depo_posizioni", + "create table dbo.ctb_amac_carat\n" + + "(\n" + + " id bigint identity\n" + + " constraint pk_ctb_amac_carat\n" + + " primary key,\n" + + " cod_cmac varchar(20) not null\n" + + " constraint fk_ctb_amac_carat_ctb_amac_cod_cmac\n" + + " references dbo.ctb_amac,\n" + + " nome_carat varchar(100) not null,\n" + + " val_carat nvarchar(4000),\n" + + " indice_ordinamento int default 0 not null,\n" + + " field_bg varchar(15)\n" + + ")" + ); + + + } + + @Override + public void down() throws Exception { + } +} \ No newline at end of file diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250905092735.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250905092735.java index 8dbda8a730..04ac99b501 100644 --- a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250905092735.java +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250905092735.java @@ -10,6 +10,7 @@ public class Migration_20250905092735 extends BaseMigration implements Migration if (isHistoryDB()) return; + if (isDMS()) return; createOrUpdateView("[vw_tracciabUDCProd]", "CREATE VIEW [dbo].[vw_tracciabUDCProd] AS\n" + "select mtb_colr.data_ord as dataOrdProd,\n" + diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250908150244.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250908150244.java new file mode 100644 index 0000000000..7563a58861 --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250908150244.java @@ -0,0 +1,19 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250908150244 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + executeStatement("ALTER TABLE azienda ADD cod_sdi_ditta VARCHAR(7)"); + } + + @Override + public void down() throws Exception { + } +} \ No newline at end of file diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250908160026.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250908160026.java new file mode 100644 index 0000000000..20968c13d7 --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250908160026.java @@ -0,0 +1,150 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250908160026 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + + createOrUpdateView("cvw_marg_contr_com", "CREATE VIEW [dbo].[cvw_marg_contr_com] (cod_jcom,descrizione,costo_lavorazione,costo_materiali,costo_servizi,altri_costi,ricavi,ore_lavorazione, data) AS \n" + + "SELECT jtb_rlavr.cod_jcom AS cod_jcom,\n" + + " jtb_comt.descrizione,\n" + + " Sum(jtb_rlavr.ore * jtb_rlavr.costo_ora / jtb_rlavr.cambio_divi_cont) AS costo_lavorazione,\n" + + " CONVERT(NUMERIC(20, 5), 0) AS costo_materiali,\n" + + " CONVERT(NUMERIC(20, 5), 0) AS costo_servizi,\n" + + " CONVERT(NUMERIC(20, 5), 0) AS altri_costi,\n" + + " CONVERT(NUMERIC(20, 5), 0) AS ricavi,\n" + + " Sum(jtb_rlavr.ore) AS ore_lavorazione,\n" + + " jtb_rlavr.data_lav AS data\n" + + "FROM jtb_rlavr,\n" + + " jtb_comt\n" + + "WHERE jtb_rlavr.cod_jcom = jtb_comt.cod_jcom\n" + + "GROUP BY jtb_rlavr.cod_jcom,\n" + + " jtb_comt.descrizione,\n" + + " jtb_rlavr.data_lav\n" + + "UNION\n" + + "SELECT dtb_docr.cod_jcom AS cod_jcom,\n" + + " jtb_comt.descrizione,\n" + + " CONVERT(NUMERIC(20, 5), 0),\n" + + " Sum(dtb_docr.qta_doc * dtb_docr.costo_unt * (\n" + + " dtb_tipi.segno_val_car - dtb_tipi.segno_val_scar ) * (\n" + + " CASE dtb_tipi.gestione\n" + + " WHEN 'A' THEN 1\n" + + " ELSE-1\n" + + " END ) / dtb_doct.cambio),\n" + + " CONVERT(NUMERIC(20, 5), 0),\n" + + " CONVERT(NUMERIC(20, 5), 0),\n" + + " CONVERT(NUMERIC(20, 5), 0),\n" + + " CONVERT(NUMERIC(20, 5), 0),\n" + + " dtb_doct.data_reg\n" + + "FROM dtb_docr,\n" + + " jtb_comt,\n" + + " dtb_doct,\n" + + " dtb_tipi\n" + + "WHERE ( dtb_doct.cod_anag = dtb_docr.cod_anag )\n" + + " AND ( dtb_doct.cod_dtip = dtb_docr.cod_dtip )\n" + + " AND ( dtb_doct.data_doc = dtb_docr.data_doc )\n" + + " AND ( dtb_doct.ser_doc = dtb_docr.ser_doc )\n" + + " AND ( dtb_doct.num_doc = dtb_docr.num_doc )\n" + + " AND ( dtb_docr.cod_dtip = dtb_tipi.cod_dtip )\n" + + " AND ( dtb_docr.cod_jcom = jtb_comt.cod_jcom )\n" + + " AND ( dtb_tipi.flag_analisi_costi_com = 'S' )\n" + + " AND ( dtb_tipi.tipo_emissione = 'DIRETTA' )\n" + + "GROUP BY dtb_docr.cod_jcom,\n" + + " jtb_comt.descrizione,\n" + + " dtb_doct.data_reg\n" + + "UNION\n" + + "SELECT dtb_docs.cod_jcom,\n" + + " jtb_comt.descrizione,\n" + + " CONVERT(NUMERIC(20, 5), 0),\n" + + " CONVERT(NUMERIC(20, 5), 0),\n" + + " Sum(( dtb_docs.importo / dtb_doct.cambio )),\n" + + " CONVERT(NUMERIC(20, 5), 0),\n" + + " CONVERT(NUMERIC(20, 5), 0),\n" + + " CONVERT(NUMERIC(20, 5), 0),\n" + + " dtb_doct.data_reg\n" + + "FROM dtb_docs,\n" + + " jtb_comt,\n" + + " dtb_doct,\n" + + " dtb_tipi\n" + + "WHERE ( dtb_doct.cod_anag = dtb_docs.cod_anag )\n" + + " AND ( dtb_doct.cod_dtip = dtb_docs.cod_dtip )\n" + + " AND ( dtb_doct.data_doc = dtb_docs.data_doc )\n" + + " AND ( dtb_doct.ser_doc = dtb_docs.ser_doc )\n" + + " AND ( dtb_doct.num_doc = dtb_docs.num_doc )\n" + + " AND ( dtb_doct.cod_dtip = dtb_tipi.cod_dtip )\n" + + " AND ( dtb_docs.cod_jcom = jtb_comt.cod_jcom )\n" + + " AND ( dtb_tipi.flag_analisi_costi_com = 'S' )\n" + + " AND ( dtb_tipi.tipo_emissione = 'DIFFERITA' )\n" + + " AND ( dtb_tipi.gestione = 'L' )\n" + + " AND ( dtb_tipi.segno_val_car = 1 )\n" + + "GROUP BY dtb_docs.cod_jcom,\n" + + " jtb_comt.descrizione,\n" + + " dtb_doct.data_reg\n" + + "UNION\n" + + "SELECT ctb_movr_coan.cod_jcom,\n" + + " jtb_comt.descrizione,\n" + + " CONVERT(NUMERIC(20, 5), 0),\n" + + " CONVERT(NUMERIC(20, 5), 0),\n" + + " CONVERT(NUMERIC(20, 5), 0),\n" + + " Sum(( ctb_movr_coan.imp_dare - ctb_movr_coan.imp_avere ) /\n" + + " ctb_movr_coan.cambio_divi_cont),\n" + + " CONVERT(NUMERIC(20, 5), 0),\n" + + " CONVERT(NUMERIC(20, 5), 0),\n" + + " ctb_movt.data_cmov\n" + + "FROM ctb_movr_coan,\n" + + " jtb_comt,\n" + + " ctb_grup,\n" + + " ctb_cont,\n" + + " ctb_movr,\n" + + " ctb_movt\n" + + "WHERE ( ctb_movt.num_cmov = ctb_movr_coan.num_cmov )\n" + + " AND ( ctb_movr_coan.cod_jcom = jtb_comt.cod_jcom )\n" + + " AND ( ctb_grup.cod_cgrp = ctb_cont.cod_cgrp )\n" + + " AND ( ctb_movr.cod_ccon = ctb_cont.cod_ccon )\n" + + " AND ( ctb_movr.num_cmov = ctb_movr_coan.num_cmov )\n" + + " AND ( ctb_movr_coan.id_riga = ctb_movr.id_riga )\n" + + " AND ( ctb_grup.tipo = '4' )\n" + + "GROUP BY ctb_movr_coan.cod_jcom,\n" + + " jtb_comt.descrizione,\n" + + " ctb_movt.data_cmov\n" + + "UNION\n" + + "SELECT ctb_movr_coan.cod_jcom,\n" + + " jtb_comt.descrizione,\n" + + " CONVERT(NUMERIC(20, 5), 0),\n" + + " CONVERT(NUMERIC(20, 5), 0),\n" + + " CONVERT(NUMERIC(20, 5), 0),\n" + + " CONVERT(NUMERIC(20, 5), 0),\n" + + " Sum(( ctb_movr_coan.imp_avere - ctb_movr_coan.imp_dare ) /\n" + + " ctb_movr_coan.cambio_divi_cont),\n" + + " CONVERT(NUMERIC(20, 5), 0),\n" + + " ctb_movt.data_cmov\n" + + "FROM ctb_movr_coan,\n" + + " jtb_comt,\n" + + " ctb_cont,\n" + + " ctb_grup,\n" + + " ctb_movr,\n" + + " ctb_movt\n" + + "WHERE ( ctb_movt.num_cmov = ctb_movr_coan.num_cmov )\n" + + " AND ( ctb_movr_coan.cod_jcom = jtb_comt.cod_jcom )\n" + + " AND ( ctb_grup.cod_cgrp = ctb_cont.cod_cgrp )\n" + + " AND ( ctb_movr.cod_ccon = ctb_cont.cod_ccon )\n" + + " AND ( ctb_movr.num_cmov = ctb_movr_coan.num_cmov )\n" + + " AND ( ctb_movr_coan.id_riga = ctb_movr.id_riga )\n" + + " AND ( ctb_grup.tipo = '5' )\n" + + "GROUP BY ctb_movr_coan.cod_jcom,\n" + + " jtb_comt.descrizione,\n" + + " ctb_movt.data_cmov"); + } + + @Override + public void down() throws Exception { + + } + +} diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250908171146.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250908171146.java new file mode 100644 index 0000000000..72183e25cd --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250908171146.java @@ -0,0 +1,30 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.IntegryCustomer; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250908171146 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + createSetup("W_MSCHMOVART_PART_DISP", "DATAWINDOW", "D_MSCHMOVART_PART_DEP_REP", null, + null, false, null, false, false, + false, false, false, null, false, null); + + + if(isCustomer(IntegryCustomer.RossoGargano)) { + updateSetupValue("W_MSCHMOVART_PART_DISP", "DATAWINDOW", "D_MSCHMOVART_PART_DEP_REP", "d_mschmovart_part_dep_rossogargano_rep"); + + } + } + + @Override + public void down() throws Exception { + + } + +} diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250909104539.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250909104539.java new file mode 100644 index 0000000000..d610a741d6 --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250909104539.java @@ -0,0 +1,22 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250909104539 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + executeStatement("update ctb_amac\n" + + "set ctb_amac.cod_mdep = jtb_fasi.cod_mdep_lav\n" + + "from ctb_amac\n" + + " left join jtb_fasi on ctb_amac.cod_jfas = jtb_fasi.cod_jfas"); + + } + + @Override + public void down() throws Exception { + } +} \ No newline at end of file diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250909125147.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250909125147.java new file mode 100644 index 0000000000..2700b54df7 --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250909125147.java @@ -0,0 +1,28 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.IntegryCustomer; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250909125147 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + createSetupQuery("SI_NO", "SI_NO", "SELECT 'S' UNION ALL SELECT 'N'"); + createSetup("DATI_AZIENDA", "INVIO_EMAIL", "NEW", "[_azienda.ini|TEST_MAIL|NEW|N]", +"Apre la mail in outlook con i nuovi oggetti", false, "SI_NO", false, false, +false, false, false, null, false, "SELECT 'S' UNION ALL SELECT 'N'"); + + if (isCustomer(IntegryCustomer.RossoGargano)) + updateSetupValue("DATI_AZIENDA", "INVIO_EMAIL", "NEW", "S"); + } + + @Override + public void down() throws Exception { + + } + +} diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250909131006.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250909131006.java new file mode 100644 index 0000000000..54166edae9 --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250909131006.java @@ -0,0 +1,27 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.IntegryCustomer; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250909131006 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + deleteSetup("DATI_AZIENDA", "INVIO_EMAIL", "NEW"); + createSetupQuery("SI_NO", "SI_NO", "SELECT 'S' UNION ALL SELECT 'N'"); + createSetup("DATI_AZIENDA", "SETUP", "INVIO_EMAIL_NEW", "[_azienda.ini|TEST_MAIL|NEW|N]", + "Apre la mail in outlook con i nuovi oggetti", false, "SI_NO", false, false, + false, false, false, null, false, "SELECT 'S' UNION ALL SELECT 'N'"); + + if (isCustomer(IntegryCustomer.RossoGargano)) + updateSetupValue("DATI_AZIENDA", "SETUP", "INVIO_EMAIL_NEW", "S"); + } + + @Override + public void down() throws Exception { + } +} \ No newline at end of file diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250909145813.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250909145813.java new file mode 100644 index 0000000000..dfc473ea00 --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250909145813.java @@ -0,0 +1,31 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.MigrationModelInterface; +import it.integry.ems_model.utility.dto.IndexTableDTO; + +import java.util.Arrays; +import java.util.Collections; + +public class Migration_20250909145813 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + IndexTableDTO indexTableDTO = + new IndexTableDTO() + .setTableName("ctb_amac_history") + .setIndexName("ctb_amac_history_cod_cmac_index") + .setColumnsIndex(Collections.singletonList( + new IndexTableDTO.ColumnIndex("cod_cmac") + )) + .setOverride(false); + createIndex(indexTableDTO); + } + + @Override + public void down() throws Exception { + } +} \ No newline at end of file diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250909162127.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250909162127.java new file mode 100644 index 0000000000..cbc793f42a --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250909162127.java @@ -0,0 +1,189 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.IntegryCustomer; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250909162127 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + if (!isCustomer(IntegryCustomer.Biolevante)) + return; + + executeStatement( + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'0T' WHERE cod_cmac = N'TANK00T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'1' WHERE cod_cmac = N'TANK01';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'1T' WHERE cod_cmac = N'TANK01T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'2' WHERE cod_cmac = N'TANK02';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'2T' WHERE cod_cmac = N'TANK02T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'3' WHERE cod_cmac = N'TANK03';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'3T' WHERE cod_cmac = N'TANK03T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'4' WHERE cod_cmac = N'TANK04';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'4T' WHERE cod_cmac = N'TANK04T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'5' WHERE cod_cmac = N'TANK05';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'5T' WHERE cod_cmac = N'TANK05T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'6' WHERE cod_cmac = N'TANK06';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'6T' WHERE cod_cmac = N'TANK06T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'7' WHERE cod_cmac = N'TANK07';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'7T' WHERE cod_cmac = N'TANK07T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'8T' WHERE cod_cmac = N'TANK08T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'9T' WHERE cod_cmac = N'TANK09T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'10T' WHERE cod_cmac = N'TANK10T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'11T' WHERE cod_cmac = N'TANK11T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'12T' WHERE cod_cmac = N'TANK12T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'13T' WHERE cod_cmac = N'TANK13T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'14T' WHERE cod_cmac = N'TANK14T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'15T' WHERE cod_cmac = N'TANK15T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'16T' WHERE cod_cmac = N'TANK16T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'17T' WHERE cod_cmac = N'TANK17T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'18T' WHERE cod_cmac = N'TANK18T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'19T' WHERE cod_cmac = N'TANK19T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'20T' WHERE cod_cmac = N'TANK20T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'22T' WHERE cod_cmac = N'TANK22T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'23T' WHERE cod_cmac = N'TANK23T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'24T' WHERE cod_cmac = N'TANK24T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'25T' WHERE cod_cmac = N'TANK25T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'26T' WHERE cod_cmac = N'TANK26T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'27T' WHERE cod_cmac = N'TANK27T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'28T' WHERE cod_cmac = N'TANK28T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'29T' WHERE cod_cmac = N'TANK29T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'30T' WHERE cod_cmac = N'TANK30T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'31T' WHERE cod_cmac = N'TANK31T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'32T' WHERE cod_cmac = N'TANK32T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'33T' WHERE cod_cmac = N'TANK33T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'34T' WHERE cod_cmac = N'TANK34T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'35T' WHERE cod_cmac = N'TANK35T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'36T' WHERE cod_cmac = N'TANK36T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'37T' WHERE cod_cmac = N'TANK37T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'38T' WHERE cod_cmac = N'TANK38T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'39T' WHERE cod_cmac = N'TANK39T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'40T' WHERE cod_cmac = N'TANK40T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'41T' WHERE cod_cmac = N'TANK41T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'42T' WHERE cod_cmac = N'TANK42T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'43T' WHERE cod_cmac = N'TANK43T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V1' WHERE cod_cmac = N'TANKV01';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V1T' WHERE cod_cmac = N'TANKV01T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V2' WHERE cod_cmac = N'TANKV02';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V2T' WHERE cod_cmac = N'TANKV02T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V3' WHERE cod_cmac = N'TANKV03';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V3T' WHERE cod_cmac = N'TANKV03T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V4' WHERE cod_cmac = N'TANKV04';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V4T' WHERE cod_cmac = N'TANKV04T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V5' WHERE cod_cmac = N'TANKV05';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V5T' WHERE cod_cmac = N'TANKV05T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V6' WHERE cod_cmac = N'TANKV06';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V6T' WHERE cod_cmac = N'TANKV06T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V7' WHERE cod_cmac = N'TANKV07';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V7T' WHERE cod_cmac = N'TANKV07T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V8' WHERE cod_cmac = N'TANKV08';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V8T' WHERE cod_cmac = N'TANKV08T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V9' WHERE cod_cmac = N'TANKV09';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V9T' WHERE cod_cmac = N'TANKV09T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V10' WHERE cod_cmac = N'TANKV10';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V0T' WHERE cod_cmac = N'TANKV10T';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V11' WHERE cod_cmac = N'TANKV11';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V12' WHERE cod_cmac = N'TANKV12';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V13' WHERE cod_cmac = N'TANKV13';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V14' WHERE cod_cmac = N'TANKV14';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V15' WHERE cod_cmac = N'TANKV15';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V16' WHERE cod_cmac = N'TANKV16';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V17' WHERE cod_cmac = N'TANKV17';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V18' WHERE cod_cmac = N'TANKV18';", + "UPDATE Biolevante.dbo.ctb_amac SET posizione = N'V19' WHERE cod_cmac = N'TANKV19';", + + "UPDATE mtb_depo_posizioni SET cod_area = N'Q4' WHERE cod_mdep = N'01' AND posizione = N'V6T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q4' WHERE cod_mdep = N'01' AND posizione = N'V0T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q4' WHERE cod_mdep = N'01' AND posizione = N'V1T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q4' WHERE cod_mdep = N'01' AND posizione = N'V8T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q4' WHERE cod_mdep = N'01' AND posizione = N'V7T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q4' WHERE cod_mdep = N'01' AND posizione = N'V3T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q4' WHERE cod_mdep = N'01' AND posizione = N'V4T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q4' WHERE cod_mdep = N'01' AND posizione = N'V5T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q4' WHERE cod_mdep = N'01' AND posizione = N'V9T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q4' WHERE cod_mdep = N'01' AND posizione = N'V2T'", + + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'32T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'8T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'17T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'4T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'19T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'30T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'43T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'34T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'13T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'28T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'15T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'25T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'2T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'45T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'9T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'38T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'44T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'41T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'12T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'40T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'37T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'20T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'33T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'0T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'23T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'14T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'27T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'24T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'22T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'35T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'31T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'3T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'18T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'16T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'7T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'21T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'5T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'39T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'1T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'11T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'10T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'26T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'6T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'42T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'36T'", + "UPDATE mtb_depo_posizioni SET cod_area = N'F' WHERE cod_mdep = N'01' AND posizione = N'29T'", + + "UPDATE mtb_depo_posizioni SET cod_area = N'Q6' WHERE cod_mdep = N'01' AND posizione = N'V18'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q6' WHERE cod_mdep = N'01' AND posizione = N'V16'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q6' WHERE cod_mdep = N'01' AND posizione = N'V14'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q6' WHERE cod_mdep = N'01' AND posizione = N'V9'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q6' WHERE cod_mdep = N'01' AND posizione = N'V7'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q6' WHERE cod_mdep = N'01' AND posizione = N'V1'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q6' WHERE cod_mdep = N'01' AND posizione = N'V17'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q6' WHERE cod_mdep = N'01' AND posizione = N'V19'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q6' WHERE cod_mdep = N'01' AND posizione = N'V13'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q6' WHERE cod_mdep = N'01' AND posizione = N'V8'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q6' WHERE cod_mdep = N'01' AND posizione = N'V6'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q6' WHERE cod_mdep = N'01' AND posizione = N'V5'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q6' WHERE cod_mdep = N'01' AND posizione = N'V3'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q6' WHERE cod_mdep = N'01' AND posizione = N'V2'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q6' WHERE cod_mdep = N'01' AND posizione = N'V4'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q6' WHERE cod_mdep = N'01' AND posizione = N'V10'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q6' WHERE cod_mdep = N'01' AND posizione = N'V15'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q6' WHERE cod_mdep = N'01' AND posizione = N'V11'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q6' WHERE cod_mdep = N'01' AND posizione = N'V12'", + + "UPDATE mtb_depo_posizioni SET cod_area = N'Q5' WHERE cod_mdep = N'01' AND posizione = N'6'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q5' WHERE cod_mdep = N'01' AND posizione = N'5'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q5' WHERE cod_mdep = N'01' AND posizione = N'7'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q5' WHERE cod_mdep = N'01' AND posizione = N'4'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q5' WHERE cod_mdep = N'01' AND posizione = N'1'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q5' WHERE cod_mdep = N'01' AND posizione = N'3'", + "UPDATE mtb_depo_posizioni SET cod_area = N'Q5' WHERE cod_mdep = N'01' AND posizione = N'2'" + + ); + } + + @Override + public void down() throws Exception { + } +} \ No newline at end of file diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250909175525.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250909175525.java new file mode 100644 index 0000000000..9772b1f0d8 --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250909175525.java @@ -0,0 +1,225 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250909175525 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + + createOrUpdateTrigger("t_UpdProgMagaR", "CREATE TRIGGER [dbo].[t_UpdProgMagaR] ON [dbo].[dtb_ordr] \n" + + "FOR UPDATE, DELETE, INSERT\n" + + "AS\n" + + "/* Local Variables */\n" + + "DECLARE @ls_codMart VARCHAR(15),\n" + + " @ls_codComp VARCHAR(15),\n" + + " @ls_codTagl VARCHAR(15),\n" + + " @ls_codMdep VARCHAR(5),\n" + + " @ls_codCol VARCHAR(5),\n" + + " @ls_partitaMag VARCHAR(20),\n" + + " @ls_gestione VARCHAR(1),\n" + + " @ls_articoloComposto VARCHAR(1),\n" + + " @ldt_dataOrd DATETIME,\n" + + " @application_name VARCHAR(40),\n" + + " @li_numOrd INTEGER, \n" + + " @li_rigaOrd INTEGER,\n" + + " @ls_rowType VARCHAR(1),\n" + + " @aggiorna VARCHAR(1)\n" + + "\n" + + " /* Necessaria per connessione OLEDB */\n" + + " set nocount on\n" + + " \n" + + " SELECT @application_name = application_name FROM azienda\n" + + " IF @application_name = 'TEXTILES' \n" + + " BEGIN\n" + + " /* Aggiornamento progressivi dell'ordine: qta_acc, qta_col, qta_evasa */\n" + + " IF EXISTS (SELECT * FROM inserted) \n" + + " BEGIN\n" + + " SELECT @ls_gestione = gestione,\n" + + " @ldt_dataOrd = data_ord,\n" + + " @li_numOrd = num_ord,\n" + + " @li_rigaOrd = riga_ord\n" + + " FROM inserted\n" + + " END \n" + + " ELSE\n" + + " BEGIN\n" + + " SELECT @ls_gestione = gestione,\n" + + " @ldt_dataOrd = data_ord,\n" + + " @li_numOrd = num_ord,\n" + + " @li_rigaOrd = riga_ord\n" + + " FROM deleted\n" + + " END\n" + + " \n" + + " UPDATE dtb_ordr SET dtb_ordr.qta_col = Prog.qta_col,\n" + + " dtb_ordr.qta_acc = Prog.qta_acc,\n" + + " dtb_ordr.qta_evasa = Prog.qta_evasa\n" + + " FROM dtb_ordr, dbo.ftx_getProgressiviOrd(@ls_gestione, @ldt_dataOrd, @li_numOrd, @li_rigaOrd) as Prog\n" + + " WHERE dtb_ordr.gestione =Prog.gestione and \n" + + " dtb_ordr.data_ord = Prog.data_ord and \n" + + " dtb_ordr.num_ord = Prog.num_ord and \n" + + " dtb_ordr.riga_ord = Prog.riga_ord \n" + + " IF @@ERROR <> 0 RETURN\n" + + " END\n" + + " \n" + + " /* Aggiornamento numero confezioni: */\n" + + " UPDATE dtb_ordr \n" + + " SET num_cnf = case when inserted.qta_cnf <> 0 then case when mtb_aart.flag_qta_cnf_fissa = 'N' then round(inserted.qta_ord / inserted.qta_cnf, 0, 1) else round(inserted.qta_ord / inserted.qta_cnf, 5) end else 0 end \n" + + " FROM dtb_ordr, \n" + + " inserted,\n" + + " mtb_aart\n" + + " WHERE ( dtb_ordr.gestione = inserted.gestione ) AND \n" + + " ( dtb_ordr.data_ord = inserted.data_ord ) AND \n" + + " ( dtb_ordr.num_ord = inserted.num_ord ) AND \n" + + " ( dtb_ordr.riga_ord = inserted.riga_ord ) AND\n" + + " ( inserted.cod_mart = mtb_aart.cod_mart ) AND\n" + + " ( inserted.num_cnf = 0 );\n" + + " IF @@ERROR <> 0 RETURN\n" + + "\n" + + " /*Aggiornamento flag_evaso*/\n" + + " UPDATE dtb_ordr \n" + + " SET flag_evaso = case when inserted.flag_evaso_forzato = 'S' then \n" + + " 'E' \n" + + " else\n" + + " case when deleted.flag_evaso IS NULL AND inserted.qta_ord > 0 AND inserted.flag_evaso = 'I' AND inserted.qta_evasa >= inserted.qta_ord then\n" + + " 'E'\n" + + " else\n" + + " case when deleted.flag_evaso = inserted.flag_evaso AND inserted.flag_evaso = 'I' AND \n" + + " deleted.qta_ord = inserted.qta_ord AND deleted.qta_evasa = inserted.qta_evasa AND \n" + + " deleted.unt_ord is null AND inserted.unt_ord is null AND \n" + + " inserted.qta_ord = 0 AND inserted.qta_evasa = 0 then\n" + + " 'E'\n" + + " else\n" + + " case when deleted.flag_evaso = inserted.flag_evaso AND deleted.flag_evaso = 'E' AND deleted.qta_ord > 0 AND \n" + + " (deleted.qta_evasa >= deleted.qta_ord OR deleted.qta_evasa < deleted.qta_ord AND deleted.flag_evaso_forzato <> inserted.flag_evaso_forzato AND inserted.flag_evaso_forzato = 'N') AND \n" + + " inserted.qta_ord > 0 AND inserted.qta_evasa < inserted.qta_ord then\n" + + " 'I'\n" + + " else\n" + + " \n" + + " case when deleted.flag_evaso = inserted.flag_evaso AND deleted.flag_evaso = 'I' AND \n" + + " deleted.qta_ord > 0 AND deleted.qta_evasa < deleted.qta_ord AND \n" + + " inserted.qta_ord > 0 AND inserted.qta_evasa >= inserted.qta_ord then\n" + + " 'E'\n" + + " else\n" + + " case when deleted.flag_evaso <> inserted.flag_evaso AND inserted.flag_evaso = 'I' AND \n" + + " deleted.qta_ord > 0 AND inserted.qta_ord > 0 AND inserted.qta_evasa >= inserted.qta_ord then \n" + + " deleted.flag_evaso\n" + + " else\n" + + " inserted.flag_evaso\n" + + " end\n" + + " end\n" + + " end \n" + + " end \n" + + " end\n" + + " end\n" + + " FROM dtb_ordr left outer join deleted on dtb_ordr.gestione = deleted.gestione AND\n" + + " dtb_ordr.data_ord = deleted.data_ord AND \n" + + " dtb_ordr.num_ord = deleted.num_ord AND \n" + + " dtb_ordr.riga_ord = deleted.riga_ord\n" + + " inner join inserted on dtb_ordr.gestione = inserted.gestione AND \n" + + " dtb_ordr.data_ord = inserted.data_ord AND \n" + + " dtb_ordr.num_ord = inserted.num_ord AND \n" + + " dtb_ordr.riga_ord = inserted.riga_ord;\n" + + "\n" + + " IF @@ERROR <> 0 RETURN\n" + + "\n" + + " /* Dichiarazione Cursore delle righe degli ordini sulle quali avrà effetto il trigger */\n" + + " DECLARE csr_ordr CURSOR FOR \n" + + " SELECT 'D' as row_type, \n" + + " deleted.cod_mart, \n" + + " dtb_ordt.cod_mdep, \n" + + " deleted.cod_col, \n" + + " deleted.cod_tagl, \n" + + " deleted.partita_mag, \n" + + " mtb_aart.articolo_composto, \n" + + " CASE WHEN inserted.cod_mdep IS NULL OR ISNULL(inserted.cod_mdep,'') <> deleted.cod_mdep THEN 'S' ELSE 'N' END as aggiorna\n" + + " FROM dtb_ordt, \n" + + " deleted FULL OUTER JOIN inserted ON deleted.gestione = inserted.gestione and\n" + + " deleted.data_ord = inserted.data_ord and\n" + + " deleted.num_ord = inserted.num_ord and\n" + + " deleted.riga_ord = inserted.riga_ord, \n" + + " mtb_aart\n" + + " WHERE dtb_ordt.gestione=deleted.gestione AND \n" + + " dtb_ordt.data_ord=deleted.data_ord AND \n" + + " dtb_ordt.num_ord=deleted.num_ord AND \n" + + " mtb_aart.cod_mart=deleted.cod_mart\n" + + " UNION ALL\n" + + " SELECT 'I' as row_type, \n" + + " inserted.cod_mart, \n" + + " dtb_ordt.cod_mdep, \n" + + " inserted.cod_col, \n" + + " inserted.cod_tagl, \n" + + " inserted.partita_mag, \n" + + " mtb_aart.articolo_composto, \n" + + " 'S' as aggiorna\n" + + " FROM dtb_ordt, inserted, mtb_aart, dtb_ordr\n" + + " WHERE dtb_ordt.gestione=inserted.gestione AND \n" + + " dtb_ordt.data_ord=inserted.data_ord AND \n" + + " dtb_ordt.num_ord=inserted.num_ord AND \n" + + " dtb_ordr.gestione=inserted.gestione AND \n" + + " dtb_ordr.data_ord=inserted.data_ord AND \n" + + " dtb_ordr.num_ord=inserted.num_ord AND \n" + + " dtb_ordr.riga_ord=inserted.riga_ord AND \n" + + " mtb_aart.cod_mart=inserted.cod_mart\n" + + "\n" + + " OPEN csr_ordr\n" + + " FETCH NEXT FROM csr_ordr INTO @ls_rowType, @ls_codMart, @ls_codMdep, @ls_codCol, @ls_codTagl, @ls_partitaMag,@ls_articoloComposto, @aggiorna\n" + + " WHILE @@FETCH_STATUS = 0 BEGIN\n" + + " \n" + + " IF @aggiorna = 'S'\n" + + " BEGIN \n" + + " IF @ls_articoloComposto = 'N' \n" + + " BEGIN\n" + + " /* Aggiornamento progressivi articolo NON composto */\n" + + " EXECUTE UpdDispArti\n" + + " @ls_codMart,\n" + + " @ls_codCol,\n" + + " @ls_codTagl,\n" + + " @ls_partitaMag,\n" + + " @ls_codMdep\n" + + " IF @@ERROR <> 0 RETURN \n" + + " END\n" + + " ELSE \n" + + " BEGIN\n" + + " /* Aggiornamento progressivi articolo composto */\n" + + " DECLARE csr_comp CURSOR FOR \n" + + " SELECT cod_comp\n" + + " FROM mtb_comp\n" + + " WHERE cod_mart=@ls_codMart\n" + + "\n" + + " OPEN csr_comp\n" + + " FETCH NEXT FROM csr_comp INTO @ls_codComp\n" + + " WHILE @@FETCH_STATUS = 0 BEGIN\n" + + " EXECUTE UpdDispArti\n" + + " @ls_codComp,\n" + + " @ls_codCol,\n" + + " @ls_codTagl,\n" + + " @ls_partitaMag,\n" + + " @ls_codMdep\n" + + " IF @@ERROR <> 0 RETURN\n" + + " FETCH NEXT FROM csr_comp INTO @ls_codComp\n" + + " END\n" + + " CLOSE csr_comp\n" + + " DEALLOCATE csr_comp\n" + + " END\n" + + " END\n" + + "\n" + + " FETCH NEXT FROM csr_ordr INTO @ls_rowType, @ls_codMart, @ls_codMdep, @ls_codCol, @ls_codTagl, @ls_partitaMag,@ls_articoloComposto, @aggiorna\n" + + " END\n" + + " CLOSE csr_ordr\n" + + " DEALLOCATE csr_ordr\n" + + "\n" + + "\n" + + " /* Necessaria per connessione OLEDB */\n" + + " set nocount off"); + } + + @Override + public void down() throws Exception { + + } + +} diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250910105805.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250910105805.java new file mode 100644 index 0000000000..f5d7e9456a --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250910105805.java @@ -0,0 +1,354 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250910105805 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + executeStatement( + "ALTER TABLE dbo.vtb_offt\n" + + " ADD CONSTRAINT vtb_offt_gtb_porto_porto_fk\n" + + " FOREIGN KEY (incoterms) REFERENCES dbo.gtb_porto;" + ); + + createOrUpdateView("vvw_contratti_vendita", "CREATE VIEW [dbo].[vvw_contratti_vendita] AS\n" + + "WITH depo AS (SELECT TOP 1 cod_mdep\n" + + " FROM mtb_depo\n" + + " WHERE mtb_depo.flag_movimentabile = 'S'\n" + + " AND (cod_anag IS NULL OR cod_anag IN (SELECT gtb_anag.cod_anag\n" + + " FROM gtb_anag,\n" + + " azienda\n" + + " WHERE gtb_anag.part_iva = azienda.part_iva))),\n" + + " contratto AS (SELECT vtb_offt.cod_anag,\n" + + " vtb_offt.cod_vdes,\n" + + " vtb_offt.note,\n" + + " vtb_offr.id_offerta,\n" + + " vtb_offr.cod_mart,\n" + + " vtb_offr.unt_mis,\n" + + " vtb_offr.descrizione,\n" + + " vtb_offr.descrizione_html,\n" + + " vtb_offr.json_costi,\n" + + " vtb_offr.costo_unt,\n" + + " vtb_offr.unt_mis_vend,\n" + + " vtb_offr.prz_unt,\n" + + " vtb_offr.qta_off,\n" + + " vtb_offr.data_iniz_contr,\n" + + " vtb_offr.data_fine_contr,\n" + + " vtb_offt.cod_paga,\n" + + " vtb_offt.descrizione_paga,\n" + + " vtb_offr.perc_sco1,\n" + + " vtb_offr.perc_sco2,\n" + + " vtb_offr.perc_sco3,\n" + + " vtb_offr.perc_sco4,\n" + + " vtb_offr.rap_conv_vend,\n" + + " vtb_offr.qta_ord,\n" + + " vtb_offr.qta_doc,\n" + + " vtb_offr.qta_fatt,\n" + + " vtb_offr.note AS note_riga,\n" + + " vtb_offt.condizioni_commerciali,\n" + + " vtb_offt.incoterms,\n" + + " vtb_offt.note_incoterms,\n" + + " vtb_offt.data_rif_scad,\n" + + " vtb_offt.perc_prov,\n" + + " vtb_offt.note_carico,\n" + + " vtb_offt.term_cons\n" + + " FROM vtb_offt\n" + + " INNER JOIN vtb_offr ON vtb_offt.id_offerta = vtb_offr.id_offerta\n" + + " CROSS APPLY [dbo].[getUntMisArticolo](vtb_offr.cod_mart, vtb_offr.unt_mis_vend) um\n" + + " WHERE stato_offerta = 3)\n" + + "\n" + + "SELECT contratto.data_iniz_contr AS data_iniz,\n" + + " contratto.data_fine_contr AS data_fine,\n" + + " contratto.id_offerta AS id_contratto,\n" + + " contratto.note,\n" + + " contratto.cod_mart,\n" + + " contratto.descrizione AS descrizione_articolo,\n" + + " contratto.unt_mis_vend AS unt_mis_ven,\n" + + " contratto.qta_off AS qta_vend_contratto,\n" + + " contratto.prz_unt AS prz_vend,\n" + + " contratto.perc_sco1,\n" + + " contratto.perc_sco2,\n" + + " contratto.perc_sco3,\n" + + " contratto.perc_sco4,\n" + + " ISNULL(contratto.qta_ord, 0) AS qta_ord,\n" + + " ISNULL(contratto.qta_doc, 0) AS qta_doc,\n" + + " gtb_anag.cod_anag,\n" + + " gtb_anag.rag_soc,\n" + + " gtb_anag.indirizzo,\n" + + " gtb_anag.cap,\n" + + " gtb_anag.citta,\n" + + " gtb_anag.prov,\n" + + " gtb_anag.nazione,\n" + + " gtb_anag.e_mail,\n" + + " gtb_anag.telefono,\n" + + " gtb_anag.part_iva,\n" + + " ISNULL(giacenza.qta_disp * rap_conv_vend, 0) AS qta_disp,\n" + + " (SELECT cod_mdep FROM depo) AS cod_mdep,\n" + + " contratto.prz_unt * (1 - contratto.perc_sco1 / 100) * (1 - contratto.perc_sco2 / 100) -\n" + + " (1 * contratto.perc_sco3 / 100) *\n" + + " (1 - contratto.perc_sco4 / 100) AS prz_vend_netto,\n" + + " contratto.cod_paga,\n" + + " ISNULL(contratto.descrizione_paga, gtb_paga.descrizione) AS descrizione_paga,\n" + + " contratto.qta_off -\n" + + " ISNULL(contratto.qta_ord, 0) -\n" + + " ISNULL(contratto.qta_doc, 0) AS qta_residua,\n" + + " ISNULL(contratto.qta_ord + contratto.qta_doc, 0) AS qta_usata,\n" + + " contratto.rap_conv_vend AS rap_conv,\n" + + " contratto.cod_vdes,\n" + + " vd.destinatario,\n" + + " vd.indirizzo AS indirizzo_dest,\n" + + " vc.cod_vlis,\n" + + " contratto.qta_fatt,\n" + + " contratto.note_riga,\n" + + " contratto.condizioni_commerciali,\n" + + " contratto.incoterms,\n" + + " gp.descrizione AS desc_incoterms,\n" + + " contratto.note_incoterms,\n" + + " contratto.data_rif_scad,\n" + + " contratto.perc_prov,\n" + + " contratto.note_carico,\n" + + " contratto.term_cons\n" + + "FROM contratto\n" + + " INNER JOIN gtb_anag ON contratto.cod_anag = gtb_anag.cod_anag\n" + + " INNER JOIN vtb_clie vc ON contratto.cod_anag = vc.cod_anag\n" + + " LEFT OUTER JOIN vtb_dest vd ON contratto.cod_anag = vd.cod_anag AND contratto.cod_vdes = vd.cod_vdes\n" + + " LEFT OUTER JOIN gtb_paga ON contratto.cod_paga = gtb_paga.cod_paga\n" + + " LEFT OUTER JOIN gtb_porto gp ON contratto.incoterms = gp.porto\n" + + " OUTER APPLY (SELECT SUM(mtb_part.qta_esistente + mtb_part.qta_imp_lav - mtb_part.qta_imp_cli) AS qta_disp\n" + + " FROM mtb_part\n" + + " INNER JOIN mtb_depo ON mtb_part.cod_mdep = mtb_depo.cod_mdep\n" + + " WHERE mtb_depo.flag_movimentabile = 'S'\n" + + " AND mtb_part.cod_mart = contratto.cod_mart) giacenza"); + + createOrUpdateFunction("pvm_getassortimentoClientePedane", "CREATE FUNCTION [dbo].[pvm_getassortimentoClientePedane](\n" + + " @codAnag VARCHAR(5), @codVlis VARCHAR(5), @codVdes VARCHAR(5), @dataValidita DATETIME, @viewPromo BIT,\n" + + " @pedane INT = 0\n" + + ")\n" + + " RETURNS TABLE\n" + + " AS\n" + + " RETURN( /*\n" + + "\n" + + " declare @codAnag VARCHAR(5), @codVlis VARCHAR(5), @dataValidita DATETIME, @viewPromo BIT\n" + + " set @codAnag = 'C3355'\n" + + " set @codVlis = 'C3355'\n" + + " set @dataValidita = '2023/04/04'\n" + + " set @viewPromo = 1;\n" + + " */\n" + + " WITH assortimento AS (SELECT vtb_griglia_art.cod_mart\n" + + " FROM vtb_clie\n" + + " INNER JOIN vtb_griglia ON vtb_clie.cod_griglia = vtb_griglia.cod_griglia\n" + + " INNER JOIN vtb_griglia_art\n" + + " ON vtb_griglia.cod_griglia = vtb_griglia_art.cod_griglia AND\n" + + " vtb_griglia.data_validita = vtb_griglia_art.data_validita\n" + + " WHERE vtb_clie.cod_anag = @codAnag\n" + + " AND vtb_griglia.data_validita = (SELECT MAX(g.data_validita)\n" + + " FROM vtb_griglia g\n" + + " WHERE g.cod_griglia = vtb_clie.cod_griglia\n" + + " AND g.data_validita <= ISNULL(@dataValidita, CAST(GETDATE() AS DATE)))),\n" + + " lisv AS (SELECT cod_vlis, cod_vlis AS cod_vlis_rif\n" + + " FROM vtb_list\n" + + " WHERE cod_vlis_rif IS NULL\n" + + " UNION ALL\n" + + " SELECT cod_vlis, cod_vlis_rif\n" + + " FROM vtb_list\n" + + " WHERE cod_vlis_rif IS NOT NULL),\n" + + " listino AS (SELECT DISTINCT cod_mart, tipo_variazione\n" + + " FROM (SELECT lisv.cod_vlis,\n" + + " mtb_lisv.cod_mart,\n" + + " LAST_VALUE(CASE\n" + + " WHEN vtb_list_data.data_iniz IS NULL THEN NULL\n" + + " ELSE mtb_lisv_data.tipo_variazione END)\n" + + " OVER (PARTITION BY lisv.cod_vlis, mtb_lisv.cod_mart\n" + + " ORDER BY vtb_list_data.data_iniz, CASE WHEN vtb_list_data.cod_promo IS NULL THEN 0 ELSE 1 END, vtb_list_data.versione\n" + + " RANGE BETWEEN UNBOUNDED PRECEDING AND UNBOUNDED FOLLOWING) AS tipo_variazione\n" + + " FROM lisv\n" + + " INNER JOIN mtb_lisv ON lisv.cod_vlis_rif = mtb_lisv.cod_vlis\n" + + " INNER JOIN mtb_lisv_data ON mtb_lisv.cod_vlis = mtb_lisv_data.cod_vlis AND\n" + + " mtb_lisv.cod_mart = mtb_lisv_data.cod_mart\n" + + " LEFT OUTER JOIN vtb_list_data\n" + + " ON mtb_lisv_data.cod_vlis = vtb_list_data.cod_vlis AND\n" + + " mtb_lisv_data.versione = vtb_list_data.versione AND\n" + + " vtb_list_data.data_iniz <=\n" + + " ISNULL(@dataValidita, CAST(GETDATE() AS DATE))\n" + + " WHERE lisv.cod_vlis = @codVlis\n" + + " AND NOT EXISTS(SELECT cod_mart FROM assortimento)) t\n" + + " WHERE (t.tipo_variazione IS NULL OR t.tipo_variazione <> 'D')),\n" + + " tmp_lisv AS (SELECT l.cod_mart,\n" + + " l.cod_vlis,\n" + + " ISNULL(p.data_iniz, l.data_iniz) AS data_iniz,\n" + + " l.da,\n" + + " l.a,\n" + + " ISNULL(p.prz_vend, l.prz_vend_trasp) AS prz_vend,\n" + + " ISNULL(p.prz_vend_netto, l.prz_vend_trasp_netto) AS prz_vend_netto,\n" + + " ISNULL(p.perc_sco1, l.perc_sco1) AS perc_sco1,\n" + + " ISNULL(p.perc_sco2, l.perc_sco2) AS perc_sco2,\n" + + " ISNULL(p.perc_sco3, l.perc_sco3) AS perc_sco3,\n" + + " ISNULL(p.perc_sco4, l.perc_sco4) AS perc_sco4,\n" + + " p.perc_prov,\n" + + " CONVERT(NUMERIC(20, 5), 0) AS qta_residua,\n" + + " CONVERT(BIGINT, NULL) AS id_contratto,\n" + + " ISNULL(p.rap_conv, l.rap_conv) AS rap_conv,\n" + + " ISNULL(p.note, l.note) AS note,\n" + + " CAST(NULL AS VARCHAR(5)) AS cod_vdes,\n" + + " l.cod_tcol_ul AS cod_tcol_ul,\n" + + " ISNULL(p.unt_mis_ven, l.unt_mis_ven) AS unt_mis_ven,\n" + + " l.colli_pedana AS colli_pedana,\n" + + " ISNULL(p.tipo_variazione, l.tipo_variazione) AS tipo_variazione,\n" + + " CONVERT(VARCHAR(1), CASE\n" + + " WHEN p.cod_promo IS NULL THEN NULL\n" + + " ELSE 'P' END) AS tipo_promo,\n" + + " CONVERT(VARCHAR(5), NULL) AS cod_paga,\n" + + " CONVERT(VARCHAR(5), NULL) AS descr_paga,\n" + + " l.porto,\n" + + " l.qta_cnf,\n" + + " NULL AS note_incoterms,\n" + + " NULL AS data_rif_scad,\n" + + " NULL AS note_carico,\n" + + " NULL AS term_cons\n" + + " FROM dbo.getListinoVenditaPedane(@dataValidita, @codVlis, NULL, @pedane) l\n" + + " LEFT OUTER JOIN dbo.getPromozioneVendita(@dataValidita, @dataValidita,\n" + + " @codVlis, NULL, NULL) p\n" + + " ON l.cod_vlis = p.cod_vlis AND l.cod_mart = p.cod_mart AND\n" + + " ISNULL(@viewPromo, 0) = 1\n" + + " WHERE l.cod_vlis = @codVlis\n" + + " AND l.cod_mart IN (SELECT cod_mart\n" + + " FROM assortimento\n" + + " UNION ALL\n" + + " SELECT cod_mart\n" + + " FROM listino)\n" + + " AND l.tipo_variazione <> 'D'\n" + + " AND l.tipo_variazione IS NOT NULL\n" + + " AND l.flag_attivo = 'S'\n" + + " UNION ALL\n" + + " SELECT l.cod_mart,\n" + + " l.cod_vlis,\n" + + " NULL AS data_iniz,\n" + + " NULL AS da,\n" + + " NULL AS a,\n" + + " NULL AS prz_vend,\n" + + " NULL AS prz_vend_netto,\n" + + " NULL AS perc_sco1,\n" + + " NULL AS perc_sco2,\n" + + " NULL AS perc_sco3,\n" + + " NULL AS perc_sco4,\n" + + " NULL AS perc_prov,\n" + + " NULL AS qta_residua,\n" + + " NULL AS id_contratto,\n" + + " um.rap_conv AS rap_conv,\n" + + " NULL AS note,\n" + + " CAST(NULL AS VARCHAR(5)) AS cod_vdes,\n" + + " NULL AS cod_tcol_ul,\n" + + " l.unt_mis_ven AS unt_mis_ven,\n" + + " NULL AS colli_pedana,\n" + + " NULL AS tipo_variazione,\n" + + " NULL AS tipo_promo,\n" + + " CONVERT(VARCHAR(5), NULL) AS cod_paga,\n" + + " CONVERT(VARCHAR(5), NULL) AS descr_paga,\n" + + " NULL porto,\n" + + " mtb_aart.qta_cnf,\n" + + " NULL AS note_incoterms,\n" + + " NULL AS data_rif_scad,\n" + + " NULL AS note_carico,\n" + + " NULL AS term_cons\n" + + " FROM mtb_lisv l\n" + + " INNER JOIN listino ON l.cod_mart = listino.cod_mart\n" + + " INNER JOIN mtb_aart ON l.cod_mart = mtb_aart.cod_mart\n" + + " CROSS APPLY dbo.getUntMisArticolo(l.cod_mart, l.unt_mis_ven) um\n" + + " WHERE l.cod_vlis = @codVlis\n" + + " AND listino.tipo_variazione IS NULL\n" + + " UNION ALL\n" + + " SELECT vvw_contratti_vendita.cod_mart,\n" + + " NULL AS cod_vlis,\n" + + " vvw_contratti_vendita.data_iniz,\n" + + " NULL AS da,\n" + + " NULL AS a,\n" + + " vvw_contratti_vendita.prz_vend,\n" + + " ROUND(vvw_contratti_vendita.prz_vend *\n" + + " (1 - ISNULL(vvw_contratti_vendita.perc_sco1, 0))\n" + + " * (1 - ISNULL(vvw_contratti_vendita.perc_sco2, 0))\n" + + " * (1 - ISNULL(vvw_contratti_vendita.perc_sco3, 0))\n" + + " * (1 - ISNULL(vvw_contratti_vendita.perc_sco4, 0)),\n" + + " 5) AS prz_vend_netto,\n" + + " vvw_contratti_vendita.perc_sco1,\n" + + " vvw_contratti_vendita.perc_sco2,\n" + + " vvw_contratti_vendita.perc_sco3,\n" + + " vvw_contratti_vendita.perc_sco4,\n" + + " vvw_contratti_vendita.perc_prov,\n" + + " vvw_contratti_vendita.qta_residua,\n" + + " vvw_contratti_vendita.id_contratto,\n" + + " vvw_contratti_vendita.rap_conv,\n" + + " vvw_contratti_vendita.note,\n" + + " vvw_contratti_vendita.cod_vdes,\n" + + " NULL,\n" + + " vvw_contratti_vendita.unt_mis_ven,\n" + + " NULL,\n" + + " NULL,\n" + + " 'C' AS tipo_promo,\n" + + " vvw_contratti_vendita.cod_paga,\n" + + " vvw_contratti_vendita.descrizione_paga AS descr_paga,\n" + + " vvw_contratti_vendita.incoterms AS porto,\n" + + " mtb_aart.qta_cnf,\n" + + " vvw_contratti_vendita.note_incoterms,\n" + + " vvw_contratti_vendita.data_rif_scad,\n" + + " vvw_contratti_vendita.note_carico,\n" + + " vvw_contratti_vendita.term_cons\n" + + " FROM vvw_contratti_vendita\n" + + " INNER JOIN mtb_aart ON vvw_contratti_vendita.cod_mart = mtb_aart.cod_mart\n" + + " WHERE vvw_contratti_vendita.cod_anag = @codAnag\n" + + " AND (@codVdes IS NULL OR vvw_contratti_vendita.cod_vdes IS NULL OR\n" + + " vvw_contratti_vendita.cod_vdes = @codVdes)\n" + + " AND (ISNULL(@dataValidita, CAST(GETDATE() AS DATE)) BETWEEN\n" + + " vvw_contratti_vendita.data_iniz AND vvw_contratti_vendita.data_fine)\n" + + "-- AND vvw_contratti_vendita.qta_residua >= 0\n" + + " )\n" + + "\n" + + " SELECT tmp_lisv.cod_mart,\n" + + " ISNULL(maa.cod_mart_anag, tmp_lisv.cod_mart) AS cod_mart_anag,\n" + + " cod_vlis,\n" + + " data_iniz,\n" + + " da,\n" + + " a,\n" + + " prz_vend,\n" + + " prz_vend_netto,\n" + + " perc_sco1,\n" + + " perc_sco2,\n" + + " perc_sco3,\n" + + " perc_sco4,\n" + + " perc_prov,\n" + + " qta_residua,\n" + + " id_contratto,\n" + + " rap_conv,\n" + + " ISNULL(maa.note, tmp_lisv.note) AS note,\n" + + " cod_tcol_ul,\n" + + " unt_mis_ven,\n" + + " CASE\n" + + " WHEN maa.colli_pedana IS NULL OR maa.colli_pedana = 0 THEN tmp_lisv.colli_pedana\n" + + " ELSE maa.colli_pedana END AS colli_pedana,\n" + + " tipo_variazione,\n" + + " tipo_promo,\n" + + " cod_paga,\n" + + " descr_paga,\n" + + " porto,\n" + + " qta_cnf,\n" + + " CAST(CASE WHEN tmp_lisv.data_iniz IS NULL THEN 0 ELSE 1 END AS BIT) AS art_lisv,\n" + + " cod_vdes,\n" + + " note_incoterms,\n" + + " data_rif_scad,\n" + + " note_carico,\n" + + " term_cons\n" + + " FROM tmp_lisv\n" + + " LEFT OUTER JOIN mtb_aart_anag maa\n" + + " ON tmp_lisv.cod_mart = maa.cod_mart AND maa.cod_anag = @codAnag)"); + } + + @Override + public void down() throws Exception { + + } + +} diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250910150954.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250910150954.java new file mode 100644 index 0000000000..dbc5013b99 --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250910150954.java @@ -0,0 +1,28 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.IntegryCustomer; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250910150954 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + createSetup("W_TORIEPORDINI_DISP", "DATAWINDOW", "D_TORIEPORDINI_COMP_REP", null, +null, false, null, false, false, +false, false, false, null, false, null); + + if ( isCustomer(IntegryCustomer.TwoBrothers)) { + updateSetupValue("W_TORIEPORDINI_DISP","DATAWINDOW","D_TORIEPORDINI_COMP_REP", "D_TORIEPORDINI_COMP_TWOB_REP"); + } + } + + @Override + public void down() throws Exception { + + } + +} diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250911095911.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250911095911.java new file mode 100644 index 0000000000..6f665082bf --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250911095911.java @@ -0,0 +1,81 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250911095911 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + executeStatement( + "alter table dbo.crl_amac_art add id_ricetta varchar(25)", + "insert into crl_amac_art (cod_cmac, cod_mgrp, cod_msgr, cod_msfa, cod_mtip, cod_mstp, cod_mart, id_ricetta)\n" + + "select cod_cmac,\n" + + " null as cod_mgrp,\n" + + " null as cod_msgr,\n" + + " null as cod_msfa,\n" + + " a.cod_mtip,\n" + + " a.cod_mstp,\n" + + " null as cod_mart,\n" + + " id_ricetta\n" + + "from ctb_amac\n" + + " cross apply (select cod_mtip,\n" + + " cod_mstp,\n" + + " ROW_NUMBER() over (partition by null order by cod_mtip) - 1 as id_ricetta\n" + + " from mtb_stip\n" + + " where cod_mstp in (\n" + + " '0101',\n" + + " '0102',\n" + + " '0103',\n" + + " '0104',\n" + + " '0105',\n" + + " '0106',\n" + + " '0107',\n" + + " '0108',\n" + + " '0109',\n" + + " '0110',\n" + + " '0111',\n" + + " '0112',\n" + + " '0113',\n" + + " '0114',\n" + + " '0115',\n" + + " '0116',\n" + + " '0201',\n" + + " '0202',\n" + + " '0203',\n" + + " '0301',\n" + + " '0302',\n" + + " '0303',\n" + + " '0304',\n" + + " '0305',\n" + + " '0306',\n" + + " '0307',\n" + + " '0308',\n" + + " '0309',\n" + + " '0310',\n" + + " '0311',\n" + + " '0312',\n" + + " '0313',\n" + + " '0314',\n" + + " '0315',\n" + + " '0401',\n" + + " '0402',\n" + + " '0403',\n" + + " '0404',\n" + + " '0405',\n" + + " '0501',\n" + + " '0502',\n" + + " '0503'\n" + + " )) a\n" + + "where cod_jfas = 'stock'\n" + + "order by cod_cmac" + ); + } + + @Override + public void down() throws Exception { + } +} \ No newline at end of file diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250911113026.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250911113026.java new file mode 100644 index 0000000000..dd9bb3fc86 --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250911113026.java @@ -0,0 +1,32 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.IntegryCustomer; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250911113026 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + createSetup("w_vriepfattagecomp_disp", "EXPORT_EXCEL", "PATH_FILE", null, +null, false, null, false, false, +false, false, false, null, false, null); + createSetup("w_vriepfattagecomp_disp", "EXPORT_EXCEL", "REPORT_NAME", null, +null, false, null, false, false, +false, false, false, null, false, null); + if ( isCustomer(IntegryCustomer.Smetar)) { + updateSetupValue("w_vriepfattagecomp_disp","EXPORT_EXCEL","PATH_FILE", "C:\\"); + updateSetupValue("w_vriepfattagecomp_disp","EXPORT_EXCEL","REPORT_NAME", "FatturatoAgentiClientiComparato"); + } + + } + + @Override + public void down() throws Exception { + + } + +} diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250911113148.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250911113148.java new file mode 100644 index 0000000000..a0d0a9fd3a --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250911113148.java @@ -0,0 +1,28 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.IntegryCustomer; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250911113148 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + createSetup("w_vriepfattagecomp_disp", "CB_EXPORT_EXCEL", "VISIBLE", "N", +null, false, null, false, false, +false, false, false, null, false, null); + + if ( isCustomer(IntegryCustomer.Smetar)) { + updateSetupValue("w_vriepfattagecomp_disp","CB_EXPORT_EXCEL","VISIBLE", "S"); + } + } + + @Override + public void down() throws Exception { + + } + +} diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250911133439.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250911133439.java new file mode 100644 index 0000000000..db02883982 --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250911133439.java @@ -0,0 +1,85 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.IntegryCustomerDB; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250911133439 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + if (!isCustomerDb(IntegryCustomerDB.Carelli_Winact)) return; + + createOrUpdateFunction("steup_getGrigliaVendita", "CREATE FUNCTION [dbo].[steup_getGrigliaVendita](\n" + + " @codMdep VARCHAR(5), @codJfas VARCHAR(5), @dataIspezione datetime\n" + + ")\n" + + " RETURNS TABLE\n" + + " AS\n" + + " RETURN(WITH tipiArt AS (SELECT value_string AS cod_mtip\n" + + " FROM dbo.ParseStringIntoArray((SELECT value\n" + + " FROM stb_gest_setup\n" + + " WHERE gest_name = 'PVM'\n" + + " AND section = 'RILEVAZIONI_STEUP'\n" + + " AND key_section = 'EXCLUDE_COD_MTIP'), '|') t)\n" + + " , art AS (SELECT DISTINCT cod_griglia, cod_mart\n" + + " FROM carelli.dbo.vtb_griglia_art\n" + + " WHERE cod_griglia = @codMdep\n" + + " AND data_validita =\n" + + " (SELECT MAX(data_validita) FROM carelli.dbo.vtb_griglia_art WHERE cod_griglia = @codMdep AND data_validita <=@dataIspezione)\n" + + " )\n" + + " \n" + + " SELECT DISTINCT case when @codJfas = '01' then art_det.cod_mart_griglia else mtb_aart.cod_mart end as cod_mart,\n" + + " mtb_aart.descrizione,\n" + + " mtb_aart.bar_code,\n" + + " mtb_aart.cod_msgr,\n" + + " mtb_aart.plu,\n" + + " art_det.cod_mart AS cod_mart_kit \n" + + " FROM carelli.dbo.mtb_aart\n" + + " INNER JOIN jrl_fasi_mtb_grup ON\n" + + " mtb_aart.cod_mgrp = jrl_fasi_mtb_grup.cod_mgrp\n" + + " INNER JOIN (SELECT cod_mart, cod_comp AS cod_mart_griglia\n" + + " FROM carelli.dbo.mtb_comp\n" + + " UNION ALL\n" + + " SELECT cod_comp AS cod_mart, cod_mart AS cod_mart_griglia\n" + + " FROM carelli.dbo.mtb_comp \n" + + " where @codJfas <> '01'\n" + + " UNION ALL\n" + + " SELECT cod_mart, cod_mart AS cod_mart_griglia\n" + + " FROM carelli.dbo.mtb_aart\n" + + " WHERE cod_mart NOT IN (SELECT cod_mart FROM carelli.dbo.mtb_comp)) AS art_det\n" + + " ON mtb_aart.cod_mart = art_det.cod_mart\n" + + " INNER JOIN art ON art_det.cod_mart_griglia = art.cod_mart\n" + + " WHERE jrl_fasi_mtb_grup.cod_jfas = @codJfas\n" + + " AND flag_stato = 'A'\n" + + " AND (mtb_aart.cod_mtip IS NULL OR mtb_aart.cod_mtip NOT IN (SELECT cod_mtip FROM tipiArt))\n" + + " UNION ALL\n" + + " SELECT DISTINCT mtb_aart.cod_mart as cod_mart,\n" + + " mtb_aart.descrizione,\n" + + " mtb_aart.bar_code,\n" + + " mtb_aart.cod_msgr,\n" + + " mtb_aart.plu,\n" + + " mtb_aart.cod_mart AS cod_madre \n" + + " FROM carelli.dbo.mtb_aart\n" + + " INNER JOIN jrl_fasi_mtb_grup ON\n" + + " mtb_aart.cod_mgrp = jrl_fasi_mtb_grup.cod_mgrp\n" + + " INNER JOIN (SELECT DISTINCT cod_mdep, cod_mart \n" + + " FROM carelli.dbo.[getGrigliaAcquisto](null, null, @codMdep, null, null) griglia \n" + + " where griglia.tipo_variazione <> 'D' AND \n" + + " EXISTS( select cod_mart from carelli.dbo.mtb_aart WHERE mtb_aart.cod_mart = griglia.cod_mart AND mtb_aart.cod_mgrp = '03')) art ON \n" + + " mtb_aart.cod_mart = art.cod_mart\n" + + " WHERE jrl_fasi_mtb_grup.cod_jfas = @codJfas\n" + + " AND flag_stato = 'A'\n" + + " AND (mtb_aart.cod_mtip IS NULL OR mtb_aart.cod_mtip NOT IN (SELECT cod_mtip FROM tipiArt))\n" + + " \n" + + " )"); + } + + @Override + public void down() throws Exception { + + } + +} diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250911191115.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250911191115.java new file mode 100644 index 0000000000..e00afbaa3b --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250911191115.java @@ -0,0 +1,113 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.IntegryCustomerDB; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250911191115 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + createOrUpdateFunction("getDettMatricoleDaOrdine", "CREATE Function [dbo].[getDettMatricoleDaOrdine] (@codJcom varchar(10)) \n" + + "RETURNS @dettMatricole TABLE( cod_prod varchar(15),\n" + + " descrizione_prod varchar(255), \n" + + " unt_mis_prod varchar(3),\n" + + " qta_inevasa numeric(20,5),\n" + + " qta_da_prod numeric(20,5),\n" + + " data_ord datetime, \n" + + " num_ord integer, \n" + + "matricola varchar(20)) AS\n" + + "Begin\n" + + " declare @codProd varchar(15),\n" + + " @descrizioneProd varchar(255), \n" + + " @untMisProd varchar(3), \n" + + " @qtaInevasa numeric(20,5), \n" + + " @qtaProd numeric(20,5), \n" + + " @dataOrd datetime, \n" + + " @numOrd integer,\n" + + " @existMatricola integer,\n" + + " @matricola varchar(20),\n" + + " @termCons varchar(1024);\n" + + "\n" + + " Declare crs_prod Cursor LOCAL SCROLL FOR\n" + + " select dtb_ordt.cod_prod, \n" + + " dtb_ordt.descrizione_prod, \n" + + " dtb_ordt.unt_mis_prod, \n" + + " dtb_ordt.qta_prod - dtb_ordt.qta_evasa_prod as qta_inevasa, \n" + + " convert(numeric(20,5), 0) as qta_da_prod, \n" + + " dtb_ordt.data_ord, \n" + + " dtb_ordt.num_ord,\n" + + " dtb_ordt.term_cons\n" + + " from dtb_ordt \n" + + " where gestione = 'L' and \n" + + " livello = 1 and\n" + + " flag_evaso_forzato = 'N' and\n" + + " flag_evaso_prod = 'I' and \n" + + " dtb_ordt.cod_jcom = @codJcom\n" + + "\n" + + " OPEN crs_prod \n" + + " FETCH NEXT FROM crs_prod INTO @codProd, @descrizioneProd, @untMisProd, @qtaInevasa, @qtaProd, @dataOrd, @numOrd, @termCons\n" + + " WHILE @@FETCH_STATUS = 0\n" + + " Begin \n" + + " IF @termCons IS NOT NULL\n" + + " BEGIN\n" + + " Declare crs_matricole Cursor LOCAL SCROLL FOR\n" + + " select value_string\n" + + " from parseStringIntoArray(@termcons, '|') \n" + + "\n" + + " OPEN crs_matricole \n" + + " FETCH NEXT FROM crs_matricole INTO @matricola\n" + + " WHILE @@FETCH_STATUS = 0\n" + + " Begin\n" + + " select @existMatricola = 0\n" + + " select @existMatricola = COUNT(*)\n" + + " from dtb_ordt, \n" + + " dtb_docr inner join (select cod_prod, \n" + + " partita_mag \n" + + " from dtb_doct \n" + + " where cod_dtip = dbo.getGestSetup('IMPORT_DOCUMENTI', 'CARICO_SCARICO_DA_FABB', 'COD_DTIP_SCAR_GIROC'))giroc on giroc.cod_prod = dtb_docr.cod_mart and\n" + + " giroc.partita_mag = dtb_docr.matricola, \n" + + " dtb_tipi\n" + + " where dtb_docr.data_ord = dtb_ordt.data_ord and\n" + + " dtb_docr.num_ord = dtb_ordt.num_ord and\n" + + " dtb_ordt.gestione = 'L' and \n" + + " dtb_docr.cod_dtip = dtb_tipi.cod_dtip and\n" + + " dtb_tipi.tipo_emissione = 'DIRETTA' and\n" + + " dtb_tipi.segno_qta_car = 1 and\n" + + " dtb_ordt.livello = 1 and\n" + + " dtb_ordt.data_ord = @dataOrd and\n" + + " dtb_ordt.num_ord = @numOrd and\n" + + " dtb_docr.matricola = @matricola;\n" + + " \n" + + "\n" + + " IF @existMatricola = 0\n" + + " insert into @dettMatricole \n" + + " select @codProd, @descrizioneProd, @untMisProd, @qtaInevasa, @qtaProd, @dataOrd, @numOrd, @matricola\n" + + "\n" + + " FETCH NEXT FROM crs_matricole INTO @matricola\n" + + " end \n" + + " close crs_matricole\n" + + " deallocate crs_matricole \n" + + " END\n" + + " ELSE\n" + + " insert into @dettMatricole \n" + + " select @codProd, @descrizioneProd, @untMisProd, @qtaInevasa, @qtaProd, @dataOrd, @numOrd, null\n" + + "\n" + + " FETCH NEXT FROM crs_prod INTO @codProd, @descrizioneProd, @untMisProd, @qtaInevasa, @qtaProd, @dataOrd, @numOrd, @termCons\n" + + " end \n" + + " close crs_prod\n" + + " deallocate crs_prod \n" + + "\n" + + " return\n" + + "end"); + } + + @Override + public void down() throws Exception { + + } + +} diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250912130045.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250912130045.java new file mode 100644 index 0000000000..c94ca331a6 --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250912130045.java @@ -0,0 +1,38 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.IntegryCustomer; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250912130045 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + if ( isCustomer(IntegryCustomer.RossoGargano)) { + executeStatement(";with moduli as (\n" + + "select *\n" + + "from dtb_mod_stampa\n" + + "where mod_stampa in ('CMR', 'PACK', 'PACKC') )\n" + + "insert into drl_tipi_report ( cod_dtip, report_id, sort_id, report_type)\n" + + "select cod_dtip, moduli.report_id, \n" + + "ROW_NUMBER() over (partition by cod_dtip order by moduli.mod_stampa desc) as sort_id,\n" + + "IIF(moduli.mod_stampa ='CMR',2, 1) as report_type\n" + + "from dtb_tipi,\n" + + "moduli\n" + + "where dtb_tipi.tipo_emissione = 'DIRETTA'\n" + + "and ((gestione = 'A' AND moduli.mod_stampa = 'PACKC') OR\n" + + "(gestione = 'V' AND moduli.mod_stampa IN( 'CMR','PACK') ) OR \n" + + "(gestione = 'L' AND segno_qta_car - segno_val_scar > 0 AND moduli.mod_stampa = 'PACKC') OR\n" + + "(gestione = 'L' AND segno_qta_car - segno_val_scar < 0 AND moduli.mod_stampa = 'PACK')\n" + + ")\n" + + "order by 1"); + } + } + + @Override + public void down() throws Exception { + } +} \ No newline at end of file diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250912170747.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250912170747.java new file mode 100644 index 0000000000..9d8a02dc01 --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250912170747.java @@ -0,0 +1,43 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.IntegryCustomer; +import it.integry.ems.migration._base.MigrationModelInterface; + +public class Migration_20250912170747 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + if(isCustomer(IntegryCustomer.Gramm)) + return; + + if(isCustomer(IntegryCustomer.Smetar)) { + updateSetupValue("w_cscadfor_disp", "DATAWINDOW", "d_cscadfor_nobanca_rep", "d_cscadfor_nobanca_orizzontale_rep"); + return; + } + + if(isCustomer(IntegryCustomer.Auricchio)) { + updateSetupValue("w_cscadfor_disp", "DATAWINDOW", "d_cscadfor_nobanca_rep", "d_cscadfor_nobanca_auricchio_rep"); + return; + } + + if(isCustomer(IntegryCustomer.Carelli)) { + updateSetupValue("w_cscadfor_disp", "DATAWINDOW", "d_cscadfor_nobanca_rep", "d_cscadfor_nobanca_carelli_rep"); + return; + } + + if(isCustomer(IntegryCustomer.Suit)) { + updateSetupValue("w_cscadfor_disp", "DATAWINDOW", "d_cscadfor_nobanca_rep", "d_cscadfor_nobanca_suit_rep"); + return; + } + + updateSetupValue("w_cscadfor_disp", "DATAWINDOW", "d_cscadfor_nobanca_rep", ""); + } + + @Override + public void down() throws Exception { + } +} \ No newline at end of file diff --git a/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250912182624.java b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250912182624.java new file mode 100644 index 0000000000..304551e60b --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems/migration/model/Migration_20250912182624.java @@ -0,0 +1,27 @@ +package it.integry.ems.migration.model; + +import it.integry.ems.migration._base.BaseMigration; +import it.integry.ems.migration._base.IntegryCustomer; +import it.integry.ems.migration._base.MigrationModelInterface; +import it.integry.ems_model.entity.JtbFasi; + +public class Migration_20250912182624 extends BaseMigration implements MigrationModelInterface { + + @Override + public void up() throws Exception { + if (isHistoryDB()) + return; + + + createSetup("PVM","MACCHINARI_PROD","REPORT_NAME_INFO_LINEA",null, "Nome report stampa Dettaglio macchine reparto", false, "REPORT_NAME", false, false, false, false, false, JtbFasi.ENTITY, false, null); + + + if (isCustomer(IntegryCustomer.Biolevante)){ + executeInsertStatement("INSERT INTO stb_gest_setup_det VALUES ('PVM', 'MACCHINARI_PROD', 'REPORT_NAME_INFO_LINEA', 'jtb_fasi', 'STOCK', 'ReportDettaglioContenutoTank')"); + } + } + + @Override + public void down() throws Exception { + } +} \ No newline at end of file diff --git a/ems-core/src/main/java/it/integry/ems/rules/completing/CommesseRules.java b/ems-core/src/main/java/it/integry/ems/rules/completing/CommesseRules.java index 53671e9e6f..c4644e9281 100644 --- a/ems-core/src/main/java/it/integry/ems/rules/completing/CommesseRules.java +++ b/ems-core/src/main/java/it/integry/ems/rules/completing/CommesseRules.java @@ -2,7 +2,6 @@ package it.integry.ems.rules.completing; import it.integry.ems.sync.MultiDBTransaction.Connection; import it.integry.ems_model.entity.JtbComt; -import it.integry.ems_model.service.SetupGest; import it.integry.ems_model.utility.UtilityDB; import it.integry.ems_model.utility.UtilityString; @@ -46,20 +45,19 @@ public class CommesseRules extends QueryRules { public static String getNextCodJcom(Connection conn, JtbComt jtbComt) throws Exception { String className = "W_JCOMMT_RC", generazioneAutomatica = "N", aggiungiGestione = "N"; String codJcom = null; - SetupGest setup = new SetupGest(); // Acquisizione configurazioni commessa if ("V".equals(jtbComt.getGestione())) { - generazioneAutomatica = (String) setup.getSetup(conn, className, "SETUP", "GEN_AUTOMATICA_COMM_VEN"); + generazioneAutomatica = setupGest.getSetup(conn, className, "SETUP", "GEN_AUTOMATICA_COMM_VEN"); if (UtilityString.isNullOrEmpty(generazioneAutomatica)) { generazioneAutomatica = "N"; } - aggiungiGestione = (String) setup.getSetup(conn, className, "SETUP", "AGGIUNGI_GEST_VEN"); + aggiungiGestione = setupGest.getSetup(conn, className, "SETUP", "AGGIUNGI_GEST_VEN"); if (UtilityString.isNullOrEmpty(aggiungiGestione)) { aggiungiGestione = "N"; } } else if ("L".equals(jtbComt.getGestione()) || "A".equals(jtbComt.getGestione())) { - generazioneAutomatica = (String) setup.getSetup(conn, className, "SETUP", "GEN_AUTOMATICA_COMM_LAV"); + generazioneAutomatica = setupGest.getSetup(conn, className, "SETUP", "GEN_AUTOMATICA_COMM_LAV"); if (UtilityString.isNullOrEmpty(generazioneAutomatica)) { generazioneAutomatica = "N"; } diff --git a/ems-core/src/main/java/it/integry/ems/rules/completing/DistBaseRules.java b/ems-core/src/main/java/it/integry/ems/rules/completing/DistBaseRules.java index a5cd09dade..a795d343e7 100644 --- a/ems-core/src/main/java/it/integry/ems/rules/completing/DistBaseRules.java +++ b/ems-core/src/main/java/it/integry/ems/rules/completing/DistBaseRules.java @@ -3,7 +3,6 @@ package it.integry.ems.rules.completing; import it.integry.ems.sync.MultiDBTransaction.Connection; import it.integry.ems_model.base.EntityBase; import it.integry.ems_model.rules.util.DroolsUtil; -import it.integry.ems_model.service.SetupGest; import it.integry.ems_model.utility.UtilityDB; import java.math.BigDecimal; @@ -14,7 +13,6 @@ import java.util.HashMap; import java.util.List; public class DistBaseRules extends QueryRules { - protected static SetupGest setupGest = new SetupGest(); public static String completeUntMisProd(Connection connection, String codProd) throws SQLException { String sql = "SELECT mtb_aart.unt_mis FROM mtb_aart " + " WHERE mtb_aart.cod_mart = '" + codProd + "'"; diff --git a/ems-core/src/main/java/it/integry/ems/rules/completing/DocOrdCalTotaliRules.java b/ems-core/src/main/java/it/integry/ems/rules/completing/DocOrdCalTotaliRules.java index 587d1a1729..ddcd44c747 100644 --- a/ems-core/src/main/java/it/integry/ems/rules/completing/DocOrdCalTotaliRules.java +++ b/ems-core/src/main/java/it/integry/ems/rules/completing/DocOrdCalTotaliRules.java @@ -14,7 +14,6 @@ import it.integry.ems_model.entity.common.DtbBaseDocR; import it.integry.ems_model.entity.common.DtbDocOrdR; import it.integry.ems_model.entity.common.DtbDocOrdT; import it.integry.ems_model.rules.util.DroolsUtil; -import it.integry.ems_model.service.SetupGest; import it.integry.ems_model.types.OperationType; import it.integry.ems_model.utility.*; import org.apache.commons.lang3.StringUtils; @@ -475,8 +474,6 @@ public class DocOrdCalTotaliRules extends QueryRules { Date dataDocBolla = null; Integer numDocBolla = null; - SetupGest setup = new SetupGest(); - if (testata.getOperation() == OperationType.NO_OP) { testata.setOperation(OperationType.UPDATE); } @@ -543,7 +540,7 @@ public class DocOrdCalTotaliRules extends QueryRules { String whereCondTestata = testata.getEntityHolder().getWherePK(testata); String sql = "select mtb_colt.gestione, mtb_colt.data_collo, mtb_colt.ser_collo, mtb_colt.num_collo from mtb_colt where " + whereCondTestata; colliFromDB = new ResultSetMapper().mapQuerySetToList(conn, sql, MtbColt.class); - calcColli = setup.getSetupBoolean(conn, "DATI_AZIENDA", "DOCU_ORD", "CALC_COLLI"); + calcColli = setupGest.getSetupBoolean(conn, "DATI_AZIENDA", "DOCU_ORD", "CALC_COLLI"); /*20-04-20 (FABIO): commentato la lettura dei colli da MtbColt al momento, ma è una logica che non dovrebbe più essere utilizzata, * ma in tal caso dovremmo valuare delle poche aziende che hanno il flag calc_colli = 'N' se è giusto che calcoli il numero dei colli diff --git a/ems-core/src/main/java/it/integry/ems/rules/completing/DocOrdRules.java b/ems-core/src/main/java/it/integry/ems/rules/completing/DocOrdRules.java index 33c37bb93a..61cfbf830a 100644 --- a/ems-core/src/main/java/it/integry/ems/rules/completing/DocOrdRules.java +++ b/ems-core/src/main/java/it/integry/ems/rules/completing/DocOrdRules.java @@ -14,7 +14,6 @@ import it.integry.ems_model.entity.common.DtbDocOrdR; import it.integry.ems_model.entity.common.DtbDocOrdT; import it.integry.ems_model.exception.DataConverterNotFoundException; import it.integry.ems_model.rules.util.DroolsUtil; -import it.integry.ems_model.service.SetupGest; import it.integry.ems_model.types.OperationType; import it.integry.ems_model.utility.*; @@ -961,8 +960,7 @@ public class DocOrdRules extends QueryRules { } public static DtbOrdt completeDatiOrdProd(Connection connection, DtbOrdt dtbOrdt) throws Exception { - SetupGest setup = new SetupGest(); - boolean disableTriggerOrdl = setup.getSetupBoolean(connection, "DTB_ORDT", "SETUP", "DISABLE_TRIGGER_ORDL"); + boolean disableTriggerOrdl = setupGest.getSetupBoolean(connection, "DTB_ORDT", "SETUP", "DISABLE_TRIGGER_ORDL"); if (!disableTriggerOrdl || (dtbOrdt.isGeneraOrdLavDaProd() && dtbOrdt.getParent() != null)) return null; diff --git a/ems-core/src/main/java/it/integry/ems/rules/completing/PurchasesRules.java b/ems-core/src/main/java/it/integry/ems/rules/completing/PurchasesRules.java index 3c377201b2..db7d477616 100644 --- a/ems-core/src/main/java/it/integry/ems/rules/completing/PurchasesRules.java +++ b/ems-core/src/main/java/it/integry/ems/rules/completing/PurchasesRules.java @@ -2,11 +2,11 @@ package it.integry.ems.rules.completing; import com.annimon.stream.Stream; import it.integry.common.var.CommonConstants; +import it.integry.ems.sync.MultiDBTransaction.Connection; import it.integry.ems_model.db.ResultSetMapper; import it.integry.ems_model.entity.*; import it.integry.ems_model.entity.common.*; import it.integry.ems_model.rules.util.DroolsUtil; -import it.integry.ems_model.service.SetupGest; import it.integry.ems_model.types.OperationType; import it.integry.ems_model.utility.*; import org.apache.commons.lang3.StringUtils; @@ -14,13 +14,15 @@ import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import java.math.BigDecimal; - -import it.integry.ems.sync.MultiDBTransaction.Connection; - -import java.sql.*; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.ResultSetMetaData; +import java.sql.SQLException; import java.time.LocalDate; -import java.util.*; +import java.util.ArrayList; import java.util.Date; +import java.util.HashMap; +import java.util.List; import java.util.stream.Collectors; public class PurchasesRules extends QueryRules { @@ -504,32 +506,26 @@ public class PurchasesRules extends QueryRules { } public static Boolean checkChangeDataInizLisa(Connection conn, AtbListData entity) throws Exception { - Boolean ret = false; Logger logger = LogManager.getLogger(); String sql = "SELECT data_iniz FROM atb_list_data " + "WHERE cod_alis = " + UtilityDB.valueToString(entity.getCodAlis()) + " AND " + "versione = " + UtilityDB.valueToString(entity.getVersione()) + " AND " + "data_iniz <> " + UtilityDB.valueToString(entity.getDataIniz()) + " AND " + "cod_promo is null "; - PreparedStatement ps = conn.prepareStatement(sql); - ResultSet rs = ps.executeQuery(); - if (rs.next()) { + final Date dataIniz = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(conn, sql); + + if (dataIniz != null) { String ls_message = "Data inizio modificata sul listino " + entity.getCodAlis() + " versione " + entity.getVersione().toString() + " Utente " + entity.getUsername(); logger.error(ls_message); - SetupGest setup = new SetupGest(); - String blocca = (String) setup.getSetup(conn, "W_ALISTDATA_RC", "DATA_INIZ", "CHK_VARIAZIONE"); - if ("S".equals(blocca)) { - ret = true; + boolean blocca = setupGest.getSetupBoolean(conn, "W_ALISTDATA_RC", "DATA_INIZ", "CHK_VARIAZIONE"); + if (blocca) { throw new Exception("Impossibile modificare la data del listino " + entity.getCodAlis() + " versione " + entity.getVersione().toString()); } } - rs.close(); - ps.close(); - - return ret; + return false; } public static Boolean checkScontiPromoAcq(Connection conn, AtbListData entity) throws Exception { diff --git a/ems-core/src/main/java/it/integry/ems/service/EmsServices.java b/ems-core/src/main/java/it/integry/ems/service/EmsServices.java index 9f8b35317e..2c3b5aae38 100644 --- a/ems-core/src/main/java/it/integry/ems/service/EmsServices.java +++ b/ems-core/src/main/java/it/integry/ems/service/EmsServices.java @@ -28,6 +28,7 @@ import it.integry.ems.json.ResponseJSONObjectMapper; import it.integry.ems.media.MediaImageService; import it.integry.ems.media.MediaVideoService; import it.integry.ems.media.MimeTypesHandler; +import it.integry.ems.object_storage.minio.MinIOService; import it.integry.ems.properties.EmsProperties; import it.integry.ems.properties.EnvProperties; import it.integry.ems.response.EsitoType; @@ -138,6 +139,9 @@ public class EmsServices { @Autowired private BasicConnectionPool basicConnectionPool; + @Autowired + private MinIOService minIOService; + public EntityImportResponse> importEntity(String type, String format, ImportRequestDTO body, boolean headless) throws Exception { logger.debug("Starting import [Type: " + type + ", Format: " + format + "]"); String gestName = "IMPORT_" + type; @@ -587,8 +591,6 @@ public class EmsServices { } public AttachmentDTO downloadStbFileAttachment(String idAttach, boolean requestThumbnail) throws Exception { - - StbFilesAttached stbFilesAttached = new StbFilesAttached(); stbFilesAttached.setIdAttach(idAttach); stbFilesAttached.setOperation(OperationType.SELECT_OBJECT); @@ -631,6 +633,17 @@ public class EmsServices { return null; } + public AttachmentDTO downloadFileFromRefUuid(String refUuid, String fileName) throws Exception { + byte[] bytes = minIOService.downloadObject(refUuid, multiDBTransactionManager.getPrimaryConnection()); + String mimeType = mimeTypesHandler.getContentType(fileName).toString(); + + return new AttachmentDTO() + .setFileContent(bytes) + .setFileSize(bytes != null ? bytes.length : 0) + .setMimeType(mimeType) + .setFileName(fileName); + } + public String createZipFromFiles(CreateZipDTO createZipDTO) throws Exception { if (createZipDTO == null) { throw new MissingDataException("createZipFromFiles"); diff --git a/ems-core/src/main/java/it/integry/ems/service/production/MrpConsumiHandlerService.java b/ems-core/src/main/java/it/integry/ems/service/production/MrpConsumiHandlerService.java index 5967857955..2a7cd6aac5 100644 --- a/ems-core/src/main/java/it/integry/ems/service/production/MrpConsumiHandlerService.java +++ b/ems-core/src/main/java/it/integry/ems/service/production/MrpConsumiHandlerService.java @@ -40,7 +40,7 @@ public class MrpConsumiHandlerService { @Scheduled(fixedDelay = 1, timeUnit = TimeUnit.MINUTES, initialDelay = 60, zone = "Europe/Rome") - private void updateData() throws Exception { + private void updateData() { final List availableConnections = settingsModel.getAvailableConnectionsWithoutDuplicatedProfiles(true); for (AvailableConnectionsModel connectionModel : availableConnections) { diff --git a/ems-core/src/main/java/it/integry/ems/settings/Model/LoggerConfigurationModel.java b/ems-core/src/main/java/it/integry/ems/settings/Model/LoggerConfigurationModel.java index 5d49e123d7..c17cfc6dd7 100644 --- a/ems-core/src/main/java/it/integry/ems/settings/Model/LoggerConfigurationModel.java +++ b/ems-core/src/main/java/it/integry/ems/settings/Model/LoggerConfigurationModel.java @@ -5,6 +5,8 @@ import it.integry.ems.expansion.ObservableField; import it.integry.ems_model.utility.UtilityString; import org.apache.logging.log4j.Level; +import java.util.Objects; + public class LoggerConfigurationModel { @@ -61,4 +63,15 @@ public class LoggerConfigurationModel { return this; } + @Override + public boolean equals(Object o) { + if (!(o instanceof LoggerConfigurationModel)) return false; + LoggerConfigurationModel that = (LoggerConfigurationModel) o; + return Objects.equals(getLevel(), that.getLevel()) && Objects.equals(getDeleteDays(), that.getDeleteDays()) && Objects.equals(getDbDeleteDays(), that.getDbDeleteDays()) && Objects.equals(getDbMaxSize(), that.getDbMaxSize()); + } + + @Override + public int hashCode() { + return Objects.hash(getLevel(), getDeleteDays(), getDbDeleteDays(), getDbMaxSize()); + } } diff --git a/ems-core/src/main/java/it/integry/ems/settings/Model/MailConfigurationModel.java b/ems-core/src/main/java/it/integry/ems/settings/Model/MailConfigurationModel.java index 0d3ec5141b..4877505478 100644 --- a/ems-core/src/main/java/it/integry/ems/settings/Model/MailConfigurationModel.java +++ b/ems-core/src/main/java/it/integry/ems/settings/Model/MailConfigurationModel.java @@ -2,15 +2,17 @@ package it.integry.ems.settings.Model; import it.integry.ems.expansion.ObservableField; +import java.util.Objects; + public class MailConfigurationModel { - private ObservableField from = new ObservableField<>(); - private ObservableField smtp = new ObservableField<>(); - private ObservableField port = new ObservableField<>(); - private ObservableField enableSSL = new ObservableField<>(); - private ObservableField username = new ObservableField<>(); - private ObservableField password = new ObservableField<>(); - private ObservableField encryptedPassword = new ObservableField<>(); + private final ObservableField from = new ObservableField<>(); + private final ObservableField smtp = new ObservableField<>(); + private final ObservableField port = new ObservableField<>(); + private final ObservableField enableSSL = new ObservableField<>(); + private final ObservableField username = new ObservableField<>(); + private final ObservableField password = new ObservableField<>(); + private final ObservableField encryptedPassword = new ObservableField<>(); public String getFrom() { return from.get(); @@ -69,4 +71,15 @@ public class MailConfigurationModel { } + @Override + public boolean equals(Object o) { + if (!(o instanceof MailConfigurationModel)) return false; + MailConfigurationModel that = (MailConfigurationModel) o; + return Objects.equals(getFrom(), that.getFrom()) && Objects.equals(getSmtp(), that.getSmtp()) && Objects.equals(getPort(), that.getPort()) && Objects.equals(isEnableSSL(), that.isEnableSSL()) && Objects.equals(getUsername(), that.getUsername()) && Objects.equals(getPassword(), that.getPassword()) && Objects.equals(isEncryptedPassword(), that.isEncryptedPassword()); + } + + @Override + public int hashCode() { + return Objects.hash(getFrom(), getSmtp(), getPort(), isEnableSSL(), getUsername(), getPassword(), isEncryptedPassword()); + } } diff --git a/ems-core/src/main/java/it/integry/ems/settings/Model/MinIOSettingsModel.java b/ems-core/src/main/java/it/integry/ems/settings/Model/MinIOSettingsModel.java index 8c353ccb00..436e51d15a 100644 --- a/ems-core/src/main/java/it/integry/ems/settings/Model/MinIOSettingsModel.java +++ b/ems-core/src/main/java/it/integry/ems/settings/Model/MinIOSettingsModel.java @@ -5,16 +5,17 @@ import it.integry.ems.expansion.ObservableArrayList; import it.integry.ems.expansion.ObservableField; import java.util.ArrayList; +import java.util.Objects; public class MinIOSettingsModel { - private ObservableField host = new ObservableField<>(); - private ObservableField port = new ObservableField<>(); - private ObservableField accessKey = new ObservableField<>(); - private ObservableField secretKey = new ObservableField<>(); - private ObservableField enabled = new ObservableField<>(); - private ObservableField enableOldSave = new ObservableField<>(); - private ObservableArrayList excludedEntities = new ObservableArrayList<>(); + private final ObservableField host = new ObservableField<>(); + private final ObservableField port = new ObservableField<>(); + private final ObservableField accessKey = new ObservableField<>(); + private final ObservableField secretKey = new ObservableField<>(); + private final ObservableField enabled = new ObservableField<>(); + private final ObservableField enableOldSave = new ObservableField<>(); + private final ObservableArrayList excludedEntities = new ObservableArrayList<>(); public static MinIOSettingsModel getDefault() { return new MinIOSettingsModel() @@ -27,6 +28,18 @@ public class MinIOSettingsModel { .setExcludedEntities(new ArrayList<>()); } + @Override + public boolean equals(Object o) { + if (!(o instanceof MinIOSettingsModel)) return false; + MinIOSettingsModel that = (MinIOSettingsModel) o; + return Objects.equals(getHost(), that.getHost()) && Objects.equals(getPort(), that.getPort()) && Objects.equals(getAccessKey(), that.getAccessKey()) && Objects.equals(getSecretKey(), that.getSecretKey()) && Objects.equals(isEnabled(), that.isEnabled()) && Objects.equals(isEnableOldSave(), that.isEnableOldSave()) && Objects.equals(getExcludedEntities(), that.getExcludedEntities()); + } + + @Override + public int hashCode() { + return Objects.hash(getHost(), getPort(), getAccessKey(), getSecretKey(), isEnabled(), isEnableOldSave(), getExcludedEntities()); + } + public String getHost() { return host.get(); } diff --git a/ems-core/src/main/java/it/integry/ems/settings/Model/SettingsModel.java b/ems-core/src/main/java/it/integry/ems/settings/Model/SettingsModel.java index b3f7e6de9a..fb70e44a77 100644 --- a/ems-core/src/main/java/it/integry/ems/settings/Model/SettingsModel.java +++ b/ems-core/src/main/java/it/integry/ems/settings/Model/SettingsModel.java @@ -5,6 +5,7 @@ import com.fasterxml.jackson.databind.DeserializationFeature; import com.fasterxml.jackson.databind.ObjectMapper; import it.integry.ems.expansion.ObservableArrayList; import it.integry.ems.expansion.ObservableField; +import it.integry.ems.settings.SettingsHelper; import it.integry.ems_model.utility.UtilityReflection; import it.integry.ems_model.utility.UtilityString; import org.apache.logging.log4j.LogManager; @@ -247,6 +248,7 @@ public class SettingsModel implements InitializingBean { if (getMinioConfiguration().getExcludedEntities() == null) getMinioConfiguration().setExcludedEntities(new ArrayList<>()); + SettingsHelper.updateEMSSettings(this); this.saveOnFile(); String availableProfiles = System.getenv("AVAILABLE_PROFILES"); @@ -289,4 +291,27 @@ public class SettingsModel implements InitializingBean { logger.error("SettingsModel", ex); } } + + + @Override + public boolean equals(Object o) { + if (!(o instanceof SettingsModel)) return false; + SettingsModel that = (SettingsModel) o; + return getAccessTokenExpireMinutes() == that.getAccessTokenExpireMinutes() && + getRefreshTokenExpireDays() == that.getRefreshTokenExpireDays() && + Objects.equals(getDefaultProfile(), that.getDefaultProfile()) && + Objects.equals(isPrimaryInstance(), that.isPrimaryInstance()) && + Objects.equals(isEnableTokenCaching(), that.isEnableTokenCaching()) && + Objects.equals(getSystemPassword(), that.getSystemPassword()) && + Objects.equals(getAvailableConnections(), that.getAvailableConnections()) && + Objects.equals(getDefaultMailConfiguration(), that.getDefaultMailConfiguration()) && + Objects.equals(getLoggerConfiguration(), that.getLoggerConfiguration()) && + Objects.equals(enablePermissionCheck, that.enablePermissionCheck) && + Objects.equals(getMinioConfiguration(), that.getMinioConfiguration()); + } + + @Override + public int hashCode() { + return Objects.hash(getAccessTokenExpireMinutes(), getRefreshTokenExpireDays(), getDefaultProfile(), isPrimaryInstance(), isEnableTokenCaching(), getSystemPassword(), getAvailableConnections(), getDefaultMailConfiguration(), getLoggerConfiguration(), enablePermissionCheck, getMinioConfiguration()); + } } diff --git a/ems-core/src/main/java/it/integry/ems/settings/SettingsController.java b/ems-core/src/main/java/it/integry/ems/settings/SettingsController.java index a2f1865d59..af49395561 100644 --- a/ems-core/src/main/java/it/integry/ems/settings/SettingsController.java +++ b/ems-core/src/main/java/it/integry/ems/settings/SettingsController.java @@ -117,6 +117,11 @@ public class SettingsController implements IFileWatcherEvents { public void onChange(File file) { try { SettingsModel newSettingsModel = objectMapper.readValue(settingsModel.getConfigurationFile(), SettingsModel.class); + + if (newSettingsModel.equals(settingsModel)) + return; + + UtilityReflection.copyFields(newSettingsModel, settingsModel); SettingsHelper.updateEMSSettings(settingsModel); diff --git a/ems-core/src/main/java/it/integry/ems/sync/MultiDBTransaction/MultiDBTransactionManager.java b/ems-core/src/main/java/it/integry/ems/sync/MultiDBTransaction/MultiDBTransactionManager.java index 1f8de895f2..f8f29f8feb 100644 --- a/ems-core/src/main/java/it/integry/ems/sync/MultiDBTransaction/MultiDBTransactionManager.java +++ b/ems-core/src/main/java/it/integry/ems/sync/MultiDBTransaction/MultiDBTransactionManager.java @@ -95,17 +95,17 @@ public class MultiDBTransactionManager implements AutoCloseable { } - public void addConnection(AvailableConnectionsModel availableConnectionsModel) throws Exception { - this.addConnection(availableConnectionsModel.getProfileName()); - } - public void addConnection(String profileName) throws SQLException { AvailableConnectionsModel availableConnectionsModel = settingsModel.findConnectionModel(profileName); + this.addConnection(availableConnectionsModel); + } + + public void addConnection(AvailableConnectionsModel availableConnectionsModel) throws SQLException { Connection connection = connectionPool.getConnection(availableConnectionsModel); this.addConnection(connection); } - public void addConnection(Connection connection) { + private void addConnection(Connection connection) { if (allConnections != null) { if (requestData != null && requestData.getRequestURI() != null) { String methodName = " [" + requestData.getRequestURI() + "]"; diff --git a/ems-core/src/main/java/it/integry/ems_model/config/EmsRestConstants.java b/ems-core/src/main/java/it/integry/ems_model/config/EmsRestConstants.java index aaf307f998..ce18e9446d 100644 --- a/ems-core/src/main/java/it/integry/ems_model/config/EmsRestConstants.java +++ b/ems-core/src/main/java/it/integry/ems_model/config/EmsRestConstants.java @@ -453,12 +453,6 @@ public class EmsRestConstants { public static final String PATH_ACCISE_GET_DATI = PATH + "acciseGetDati"; public static final String PATH_ACCISE_GET_DATI_NEW = PATH + "get"; public static final String PATH_ACCISE_WRITE_FILE = PATH + "acciseWriteFile"; - //amazon wrapper - public static final String PATH_IMPORT_ORDERS_AMAZON = PATH + "importOrdersAmazon"; - public static final String PATH_ACK_ORDERS = PATH + "ackOrders"; - public static final String PATH_CONFIRM_FEED_WITH_TRACKID = PATH + "confirmFeedWithTracknumberId"; - public static final String PATH_FEED_SUBMISSION_RESULT = PATH + "feedSubmissionResult"; - public static final String PATH_UPDATE_QUANTITY_FEED = PATH + "updateQuantityFeed"; // EMS CONTABIL public static final String PATH_SEPA_XML = PATH + "sepaXml"; public static final String PATH_SEPA_SDD_XML = PATH + "sepaSDDXml"; diff --git a/ems-core/src/main/java/it/integry/ems_model/db/ResultSetMapper.java b/ems-core/src/main/java/it/integry/ems_model/db/ResultSetMapper.java index 97a1e0a820..23160d38a6 100644 --- a/ems-core/src/main/java/it/integry/ems_model/db/ResultSetMapper.java +++ b/ems-core/src/main/java/it/integry/ems_model/db/ResultSetMapper.java @@ -6,6 +6,7 @@ import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.dataformat.csv.CsvMapper; import com.fasterxml.jackson.dataformat.csv.CsvSchema; import it.integry.ems.expansion.RunnableArgsWithReturn; +import it.integry.ems.sync.MultiDBTransaction.Connection; import it.integry.ems.utility.UtilityDebug; import it.integry.ems_model.ImportExport.Interfaces.IExportFormat; import it.integry.ems_model.ImportExport.Interfaces.IImportFormat; @@ -25,10 +26,10 @@ import org.apache.logging.log4j.Logger; import javax.validation.constraints.NotNull; import java.lang.reflect.Field; import java.lang.reflect.Type; - -import it.integry.ems.sync.MultiDBTransaction.Connection; - -import java.sql.*; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.ResultSetMetaData; +import java.sql.SQLException; import java.util.*; import java.util.stream.Collectors; @@ -338,7 +339,7 @@ public class ResultSetMapper { CsvSchema.Builder builder = new CsvSchema.Builder(); builder.setColumnSeparator(separatorChar); builder.setUseHeader(useHeader); - builder.setLineSeparator(System.getProperty("line.separator")); + builder.setLineSeparator(System.lineSeparator()); ResultSetMetaData rsmd = rs.getMetaData(); for (int i = 0; i < rsmd.getColumnCount(); i++) { diff --git a/ems-core/src/main/java/it/integry/ems_model/entity/AtbForn.java b/ems-core/src/main/java/it/integry/ems_model/entity/AtbForn.java index e43634ddcc..caece43c81 100644 --- a/ems-core/src/main/java/it/integry/ems_model/entity/AtbForn.java +++ b/ems-core/src/main/java/it/integry/ems_model/entity/AtbForn.java @@ -37,7 +37,7 @@ public class AtbForn extends EntityBase implements EquatableEntityInterface ctbAmacManutenzioni = new ArrayList<>(); + @EntityChild + private List ctbAmacCarat = new ArrayList<>(); + public CtbAmac() { super(logger); } @@ -204,6 +207,15 @@ public class CtbAmac extends EntityBase { return this; } + public List getCtbAmacCarat() { + return ctbAmacCarat; + } + + public CtbAmac setCtbAmacCarat(List ctbAmacCarat) { + this.ctbAmacCarat = ctbAmacCarat; + return this; + } + public String getNote() { return note; } @@ -233,6 +245,11 @@ public class CtbAmac extends EntityBase { for (CtbAmacManutenzioni ctbAmacManutenzione : getCtbAmacManutenzioni()) { ctbAmacManutenzione.manageWithParentConnection(connection, ctbAmacManutenzione.getOperation(), dataCompleting, entityHolder); } + + for (CtbAmacCarat caratteristiche : getCtbAmacCarat()) { + caratteristiche.manageWithParentConnection(connection, caratteristiche.getOperation(), dataCompleting, entityHolder); + } + } @Override @@ -248,6 +265,8 @@ public class CtbAmac extends EntityBase { ctbAmacHistory.deleteAllEntities(connection, this); CtbAmacManutenzioni manutenzioni = new CtbAmacManutenzioni(); manutenzioni.deleteAllEntities(connection, this); + CtbAmacCarat caratteristiche = new CtbAmacCarat(); + caratteristiche.deleteAllEntities(connection, this); DtbOrdMacc dtbOrdMacc = new DtbOrdMacc(); dtbOrdMacc.deleteAllEntities(connection, this); } diff --git a/ems-core/src/main/java/it/integry/ems_model/entity/CtbAmacCarat.java b/ems-core/src/main/java/it/integry/ems_model/entity/CtbAmacCarat.java new file mode 100644 index 0000000000..fb91c7b9d9 --- /dev/null +++ b/ems-core/src/main/java/it/integry/ems_model/entity/CtbAmacCarat.java @@ -0,0 +1,106 @@ +package it.integry.ems_model.entity; + +import com.fasterxml.jackson.annotation.JsonTypeName; +import com.fasterxml.jackson.annotation.JsonValue; +import it.integry.ems_model.annotation.*; +import it.integry.ems_model.base.EntityBase; +import it.integry.ems_model.entity._enum.IBaseEnum; +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; +import org.kie.api.definition.type.PropertyReactive; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +@PropertyReactive +@Table(CtbAmacCarat.ENTITY) +@JsonTypeName(CtbAmacCarat.ENTITY) +public class CtbAmacCarat extends EntityBase { + + private final static Logger logger = LogManager.getLogger(); + + public static final String ENTITY = "ctb_amac_carat"; + + private static final long serialVersionUID = 1L; + + public CtbAmacCarat() { + super(logger); + } + + + @Identity + @PK + @SqlField(value = "id", nullable = false) + private long id; + + @SqlField(value = "cod_cmac", maxLength = 20, nullable = false) + private String codCmac; + + @SqlField(value = "nome_carat", nullable = false, maxLength = 100) + private String nomeCarat; + + @SqlField(value = "val_carat", maxLength = 4000) + private String valCarat; + + @SqlField(value = "indice_ordinamento") + private int indiceOrdinamento; + + @SqlField(value = "field_bg", maxLength = 15) + private String fieldBg; + + + public long getId() { + return id; + } + + public CtbAmacCarat setId(long id) { + this.id = id; + return this; + } + + public String getCodCmac() { + return codCmac; + } + + public CtbAmacCarat setCodCmac(String codCmac) { + this.codCmac = codCmac; + return this; + } + + public String getNomeCarat() { + return nomeCarat; + } + + public CtbAmacCarat setNomeCarat(String nomeCarat) { + this.nomeCarat = nomeCarat; + return this; + } + + public String getValCarat() { + return valCarat; + } + + public CtbAmacCarat setValCarat(String valCarat) { + this.valCarat = valCarat; + return this; + } + + public int getIndiceOrdinamento() { + return indiceOrdinamento; + } + + public CtbAmacCarat setIndiceOrdinamento(int indiceOrdinamento) { + this.indiceOrdinamento = indiceOrdinamento; + return this; + } + + public String getFieldBg() { + return fieldBg; + } + + public CtbAmacCarat setFieldBg(String fieldBg) { + this.fieldBg = fieldBg; + return this; + } +} diff --git a/ems-core/src/main/java/it/integry/ems_model/entity/GtbPorto.java b/ems-core/src/main/java/it/integry/ems_model/entity/GtbPorto.java index ea8e272720..93b235daff 100644 --- a/ems-core/src/main/java/it/integry/ems_model/entity/GtbPorto.java +++ b/ems-core/src/main/java/it/integry/ems_model/entity/GtbPorto.java @@ -25,7 +25,7 @@ public class GtbPorto extends EntityBase { private static final long serialVersionUID = 1L; @PK - @SqlField(value = "porto", maxLength = 40, nullable = false) + @SqlField(value = "porto", maxLength = 20, nullable = false) private String porto; @SqlField(value = "descrizione", maxLength = 40) diff --git a/ems-core/src/main/java/it/integry/ems_model/entity/VtbClie.java b/ems-core/src/main/java/it/integry/ems_model/entity/VtbClie.java index 8663558634..142d293189 100644 --- a/ems-core/src/main/java/it/integry/ems_model/entity/VtbClie.java +++ b/ems-core/src/main/java/it/integry/ems_model/entity/VtbClie.java @@ -63,7 +63,7 @@ public class VtbClie extends EntityBase implements EquatableEntityInterface getNotificationData() { @@ -136,7 +142,7 @@ public class WtbNotification extends EntityBase { } } - public void setNotificationData(Object notificationData) { + public WtbNotification setNotificationData(Object notificationData) { try { if (notificationData != null) { Map notificationDataMap = (Map) notificationData; @@ -147,30 +153,34 @@ public class WtbNotification extends EntityBase { } catch (JsonProcessingException e) { e.printStackTrace(); } + return this; } public Date getStartDate() { return startDate; } - public void setStartDate(Date startDate) { + public WtbNotification setStartDate(Date startDate) { this.startDate = startDate; + return this; } public Date getEndDate() { return endDate; } - public void setEndDate(Date endDate) { + public WtbNotification setEndDate(Date endDate) { this.endDate = endDate; + return this; } public Boolean isPersistent() { return persistent; } - public void setPersistent(Boolean persistent) { + public WtbNotification setPersistent(Boolean persistent) { this.persistent = persistent; + return this; } public List getTopics() { @@ -180,28 +190,31 @@ public class WtbNotification extends EntityBase { return Arrays.asList(topics.split(",")); } - public void setTopics(List topics) { + public WtbNotification setTopics(List topics) { if (topics != null) { this.topics = String.join(",", topics); } else { this.topics = ""; } + return this; } public WtbNotificationImage getImageFile() { return imageFile; } - public void setImageFile(WtbNotificationImage imageFile) { + public WtbNotification setImageFile(WtbNotificationImage imageFile) { this.imageFile = imageFile; + return this; } public List getAttachments() { return attachments; } - public void setAttachments(List attachments) { + public WtbNotification setAttachments(List attachments) { this.attachments = attachments; + return this; } public List getWtbDeviceNotifications() { @@ -214,8 +227,9 @@ public class WtbNotification extends EntityBase { } } - public void setWtbDeviceNotifications(List wtbDeviceNotifications) { + public WtbNotification setWtbDeviceNotifications(List wtbDeviceNotifications) { this.wtbDeviceNotifications = wtbDeviceNotifications; + return this; } @Override diff --git a/ems-core/src/main/java/it/integry/ems_model/utility/UtilityCSV.java b/ems-core/src/main/java/it/integry/ems_model/utility/UtilityCSV.java index 3abeeafd3e..a4d8bf1a7b 100644 --- a/ems-core/src/main/java/it/integry/ems_model/utility/UtilityCSV.java +++ b/ems-core/src/main/java/it/integry/ems_model/utility/UtilityCSV.java @@ -1,14 +1,22 @@ package it.integry.ems_model.utility; +import com.fasterxml.jackson.core.JsonGenerator; +import com.fasterxml.jackson.core.JsonProcessingException; +import com.fasterxml.jackson.dataformat.csv.CsvMapper; +import com.fasterxml.jackson.dataformat.csv.CsvSchema; + import java.io.BufferedReader; import java.io.File; import java.io.StringReader; import java.util.ArrayList; import java.util.Arrays; +import java.util.HashMap; import java.util.List; public class UtilityCSV { + private final static CsvMapper mapper = new CsvMapper(); + /** * Reads a CSV content from a string and returns its content as a list of lists of strings. * @@ -49,4 +57,31 @@ public class UtilityCSV { return records; } + + + public static String mapHashMapToCSV(List> map, char separatorChar, Boolean useHeader, Boolean titleUpperCase, List excludeColumn) throws JsonProcessingException { + CsvSchema.Builder builder = new CsvSchema.Builder(); + builder.setColumnSeparator(separatorChar); + builder.setUseHeader(useHeader); + builder.setLineSeparator(System.lineSeparator()); + + String[] columnNames = map.get(0).keySet().toArray(new String[0]); + + for (int i = 0; i < columnNames.length; i++) { + String columnName = columnNames[i]; + if (excludeColumn == null || !excludeColumn.contains(columnName)) { + if (titleUpperCase) { + columnName = columnName.toUpperCase(); + } + builder.addColumn(new CsvSchema.Column(i, columnName)); + } + } + CsvSchema schema = builder.build().withoutQuoteChar(); + + mapper.configure(JsonGenerator.Feature.IGNORE_UNKNOWN, true); + return mapper + .writer(schema) + .writeValueAsString(map); + } + } diff --git a/ems-core/src/main/java/it/integry/ems_model/utility/UtilityResultSet.java b/ems-core/src/main/java/it/integry/ems_model/utility/UtilityResultSet.java index 54c3f298fc..a0df25e9eb 100644 --- a/ems-core/src/main/java/it/integry/ems_model/utility/UtilityResultSet.java +++ b/ems-core/src/main/java/it/integry/ems_model/utility/UtilityResultSet.java @@ -4,7 +4,6 @@ import com.fasterxml.jackson.core.JsonGenerator; import com.fasterxml.jackson.dataformat.csv.CsvMapper; import com.fasterxml.jackson.dataformat.csv.CsvSchema; import it.integry.ems_model.db.ResultSetMapper; -import org.apache.poi.hssf.record.crypto.Biff8DecryptingStream; import org.apache.poi.hssf.usermodel.HSSFWorkbook; import org.apache.poi.ss.usermodel.Font; import org.apache.poi.ss.usermodel.Row; @@ -49,7 +48,7 @@ public class UtilityResultSet { CsvSchema.Builder builder = new CsvSchema.Builder(); builder.setColumnSeparator(separatorChar); builder.setUseHeader(useHeader); - builder.setLineSeparator(System.getProperty("line.separator")); + builder.setLineSeparator(System.lineSeparator()); ResultSetMetaData rsmd = rs.getMetaData(); for (int i = 0; i < rsmd.getColumnCount(); i++) { diff --git a/ems-core/src/main/java/it/integry/firebase/controller/NotificationController.java b/ems-core/src/main/java/it/integry/firebase/controller/NotificationController.java index 068d873f9d..d5f6294272 100644 --- a/ems-core/src/main/java/it/integry/firebase/controller/NotificationController.java +++ b/ems-core/src/main/java/it/integry/firebase/controller/NotificationController.java @@ -12,6 +12,7 @@ import it.integry.ems_model.utility.UtilityDB; import it.integry.ems_model.utility.UtilityString; import it.integry.firebase.dto.CreateNotificationDTO; import it.integry.firebase.dto.MessageDTO; +import it.integry.firebase.dto.ReadNotificationRequestDTO; import it.integry.firebase.enums.GetMode; import it.integry.firebase.service.DeviceTokenService; import it.integry.firebase.service.FirebaseService; @@ -52,127 +53,81 @@ public class NotificationController { private SetupGest setupGest; @RequestMapping(method = RequestMethod.GET) - public ServiceRestResponse get(HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String configuration, + public ServiceRestResponse get(@RequestParam(CommonConstants.PROFILE_DB) String configuration, @RequestParam(value = "mode", required = false, defaultValue = "ALL") GetMode mode, @RequestParam(value = "loadAttachedFiles", required = false, defaultValue = "false") Boolean loadAttachedFiles, - @RequestParam(value = "forUser", required = false) String forUser) { - try { - return ServiceRestResponse.createPositiveResponse(notificationService.get(mode, loadAttachedFiles, forUser)); - } catch (Exception e) { - logger.error(request.getRequestURI(), e); - return ServiceRestResponse.createNegativeResponse(configuration, e); - } + @RequestParam(value = "forUser", required = false) String forUser) throws Exception { + + return ServiceRestResponse.createPositiveResponse(notificationService.get(mode, loadAttachedFiles, forUser)); } @RequestMapping(method = RequestMethod.POST) - public ServiceRestResponse create(HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String configuration, - @RequestBody CreateNotificationDTO createNotification) { - try { - return ServiceRestResponse.createEntityPositiveResponse(notificationService.create(createNotification)); - } catch (Exception e) { - logger.error(request.getRequestURI(), e); - return ServiceRestResponse.createNegativeResponse(configuration, e); - } + public ServiceRestResponse create(@RequestParam(CommonConstants.PROFILE_DB) String configuration, + @RequestBody CreateNotificationDTO createNotification) throws Exception { + + return ServiceRestResponse.createEntityPositiveResponse(notificationService.create(createNotification)); + } @RequestMapping(method = RequestMethod.PUT) - public ServiceRestResponse update(HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String configuration, - @RequestBody CreateNotificationDTO createNotification) { - try { - return ServiceRestResponse.createEntityPositiveResponse(notificationService.update(createNotification)); - } catch (Exception e) { - logger.error(request.getRequestURI(), e); - return ServiceRestResponse.createNegativeResponse(configuration, e); - } + public ServiceRestResponse update(@RequestParam(CommonConstants.PROFILE_DB) String configuration, + @RequestBody CreateNotificationDTO createNotification) throws Exception { + + return ServiceRestResponse.createEntityPositiveResponse(notificationService.update(createNotification)); } - @RequestMapping(value = "/{id}", method = RequestMethod.DELETE) - public ServiceRestResponse delete(HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String configuration, - @PathVariable("id") Long id) { - try { - notificationService.delete(id); + @DeleteMapping(value = "/{id}") + public ServiceRestResponse delete(@RequestParam(CommonConstants.PROFILE_DB) String configuration, + @PathVariable("id") Long id) throws Exception { - return ServiceRestResponse.createPositiveResponse(); - } catch (Exception e) { - logger.error(request.getRequestURI(), e); - return ServiceRestResponse.createNegativeResponse(configuration, e); - } + notificationService.delete(id); + return ServiceRestResponse.createPositiveResponse(); } - @RequestMapping(value = "/{id}/{attachId}", method = RequestMethod.DELETE) - public ServiceRestResponse deleteAttachment(HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String configuration, + @DeleteMapping(value = "/all/{userName}") + public ServiceRestResponse deleteAll(@RequestParam(CommonConstants.PROFILE_DB) String configuration, + @PathVariable("userName") String userName) throws Exception { + + notificationService.deleteByUser(configuration, userName); + return ServiceRestResponse.createPositiveResponse(); + } + + @DeleteMapping(value = "/{id}/{attachId}") + public ServiceRestResponse deleteAttachment(@RequestParam(CommonConstants.PROFILE_DB) String configuration, @PathVariable("id") Long notificationId, - @PathVariable("attachId") String attachId) { - try { - notificationService.deleteAttachment(notificationId, attachId); + @PathVariable("attachId") String attachId) throws Exception { - return ServiceRestResponse.createPositiveResponse(); - } catch (Exception e) { - logger.error(request.getRequestURI(), e); - return ServiceRestResponse.createNegativeResponse(configuration, e); - } + notificationService.deleteAttachment(notificationId, attachId); + return ServiceRestResponse.createPositiveResponse(); } - @RequestMapping(value = "/send/{id}", method = RequestMethod.GET) - public ServiceRestResponse send(HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String configuration, - @PathVariable("id") Long id) { - try { - if (UtilityString.isNullOrEmpty(id)) { - throw new Exception("Necessario l'id per identificare la notifica da mandare"); - } + @GetMapping(value = "/send/{id}") + public ServiceRestResponse send(@RequestParam(CommonConstants.PROFILE_DB) String configuration, + @PathVariable("id") Long id) throws Exception { - return ServiceRestResponse.createEntityPositiveResponse(notificationService.send(id)); - } catch (Exception e) { - logger.error(request.getRequestURI(), e); - return ServiceRestResponse.createNegativeResponse(configuration, e); - } + return ServiceRestResponse.createEntityPositiveResponse(notificationService.send(id)); } - @RequestMapping(value = "/read", method = RequestMethod.POST) - public ServiceRestResponse read(HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String configuration, - @RequestBody Map body) { - try { - String deviceToken = (String) body.get("deviceToken"); - long notificationId = ((Integer) body.get("notificationId")).longValue(); + @PostMapping(value = "/read") + public ServiceRestResponse read(@RequestParam(CommonConstants.PROFILE_DB) String configuration, + @RequestBody ReadNotificationRequestDTO body) throws Exception { - if (deviceToken == null || notificationId == 0) { - throw new Exception("Necessario device token e notification id"); - } - - return ServiceRestResponse.createEntityPositiveResponse(notificationService.read(deviceToken, notificationId)); - } catch (Exception e) { - logger.error(request.getRequestURI(), e); - return ServiceRestResponse.createNegativeResponse(configuration, e); - } + return ServiceRestResponse.createEntityPositiveResponse(notificationService.read(body)); } - @RequestMapping(value = EmsRestConstants.PATH_NOTIF_SEND, method = RequestMethod.POST) + @PostMapping(value = EmsRestConstants.PATH_NOTIF_SEND) public @ResponseBody - ServiceRestResponse sendNotification(HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String configuration, - @RequestBody MessageDTO messageDTO) { + ServiceRestResponse sendNotification(@RequestParam(CommonConstants.PROFILE_DB) String configuration, + @RequestBody MessageDTO messageDTO) throws Exception { - try { - Message.Builder builder = messageDTO.toBuilder(); - - if (messageDTO.getUserName() != null) { - builder.setTopic(firebaseService.getUserTopic(multiDBTransactionManager.getPrimaryConnection(), messageDTO.getUserName())); - } - - firebaseService.sendMessage(multiDBTransactionManager.getPrimaryConnection(), builder.build()); - return ServiceRestResponse.createPositiveResponse("Notifica inviata."); - } catch (Exception e) { - logger.error(request.getRequestURI(), e); - - return ServiceRestResponse.createNegativeResponse(e); + Message.Builder builder = messageDTO.toBuilder(); + if (messageDTO.getUserName() != null) { + builder.setTopic(firebaseService.getUserTopic(multiDBTransactionManager.getPrimaryConnection(), messageDTO.getUserName())); } + + firebaseService.sendMessage(multiDBTransactionManager.getPrimaryConnection(), builder.build()); + return ServiceRestResponse.createPositiveResponse("Notifica inviata."); + } @RequestMapping(value = EmsRestConstants.PATH_NOTIF_SEND_USER_DEVICES, method = RequestMethod.POST) diff --git a/ems-core/src/main/java/it/integry/firebase/dto/CreateNotificationDTO.java b/ems-core/src/main/java/it/integry/firebase/dto/CreateNotificationDTO.java index 7c1907351f..42dbf175f3 100644 --- a/ems-core/src/main/java/it/integry/firebase/dto/CreateNotificationDTO.java +++ b/ems-core/src/main/java/it/integry/firebase/dto/CreateNotificationDTO.java @@ -16,23 +16,26 @@ public class CreateNotificationDTO { return wtbNotification; } - public void setWtbNotification(WtbNotification wtbNotification) { + public CreateNotificationDTO setWtbNotification(WtbNotification wtbNotification) { this.wtbNotification = wtbNotification; + return this; } public StbFilesAttached getImageFile() { return imageFile; } - public void setImageFile(StbFilesAttached imageFile) { + public CreateNotificationDTO setImageFile(StbFilesAttached imageFile) { this.imageFile = imageFile; + return this; } public List getAttachments() { return attachments; } - public void setAttachments(List attachments) { + public CreateNotificationDTO setAttachments(List attachments) { this.attachments = attachments; + return this; } } diff --git a/ems-core/src/main/java/it/integry/firebase/dto/ReadNotificationRequestDTO.java b/ems-core/src/main/java/it/integry/firebase/dto/ReadNotificationRequestDTO.java new file mode 100644 index 0000000000..94fa5eff5f --- /dev/null +++ b/ems-core/src/main/java/it/integry/firebase/dto/ReadNotificationRequestDTO.java @@ -0,0 +1,35 @@ +package it.integry.firebase.dto; + +public class ReadNotificationRequestDTO { + + private String deviceToken; + private String username; + private long notificationId; + + public String getDeviceToken() { + return deviceToken; + } + + public ReadNotificationRequestDTO setDeviceToken(String deviceToken) { + this.deviceToken = deviceToken; + return this; + } + + public String getUsername() { + return username; + } + + public ReadNotificationRequestDTO setUsername(String username) { + this.username = username; + return this; + } + + public long getNotificationId() { + return notificationId; + } + + public ReadNotificationRequestDTO setNotificationId(long notificationId) { + this.notificationId = notificationId; + return this; + } +} diff --git a/ems-core/src/main/java/it/integry/firebase/service/FirebaseService.java b/ems-core/src/main/java/it/integry/firebase/service/FirebaseService.java index 0a02e5432f..c2eb8b7043 100644 --- a/ems-core/src/main/java/it/integry/firebase/service/FirebaseService.java +++ b/ems-core/src/main/java/it/integry/firebase/service/FirebaseService.java @@ -97,9 +97,10 @@ public class FirebaseService { } public String sendMessage(Connection connection, Message message) throws Exception { - if (!this.isInitialized(connection)) { - throw new FirebaseNotReadyException(); - } + if (!this.isInitialized(connection)) throw new FirebaseNotReadyException(); + + if (this.isDryRun(connection)) + logger.debug("Invio notifica Firebase in dry run: \n{}", message); return getFirebaseMessaging(connection).send(message, this.isDryRun(connection)); } diff --git a/ems-core/src/main/java/it/integry/firebase/service/NotificationService.java b/ems-core/src/main/java/it/integry/firebase/service/NotificationService.java index 316be3e67a..237558419f 100644 --- a/ems-core/src/main/java/it/integry/firebase/service/NotificationService.java +++ b/ems-core/src/main/java/it/integry/firebase/service/NotificationService.java @@ -11,11 +11,13 @@ import it.integry.ems.sync.MultiDBTransaction.MultiDBTransactionManager; import it.integry.ems_model.config.EmsRestConstants; import it.integry.ems_model.entity.*; import it.integry.ems_model.types.OperationType; +import it.integry.ems_model.utility.Query; import it.integry.ems_model.utility.UtilityDB; import it.integry.ems_model.utility.UtilityHashMap; import it.integry.ems_model.utility.UtilityString; import it.integry.firebase.dto.CreateNotificationDTO; import it.integry.firebase.dto.MessageDTO; +import it.integry.firebase.dto.ReadNotificationRequestDTO; import it.integry.firebase.enums.GetMode; import org.apache.commons.lang3.StringUtils; import org.apache.logging.log4j.LogManager; @@ -345,6 +347,30 @@ public class NotificationService { entityProcessor.processEntity(notification, multiDBTransactionManager); } + public void deleteByUser(String profileDb, String userName) throws Exception { + if (UtilityString.isNullOrEmpty(userName)) throw new Exception("Impossibile eliminare le notifiche!"); + + String topic = String.format("user_%s_%s", userName.toLowerCase(), profileDb.toLowerCase()); + + String sql = Query.format( + "SELECT id\n" + + "FROM wtb_notification\n" + + "WHERE topics = %s", + topic + ); + List> notifications = UtilityDB.executeSimpleQuery(multiDBTransactionManager.getPrimaryConnection(), sql); + + if (!notifications.isEmpty()) { + for (HashMap notification : notifications) { + Long id = UtilityHashMap.getValueIfExists(notification, "id"); + + if (id != null) { + this.delete(id); + } + } + } + } + public void deleteAttachment(Long notificationId, String attachId) throws Exception { if (UtilityString.isNullOrEmpty(notificationId) || UtilityString.isNullOrEmpty(attachId)) { throw new Exception("Impossibile eliminare allegato senza id della notifica ed id dell'allegato"); @@ -374,6 +400,9 @@ public class NotificationService { } public WtbNotification send(Long id) throws Exception { + if (UtilityString.isNullOrEmpty(id)) + throw new Exception("Necessario l'id per identificare la notifica da mandare"); + WtbNotification notification = new WtbNotification(); notification.setOperation(OperationType.SELECT_OBJECT); @@ -401,10 +430,6 @@ public class NotificationService { builder.setToken(deviceToken); try { - if (firebaseService.isDryRun(multiDBTransactionManager.getPrimaryConnection())) { - logger.debug("Invio notifica Firebase in dry run: \n" + notification); - } - firebaseService.sendMessage(multiDBTransactionManager.getPrimaryConnection(), builder.build()); deviceNotification = new WtbDeviceNotification(); @@ -431,12 +456,21 @@ public class NotificationService { return notification; } - public WtbNotification read(String deviceToken, long notificationId) throws Exception { - String sql = String.format( - "select id, device_token, user_name, app_name, platform " + - "from %s where device_token = '%s'", - WtbUserDeviceToken.ENTITY, - deviceToken + public WtbNotification read(ReadNotificationRequestDTO readRequest) throws Exception { + if ((readRequest.getDeviceToken() == null && readRequest.getUsername() == null) || readRequest.getNotificationId() == 0) + throw new Exception("Necessario device token o username e notification id"); + + String sql = Query.format( + "SELECT id,\n" + + " device_token,\n" + + " user_name,\n" + + " app_name,\n" + + " platform\n" + + "FROM wtb_user_device_tokens\n" + + "WHERE (%s IS NULL OR device_token = %s)\n" + + " OR (%s IS NULL OR user_name = %s)", + readRequest.getDeviceToken(), readRequest.getDeviceToken(), + readRequest.getUsername(), readRequest.getUsername() ); List userDeviceTokens = UtilityDB.executeSimpleQueryDTO( @@ -448,54 +482,52 @@ public class NotificationService { WtbNotification notification = new WtbNotification(); notification.setOperation(OperationType.SELECT_OBJECT); - notification.setId(notificationId); + notification.setId(readRequest.getNotificationId()); notification = entityProcessor.processEntity(notification, multiDBTransactionManager); if (userDeviceTokens != null && !userDeviceTokens.isEmpty()) { - WtbUserDeviceToken userDeviceToken = userDeviceTokens.get(0); + for (WtbUserDeviceToken userDeviceToken : userDeviceTokens) { + sql = Query.format( + "SELECT user_device_id,\n" + + " notification_id,\n" + + " read_date\n" + + "FROM wtb_device_notification\n" + + "WHERE user_device_id = %s\n" + + " AND notification_id = %s", + userDeviceToken.getId(), + readRequest.getNotificationId() + ); - sql = String.format( - "select " + - "user_device_id," + - "notification_id," + - "read_date " + - "from %s where " + - "user_device_id = %s and " + - "notification_id = %s", - WtbDeviceNotification.ENTITY, - userDeviceToken.getId(), - notificationId - ); + List deviceNotifications = + UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), sql, WtbDeviceNotification.class); - List deviceNotifications = - UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), sql, WtbDeviceNotification.class); + WtbDeviceNotification deviceNotification; - WtbDeviceNotification deviceNotification; + if (deviceNotifications != null && !deviceNotifications.isEmpty()) { + deviceNotification = deviceNotifications.get(0); - if (deviceNotifications != null && !deviceNotifications.isEmpty()) { - deviceNotification = deviceNotifications.get(0); + deviceNotification.setOperation(OperationType.UPDATE); + deviceNotification.setReadNow(); - deviceNotification.setOperation(OperationType.UPDATE); - deviceNotification.setReadNow(); + notification.setWtbDeviceNotifications(deviceNotifications); + } else { + deviceNotification = new WtbDeviceNotification(); - notification.setWtbDeviceNotifications(deviceNotifications); - } else { - deviceNotification = new WtbDeviceNotification(); + deviceNotification.setOperation(OperationType.INSERT_OR_UPDATE); + deviceNotification.setUserDeviceId(userDeviceToken.getId()); + deviceNotification.setNotificationId(readRequest.getNotificationId()); + deviceNotification.setReadNow(); - deviceNotification.setOperation(OperationType.INSERT_OR_UPDATE); - deviceNotification.setUserDeviceId(userDeviceToken.getId()); - deviceNotification.setNotificationId(notificationId); - deviceNotification.setReadNow(); + notification.addWtbDeviceNotification(deviceNotification); + } - notification.addWtbDeviceNotification(deviceNotification); + notification.setOperation(OperationType.NO_OP); + entityProcessor.processEntity(notification, multiDBTransactionManager); + + notification.setOperation(OperationType.SELECT_OBJECT); + Stream.of(notification.getWtbDeviceNotifications()).forEach(wtbDeviceNotification -> wtbDeviceNotification.setOperation(OperationType.SELECT_OBJECT)); } - - notification.setOperation(OperationType.NO_OP); - entityProcessor.processEntity(notification, multiDBTransactionManager); - - notification.setOperation(OperationType.SELECT_OBJECT); - Stream.of(notification.getWtbDeviceNotifications()).forEach(wtbDeviceNotification -> wtbDeviceNotification.setOperation(OperationType.SELECT_OBJECT)); } return notification; diff --git a/ems-engine/pom.xml b/ems-engine/pom.xml index a38a2a626b..9285bd109f 100644 --- a/ems-engine/pom.xml +++ b/ems-engine/pom.xml @@ -105,7 +105,6 @@ it.integry.ems.contabil.** - it.integry.ems.order.amazon.** ../ts/ems-engine.module.ts module @@ -142,25 +141,6 @@ ${spring.version} - - - com.amazonservices.mws - MWSOrders_2013-09-01 - 1.0 - - - - com.amazonservices.mws - MaWSJavaClientLibrary - 1.1 - - - - com.amazonservices.mws - MWSClientJavaRuntime - 1.1 - - com.ancientprogramming.fixedformat4j fixedformat4j diff --git a/ems-engine/src/main/java/it/integry/ems/activity/service/SteUPService.java b/ems-engine/src/main/java/it/integry/ems/activity/service/SteUPService.java index e8d17e021a..5a32e924f1 100644 --- a/ems-engine/src/main/java/it/integry/ems/activity/service/SteUPService.java +++ b/ems-engine/src/main/java/it/integry/ems/activity/service/SteUPService.java @@ -864,7 +864,7 @@ public class SteUPService { "descrizione, \n" + (chkRotturaStock ? "mvw_barcode.cod_barre" : "griglia.bar_code") + " as barcode, \n" + "cod_msgr\n " + - " from steup_getGrigliaVendita(" + UtilityDB.valueToString(codMdep) + "," + UtilityDB.valueToString(codJfas) + ") griglia " + + " from steup_getGrigliaVendita(" + UtilityDB.valueToString(codMdep) + "," + UtilityDB.valueToString(codJfas) + ", " + UtilityDB.valueToString(dataCreation) + ") griglia " + (chkRotturaStock ? " INNER JOIN mvw_barcode on griglia.cod_mart_kit = mvw_barcode.cod_mart " : "") + " WHERE griglia.cod_mart NOT IN (SELECT cod_mart\n" + " FROM (SELECT cod_mart,\n" + diff --git a/ems-engine/src/main/java/it/integry/ems/contabil/Import/service/ContabilImportService.java b/ems-engine/src/main/java/it/integry/ems/contabil/Import/service/ContabilImportService.java index 02481166f9..07718b2680 100644 --- a/ems-engine/src/main/java/it/integry/ems/contabil/Import/service/ContabilImportService.java +++ b/ems-engine/src/main/java/it/integry/ems/contabil/Import/service/ContabilImportService.java @@ -3,12 +3,12 @@ package it.integry.ems.contabil.Import.service; import com.annimon.stream.ComparatorCompat; import com.annimon.stream.Stream; import it.integry.common.var.CommonConstants; +import it.integry.common.var.EmsDBConst; import it.integry.ems.Import.dto.AnomalieDTO; import it.integry.ems.Import.dto.ImportRequestDTO; import it.integry.ems.contabil.Import.dto.MovPagheDTO; import it.integry.ems.contabil.Import.dto.MovimentiContabiliDocfinanceDTO; import it.integry.ems.contabil.bancaditalia.service.TassiDiCambioService; -import it.integry.ems.datasource.DataSource; import it.integry.ems.file_formatter.csv.CsvMapper; import it.integry.ems.file_formatter.txt.TxtMapper; import it.integry.ems.rules.businessLogic.AccountingBusinessLogic; @@ -37,38 +37,45 @@ import java.util.stream.Collectors; public class ContabilImportService { @Autowired private EntityProcessor entityProcessor; + @Autowired private MultiDBTransactionManager multiDBTransactionManager; + @Autowired private SetupGest setupGest; + @Autowired private MailService mailService; + @Autowired private TassiDiCambioService tassiDiCambioService; + @Autowired + private EmsDBConst emsDBConst; + public List importMovIngragruppo(String type, String format, String whereCond) throws Exception { List movimenti = new ArrayList<>(); - DataSource dbPrimary = new DataSource(); - String dbDistriburtore = null; - HashMap datiAzienda = Azienda.getDatiAzienda(multiDBTransactionManager.getPrimaryConnection()); - if (datiAzienda == null || UtilityString.isNullOrEmpty(datiAzienda.get("db_distributore"))) { + + String dbDistriburtore = multiDBTransactionManager.getDistributoreProfileName(); + if (UtilityString.isNullOrEmpty(dbDistriburtore)) throw new Exception("DB Distributore non trovato."); - } else { - dbDistriburtore = (String) datiAzienda.get("db_distributore"); - dbPrimary.initialize(dbDistriburtore); - } + + + Azienda datiAzienda = Azienda.getDefaultAzienda(multiDBTransactionManager.getPrimaryConnection()); + + Connection dbDistributoreConnectin = multiDBTransactionManager.addAndGetDistributoreConnection(); String sql = "SELECT aziende_gruppo.cod_anag " + " FROM aziende_gruppo, gtb_anag " + " WHERE aziende_gruppo.cod_anag = gtb_anag.cod_anag and " + - " gtb_anag.part_iva = " + UtilityDB.valueToString(datiAzienda.get("part_iva")); - String codAnagAzienda = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(dbPrimary.getConnection(), sql); + " gtb_anag.part_iva = " + UtilityDB.valueToString(datiAzienda.getPartIva()); + String codAnagAzienda = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(dbDistributoreConnectin, sql); - if (UtilityString.isNullOrEmpty(codAnagAzienda)) { + if (UtilityString.isNullOrEmpty(codAnagAzienda)) throw new Exception("Azienda non appartenente al gruppo o db distributore errato."); - } + String selectMov = @@ -93,7 +100,7 @@ public class ContabilImportService { " FROM ctb_movt " + " WHERE ctb_movt.stam_gio = 'N' AND ctb_movt.num_cmov in (" + selectMov + ")"; ResultSetMapper ctbMovtMapper = new ResultSetMapper(); - List listaMov = ctbMovtMapper.mapQuerySetToList(dbPrimary.getConnection(), sql, CtbMovt.class, OperationType.INSERT); + List listaMov = ctbMovtMapper.mapQuerySetToList(dbDistributoreConnectin, sql, CtbMovt.class, OperationType.INSERT); for (CtbMovt ctbMovt : listaMov) { Integer numCmovOrig = ctbMovt.getNumCmov(); @@ -105,7 +112,7 @@ public class ContabilImportService { "SELECT * FROM ctb_movi WHERE ctb_movi.num_cmov = " + UtilityDB.valueToString(numCmovOrig); ResultSetMapper ctbMoviMapper = new ResultSetMapper(); - List ctbMovi = ctbMoviMapper.mapQuerySetToList(dbPrimary.getConnection(), sqlRighe, CtbMovi.class, OperationType.INSERT); + List ctbMovi = ctbMoviMapper.mapQuerySetToList(dbDistributoreConnectin, sqlRighe, CtbMovi.class, OperationType.INSERT); if (ctbMovi != null) { ctbMovt.setCtbMovi(ctbMovi); @@ -115,7 +122,7 @@ public class ContabilImportService { "SELECT * FROM ctb_movr WHERE ctb_movr.num_cmov = " + UtilityDB.valueToString(numCmovOrig); ResultSetMapper ctbMovrMapper = new ResultSetMapper(); - List ctbMovr = ctbMovrMapper.mapQuerySetToList(dbPrimary.getConnection(), sqlRighe, CtbMovr.class, OperationType.INSERT); + List ctbMovr = ctbMovrMapper.mapQuerySetToList(dbDistributoreConnectin, sqlRighe, CtbMovr.class, OperationType.INSERT); if (ctbMovr != null) { ctbMovt.setCtbMovr(ctbMovr); @@ -133,7 +140,7 @@ public class ContabilImportService { " ORDER BY ctb_scad.id_riga"; ResultSetMapper ctbScadMapper = new ResultSetMapper(); - List ctbScad = ctbScadMapper.mapQuerySetToList(dbPrimary.getConnection(), sqlRighe, CtbScad.class, OperationType.INSERT); + List ctbScad = ctbScadMapper.mapQuerySetToList(dbDistributoreConnectin, sqlRighe, CtbScad.class, OperationType.INSERT); if (ctbScad != null) { ctbMovt.setCtbScad(ctbScad); @@ -144,10 +151,10 @@ public class ContabilImportService { movimenti.add(ctbMovt); try { String sqlUpdate = "UPDATE ctb_movt SET ctb_movt.stam_gio = 'S' WHERE ctb_movt.num_cmov = " + UtilityDB.valueToString(numCmovOrig); - dbPrimary.getConnection().createStatement().executeUpdate(sqlUpdate); - dbPrimary.getConnection().commit(); + dbDistributoreConnectin.createStatement().executeUpdate(sqlUpdate); + dbDistributoreConnectin.commit(); } catch (Exception e) { - dbPrimary.getConnection().rollback(); + dbDistributoreConnectin.rollback(); throw new Exception("Errore durante l'aggiornametno del movimento contabile sul db " + dbDistriburtore + "." + e.getMessage()); } } else { diff --git a/ems-engine/src/main/java/it/integry/ems/contabil/service/AutofatturaService.java b/ems-engine/src/main/java/it/integry/ems/contabil/service/AutofatturaService.java index 11ac8faa13..003d977d27 100644 --- a/ems-engine/src/main/java/it/integry/ems/contabil/service/AutofatturaService.java +++ b/ems-engine/src/main/java/it/integry/ems/contabil/service/AutofatturaService.java @@ -2,7 +2,6 @@ package it.integry.ems.contabil.service; import it.integry.common.var.CommonConstants; import it.integry.ems.contabil.dto.AutofatturaDTO; -import it.integry.ems.datasource.DataSource; import it.integry.ems.rules.businessLogic.AccountingBusinessLogic; import it.integry.ems.service.EntityProcessor; import it.integry.ems.service.MailService; diff --git a/ems-engine/src/main/java/it/integry/ems/document/Import/dto/DocumentiProdDaFabbDTO.java b/ems-engine/src/main/java/it/integry/ems/document/Import/dto/DocumentiProdDaFabbDTO.java index 1633bf46c1..397ca4178f 100644 --- a/ems-engine/src/main/java/it/integry/ems/document/Import/dto/DocumentiProdDaFabbDTO.java +++ b/ems-engine/src/main/java/it/integry/ems/document/Import/dto/DocumentiProdDaFabbDTO.java @@ -24,6 +24,8 @@ public class DocumentiProdDaFabbDTO { private String generaScarico; + private String generaCaricoMatricola; + public String getGestione() { return gestione; } @@ -94,4 +96,12 @@ public class DocumentiProdDaFabbDTO { public void setGeneraScarico(String generaScarico) { this.generaScarico = generaScarico; } + + public String getGeneraCaricoMatricola() { + return generaCaricoMatricola; + } + + public void setGeneraCaricoMatricola(String generaCaricoMatricola) { + this.generaCaricoMatricola = generaCaricoMatricola; + } } diff --git a/ems-engine/src/main/java/it/integry/ems/document/Import/service/DocumentiConsortileService.java b/ems-engine/src/main/java/it/integry/ems/document/Import/service/DocumentiConsortileService.java index 58e2ab6adf..b53402a1bc 100644 --- a/ems-engine/src/main/java/it/integry/ems/document/Import/service/DocumentiConsortileService.java +++ b/ems-engine/src/main/java/it/integry/ems/document/Import/service/DocumentiConsortileService.java @@ -2,7 +2,6 @@ package it.integry.ems.document.Import.service; import it.integry.common.var.CommonConstants; import it.integry.ems.Import.dto.AnomalieDTO; -import it.integry.ems.datasource.DataSource; import it.integry.ems.document.Import.dto.ConsortileFilterDTO; import it.integry.ems.javabeans.RequestDataDTO; import it.integry.ems.rules.completing.DocumentRules; @@ -371,8 +370,6 @@ public class DocumentiConsortileService { // Connessione al database dell'azienda agricola if (j == 0) { - DataSource dsSync = new DataSource(); - dsSync.initialize(profileDB); multiDBTransactionManagerAzAgr.setPrimaryDB(profileDB); } diff --git a/ems-engine/src/main/java/it/integry/ems/document/Import/service/DocumentiProdDaFabb.java b/ems-engine/src/main/java/it/integry/ems/document/Import/service/DocumentiProdDaFabb.java index c40e4e9429..befef2f6c1 100644 --- a/ems-engine/src/main/java/it/integry/ems/document/Import/service/DocumentiProdDaFabb.java +++ b/ems-engine/src/main/java/it/integry/ems/document/Import/service/DocumentiProdDaFabb.java @@ -327,13 +327,15 @@ public class DocumentiProdDaFabb { List entityList = new ArrayList(); Connection connect = multiDBTransactionManager.getPrimaryConnection(); - if (!ordini.isEmpty()) { + /*Non più utilizzato (VECCHIA VERSIONE)*/ +/* if (!ordini.isEmpty()) { String generaScarico = ordini.get(0).getGeneraScarico(); if (generaScarico.compareTo("S") == 0) { entityList = generateCaricoScaricoDaFabbOld(type, format, ordini, anomalie); return entityList; } - } + }*/ + // Configurazione dati Date dataDoc = UtilityDate.StringToDate(UtilityDate.formatDate(new Date(), CommonConstants.DATE_FORMAT_YMD), CommonConstants.DATE_FORMAT_YMD); String codDtipCar = setupGest.getImportSetup(connect, type, format, "COD_DTIP_CAR"); @@ -342,7 +344,12 @@ public class DocumentiProdDaFabb { String codiceManodopera = setupGest.getImportSetup(connect, type, format, "CODICE_MANODOPERA'"); String codDtipCarGiroc = setupGest.getImportSetup(connect, type, format, "COD_DTIP_CAR_GIROC"); String codDtipScarGiroc = setupGest.getImportSetup(connect, type, format, "COD_DTIP_SCAR_GIROC"); - String generaCaricProdPadre = setupGest.getImportSetup(connect, type, format, "GENERA_CARICO_PROD_PADRE"); + + /*Per il momento devono poter scegliere da WINGEST*/ + /*String generaCaricProdPadre = setupGest.getImportSetup(connect, type, format, "GENERA_CARICO_PROD_PADRE");*/ + + String generaCaricProdPadre = ordini.get(0).getGeneraCaricoMatricola(); + if (!ordini.isEmpty()) { chiudiCommessa = ordini.get(0).getChiudiCommessa(); diff --git a/ems-engine/src/main/java/it/integry/ems/document/data_sheet/controller/DataSheetController.java b/ems-engine/src/main/java/it/integry/ems/document/data_sheet/controller/DataSheetController.java index d9cdbc3166..6e5b0c44b4 100644 --- a/ems-engine/src/main/java/it/integry/ems/document/data_sheet/controller/DataSheetController.java +++ b/ems-engine/src/main/java/it/integry/ems/document/data_sheet/controller/DataSheetController.java @@ -1,9 +1,8 @@ package it.integry.ems.document.data_sheet.controller; import it.integry.common.var.CommonConstants; -import it.integry.ems.activity.controller.ActivityController; import it.integry.ems.document.data_sheet.service.DataSheetServices; -import it.integry.ems.response.StatusResponse; +import it.integry.ems.response.ServiceRestResponse; import it.integry.ems.service.dto.AttachmentDTO; import it.integry.ems.status.ServiceChecker; import org.springframework.beans.factory.annotation.Autowired; @@ -13,8 +12,6 @@ import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import javax.servlet.http.HttpServletRequest; -import java.lang.reflect.Method; -import java.util.List; @RestController @Scope(value = "request") @@ -27,30 +24,19 @@ public class DataSheetController { @Autowired private DataSheetServices dataSheetServices; - @RequestMapping(value = "status", method = RequestMethod.GET) - public @ResponseBody - List status(HttpServletRequest request) { - Method[] methods = ActivityController.class.getDeclaredMethods(); - return serviceChecker.getServiceStatus(methods, ActivityController.class); - } + @GetMapping(value = "compileWordFile") + public ResponseEntity compileWordFile(HttpServletRequest request, + @RequestParam(CommonConstants.PROFILE_DB) String config, + @RequestParam String codMart) throws Exception { - @RequestMapping(value = "compileWordFile", method = RequestMethod.GET) - public ResponseEntity compileWordFile (HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String config, - @RequestParam String codMart) { + AttachmentDTO attachmentDTO = dataSheetServices.compileWordFile(codMart); - try{ - AttachmentDTO attachmentDTO = dataSheetServices.compileWordFile(codMart); - - if (attachmentDTO != null) { - return ResponseEntity.ok() - .contentType(MediaType.parseMediaType(attachmentDTO.getMimeType())) - .contentLength(attachmentDTO.getFileSize()) - .header("Content-Disposition", "attachment; filename=\"" + attachmentDTO.getFileName() + "\"") - .body(attachmentDTO.getFileContent()); - } - } catch (Exception e){ - return ResponseEntity.status(420).body(e.toString().getBytes()); + if (attachmentDTO != null) { + return ResponseEntity.ok() + .contentType(MediaType.parseMediaType(attachmentDTO.getMimeType())) + .contentLength(attachmentDTO.getFileSize()) + .header("Content-Disposition", "attachment; filename=\"" + attachmentDTO.getFileName() + "\"") + .body(attachmentDTO.getFileContent()); } return ResponseEntity.notFound().build(); diff --git a/ems-engine/src/main/java/it/integry/ems/document/data_sheet/service/DataSheetServices.java b/ems-engine/src/main/java/it/integry/ems/document/data_sheet/service/DataSheetServices.java index 209d0b9cf4..5a244a05f7 100644 --- a/ems-engine/src/main/java/it/integry/ems/document/data_sheet/service/DataSheetServices.java +++ b/ems-engine/src/main/java/it/integry/ems/document/data_sheet/service/DataSheetServices.java @@ -32,7 +32,7 @@ public class DataSheetServices { Connection conn = multiDBTransactionManager.getPrimaryConnection(); StbFilesAttached filesAttached = getDocument(codMart); - byte[] bytes = minIOService.downloadObject(filesAttached.getRefUuid(), conn); + byte[] bytes = downloadFile(filesAttached); XWPFDocument document = UtilityDocx.readDocxFile(bytes, filesAttached.getFileName()); HashMap variableValues = getVariableValues(codMart, UtilityDocx.findAllVariables(document)); @@ -119,7 +119,7 @@ public class DataSheetServices { allVariables.forEach(variable -> { if (mtb_aart.containsKey(variable)) { - resultMap.put(variable, (String) mtb_aart.get(variable)); + resultMap.put(variable, String.valueOf(mtb_aart.get(variable))); } Optional> optionalMap = hashMaps.stream() @@ -158,7 +158,7 @@ public class DataSheetServices { for (StbFilesAttached stbFilesAttached : stbFilesAttacheds) { String key = String.format("%02d", counter); - byte[] fileData = minIOService.downloadObject(stbFilesAttached.getRefUuid(), conn); + byte[] fileData = downloadFile(stbFilesAttached); Map innerMap = new HashMap<>(); innerMap.put("fileName", stbFilesAttached.getFileName()); innerMap.put("byte", fileData); @@ -182,4 +182,12 @@ public class DataSheetServices { return resultMap; } + + private byte[] downloadFile(StbFilesAttached stbFilesAttached) throws Exception { + try { + return minIOService.downloadObject(stbFilesAttached.getRefUuid(), multiDBTransactionManager.getPrimaryConnection()); + } catch (Exception e){ + throw new Exception("Errore nel download del file: " + stbFilesAttached.getFileName()); + } + } } diff --git a/ems-engine/src/main/java/it/integry/ems/document/export/DocumentiExporter.java b/ems-engine/src/main/java/it/integry/ems/document/export/DocumentiExporter.java index b0d1982a31..07a79ce79f 100644 --- a/ems-engine/src/main/java/it/integry/ems/document/export/DocumentiExporter.java +++ b/ems-engine/src/main/java/it/integry/ems/document/export/DocumentiExporter.java @@ -84,9 +84,6 @@ public class DocumentiExporter extends BaseEntityExporter implements IEntityExpo CsvINVOICExportService INVOICservice = context.getBean(CsvINVOICExportService.class); entityExportResponse = INVOICservice.exportCsvINVOICC(type, format, whereCond, username, jsonBody); break; - case PLURIMA: - entityExportResponse = documentiExportManagerService.exportDocumentiPlurima(type, format, jsonBody, wtbUserInfo, anomalie); - break; case COOP_PDF: DocumentiCoopPdfExportService documentiCoopExportService = context.getBean(DocumentiCoopPdfExportService.class); entityExportResponse = documentiCoopExportService.export(type, format, whereCond); @@ -228,7 +225,6 @@ public class DocumentiExporter extends BaseEntityExporter implements IEntityExpo INVOIC_CSV("INVOIC_CSV"), SICILIANI_ORGCONS("SICILIANI_ORGCONS"), SICILIANI_TAGLIACUCI("SICILIANI_TAGLIACUCI"), - PLURIMA("PLURIMA"), COOP_PDF("COOP_PDF"), COOP("COOP"), SIAN("SIAN"), diff --git a/ems-engine/src/main/java/it/integry/ems/document/export/dto/PlurimaDocumentDTO.java b/ems-engine/src/main/java/it/integry/ems/document/export/dto/PlurimaDocumentDTO.java deleted file mode 100644 index 0d682d6736..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/document/export/dto/PlurimaDocumentDTO.java +++ /dev/null @@ -1,382 +0,0 @@ -package it.integry.ems.document.export.dto; - -import it.integry.ems_model.annotation.SqlField; - -import java.math.BigDecimal; -import java.util.Date; - -public class PlurimaDocumentDTO { - - @SqlField("cod_anag") - private String codAnag; - - @SqlField("cod_dtip") - private String codDtip; - - @SqlField("data_doc") - private Date dataDoc; - - @SqlField("ser_doc") - private String serDoc; - - @SqlField("num_doc") - private Integer numDoc; - - @SqlField("cod_vdes") - private String codVdes; - - @SqlField("data_reg") - private Date dataReg; - - @SqlField("RIGO") - private Integer rigo; - - @SqlField("PROGRGENERALE") - private Long progrGenerale; - - @SqlField("NUMDOCMAGAZZINO") - private String numDocMagazzino; - - @SqlField("MCAUSALE") - private String mCausale; - - @SqlField("MARTICOLO") - private String mArticolo; - - @SqlField("MDESCRARTICOLO") - private String mDescrArticolo; - - @SqlField("MUNITA") - private String mUnita; - - @SqlField("MQUANTITA") - private BigDecimal mQuantita; - - @SqlField("MQUANTITAV") - private BigDecimal mQuantitaV; - - @SqlField("VALORE") - private BigDecimal valore; - - @SqlField("VALOREUNITARIO") - private BigDecimal valoreUnitario; - - @SqlField("PREZZO") - private BigDecimal prezzo; - - @SqlField("SCONTOARTICOLO") - private BigDecimal scontoArticolo; - - @SqlField("SCONTOC1") - private BigDecimal scontoC1; - - @SqlField("SCONTOC2") - private BigDecimal scontoC2; - - @SqlField("SCONTOP") - private BigDecimal scontoP; - - @SqlField("LOTTOMAG") - private String lottoMag; - - @SqlField("IVAMAG") - private String ivaMag; - - @SqlField("MAGENTE") - private String mAgente; - - @SqlField("MCOLLI") - private BigDecimal mColli; - - @SqlField("DATAINSERIMENTO") - private Date dataInserimento; - - @SqlField("USERNAME") - private String username; - - @SqlField("SYS_UPDATEUSER") - private String sysUpdateUser; - - @SqlField("DATAMODIFICA") - private Date dataModifica; - - - public String getCodAnag() { - return codAnag; - } - - public PlurimaDocumentDTO setCodAnag(String codAnag) { - this.codAnag = codAnag; - return this; - } - - public String getCodDtip() { - return codDtip; - } - - public PlurimaDocumentDTO setCodDtip(String codDtip) { - this.codDtip = codDtip; - return this; - } - - public Date getDataDoc() { - return dataDoc; - } - - public PlurimaDocumentDTO setDataDoc(Date dataDoc) { - this.dataDoc = dataDoc; - return this; - } - - public String getSerDoc() { - return serDoc; - } - - public PlurimaDocumentDTO setSerDoc(String serDoc) { - this.serDoc = serDoc; - return this; - } - - public Integer getNumDoc() { - return numDoc; - } - - public PlurimaDocumentDTO setNumDoc(Integer numDoc) { - this.numDoc = numDoc; - return this; - } - - public String getCodVdes() { - return codVdes; - } - - public PlurimaDocumentDTO setCodVdes(String codVdes) { - this.codVdes = codVdes; - return this; - } - - public Date getDataReg() { - return dataReg; - } - - public PlurimaDocumentDTO setDataReg(Date dataReg) { - this.dataReg = dataReg; - return this; - } - - public Integer getRigo() { - return rigo; - } - - public PlurimaDocumentDTO setRigo(Integer rigo) { - this.rigo = rigo; - return this; - } - - public Long getProgrGenerale() { - return progrGenerale; - } - - public PlurimaDocumentDTO setProgrGenerale(Long progrGenerale) { - this.progrGenerale = progrGenerale; - return this; - } - - public String getNumDocMagazzino() { - return numDocMagazzino; - } - - public PlurimaDocumentDTO setNumDocMagazzino(String numDocMagazzino) { - this.numDocMagazzino = numDocMagazzino; - return this; - } - - public String getmCausale() { - return mCausale; - } - - public PlurimaDocumentDTO setmCausale(String mCausale) { - this.mCausale = mCausale; - return this; - } - - public String getmArticolo() { - return mArticolo; - } - - public PlurimaDocumentDTO setmArticolo(String mArticolo) { - this.mArticolo = mArticolo; - return this; - } - - public String getmDescrArticolo() { - return mDescrArticolo; - } - - public PlurimaDocumentDTO setmDescrArticolo(String mDescrArticolo) { - this.mDescrArticolo = mDescrArticolo; - return this; - } - - public String getmUnita() { - return mUnita; - } - - public PlurimaDocumentDTO setmUnita(String mUnita) { - this.mUnita = mUnita; - return this; - } - - public BigDecimal getmQuantita() { - return mQuantita; - } - - public PlurimaDocumentDTO setmQuantita(BigDecimal mQuantita) { - this.mQuantita = mQuantita; - return this; - } - - public BigDecimal getmQuantitaV() { - return mQuantitaV; - } - - public PlurimaDocumentDTO setmQuantitaV(BigDecimal mQuantitaV) { - this.mQuantitaV = mQuantitaV; - return this; - } - - public BigDecimal getValore() { - return valore; - } - - public PlurimaDocumentDTO setValore(BigDecimal valore) { - this.valore = valore; - return this; - } - - public BigDecimal getValoreUnitario() { - return valoreUnitario; - } - - public PlurimaDocumentDTO setValoreUnitario(BigDecimal valoreUnitario) { - this.valoreUnitario = valoreUnitario; - return this; - } - - public BigDecimal getPrezzo() { - return prezzo; - } - - public PlurimaDocumentDTO setPrezzo(BigDecimal prezzo) { - this.prezzo = prezzo; - return this; - } - - public BigDecimal getScontoArticolo() { - return scontoArticolo; - } - - public PlurimaDocumentDTO setScontoArticolo(BigDecimal scontoArticolo) { - this.scontoArticolo = scontoArticolo; - return this; - } - - public BigDecimal getScontoC1() { - return scontoC1; - } - - public PlurimaDocumentDTO setScontoC1(BigDecimal scontoC1) { - this.scontoC1 = scontoC1; - return this; - } - - public BigDecimal getScontoC2() { - return scontoC2; - } - - public PlurimaDocumentDTO setScontoC2(BigDecimal scontoC2) { - this.scontoC2 = scontoC2; - return this; - } - - public BigDecimal getScontoP() { - return scontoP; - } - - public PlurimaDocumentDTO setScontoP(BigDecimal scontoP) { - this.scontoP = scontoP; - return this; - } - - public String getLottoMag() { - return lottoMag; - } - - public PlurimaDocumentDTO setLottoMag(String lottoMag) { - this.lottoMag = lottoMag; - return this; - } - - public String getIvaMag() { - return ivaMag; - } - - public PlurimaDocumentDTO setIvaMag(String ivaMag) { - this.ivaMag = ivaMag; - return this; - } - - public String getmAgente() { - return mAgente; - } - - public PlurimaDocumentDTO setmAgente(String mAgente) { - this.mAgente = mAgente; - return this; - } - - public BigDecimal getmColli() { - return mColli; - } - - public PlurimaDocumentDTO setmColli(BigDecimal mColli) { - this.mColli = mColli; - return this; - } - - public Date getDataInserimento() { - return dataInserimento; - } - - public PlurimaDocumentDTO setDataInserimento(Date dataInserimento) { - this.dataInserimento = dataInserimento; - return this; - } - - public String getUsername() { - return username; - } - - public PlurimaDocumentDTO setUsername(String username) { - this.username = username; - return this; - } - - public String getSysUpdateUser() { - return sysUpdateUser; - } - - public PlurimaDocumentDTO setSysUpdateUser(String sysUpdateUser) { - this.sysUpdateUser = sysUpdateUser; - return this; - } - - public Date getDataModifica() { - return dataModifica; - } - - public PlurimaDocumentDTO setDataModifica(Date dataModifica) { - this.dataModifica = dataModifica; - return this; - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/document/export/service/DocumentiExportManagerService.java b/ems-engine/src/main/java/it/integry/ems/document/export/service/DocumentiExportManagerService.java index 6682ceee79..935577745f 100644 --- a/ems-engine/src/main/java/it/integry/ems/document/export/service/DocumentiExportManagerService.java +++ b/ems-engine/src/main/java/it/integry/ems/document/export/service/DocumentiExportManagerService.java @@ -2,7 +2,6 @@ package it.integry.ems.document.export.service; import com.ancientprogramming.fixedformat4j.format.FixedFormatManager; import com.ancientprogramming.fixedformat4j.format.impl.FixedFormatManagerImpl; -import com.annimon.stream.Stream; import com.fasterxml.jackson.core.type.TypeReference; import com.fasterxml.jackson.databind.JsonNode; import com.fasterxml.jackson.databind.ObjectMapper; @@ -11,10 +10,8 @@ import com.google.common.io.Files; import it.integry.common.var.CommonConstants; import it.integry.ems.Import.dto.AnomalieDTO; import it.integry.ems._context.ApplicationContextProvider; -import it.integry.ems.datasource.DataSource; import it.integry.ems.document.export.dto.DocumentiDialogoDTO; import it.integry.ems.document.export.dto.EssegrandeIntercodeFornitoriDTO; -import it.integry.ems.document.export.dto.PlurimaDocumentDTO; import it.integry.ems.document.export.dto.swingerDTO.AsnFooter; import it.integry.ems.document.export.dto.swingerDTO.AsnHeader; import it.integry.ems.document.export.dto.swingerDTO.AsnItem; @@ -41,10 +38,11 @@ import org.springframework.stereotype.Service; import java.io.File; import java.io.FileOutputStream; import java.math.BigDecimal; -import java.sql.*; +import java.sql.PreparedStatement; +import java.sql.ResultSet; +import java.sql.Timestamp; import java.text.SimpleDateFormat; import java.util.*; -import java.util.Date; import static it.integry.ems_model.coollection.Coollection.eq; @@ -53,11 +51,14 @@ import static it.integry.ems_model.coollection.Coollection.eq; public class DocumentiExportManagerService { @Autowired - EntityProcessor entityProcessor; + private EntityProcessor entityProcessor; + @Autowired private MultiDBTransactionManager multiDBTransactionManager; + @Autowired private SetupGest setupGest; + @Autowired private EmsProperties emsProperties; @@ -70,490 +71,6 @@ public class DocumentiExportManagerService { } } - public EntityExportResponse exportDocumentiPlurima(String type, String format, JsonNode body, final WtbUsersInfo user, List anomalieList) throws Exception { - List estremiTestateDocumenti = null; - List elencoDocSalvati = new ArrayList<>(); - - PreparedStatement info; - - Date dataDoc = new Date(); - Date dataReg = new Date(); - - - String whereCond = "", gestione = "", codAnag = "", serDoc = "", codDtip = "", - codVdes = "", message = "", profileSource = "", queryPlurima = "", codFornPlurima = "", queryInsert = "", queryUpdate = ""; - - //CAMPI FISSI DA INSERIRE SU DB PLURIMA - String SERIEMAG = "", MMAGAZZINO = "B", FLAGTRASFERITO = "N"; - - Integer numDoc = new Integer(0); - Integer countRows = new Integer(0); - - Integer progressivoMag = new Integer(0); - Long progrGenerale = 0L; - Integer RIGOGIORNALE = new Integer(0); - Integer BFRIGO = new Integer(0); - Integer PID = new Integer(0); - Integer RIF_RIGA_COMMESSA = new Integer(0); - Integer PARTITACDEPOSITO = new Integer(0); - - Connection connect = multiDBTransactionManager.getPrimaryConnection(); - - Map setup = setupGest.getExportSetupSection(connect, type, format); - - profileSource = setup.get("PROFILEDB"); - if (UtilityString.isNullOrEmpty(profileSource)) { - throw new Exception("CONFIGURARE PROFILEDB PLURIMA IN STB_GEST_SETUP."); - } - codFornPlurima = setup.get("COD_FORN_PLURIMA"); - if (UtilityString.isNullOrEmpty(codFornPlurima)) { - throw new Exception("CONFIGURARE CODICE FORNITORE PLURIMA IN STB_GEST_SETUP."); - } - - if (body == null) throw new Exception("Non è possibile continuare poichè il body della richiesta è vuoto"); - - Connection connectPlurima = null; - try { - DataSource dsPlurima = new DataSource(); - dsPlurima.initialize(profileSource); - connectPlurima = dsPlurima.getConnection(); - } catch (Exception ex) { - throw new Exception("Impossibile collegarsi al db di PLURIMA. " + ex.getMessage()); - } - - if (body.has("gestione") && !UtilityString.isNullOrEmpty(body.get("gestione").asText())) { - gestione = body.get("gestione").asText(); - } - - if (UtilityString.isNullOrEmpty(gestione)) { - throw new Exception("Non è possibile esportare documenti senza passare il parametro gestione."); - } else { - SERIEMAG = "I" + gestione; - - if (body.has("whereCond") && !UtilityString.isNullOrEmpty(body.get("whereCond").asText())) { - whereCond = body.get("whereCond").asText(); - } - if (body.has("codDtip") && !UtilityString.isNullOrEmpty(body.get("codDtip").asText())) { - codDtip = body.get("codDtip").asText(); - } - if (body.has("codAnag") && !UtilityString.isNullOrEmpty(body.get("codAnag").asText())) { - codAnag = body.get("codAnag").asText(); - } - if (body.has("serDoc") && !UtilityString.isNullOrEmpty(body.get("serDoc").asText())) { - serDoc = body.get("serDoc").asText(); - } - if (body.has("numDoc") && !UtilityString.isNullOrEmpty(body.get("numDoc").asText())) { - numDoc = Integer.valueOf(body.get("numDoc").asText()); - } - if (body.has("dataDoc") && !UtilityString.isNullOrEmpty(body.get("dataDoc").asText())) { - dataDoc = UtilityDate.StringToDate(body.get("dataDoc").asText(), CommonConstants.DATE_FORMAT_YMD); - } - - if (!UtilityString.isNullOrEmpty(codDtip) && !UtilityString.isNullOrEmpty(codAnag) && !UtilityString.isNullOrEmpty(serDoc) && numDoc != 0) { - whereCond = "dtb_doct.cod_Dtip = " + UtilityDB.valueToString(codDtip) + " AND dtb_doct.cod_anag = " + UtilityDB.valueToString(codAnag) + " AND dtb_doct.data_doc = " + UtilityDB.valueDateToString(dataDoc, CommonConstants.DATE_FORMAT_YMD) + " AND dtb_doct.ser_Doc = " + UtilityDB.valueToString(serDoc) + " AND dtb_doct.num_doc = " + UtilityDB.valueToString(numDoc); - } - - - String sql = "SELECT dtb_doct.cod_anag, " + - " dtb_doct.cod_dtip, " + - " dtb_doct.data_doc, " + - " dtb_doct.ser_doc, " + - " dtb_doct.num_doc, " + - " dtb_doct.cod_vdes," + - " dtb_doct.data_reg, " + - " dtb_docr.id_riga as RIGO," + - " ROW_NUMBER() over (order by dtb_doct.gestione, dtb_doct.cod_dtip, dtb_doct.ser_doc, dtb_doct.num_doc) as PROGRGENERALE,--Inserire Progressivo da 400.001 a 1.000.000 \n" + - " CONVERT(varchar(8),dtb_doct.num_doc)+ case When dtb_doct.ser_doc <> '/' then '/'+dtb_doct.ser_doc else '' end as NUMDOCMAGAZZINO," + - " dtb_tipi_anag.inter_code as MCAUSALE, " + - " dtb_docr.cod_mart as MARTICOLO, " + - " left(dtb_docr.descrizione_estesa,60) as MDESCRARTICOLO," + - " dtb_docr.unt_doc as MUNITA, 0 as MCOEFFICIENTE," + - " dtb_docr.qta_doc*dtb_docr.rap_conv as MQUANTITA," + - " dtb_docr.qta_doc*dtb_docr.rap_conv as MQUANTITAV," + - " round(dtb_docr.qta_doc*dtb_docr.val_unt*(1-sconto1/100)*(1-sconto2/100)*(1-sconto3/100)*(1-sconto5/100)*(1-sconto6/100)*(1-sconto7/100)*(1-sconto8/100),2) *dtb_doct.cambio as VALORE," + - " (dtb_docr.qta_doc*dtb_docr.val_unt*(1-sconto1/100)*(1-sconto2/100)*(1-sconto3/100)*(1-sconto5/100)*(1-sconto6/100)*(1-sconto7/100)*(1-sconto8/100) *dtb_doct.cambio)/(dtb_docr.qta_doc*dtb_docr.rap_conv) as VALOREUNITARIO," + - " CASE WHEN dtb_docr.val_unt = 0 THEN 0 ELSE dtb_docr.val_unt/dtb_docr.rap_conv END as PREZZO," + - " dtb_docr.sconto5 as SCONTOARTICOLO," + - " dtb_doct.sconto1 as SCONTOC1," + - " dtb_doct.sconto2 as SCONTOC2," + - " dtb_doct.sconto4 as SCONTOP," + - " LEFT(dtb_docr.partita_mag, 10) as LOTTOMAG," + - " dtb_docr.cod_aliq as IVAMAG," + - " isNull(dtb_doct.cod_vage,'') as MAGENTE," + - " dtb_docr.num_cnf as MCOLLI," + - " dtb_doct.data_ins as DATAINSERIMENTO," + - " left(dtb_doct.compilato_Da,20) as USERNAME," + - " dtb_doct.data_ult_mod as DATAMODIFICA, " + - " left(dtb_doct.modificato_da,20) as SYS_UPDATEUSER " + - " FROM dtb_docr, dtb_tipi_anag, dtb_doct LEFT OUTER JOIN dtb_docu_log ON dtb_doct.cod_anag = dtb_docu_log.cod_anag AND " + - " dtb_doct.cod_dtip = dtb_docu_log.cod_dtip AND " + - " dtb_doct.data_doc = dtb_docu_log.data_doc AND " + - " dtb_doct.ser_doc = dtb_docu_log.ser_doc AND " + - " dtb_doct.num_doc = dtb_docu_log.num_doc " + - " WHERE dtb_doct.cod_anag = dtb_docr.cod_anag and " + - " dtb_doct.cod_dtip = dtb_docr.cod_dtip and " + - " dtb_doct.data_doc = dtb_docr.data_doc and " + - " dtb_doct.ser_doc = dtb_docr.ser_doc and " + - " dtb_doct.num_doc = dtb_docr.num_doc and " + - " dtb_doct.cod_dtip = dtb_tipi_anag.cod_dtip and " + - " dtb_tipi_anag.cod_anag = " + UtilityDB.valueToString(codFornPlurima) + " and " + - " dtb_doct.gestione = " + UtilityDB.valueToString(gestione) + " AND " + - " dtb_docu_log.cod_anag IS NULL " + - " ORDER BY dtb_doct.cod_anag, " + - " dtb_doct.cod_dtip, " + - " dtb_doct.data_doc, " + - " dtb_doct.ser_doc, " + - " dtb_doct.num_doc, " + - " dtb_docr.id_riga "; - - sql = UtilityDB.addwhereCond(sql, whereCond, true); - - info = connect.prepareStatement(sql); - ResultSet rs = info.executeQuery(); - - List plurimaDocumentDTOList = new ResultSetMapper() - .mapResultSetToList(rs, PlurimaDocumentDTO.class); - - rs.close(); - info.close(); - - countRows = plurimaDocumentDTOList != null ? plurimaDocumentDTOList.size() : 0; - - if (countRows > 0) { - - estremiTestateDocumenti = Stream.of(plurimaDocumentDTOList) - .map(plurimaDocumentDTO -> { - DtbDoct dtbDoct = new DtbDoct(); - dtbDoct.setCodAnag(plurimaDocumentDTO.getCodAnag()); - dtbDoct.setCodDtip(plurimaDocumentDTO.getCodDtip()); - dtbDoct.setDataDoc(plurimaDocumentDTO.getDataDoc()); - dtbDoct.setSerDoc(plurimaDocumentDTO.getSerDoc()); - dtbDoct.setNumDoc(plurimaDocumentDTO.getNumDoc()); - dtbDoct.setCodVdes(plurimaDocumentDTO.getCodVdes()); - dtbDoct.setUsername(user.getUserName()); - dtbDoct.setDataReg(plurimaDocumentDTO.getDataReg()); - - return dtbDoct; - }) - .distinctBy(dtbDoct -> dtbDoct.getCodAnag() + " - " + - dtbDoct.getCodDtip() + " - " + - UtilityDate.formatDate(dtbDoct.getDataDoc(), CommonConstants.DATETIME_FORMAT_YMD) + " - " + - dtbDoct.getSerDoc() + " - " + - dtbDoct.getNumDoc()) - .toList(); - - for (final DtbDoct testataDoc : estremiTestateDocumenti) { - codAnag = testataDoc.getCodAnag(); - codDtip = testataDoc.getCodDtip(); - dataDoc = testataDoc.getDataDoc(); - serDoc = testataDoc.getSerDoc(); - numDoc = testataDoc.getNumDoc(); - codVdes = testataDoc.getCodVdes(); - String numDocPlurima = String.valueOf(numDoc); - - if (!serDoc.equalsIgnoreCase("/")) { - numDocPlurima += "/" + serDoc; - } - - queryPlurima = - "SELECT count(*) FROM MAGAZZINO " + - " WHERE seriemagazzino = " + UtilityDB.valueToString(SERIEMAG) + " AND " + - " numdocmagazzino = " + UtilityDB.valueToString(numDocPlurima) + " AND " + - " datadocmag = " + UtilityDB.valueDateToString(dataDoc, CommonConstants.DATE_FORMAT_DMY) + " AND " + - " contomag like '%" + codAnag.substring(1, 5) + "'"; - Integer rowDocPlurima = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(connectPlurima, queryPlurima); - - if (rowDocPlurima == 0) { - try { - queryPlurima = "Select isNull(MAX(progrgenerale),400000) from MAGAZZINO where progrGenerale between 400000 and 1000000 "; - Integer maxProgGen = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(connectPlurima, queryPlurima); - - queryPlurima = "Select isNull(MAX(PROGRESSIVOMAG),0) from MAGAZZINO where SERIEMAGAZZINO = 'IA' and anno = YEAR(" + UtilityDB.valueDateToString(dataReg, CommonConstants.DATE_FORMAT_YMD) + ")"; - Integer maxProgMag = UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(connectPlurima, queryPlurima); - - queryPlurima = "Select ISNULL(dest.GRUPPOCONTO, anag.GRUPPOCONTO) as GRUPPOMAG," + - " ISNULL(dest.SOTTOCONTO, anag.SOTTOCONTO) as CONTOMAG," + - " anag.DGRUPPOFATTURA as GRUPPOFATTURA, " + - " anag.DCONTOFATTURA as CONTOFATTURA " + - " FROM [PIANOCONTI] anag Left Outer Join PIANOCONTI dest ON dest.SOTTOCONTO like '%'+RIGHT(" + UtilityDB.valueToString(codVdes) + ",4) and dest.CLIFOR = LEFT(" + UtilityDB.valueToString(codAnag) + ",1) " + - " WHERE anag.SOTTOCONTO like '0%'+RIGHT(" + UtilityDB.valueToString(codAnag) + ",4) and anag.CLIFOR = LEFT(" + UtilityDB.valueToString(codAnag) + ",1) "; - - HashMap result = UtilityDB.executeSimpleQueryOnlyFirstRow(connectPlurima, queryPlurima); - - String contoMag = ""; - String contoFattura = ""; - Integer gruppoMag = 0; - Integer gruppoFattura = 0; - - if (result != null) { - gruppoMag = UtilityHashMap.getValueIfExists(result, "GRUPPOMAG"); - contoMag = UtilityHashMap.getValueIfExists(result, "CONTOMAG"); - gruppoFattura = UtilityHashMap.getValueIfExists(result, "GRUPPOFATTURA"); - contoFattura = UtilityHashMap.getValueIfExists(result, "CONTOFATTURA"); - } - - - List singlePlurimaDocumentRows = Stream.of(plurimaDocumentDTOList) - .filter(plurimaDocumentDTO -> testataDoc.getCodAnag().equalsIgnoreCase(plurimaDocumentDTO.getCodAnag()) && - testataDoc.getCodDtip().equalsIgnoreCase(plurimaDocumentDTO.getCodDtip()) && - testataDoc.getDataDoc().equals(plurimaDocumentDTO.getDataDoc()) && - testataDoc.getSerDoc().equalsIgnoreCase(plurimaDocumentDTO.getSerDoc()) && - testataDoc.getNumDoc().equals(plurimaDocumentDTO.getNumDoc())) - .toList(); - - - for (PlurimaDocumentDTO plurimaDocumentDTO : singlePlurimaDocumentRows) { - - progressivoMag = maxProgMag + 1; - progrGenerale = plurimaDocumentDTO.getProgrGenerale() + maxProgGen; - - queryInsert = "INSERT INTO MAGAZZINO ([ANNO]" + - ",[SERIEMAGAZZINO]" + - ",[PROGRESSIVOMAG]" + - ",[FLAGCONTROMAG]" + - ",[RIGO]" + - ",[PROGRGENERALE]" + - ",[DATAOPMAGAZZINO]" + - ",[NUMDOCMAGAZZINO]" + - ",[DATADOCMAG]" + - ",[NUMFATTURAMAG]" + - ",[DATAFATTURAMAG]" + - ",[MCAUSALE]" + - ",[MMAGAZZINO]" + - ",[GRUPPOMAG]" + - ",[CONTOMAG]" + - ",[GRUPPOPROP]" + - ",[CONTOPROP]" + - ",[GRUPPOFATTURA]" + - ",[CONTOFATTURA]" + - ",[CONTROMAG]" + - ",[TIPORIGOMAG]" + - ",[MARTICOLO]" + - ",[CODICEEAN]" + - ",[VARIANTE1]" + - ",[VARIANTE2]" + - ",[VARIANTE3]" + - ",[VARIANTE4]" + - ",[VARIANTE5]" + - ",[MDESCRARTICOLO]" + - ",[MUNITA]" + - ",[MCOEFFICIENTE]" + - ",[MQUANTITA]" + - ",[MQUANTITAV]" + - ",[MQUANTITA2]" + - ",[VALORE]" + - ",[VALOREUNITARIO]" + - ",[PREZZO]" + - ",[PREZZOEXTRA]" + - ",[MVALUTA]" + - ",[MCAMBIO]" + - ",[SCONTOARTICOLO]" + - ",[SCONTOC1]" + - ",[SCONTOC2]" + - ",[SCONTOP]" + - ",[MPROVVARTICOLO]" + - ",[MPROVVCLIENTE]" + - ",[LOTTOMAG]" + - ",[CONDPAGMAG]" + - ",[IVAMAG]" + - ",[MAGENTE]" + - ",[DATAPRIMAMAG]" + - ",[MCOMMESSA]" + - ",[MCOLLI]" + - ",[MMODOCONSEGNA]" + - ",[MVETTORE]" + - ",[VALOREUSER]" + - ",[DESCRUSER1]" + - ",[DESCRUSER2]" + - ",[DESCRUSER3]" + - ",[DESCRUSER4]" + - ",[DESCRUSER5]" + - ",[QUANTITAUSER01]" + - ",[QUANTITAUSER02]" + - ",[QUANTITAUSER03]" + - ",[QUANTITAUSER04]" + - ",[QUANTITAUSER05]" + - ",[FLAGTRASFERITO]" + - ",[NOTEMAG]" + - ",[PROVENIENZA]" + - ",[PID]" + - ",[RIF_RIGA_COMMESSA]" + - ",[PARTITACDEPOSITO]" + - ",[CONTROLLOBF]" + - ",[DATAINSERIMENTO]" + - ",[USERNAME]" + - ",[DATAMODIFICA]" + - ",[COSTOMEDIO]" + - ",[SETTORE]" + - ",[OGGETTO]" + - ",[RIGOGIORNALE]" + - ",[SYS_CREATEDATE]" + - ",[SYS_CREATEUSER]" + - ",[SYS_UPDATEDATE]" + - ",[SYS_UPDATEUSER]" + - ",[MCENTROCOSTO]" + - ",[MVOCESPESA]" + - ",[MCIG]" + - ",[MCUP]" + - ",[BFRIGO]" + - ",[BFVERIFICA]) VALUES (" + - UtilityDate.formatDate(dataDoc, "YYYY") + "," + - UtilityDB.valueToString(SERIEMAG) + "," + - progressivoMag + "," + - "''," + - plurimaDocumentDTO.getRigo() + "," + - progrGenerale + "," + - UtilityDB.valueDateToString(plurimaDocumentDTO.getDataReg(), CommonConstants.DATETIME_FORMAT_DMY) + "," + - UtilityDB.valueToString(plurimaDocumentDTO.getNumDocMagazzino()) + "," + - UtilityDB.valueDateToString(dataDoc, CommonConstants.DATETIME_FORMAT_DMY) + "," + - "''," + - " null, " + - UtilityDB.valueToString(plurimaDocumentDTO.getmCausale()) + "," + - UtilityDB.valueToString(MMAGAZZINO) + "," + - UtilityDB.valueToString(gruppoMag) + "," + - UtilityDB.valueToString(contoMag) + "," + - "0, " + - "''," + - UtilityDB.valueToString(gruppoFattura) + "," + - UtilityDB.valueToString(contoFattura) + "," + - "''," + - "''," + - UtilityDB.valueToString(plurimaDocumentDTO.getmArticolo()) + "," + - "''," + - "''," + - "''," + - "''," + - "''," + - "''," + - UtilityDB.valueToString(plurimaDocumentDTO.getmDescrArticolo()) + "," + - UtilityDB.valueToString(plurimaDocumentDTO.getmUnita()) + "," + - UtilityDB.valueToString(BigDecimal.ZERO) + "," + //MCOEFFICIENTE - UtilityDB.valueToString(plurimaDocumentDTO.getmQuantita()) + "," + - UtilityDB.valueToString(plurimaDocumentDTO.getmQuantitaV()) + "," + - UtilityDB.valueToString(BigDecimal.ZERO) + "," + - UtilityDB.valueToString(plurimaDocumentDTO.getValore()) + "," + - UtilityDB.valueToString(plurimaDocumentDTO.getValoreUnitario()) + "," + - UtilityDB.valueToString(plurimaDocumentDTO.getPrezzo()) + "," + - UtilityDB.valueToString(BigDecimal.ZERO) + "," + //PREZZOEXTRA - "''," + //MVALUTA - UtilityDB.valueToString(BigDecimal.ZERO) + "," + //MCAMBIO - UtilityDB.valueToString(plurimaDocumentDTO.getScontoArticolo()) + "," + - UtilityDB.valueToString(plurimaDocumentDTO.getScontoC1()) + "," + - UtilityDB.valueToString(plurimaDocumentDTO.getScontoC2()) + "," + - UtilityDB.valueToString(plurimaDocumentDTO.getScontoP()) + "," + - UtilityDB.valueToString(BigDecimal.ZERO) + "," + //MPROVVARTICOLO - UtilityDB.valueToString(BigDecimal.ZERO) + "," + //MPROVVCLIENTE - (UtilityString.isNullOrEmpty(plurimaDocumentDTO.getLottoMag()) ? "''" : UtilityDB.valueToString(plurimaDocumentDTO.getLottoMag())) + "," + - "''," + - UtilityDB.valueToString(plurimaDocumentDTO.getIvaMag()) + "," + - (UtilityString.isNullOrEmpty(plurimaDocumentDTO.getmAgente()) ? "''" : UtilityDB.valueToString(plurimaDocumentDTO.getmAgente())) + "," + - "NULL," + - "''," + - UtilityDB.valueToString(plurimaDocumentDTO.getmColli()) + "," + - "''," + - "''," + - UtilityDB.valueToString(BigDecimal.ZERO) + "," + //VALOREUSER - "''," + - "''," + - "''," + - "''," + - "''," + - UtilityDB.valueToString(BigDecimal.ZERO) + "," + //QUANTITAUSER01 - UtilityDB.valueToString(BigDecimal.ZERO) + "," + //QUANTITAUSER02 - UtilityDB.valueToString(BigDecimal.ZERO) + "," + //QUANTITAUSER03 - UtilityDB.valueToString(BigDecimal.ZERO) + "," + //QUANTITAUSER04 - UtilityDB.valueToString(BigDecimal.ZERO) + "," + //QUANTITAUSER05 - UtilityDB.valueToString(FLAGTRASFERITO) + "," + - "''," + - "''," + - PID + "," + - RIF_RIGA_COMMESSA + "," + - PARTITACDEPOSITO + "," + - "''," + - UtilityDB.valueDateToString(plurimaDocumentDTO.getDataInserimento(), CommonConstants.DATETIME_FORMAT_DMY) + "," + - UtilityDB.valueToString(plurimaDocumentDTO.getUsername()) + "," + - UtilityDB.valueDateToString(plurimaDocumentDTO.getDataModifica(), CommonConstants.DATETIME_FORMAT_DMY) + "," + - UtilityDB.valueToString(BigDecimal.ZERO) + "," + //COSTOMEDIO - "''," + - "''," + - RIGOGIORNALE + "," + - UtilityDB.valueDateToString(plurimaDocumentDTO.getDataInserimento(), CommonConstants.DATETIME_FORMAT_DMY) + "," + - UtilityDB.valueToString(plurimaDocumentDTO.getUsername()) + "," + - UtilityDB.valueDateToString(plurimaDocumentDTO.getDataModifica(), CommonConstants.DATETIME_FORMAT_DMY) + "," + - UtilityDB.valueToString(plurimaDocumentDTO.getSysUpdateUser()) + "," + - "''," + - "''," + - "''," + - "''," + - BFRIGO + "," + - "'')"; - - PreparedStatement ps = connectPlurima.prepareStatement(queryInsert); - ps.execute(); - ps.close(); - } - - - queryUpdate = "Update SALDIMAGAZZINO " + - " set SALDIMAGAZZINO.qGiacenza += SaldiDoc.qGiacenza," + - " SALDIMAGAZZINO.qCarichi += SaldiDoc.qCarichi," + - " SALDIMAGAZZINO.VCarichi += SaldiDoc.VCarichi," + - " SALDIMAGAZZINO.qScarichi += SaldiDoc.qScarichi," + - " SALDIMAGAZZINO.VScarichi += SaldiDoc.VSCarichi," + - " SALDIMAGAZZINO.qFiscale += SaldiDoc.qFiscale," + - " SALDIMAGAZZINO.VFiscale += SaldiDoc.VFiscale " + - " from SALDIMAGAZZINO," + - "(select mmagazzino, marticolo, sum(MQUANTITA*TMMC.GIACENZA) as qGiacenza," + - " sum(MQUANTITA*TMMC.CARICHI) as qCarichi," + - " sum(VALORE*TMMC.CARICHI*TMMC.FISCALE) as VCarichi," + - " sum(MQUANTITA*TMMC.SCARICHI) as qScarichi," + - " sum(VALORE*TMMC.SCARICHI*TMMC.FISCALE) as VSCarichi," + - " sum(MQUANTITA*TMMC.GIACENZA*TMMC.FISCALE) as QFiscale," + - " sum(VALORE*TMMC.GIACENZA*TMMC.FISCALE) as VFiscale " + - " from MAGAZZINO, TMMC " + - " where anno = YEAR(" + UtilityDB.valueDateToString(testataDoc.getDataReg(), CommonConstants.DATE_FORMAT_YMD) + ") and " + - " SERIEMAGAZZINO = " + UtilityDB.valueToString(SERIEMAG) + " and " + - " PROGRESSIVOMAG = " + progressivoMag + " and " + - " MAGAZZINO.MCAUSALE = TMMC.MCAUSALE " + - " group by MMAGAZZINO, marticolo" + - " )SaldiDoc" + - " Where SALDIMAGAZZINO.MARTICOLO = SaldiDoc.MARTICOLO and " + - " SALDIMAGAZZINO.MMAGAZZINO = SaldiDoc.MMAGAZZINO"; - - Statement cmd = connectPlurima.createStatement(); - cmd.executeUpdate(queryUpdate); - cmd.close(); - connectPlurima.commit(); - DtbDoct docSaved = (DtbDoct) testataDoc.clone(); - elencoDocSalvati.add(docSaved); - } catch (Exception ep) { - connectPlurima.rollback(); - String error = "Impossibile salvare il documento n. " + numDocPlurima + " del " + new SimpleDateFormat(CommonConstants.DATE_FORMAT_DMY).format(dataDoc) + " fornitore " + codAnag + CommonConstants.A_CAPO + - ep.getMessage(); - if (ep instanceof SQLException) { - error += CommonConstants.A_CAPO + queryInsert; - } - - anomalieList.add(AnomalieDTO.error(error)); - } - } - } - } - } - - if (!elencoDocSalvati.isEmpty()) { - message += elencoDocSalvati.size() + " documenti esportati con successo"; - } else { - message += "Nessun documento esportato."; - } - - EntityExportResponse> entityResponse = new EntityExportResponse<>(); - entityResponse.setExtraInfo(elencoDocSalvati); - entityResponse.setMessageContent(message); - - return entityResponse; - } - public EntityExportResponse exportDocumentiBonMarket(String type, String format, String whereCond) throws Exception { Connection conn = multiDBTransactionManager.getPrimaryConnection(); @@ -1686,7 +1203,7 @@ public class DocumentiExportManagerService { ResultSet rsCheckComp = psCheckComposizione.executeQuery(); String errorComposizione = ""; while (rsCheckComp.next()) { - errorComposizione += rsCheckComp.getString("cod_mart") + "-" + rsCheckComp.getString("descrizione") + System.getProperty("line.separator"); + errorComposizione += rsCheckComp.getString("cod_mart") + "-" + rsCheckComp.getString("descrizione") + System.lineSeparator(); } rsCheckComp.close(); psCheckComposizione.close(); diff --git a/ems-engine/src/main/java/it/integry/ems/document/export/service/SicilianiDMSExportService.java b/ems-engine/src/main/java/it/integry/ems/document/export/service/SicilianiDMSExportService.java index 86f61e7b7e..c2d9c3482e 100644 --- a/ems-engine/src/main/java/it/integry/ems/document/export/service/SicilianiDMSExportService.java +++ b/ems-engine/src/main/java/it/integry/ems/document/export/service/SicilianiDMSExportService.java @@ -212,19 +212,6 @@ public class SicilianiDMSExportService { public EntityExportResponse syncOrgCons(String whereCond, String queryDettPesoViaggio, String dataCons, String userNAme) throws Exception { EntityExportResponse> response = new EntityExportResponse>(); - - String trasmissioneNew = setupGest.getSetup("W_VORGCONS_DISP", "SETUP", "TRAMISSIONE_NEW"); - if (trasmissioneNew.equalsIgnoreCase("S")){ - response = syncOrgCons_new(whereCond, queryDettPesoViaggio, dataCons, userNAme); - } else { - response = syncOrgCons_old(whereCond, queryDettPesoViaggio, dataCons, userNAme); - } - - return response; - } - - public EntityExportResponse syncOrgCons_new(String whereCond, String queryDettPesoViaggio, String dataCons, String userNAme) throws Exception { - EntityExportResponse> response = new EntityExportResponse>(); response.setResponse(new ArrayList()); String profileDBAlyante = setupGest.getSetup("DMS", "PROFILE", "ALYANTE"); String visualizzaCosti = setupGest.getSetup("W_VORGCONS_DISP", "SETUP", "GESTIONE_COSTI"); @@ -283,7 +270,8 @@ public class SicilianiDMSExportService { " case when dtb_ordt_local.piattaforma1 is null then null else id_riga_contratto_piatt1 end , " + " case when dtb_ordt_local.piattaforma2 is null then null else id_riga_contratto_piatt2 end , " + " case when dtb_ordt_local.piattaforma1 is null then 0 else round(costo_kg_con_piatt1 " + columnPercPesoOrdine + ", 5) end , " + - " case when dtb_ordt_local.piattaforma2 is null then 0 else round(costo_kg_con_piatt2 " + columnPercPesoOrdine + ", 5) end " + + " case when dtb_ordt_local.piattaforma2 is null then 0 else round(costo_kg_con_piatt2 " + columnPercPesoOrdine + ", 5) end, " + + " dtb_ordt_local.id_scarico " + " from dtb_ordt_local INNER JOIN " + serverObject + ".dtb_ordt ON dtb_ordt_local.key_ord_alyante = dtb_ordt.key_ord COLLATE Latin1_General_100_CI_AS " + " LEFT OUTER JOIN (select distinct * from vtb_vett_orgcons_local )vtb_vett_orgcons_local ON dtb_ordt_local.id_viaggio = vtb_vett_orgcons_local.id_viaggio and " + " ISNULL(dtb_ordt_local.cod_vvet, '') = ISNULL(vtb_vett_orgcons_local.cod_vvet, '') and " + @@ -335,6 +323,7 @@ public class SicilianiDMSExportService { Integer idRigacontrattoPiatt2 = res.getInt(28); BigDecimal importoConPiatt1 = res.getBigDecimal(29); BigDecimal importoConPiatt2 = res.getBigDecimal(30); + Integer idScarico = res.getInt(31); // Verifica esistenza ordine Integer flagExistOrd = 0; @@ -407,7 +396,8 @@ public class SicilianiDMSExportService { " importoPiat1, " + " importoPiat2, " + " importoforfaitPiat1, " + - " importoForfaitPiat2)" + + " importoForfaitPiat2, " + + " id_scarico)" + "VALUES (" + UtilityDB.valueToString(codiceDitta) + ", " + " " + UtilityDB.valueToString(keyOrdAlyante) + ", " + " " + UtilityDB.valueToString(keyOrd) + ", " + @@ -438,7 +428,8 @@ public class SicilianiDMSExportService { " " + UtilityDB.valueToString(importoPiatt1) + ", " + " " + UtilityDB.valueToString(importoPiatt2) + ", " + " " + UtilityDB.valueToString(importoConPiatt1) + ", " + - " " + UtilityDB.valueToString(importoConPiatt2) + ")"; /*Al momento per motivi di Alyante abbiamo dovuto valorizzare a 1 tutti gli importi*/ + " " + UtilityDB.valueToString(importoConPiatt2) + ", " + + " " + UtilityDB.valueToString(idScarico) + ")"; /*Al momento per motivi di Alyante abbiamo dovuto valorizzare a 1 tutti gli importi*/ } else { sql = "UPDATE dtb_infoviaggi " + " SET ditta = " + UtilityDB.valueToString(codiceDitta) + ", " + @@ -471,7 +462,8 @@ public class SicilianiDMSExportService { " importoPiat1 = " + UtilityDB.valueToString(importoPiatt1) + ", " + " importoPiat2 = " + UtilityDB.valueToString(importoPiatt2) + ", " + " importoForfaitPiat1 = " + UtilityDB.valueToString(importoConPiatt1) + ", " + - " importoForfaitPiat2 = " + UtilityDB.valueToString(importoConPiatt2) + " " + + " importoForfaitPiat2 = " + UtilityDB.valueToString(importoConPiatt2) + ", " + + " id_scarico = " + UtilityDB.valueToString(idScarico) + " WHERE key_ord = " + UtilityDB.valueToString(keyOrdAlyante); } PreparedStatement infoUpd = conAlyante.prepareStatement(sql, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); @@ -527,301 +519,5 @@ public class SicilianiDMSExportService { return response; } - public EntityExportResponse syncOrgCons_old(String whereCond, String queryDettPesoViaggio, String dataCons, String userNAme) throws Exception { - EntityExportResponse> response = new EntityExportResponse>(); - response.setResponse(new ArrayList()); - String profileDBAlyante = setupGest.getSetup("DMS", "PROFILE", "ALYANTE"); - String visualizzaCosti = setupGest.getSetup("W_VORGCONS_DISP", "SETUP", "GESTIONE_COSTI"); - String disbableCheckCostiAlyante = setupGest.getSetup("W_VORGCONS_DISP", "SETUP", "DISABLE_CHECK_COSTI_ALYANTE"); - Connection conn = multiDBTransactionManager.getPrimaryConnection(); - - // Acquisizione Connection DB ALYANTE - multiDBTransactionManager.addConnection(profileDBAlyante); - Connection conAlyante = multiDBTransactionManager.getDatabaseConnection(profileDBAlyante); - - try { - String codiceDitta = setupGest.getSetup("DMS", "SETUP", "CODICE_DITTA"); - String serverObject = setupGest.getSetup("DMS", "PROFILE", "DB_INTERSCAMBIO"); - String userUnlockIDViaggio = setupGest.getSetupUser(conn, "W_VORGCONS_DISP", "SETUP","ABILITA_SBLOCCO_ID_VIAGGIO", userNAme); - - String columnPercPesoOrdine = ""; - String tableCostoViaggi = ""; - if (visualizzaCosti.compareTo("S") == 0) { - columnPercPesoOrdine = " * percPesoOrd.as_perc_peso_ordine"; - tableCostoViaggi = "LEFT OUTER JOIN (" + queryDettPesoViaggio + ")percPesoOrd ON dtb_ordt_local.key_ord = percPesoOrd.key_ord"; - } - - sql = "SELECT id_viaggio, " + - " lockIdViaggio " + - "from dbo.getStatoIdViaggio4DtCons(" + UtilityDB.valueToString(dataCons) + ")"; - List> resultMap = UtilityDB.executeSimpleQuery(multiDBTransactionManager.getPrimaryConnection(), sql); - - sql = "select dtb_ordt_local.key_ord_alyante," + - " dtb_ordt_local.key_ord, " + - " dtb_ordt_local.id_viaggio, " + - " dtb_ordt_local.cod_giro," + - " dtb_ordt_local.cod_vvet, " + - " dtb_ordt_local.cod_vvet2, " + - " dtb_ordt_local.cod_vvet3, " + - " dtb_ordt_local.targa, " + - " CASE WHEN dtb_infoviaggi.key_ord IS NULL THEN 'N' ELSE 'S' END as flag_exist_ord, " + - " dtb_ordt_local.piattaforma1," + - " dtb_ordt_local.piattaforma2, " + - " round(costo_kg_std_vett " + columnPercPesoOrdine + ", 5), " + /*Alyante vuole che venga impostato 1 segli importi se non valorizzati*/ - " case when dtb_ordt_local.cod_vvet2 is null then 0 else round(costo_kg_std_vett2 " + columnPercPesoOrdine + ", 5) end , " + - " case when dtb_ordt_local.cod_vvet3 is null then 0 else round(costo_kg_std_vett3 " + columnPercPesoOrdine + ", 5) end , " + - " round(costo_kg_con_vett " + columnPercPesoOrdine + ", 5), " + - " case when dtb_ordt_local.cod_vvet2 is null then 0 else round(costo_kg_con_vett2 " + columnPercPesoOrdine + ", 5) end , " + - " case when dtb_ordt_local.cod_vvet3 is null then 0 else round(costo_kg_con_vett3 " + columnPercPesoOrdine + ", 5) end , " + - " case when dtb_ordt_local.piattaforma1 is null then 0 else round(costo_kg_std_piattaforma1 " + columnPercPesoOrdine + ", 5) end , " + - " case when dtb_ordt_local.piattaforma2 is null then 0 else round(costo_kg_std_piattaforma2 " + columnPercPesoOrdine + ", 5) end , " + - " id_contratto_vett1, " + - " case when dtb_ordt_local.cod_vvet2 is null then null else id_contratto_vett2 end , " + - " case when dtb_ordt_local.cod_vvet3 is null then null else id_contratto_vett3 end , " + - " case when dtb_ordt_local.piattaforma1 is null then null else id_contratto_piatt1 end , " + - " case when dtb_ordt_local.piattaforma2 is null then null else id_contratto_piatt2 end , " + - " id_riga_contratto_vett1, " + - " case when dtb_ordt_local.cod_vvet2 is null then null else id_riga_contratto_vett2 end , " + - " case when dtb_ordt_local.cod_vvet3 is null then null else id_riga_contratto_vett3 end , " + - " case when dtb_ordt_local.piattaforma1 is null then null else id_riga_contratto_piatt1 end , " + - " case when dtb_ordt_local.piattaforma2 is null then null else id_riga_contratto_piatt2 end , " + - " case when dtb_ordt_local.piattaforma1 is null then 0 else round(costo_kg_con_piatt1 " + columnPercPesoOrdine + ", 5) end , " + - " case when dtb_ordt_local.piattaforma2 is null then 0 else round(costo_kg_con_piatt2 " + columnPercPesoOrdine + ", 5) end " + - " from dtb_ordt_local LEFT OUTER JOIN " + serverObject + ".dtb_infoviaggi ON dtb_ordt_local.key_ord_alyante = dtb_infoviaggi.key_ord COLLATE Latin1_General_100_CI_AS" + - " INNER JOIN " + serverObject + ".dtb_ordt ON dtb_ordt_local.key_ord_alyante = dtb_ordt.key_ord COLLATE Latin1_General_100_CI_AS " + - " LEFT OUTER JOIN vtb_vett_orgcons_local ON dtb_ordt_local.id_viaggio = vtb_vett_orgcons_local.id_viaggio and " + - " ISNULL(dtb_ordt_local.cod_vvet, '') = ISNULL(vtb_vett_orgcons_local.cod_vvet, '') and " + - " dtb_ordt_local.targa = vtb_vett_orgcons_local.targa and " + - " dtb_ordt_local.cod_giro = vtb_vett_orgcons_local.cod_giro AND " + - " ISNULL(dtb_ordt_local.cod_vvet2, '') = ISNULL(vtb_vett_orgcons_local.cod_vvet2, '') AND " + - " ISNULL(dtb_ordt_local.cod_vvet3, '') = ISNULL(vtb_vett_orgcons_local.cod_vvet3, '') AND " + - " ISNULL(dtb_ordt_local.piattaforma1, '') = ISNULL(vtb_vett_orgcons_local.piattaforma1, '') AND " + - " ISNULL(dtb_ordt_local.piattaforma2, '') = ISNULL(vtb_vett_orgcons_local.piattaforma2, '')" + - " " + tableCostoViaggi + " " + - " where dtb_ordt_local.id_viaggio is not null " + - "order by dtb_ordt_local.id_viaggio, dtb_ordt_local.key_ord"; - - whereCond = UtilityString.replaceSubString(whereCond, "dtb_ordr", "dtb_ordt_local"); - sql = UtilityDB.addwhereCond(sql, whereCond, true); - PreparedStatement ps = conn.prepareStatement(sql, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); - ResultSet res = ps.executeQuery(); - while (res.next()) { - String keyOrdAlyante = res.getString(1); - String keyOrd = res.getString(2); - Integer idViaggio = res.getInt(3); - String codGiro = res.getString(4); - String codVvet = res.getString(5); - String codVvet2 = res.getString(6); - String codVvet3 = res.getString(7); - String targa = res.getString(8); - String flagExistOrd = res.getString(9); - String piattaforma1 = res.getString(10); - String piattaforma2 = res.getString(11); - BigDecimal importoVett1 = res.getBigDecimal(12); - BigDecimal importoVett2 = res.getBigDecimal(13); - BigDecimal importoVett3 = res.getBigDecimal(14); - BigDecimal importoConVett1 = res.getBigDecimal(15); - BigDecimal importoConVett2 = res.getBigDecimal(16); - BigDecimal importoConVett3 = res.getBigDecimal(17); - BigDecimal importoPiatt1 = res.getBigDecimal(18); - BigDecimal importoPiatt2 = res.getBigDecimal(19); - String idContrattoVett1 = res.getString(20); - String idContrattoVett2 = res.getString(21); - String idContrattoVett3 = res.getString(22); - String contrattoPiatt1 = res.getString(23); - String contrattoPiatt2 = res.getString(24); - Integer idRigaContrattoVett1 = res.getInt(25); - Integer idRigaContrattoVett2 = res.getInt(26); - Integer idRigaContrattoVett3 = res.getInt(27); - Integer idRigacontrattoPiatt1 = res.getInt(28); - Integer idRigacontrattoPiatt2 = res.getInt(29); - BigDecimal importoConPiatt1 = res.getBigDecimal(30); - BigDecimal importoConPiatt2 = res.getBigDecimal(31); - - if (visualizzaCosti.compareTo("N") == 0) { - importoConVett1 = BigDecimal.ONE; - importoConVett2 = BigDecimal.ONE; - importoConVett3 = BigDecimal.ONE; - importoConPiatt1 = BigDecimal.ONE; - importoConPiatt2 = BigDecimal.ONE; - } else { - if (disbableCheckCostiAlyante.equalsIgnoreCase("S")) { - if (codVvet != null && idContrattoVett1 == null && (importoConVett1 == null || importoConVett1.compareTo(BigDecimal.ZERO) == 0)) { - importoConVett1 = BigDecimal.ONE; - } - if (codVvet2 != null && idContrattoVett2 == null && (importoConVett2 == null || importoConVett2.compareTo(BigDecimal.ZERO) == 0)) { - importoConVett2 = BigDecimal.ONE; - } - if (codVvet3 != null && idContrattoVett3 == null && (importoConVett3 == null || importoConVett3.compareTo(BigDecimal.ZERO) == 0)) { - importoConVett3 = BigDecimal.ONE; - } - if (piattaforma1 != null && contrattoPiatt1 == null && (importoConPiatt1 == null || importoConPiatt1.compareTo(BigDecimal.ZERO) == 0)) { - importoConPiatt1 = BigDecimal.ONE; - } - if (piattaforma2 != null && contrattoPiatt2 == null && (importoConPiatt2 == null || importoConPiatt2.compareTo(BigDecimal.ZERO) == 0)) { - importoConPiatt2 = BigDecimal.ONE; - } - } - } - - // Verifica se l'id_viaggio è bloccato - Optional> lockIdViaggio = Stream.of(resultMap) - .filter(x -> - ((Integer) UtilityHashMap.getValueIfExists(x, "id_viaggio")).equals(idViaggio) && - ((String) UtilityHashMap.getValueIfExists(x, "lockIdViaggio")).equalsIgnoreCase("S")).findFirst(); - - - if (!lockIdViaggio.isPresent() || userUnlockIDViaggio.equalsIgnoreCase("S")) { - if (flagExistOrd.compareTo("N") == 0) { - sql = "INSERT INTO dtb_infoviaggi " + - "( ditta, " + - " key_ord," + - " chiave_traxal," + - " id_viaggio," + - " giro," + - " cod_vvet1," + - " cod_vvet2," + - " cod_vvet3," + - " targa1, " + - " contrattoVet1, " + - " contrattoVet2, " + - " contrattoVet3, " + - " rigacontrattoVet1, " + - " rigacontrattoVet2, " + - " rigacontrattoVet3, " + - " importoVet1, " + - " importoVet2, " + - " importoVet3, " + - " importoForfaitVet1, " + - " importoForfaitVet2, " + - " importoForfaitVet3, " + - " cod_piatt1, " + - " cod_piatt2, " + - " contrattoPiat1, " + - " contrattoPiat2, " + - " rigacontrattoPiat1, " + - " rigacontrattoPiat2, " + - " importoPiat1, " + - " importoPiat2, " + - " importoforfaitPiat1, " + - " importoForfaitPiat2)" + - "VALUES (" + UtilityDB.valueToString(codiceDitta) + ", " + - " " + UtilityDB.valueToString(keyOrdAlyante) + ", " + - " " + UtilityDB.valueToString(keyOrd) + ", " + - " " + UtilityDB.valueToString(idViaggio) + ", " + - " " + UtilityDB.valueToString(codGiro) + ", " + - " " + UtilityDB.valueToString(codVvet) + ", " + - " " + UtilityDB.valueToString(codVvet2) + ", " + - " " + UtilityDB.valueToString(codVvet3) + ", " + - " " + UtilityDB.valueToString(targa) + ", " + - " " + UtilityDB.valueToString(idContrattoVett1) + ", " + - " " + UtilityDB.valueToString(idContrattoVett2) + ", " + - " " + UtilityDB.valueToString(idContrattoVett3) + ", " + - " " + UtilityDB.valueToString(idRigaContrattoVett1) + ", " + - " " + UtilityDB.valueToString(idRigaContrattoVett2) + ", " + - " " + UtilityDB.valueToString(idRigaContrattoVett3) + ", " + - " " + UtilityDB.valueToString(importoVett1) + ", " + - " " + UtilityDB.valueToString(importoVett2) + ", " + - " " + UtilityDB.valueToString(importoVett3) + ", " + - " " + UtilityDB.valueToString(importoConVett1) + ", " + - " " + UtilityDB.valueToString(importoConVett2) + ", " + - " " + UtilityDB.valueToString(importoConVett3) + ", " + - " " + UtilityDB.valueToString(piattaforma1) + ", " + - " " + UtilityDB.valueToString(piattaforma2) + ", " + - " " + UtilityDB.valueToString(contrattoPiatt1) + ", " + - " " + UtilityDB.valueToString(contrattoPiatt2) + ", " + - " " + UtilityDB.valueToString(idRigacontrattoPiatt1) + ", " + - " " + UtilityDB.valueToString(idRigacontrattoPiatt2) + ", " + - " " + UtilityDB.valueToString(importoPiatt1) + ", " + - " " + UtilityDB.valueToString(importoPiatt2) + ", " + - " " + UtilityDB.valueToString(importoConPiatt1) + ", " + - " " + UtilityDB.valueToString(importoConPiatt2) + ")"; /*Al momento per motivi di Alyante abbiamo dovuto valorizzare a 1 tutti gli importi*/ - } else { - sql = "UPDATE dtb_infoviaggi " + - " SET ditta = " + UtilityDB.valueToString(codiceDitta) + ", " + - " key_ord =" + UtilityDB.valueToString(keyOrdAlyante) + ", " + - " chiave_traxal = " + UtilityDB.valueToString(keyOrd) + ", " + - " id_viaggio = " + UtilityDB.valueToString(idViaggio) + ", " + - " giro = " + UtilityDB.valueToString(codGiro) + ", " + - " cod_vvet1 = " + UtilityDB.valueToString(codVvet) + ", " + - " cod_vvet2 = " + UtilityDB.valueToString(codVvet2) + ", " + - " cod_vvet3 = " + UtilityDB.valueToString(codVvet3) + ", " + - " targa1 = " + UtilityDB.valueToString(targa) + ", " + - " cod_piatt1 = " + UtilityDB.valueToString(piattaforma1) + ", " + - " cod_piatt2 = " + UtilityDB.valueToString(piattaforma2) + ", " + - " contrattoVet1 = " + UtilityDB.valueToString(idContrattoVett1) + ", " + - " contrattoVet2 = " + UtilityDB.valueToString(idContrattoVett2) + ", " + - " contrattoVet3 = " + UtilityDB.valueToString(idContrattoVett3) + ", " + - " rigaContrattoVet1 = " + UtilityDB.valueToString(idRigaContrattoVett1) + ", " + - " rigaContrattoVet2 = " + UtilityDB.valueToString(idRigaContrattoVett2) + ", " + - " rigaContrattoVet3 = " + UtilityDB.valueToString(idRigaContrattoVett3) + ", " + - " importoVet1 = " + UtilityDB.valueToString(importoVett1) + ", " + - " importoVet2 = " + UtilityDB.valueToString(importoVett2) + ", " + - " importoVet3 = " + UtilityDB.valueToString(importoVett3) + ", " + - " importoForfaitVet1 = " + UtilityDB.valueToString(importoConVett1) + ", " + - " importoForfaitVet2 = " + UtilityDB.valueToString(importoConVett2) + ", " + - " importoForfaitVet3 = " + UtilityDB.valueToString(importoConVett3) + ", " + - " contrattoPiat1 = " + UtilityDB.valueToString(contrattoPiatt1) + ", " + - " contrattoPiat2 = " + UtilityDB.valueToString(contrattoPiatt2) + ", " + - " rigaContrattoPiat1 = " + UtilityDB.valueToString(idRigacontrattoPiatt1) + ", " + - " rigaContrattoPiat2 = " + UtilityDB.valueToString(idRigacontrattoPiatt2) + ", " + - " importoPiat1 = " + UtilityDB.valueToString(importoPiatt1) + ", " + - " importoPiat2 = " + UtilityDB.valueToString(importoPiatt2) + ", " + - " importoForfaitPiat1 = " + UtilityDB.valueToString(importoConPiatt1) + ", " + - " importoForfaitPiat2 = " + UtilityDB.valueToString(importoConPiatt2) + " " + - " WHERE key_ord = " + UtilityDB.valueToString(keyOrdAlyante); - } - PreparedStatement infoUpd = conAlyante.prepareStatement(sql, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); - infoUpd.executeUpdate(); - infoUpd.close(); - - } - } - res.close(); - ps.close(); - - // Cancellazione ID_Viaggio inviati ad Alyante, ma non più presenti in DMS - sql = "select dtb_ordt_local.key_ord, " + - " dtb_infoviaggi.id_viaggio " + - " from dtb_ordt_local INNER JOIN " + serverObject + ".dtb_infoviaggi ON dtb_ordt_local.key_ord_alyante = dtb_infoviaggi.key_ord COLLATE Latin1_General_100_CI_AS " + - " where dtb_ordt_local.id_viaggio is null "; - - whereCond = UtilityString.replaceSubString(whereCond, "dtb_ordr", "dtb_ordt_local"); - sql = UtilityDB.addwhereCond(sql, whereCond, true); - ps = conn.prepareStatement(sql, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); - res = ps.executeQuery(); - while (res.next()) { - String keyOrd = res.getString(1); - String idViaggio = res.getString(2); - - // Verifica se l'id_viaggio è bloccato - Optional> lockIdViaggio = Stream.of(resultMap) - .filter(x -> - ((Integer) UtilityHashMap.getValueIfExists(x, "id_viaggio")).equals(idViaggio) && - ((String) UtilityHashMap.getValueIfExists(x, "lockIdViaggio")).equalsIgnoreCase("S")).findFirst(); - - if (!lockIdViaggio.isPresent() || userUnlockIDViaggio.equalsIgnoreCase("S")) { - sql = "delete from dtb_infoviaggi " + - " from dtb_infoviaggi " + - " where chiave_traxal = " + UtilityDB.valueToString(keyOrd); - - PreparedStatement infoUpd = conAlyante.prepareStatement(sql, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); - infoUpd.executeUpdate(); - infoUpd.close(); - } - } - res.close(); - ps.close(); - - conAlyante.commit(); - } catch (Exception e) { - //conAlyante.rollback(); - if (sql != null) { - logger.error("[SYNC_ORGCONS]" + sql); - } - throw new Exception(e.getMessage()); - } - return response; - } } diff --git a/ems-engine/src/main/java/it/integry/ems/order/Import/OrdiniImporter.java b/ems-engine/src/main/java/it/integry/ems/order/Import/OrdiniImporter.java index 0f9a215b4f..564ed510f2 100644 --- a/ems-engine/src/main/java/it/integry/ems/order/Import/OrdiniImporter.java +++ b/ems-engine/src/main/java/it/integry/ems/order/Import/OrdiniImporter.java @@ -50,9 +50,6 @@ public class OrdiniImporter extends BaseEntityImporter> impleme case SLAV2ORDL: result = getContextBean(ProductionSincroService.class).scaricoVsOrd(requestDto.getWhereCond()); break; - case BIOLEXCH: - result = getContextBean(OrdiniBiolevanteExchService.class).importOrdiniBiolevExch(); - break; case MAXIDATA: result = getContextBean(ProduzioniLamonarcaMaxidataService.class).importProduzioniLamonarca(); break; @@ -106,7 +103,6 @@ public class OrdiniImporter extends BaseEntityImporter> impleme PUDDY("PUDDY"), PUDDY_INCASSI_PREV("PUDDY_INCASSI_PREV"), SLAV2ORDL("SLAV2ORDL"), - BIOLEXCH("BIOLEXCH"), CONSORTILE("CONSORTILE"), ORDINIDAAPPROV("ORDINIDAAPPROV"), MAXIDATA("MAXIDATA"), diff --git a/ems-engine/src/main/java/it/integry/ems/order/Import/OrdiniWebImporter.java b/ems-engine/src/main/java/it/integry/ems/order/Import/OrdiniWebImporter.java index f31ee96223..0851520d61 100644 --- a/ems-engine/src/main/java/it/integry/ems/order/Import/OrdiniWebImporter.java +++ b/ems-engine/src/main/java/it/integry/ems/order/Import/OrdiniWebImporter.java @@ -3,7 +3,6 @@ package it.integry.ems.order.Import; import it.integry.ems.Import.base.BaseEntityImporter; import it.integry.ems.Import.base.IEntityImporter; -import it.integry.ems.order.Import.service.OrdiniVirtuemartService; import it.integry.ems.order.Import.service.OrdiniWebImportService; import it.integry.ems_model.base.EntityBase; import org.springframework.web.context.ContextLoader; @@ -19,10 +18,6 @@ public class OrdiniWebImporter extends BaseEntityImporter implements IEntityImpo if (enumFormat != null) { switch (enumFormat) { - case VIRTUEMART: - OrdiniVirtuemartService OrdiniVirtuemartService = ContextLoader.getCurrentWebApplicationContext().getBean(OrdiniVirtuemartService.class); - entities = OrdiniVirtuemartService.importOrdini(username, type, format, (String) requestDto.getRawContent()); - break; case YOCABE: OrdiniWebImportService ordiniWebImportService = ContextLoader.getCurrentWebApplicationContext().getBean(OrdiniWebImportService.class); entities = ordiniWebImportService.importOrdiniWebYocabe(type, format, requestDto); @@ -39,7 +34,6 @@ public class OrdiniWebImporter extends BaseEntityImporter implements IEntityImpo public enum Format { - VIRTUEMART("VIRTUEMART"), YOCABE("YOCABE"); private String text; diff --git a/ems-engine/src/main/java/it/integry/ems/order/Import/service/OrdiniBiolevanteExchService.java b/ems-engine/src/main/java/it/integry/ems/order/Import/service/OrdiniBiolevanteExchService.java deleted file mode 100644 index d47aeda6ba..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/Import/service/OrdiniBiolevanteExchService.java +++ /dev/null @@ -1,492 +0,0 @@ -package it.integry.ems.order.Import.service; - -import it.integry.ems._context.ApplicationContextProvider; -import it.integry.ems.datasource.DataSource; -import it.integry.ems.product.importaz.service.ImportAnagListiniService; -import it.integry.ems.service.EntityProcessor; -import it.integry.ems.sync.MultiDBTransaction.Connection; -import it.integry.ems.sync.MultiDBTransaction.MultiDBTransactionManager; -import it.integry.ems_model.base.EntityBase; -import it.integry.ems_model.entity.*; -import it.integry.ems_model.entity._enum.FlagEvaso; -import it.integry.ems_model.service.SetupGest; -import it.integry.ems_model.types.OperationType; -import it.integry.ems_model.utility.UtilityDB; -import it.integry.ems_model.utility.UtilityString; -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; -import org.springframework.web.context.ContextLoader; - -import java.math.BigDecimal; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.sql.Statement; -import java.util.ArrayList; -import java.util.Date; -import java.util.List; -import java.util.Map; - -@Service -public class OrdiniBiolevanteExchService { - - private final Logger logger = LogManager.getLogger(); - @Autowired - private SetupGest setupGest; - private Date mLastProcedureStartTime = null; - - public List importOrdiniBiolevExch() throws Exception { - ImportAnagListiniService importAnagListiniService = ContextLoader.getCurrentWebApplicationContext().getBean(ImportAnagListiniService.class); - MultiDBTransactionManager multiDBTransactionManager = ContextLoader.getCurrentWebApplicationContext().getBean(MultiDBTransactionManager.class); - EntityProcessor entityProcessor = ApplicationContextProvider.getApplicationContext().getBean(EntityProcessor.class); - - String profileSource, sql, codJcom, descrCommessaFormato, ragSoc, destinatario, descrCommessa = "", codTcol, - gestione = "V", rifOrd, codAnag, codVdes, untOrd, codTcolUl, codMart, codMdep, diacod, - addressId, codMdepDefault, serie, serieOld = "", note, noteOrd, noteRigaOrd, termCons; - Date dataOrd, dataCons, dataOrdOld = null, dataConsOld = null; - BigDecimal qtaOrd; - BigDecimal prezzo; - BigDecimal numCnf; - BigDecimal colliPedana; - Integer numOrd; - Integer rigaOrd; - Integer numOrdProv; - Integer numOrdProvOld = 0; - - PreparedStatement info; - ResultSet res; - List entityList = new ArrayList(); - List toBeProcessed = new ArrayList(); - List dtbOrdrList = new ArrayList(); - DtbOrdt dtbOrdt = new DtbOrdt(); - List arrayLisv = new ArrayList(); - Connection conn = multiDBTransactionManager.getPrimaryConnection(); - - Map setup = setupGest.getImportSetupSection(conn, "ORDINI VENDITA", "BIOLEXCH"); - - profileSource = setup.get("PROFILEDB"); - if (UtilityString.isNullOrEmpty(profileSource)) { - throw new Exception("CONFIGURARE PROFILEDB EXCH2WINGEST IN STB_GEST_SETUP."); - } - - DataSource dsExch2Wingest = new DataSource(); - dsExch2Wingest.initialize(profileSource); - Connection connExch2Wingest = dsExch2Wingest.getConnection(); - - if (mLastProcedureStartTime != null) - throw new Exception("Non è possibile far partire la procedura di importazione ordini in quanto già lanciata alle " + UtilityDB.valueDateToString(mLastProcedureStartTime, "yyyy-MM-dd HH:mm:ss")); - - try { - codMdepDefault = setup.get("COD_MDEP_DEFAULT"); - descrCommessaFormato = setupGest.getSetup(conn, "w_dordi_rc", "CREA_COMMESSA", "FORMATO_DESCRIZIONE"); - if (UtilityString.isNullOrEmpty(descrCommessaFormato)) { - throw new Exception("CONFIGURARE UN FORMATO DI DESCRIZIONE PER LA CREAZIONE DELLA COMMESSA IN STB_GEST_SETUP."); - } - - // QUERY PER CONTROLLARE SE LA PROCEDURA E' GIA' IN ESECUZIONE - mLastProcedureStartTime = new Date(); - - // QUERY aggiunta per annullare ordini non presenti su db di scambio - // " and rif_ord like '20[1-2][0-9][A-Z] [0-9][0-9][0-9][0-9][0-9][0-9]'" + - // - sql = "update Biolevante.dbo.dtb_ordt set flag_annulla = 'S' " + - " where gestione = 'V' " + - " and num_ord_provv is not null " + - " and serie is not null " + - " and flag_annulla = 'N' " + - " and Convert(varchar(4), Year(data_ord))+serie +' '+replicate('0', 6 - Len(num_ord_provv))+Convert(varchar(6),num_ord_provv) not in (select distinct OrdNum from BiolevanteExch.dbo.ShippingOrders)"; - Statement cmd = multiDBTransactionManager.getPrimaryConnection().createStatement(); - cmd.executeUpdate(sql); - multiDBTransactionManager.getPrimaryConnection().commit(); - cmd.close(); - - - // COMMESSE - sql = "select distinct PlurimaShippingOrders.CommissionID as cod_jcom, " + - " Companies.compName as rag_soc, " + - " Addresses.address as destinatario" + - " from PlurimaShippingOrders LEFT OUTER JOIN Addresses ON PlurimaShippingOrders.compId = Addresses.compId AND PlurimaShippingOrders.addressId = Addresses.addressId, Companies " + - "where PlurimaShippingOrders.compId = Companies.CompId and isnull(PlurimaShippingOrders.CommissionID,'') <>''"; - - info = connExch2Wingest.prepareStatement(sql, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); - res = info.executeQuery(); - while (res.next()) { - codJcom = res.getString("cod_jcom"); - ragSoc = res.getString("rag_soc"); - destinatario = res.getString("destinatario"); - - if (descrCommessaFormato.compareTo("RAG_SOC") == 0) { - descrCommessa = ragSoc; - } else if (descrCommessaFormato.compareTo("RAG_SOC+DEST") == 0) { - descrCommessa = ragSoc + " " + destinatario; - } - JtbComt jtbComt = new JtbComt(); - jtbComt.setOperation(OperationType.INSERT_OR_UPDATE); - jtbComt.setCodJcom(codJcom); - jtbComt.setDescrizione(descrCommessa); - - toBeProcessed.add(jtbComt); - } - res.close(); - info.close(); - sql = "select distinct PlurimaShippingOrders.palletType as cod_tcol " + - " from PlurimaShippingOrders " + - "where isnull(PlurimaShippingOrders.palletType,'') <>''"; - - info = connExch2Wingest.prepareStatement(sql, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); - res = info.executeQuery(); - while (res.next()) { - codTcol = res.getString("cod_tcol"); - - MtbTcol mtbTcol = new MtbTcol(); - mtbTcol.setOperation(OperationType.INSERT_OR_UPDATE); - mtbTcol.setCodTcol(codTcol); - mtbTcol.setFlagUiUl("UL"); - - toBeProcessed.add(mtbTcol); - } - res.close(); - info.close(); - sql = "select PlurimaShippingOrders.OrdDate as data_ord, " + - " PlurimaShippingOrders.OrdNum as num_ord, " + - " PlurimaShippingOrders.OrdRow as riga_ord, " + - " PlurimaShippingOrders.CompId as diacod, " + - " PlurimaShippingOrders.addressId as cod_vdes, " + - " PlurimaShippingOrders.WareHouse as cod_mdep, " + - " PlurimaShippingOrders.ShipDate as data_cons, " + - " PlurimaShippingOrders.itemId as cod_mart, " + - " CASE WHEN isnull(PlurimaShippingOrders.UM,'') = '' THEN Biolevante.dbo.mtb_aart.unt_mis ELSE PlurimaShippingOrders.UM END as unt_ord, " + - " PlurimaShippingOrders.qty as qta_ord, " + - " PlurimaShippingOrders.NumPack as num_cnf, " + - " PlurimaShippingOrders.commissionId as cod_jcom, " + - " PlurimaShippingOrders.custNpackPallet as colli_pedana, " + - " PlurimaShippingOrders.palletType as cod_tcol_ul, " + - " PlurimaShippingOrders.prezzo," + - " PlurimaShippingOrders.serie, " + - " PlurimaShippingOrders.num_ord_prov, " + - " PlurimaShippingOrders.rifOrd, " + - " PlurimaShippingOrders.note, " + - " PlurimaShippingOrders.NoteOrd, " + - " PlurimaShippingOrders.NoteRigaOrd, " + - " PlurimaShippingOrders.TermCons, " + - " PlurimaShippingOrders.pedane " + - " from PlurimaShippingOrders, Items LEFT OUTER JOIN Biolevante.dbo.mtb_aart ON Items.ItemId = Biolevante.dbo.mtb_aart.cod_mart, ItemGroups, ItemSgroups " + - "where PlurimaShippingOrders.ItemId = Items.ItemID AND " + - " Items.GroupId = ItemGroups.GroupId AND " + - " Items.SgroupId = ItemSgroups.SgroupId AND " + - " PlurimaShippingOrders.CompId not in (SELECT value_string FROM Biolevante.dbo.parseStringIntoArray(" + UtilityDB.valueToString(setup.get("ESLCUDI_CLIENTI")) + ", '|')) " + - " order by PlurimaShippingOrders.OrdDate, " + - " PlurimaShippingOrders.OrdNum," + - " PlurimaShippingOrders.ShipDate, " + - " PlurimaShippingOrders.OrdRow "; - - info = connExch2Wingest.prepareStatement(sql, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); - res = info.executeQuery(); - while (res.next()) { - dataOrd = res.getDate("data_ord"); - rigaOrd = res.getInt("riga_ord"); - diacod = res.getString("diacod"); - addressId = res.getString("cod_vdes"); - codMdep = res.getString("cod_mdep"); - dataCons = res.getDate("data_cons"); - codMart = res.getString("cod_mart"); - untOrd = res.getString("unt_ord"); - qtaOrd = res.getBigDecimal("qta_ord"); - numCnf = res.getBigDecimal("num_cnf"); - codJcom = res.getString("cod_jcom").trim(); - colliPedana = res.getBigDecimal("colli_pedana"); - codTcolUl = res.getString("cod_tcol_ul"); - prezzo = res.getBigDecimal("prezzo"); - serie = res.getString("serie"); - numOrdProv = res.getInt("num_ord_prov"); - rifOrd = UtilityString.left(UtilityString.streNull(res.getString("rifOrd")).trim(), 40); - note = UtilityString.left(res.getString("note"), 255); - String flagStato = isArticoloAttivo(conn, codMart); - noteOrd = res.getString("NoteOrd"); - noteRigaOrd = res.getString("NoteRigaOrd"); - termCons = res.getString("TermCons"); - Integer pedane = res.getInt("pedane"); - - String untMisVen = getUntMisVen(conn, codMart, untOrd); - - final VtbDest vtbDest = findAnag(conn, diacod, addressId); - - if (vtbDest.getCodAnag() != null) { - if (UtilityString.streNull(flagStato).compareTo("A") == 0 && !UtilityString.isNullOrEmpty(untMisVen)) { - - VtbList vtbListRet = findCodVlis(conn, vtbDest.getCodAnag()); - if (vtbListRet.getCodVlis() == null) { - VtbList vtbList = new VtbList(); - vtbList.setOperation(OperationType.INSERT_OR_UPDATE); - vtbList.setCodVlis(vtbDest.getCodAnag()); - vtbList.setDescrizione(vtbListRet.getDescrizione()); - arrayLisv.add(vtbList); - - GtbAnag gtbAnag = new GtbAnag(); - gtbAnag.setCodAnag(vtbDest.getCodAnag()); - VtbClie vtbClie = new VtbClie(); - vtbClie.setOperation(OperationType.UPDATE); - vtbClie.setCodAnag(vtbDest.getCodAnag()); - vtbClie.setCodVlis(vtbDest.getCodAnag()); - gtbAnag.setVtbClie(vtbClie); - toBeProcessed.add(gtbAnag); - } - if (findCodMartMtbLisv(conn, vtbDest.getCodAnag(), codMart) == 0) { - MtbLisvData mtbLisvData = new MtbLisvData(); - mtbLisvData.setOperation(OperationType.INSERT_OR_UPDATE); - mtbLisvData.setCodVlis(vtbDest.getCodAnag()); - mtbLisvData.setUntMisVen(untMisVen); - mtbLisvData.setRapConv(BigDecimal.ONE); - mtbLisvData.setDataIniz(dataOrd); - mtbLisvData.setCodMart(codMart); - mtbLisvData.setPrzBase(BigDecimal.ZERO); - - arrayLisv.add(mtbLisvData); - } - } - - if (serie.compareTo(serieOld) != 0 || dataOrd.compareTo(dataOrdOld) != 0 || numOrdProv.compareTo(numOrdProvOld) != 0) { - if (!dtbOrdrList.isEmpty()) { - dtbOrdt.setDtbOrdr(dtbOrdrList); - toBeProcessed.add(dtbOrdt); - } - - numOrd = findOrder(conn, dataOrd, serie, numOrdProv); - codAnag = vtbDest.getCodAnag(); - codVdes = vtbDest.getCodVdes(); - - dtbOrdrList = new ArrayList<>(); - - dtbOrdt = new DtbOrdt(); - if (numOrd == 0) { - dtbOrdt.setOperation(OperationType.INSERT); - } else { - dtbOrdt.setOperation(OperationType.DELETE_THEN_INSERT); - } - dtbOrdt.setNumOrd(numOrd); - dtbOrdt.setDataOrd(dataOrd); - if (UtilityString.streNull(rifOrd).compareTo("") == 0) { - rifOrd = "[NULL]"; - } - dtbOrdt.setRifOrd(rifOrd); - dtbOrdt.setFlagAnnulla("N"); - dtbOrdt.setNumOrdProvv(numOrdProv); - dtbOrdt.setSerie(serie); - - if (!UtilityString.isNullOrEmpty(codMdepDefault)) { - dtbOrdt.setCodMdep(codMdepDefault); - } else { - dtbOrdt.setCodMdep(codMdep); - } - - dtbOrdt.setCodAnag(codAnag); - dtbOrdt.setCodVdes(codVdes); - dtbOrdt.setGestione(gestione); - dtbOrdt.setPostiPallet(pedane); - dtbOrdt.setDataInizTrasp(dataCons); - if (!UtilityString.isNullOrEmpty(codJcom)) { - dtbOrdt.setCodJcom(codJcom); - } - if (!UtilityString.isNullOrEmpty(noteOrd)) { - dtbOrdt.setNote(noteOrd); - } - if (!UtilityString.isNullOrEmpty(termCons)) { - dtbOrdt.setTermCons(termCons); - } - } - - DtbOrdr dtbOrdr = new DtbOrdr(); - if (dtbOrdt.getOperation() == OperationType.INSERT) { - dtbOrdr.setOperation(OperationType.INSERT); - } else { - dtbOrdr.setOperation(OperationType.DELETE_THEN_INSERT); - } - dtbOrdr.setCodMart(codMart); - dtbOrdr.setDescrizione(null); - dtbOrdr.setDescrizioneEstesa(null); - dtbOrdr.setUntOrd(untOrd); - dtbOrdr.setQtaOrd(qtaOrd); - dtbOrdr.setValUnt(prezzo); - dtbOrdr.setRigaOrd(rigaOrd); - if (numCnf.equals(BigDecimal.ZERO)) { - numCnf = BigDecimal.ONE; - } - dtbOrdr.setNumCnf(numCnf); - dtbOrdr.setNote(note); - if (codJcom.compareTo("") != 0) { - dtbOrdr.setCodJcom(codJcom); - } - dtbOrdr.setColliPedana(colliPedana); - dtbOrdr.setCodTcolUl(codTcolUl); - dtbOrdr.setDataCons(dataCons); - if (UtilityString.streNull(flagStato).compareTo("I") == 0) { - dtbOrdr.setFlagEvaso(FlagEvaso.ANNULLATO); - } - if (!UtilityString.isNullOrEmpty(noteRigaOrd)) { - dtbOrdr.setNote(noteRigaOrd); - } - dtbOrdrList.add(dtbOrdr); - } - - dataOrdOld = dataOrd; - dataConsOld = dataCons; - serieOld = serie; - numOrdProvOld = numOrdProv; - } - res.close(); - info.close(); - if (!dtbOrdrList.isEmpty()) { - dtbOrdt.setDtbOrdr(dtbOrdrList); - toBeProcessed.add(dtbOrdt); - } - - - if (!arrayLisv.isEmpty()) { - - arrayLisv = importAnagListiniService.importAnagListinoAcq(arrayLisv, "V", null, null); - - for (EntityBase entityBase : arrayLisv) { - if (entityBase.getException() != null) { - throw entityBase.getException(); - } - } - } - - if (!toBeProcessed.isEmpty()) { - entityList = entityProcessor.processEntityList(toBeProcessed, false); - for (EntityBase entityBase : entityList) { - if (entityBase.getException() != null) { - throw entityBase.getException(); - } - } - } - - mLastProcedureStartTime = null; - - } catch (Exception ex) { - mLastProcedureStartTime = null; - - logger.error(ex); - throw ex; - } finally { - mLastProcedureStartTime = null; - } - return entityList; - } - - private Integer findOrder(Connection connect, Date dataOrd, String serie, Integer numOrdProv) throws Exception { - Integer numOrd = 0; - ResultSet res; - PreparedStatement info; - String sql; - - sql = "SELECT num_ord " + - " FROM dtb_ordt " + - " WHERE gestione = 'V' and serie = " + UtilityDB.valueToString(serie) + " and num_ord_provv = " + UtilityDB.valueToString(numOrdProv) + " and data_ord = " + UtilityDB.valueDateToString(dataOrd, "yyyy-MM-dd"); - - info = connect.prepareStatement(sql, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); - res = info.executeQuery(); - while (res.next()) { - numOrd = res.getInt("num_ord"); - } - res.close(); - info.close(); - - return numOrd; - } - - private VtbDest findAnag(Connection connect, String diacod, String addressId) throws Exception { - String codAnag = null, codVdes = null; - VtbDest entity = new VtbDest(); - ResultSet res; - PreparedStatement info; - String sql; - - sql = "SELECT gtb_anag.cod_anag, cod_vdes " + - " FROM gtb_anag LEFT OUTER JOIN vtb_dest ON gtb_anag.cod_anag = vtb_dest.cod_anag AND vtb_dest.cod_ean = " + UtilityDB.valueToString(addressId) + - " WHERE diacod = " + UtilityDB.valueToString(diacod); - - info = connect.prepareStatement(sql, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); - res = info.executeQuery(); - while (res.next()) { - codAnag = res.getString("cod_anag"); - codVdes = res.getString("cod_vdes"); - } - res.close(); - info.close(); - entity.setCodAnag(codAnag); - entity.setCodVdes(codVdes); - - return entity; - } - - private VtbList findCodVlis(Connection connect, String codAnag) throws Exception { - String codVlis = null, descrizione = null; - Integer count = 0; - VtbList entity = new VtbList(); - ResultSet res; - PreparedStatement info; - String sql; - - sql = "SELECT count(vtb_list.cod_vlis), gtb_anag.rag_soc " + - " FROM gtb_anag LEFT OUTER JOIN vtb_list ON vtb_list.cod_vlis = gtb_anag.cod_anag " + - " WHERE gtb_anag.cod_anag = " + UtilityDB.valueToString(codAnag) + - " GROUP BY gtb_anag.rag_soc"; - - info = connect.prepareStatement(sql, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); - res = info.executeQuery(); - while (res.next()) { - count = res.getInt(1); - descrizione = res.getString(2); - } - res.close(); - info.close(); - if (count > 0) { - codVlis = codAnag; - } - entity.setCodVlis(codVlis); - entity.setDescrizione(descrizione); - - return entity; - } - - private Integer findCodMartMtbLisv(Connection connect, String codAnag, String codMart) throws Exception { - Integer count = 0; - ResultSet res; - PreparedStatement info; - String sql; - - sql = "SELECT count(mtb_lisv_data.cod_mart) " + - " FROM mtb_lisv_data " + - " WHERE mtb_lisv_data.cod_vlis = " + UtilityDB.valueToString(codAnag) + " AND " + - " mtb_lisv_data.cod_mart = " + UtilityDB.valueToString(codMart); - - info = connect.prepareStatement(sql, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); - res = info.executeQuery(); - while (res.next()) { - count = res.getInt(1); - } - res.close(); - info.close(); - - return count; - } - - private String isArticoloAttivo(Connection connect, String codMart) throws Exception { - String sql = "SELECT flag_stato " + - " FROM mtb_aart " + - " WHERE cod_mart = " + UtilityDB.valueToString(codMart); - - return UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(connect, sql); - } - - private String getUntMisVen(Connection connect, String codMart, String untOrd) throws Exception { - String sql = "SELECT CASE WHEN '" + untOrd + "' = mtb_aart.unt_mis THEN mtb_aart.unt_mis ELSE (CASE WHEN '" + untOrd + "' = mtb_aart.unt_mis2 THEN mtb_aart.unt_mis2 ELSE (CASE WHEN '" + untOrd + "' = mtb_aart.unt_mis3 THEN mtb_aart.unt_mis3 ELSE '' END) END) END as untMisVen " + - " FROM mtb_aart " + - " WHERE cod_mart = " + UtilityDB.valueToString(codMart); - - return UtilityDB.executeSimpleQueryOnlyFirstRowFirstColumn(connect, sql); - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/Import/service/OrdiniVirtuemartService.java b/ems-engine/src/main/java/it/integry/ems/order/Import/service/OrdiniVirtuemartService.java deleted file mode 100644 index 797fc29757..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/Import/service/OrdiniVirtuemartService.java +++ /dev/null @@ -1,400 +0,0 @@ -package it.integry.ems.order.Import.service; - -import it.integry.common.var.CommonConstants; -import it.integry.ems.file_formatter.csv.CsvMapper; -import it.integry.ems.properties.EmsProperties; -import it.integry.ems.service.EntityProcessor; -import it.integry.ems.service.MailService; -import it.integry.ems.sync.MultiDBTransaction.MultiDBTransactionManager; -import it.integry.ems.system.imports.dto.OrdineDTO; -import it.integry.ems.system.service.AnagImportService; -import it.integry.ems_model.base.EntityBase; -import it.integry.ems_model.config.EmsRestConstants; -import it.integry.ems_model.coollection.Coollection; -import it.integry.ems_model.db.ResultSetMapper; -import it.integry.ems_model.entity.*; -import it.integry.ems_model.service.SetupGest; -import it.integry.ems_model.types.OperationType; -import it.integry.ems_model.utility.UtilityDB; -import it.integry.ems_model.utility.UtilityHashMap; -import it.integry.ems_model.utility.UtilityString; -import org.apache.commons.io.IOUtils; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.context.annotation.Scope; -import org.springframework.stereotype.Service; - -import java.io.InputStream; -import java.math.BigDecimal; -import java.net.URL; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.util.*; - -@Service -@Scope(value = "request") -public class OrdiniVirtuemartService { - - @Autowired - private SetupGest setupGest; - - @Autowired - private EntityProcessor entityProcessor; - - @Autowired - private EmsProperties emsProperties; - - @Autowired - private MailService mailService; - - @Autowired - private AnagImportService anagImportService; - - @Autowired - private MultiDBTransactionManager multiDBTransactionManager; - - public List importOrdini(String username, String type, String format, String rawContent) throws Exception { - - List entities = new ArrayList(); - - - CsvMapper mapper = new CsvMapper(); - List ordini = mapper.deserialize(rawContent, OrdineDTO.class, "\t"); - if (ordini == null) throw new Exception("Nessun ordine da importare"); - - Map mapCurrency = new HashMap(); - - Date dataOrdOld = new Date(); - Integer numOrdOld = 0; - Integer productId = 0; - GtbAnag anag = null; - - - HashMap setupGestImportMap = (HashMap) setupGest.getImportSetupSection(multiDBTransactionManager.getPrimaryConnection(), type, format); - - String codMdep = UtilityHashMap.getValueIfExists(setupGestImportMap, "COD_MDEP"); - String codPagaContr = UtilityHashMap.getValueIfExists(setupGestImportMap, "COD_PAGA_CONTR"); - String codVage = UtilityHashMap.getValueIfExists(setupGestImportMap, "COD_VAGE"); - String serie = UtilityHashMap.getValueIfExists(setupGestImportMap, "SERIE"); - String defaultCodAnag = UtilityHashMap.getValueIfExists(setupGestImportMap, "COD_ANAG"); - - - String from = UtilityHashMap.getValueIfExists(setupGestImportMap, "MAIL_FROM"); - String ccn = UtilityHashMap.getValueIfExists(setupGestImportMap, "MAIL_CCN"); - String mailTemplateUrl = UtilityHashMap.getValueIfExists(setupGestImportMap, "MAIL_TEMPLATE_URL"); - - if (UtilityString.isNullOrEmpty(mailTemplateUrl)) - throw new Exception("IMPORT_ORDINI WEB/CONQUIST/MAIL_TEMPLATE_URL non configurato correttamente"); - URL url = new URL(mailTemplateUrl + "/mail_presa_ordine.html"); - InputStream is = url.openStream(); - String mailText = IOUtils.toString(is); - is.close(); - - if (UtilityString.isNullOrEmpty(codMdep)) - throw new Exception("IMPORT_ORDINI WEB/CONQUIST/COD_MDEP non configurato correttamente"); - - if (UtilityString.isNullOrEmpty(serie)) - throw new Exception("IMPORT_ORDINI WEB/CONQUIST/SERIE non configurato correttamente"); - - if (UtilityString.isNullOrEmpty(defaultCodAnag)) - throw new Exception("IMPORT_ORDINI WEB/CONQUIST/COD_ANAG non configurato correttamente"); - - - ordini = Coollection.from(ordini).orderBy("orderNumber").all(); - - WdtbOrdt ordineWeb = null; - Date dateNow; - - String negozioScelto = ""; - String email = ""; - - boolean existOrd = false; - boolean rigaDestPresente = false; - - for (int i = 0; i < ordini.size(); i++) { - - OrdineDTO ordine = ordini.get(i); - if (ordine.getCreatedOn() != null & dataOrdOld.compareTo(ordine.getCreatedOn()) != 0 && - !numOrdOld.equals(ordine.getVirtuemartOrderId())) { - - dateNow = new Date(); - negozioScelto = ""; - rigaDestPresente = false; - email = ""; - - //controllo esistenza ordine - String sql = - "SELECT count(*) as count_ords" + - " FROM wdtb_ordt " + - " WHERE wdtb_ordt.rif_ord = " + UtilityDB.valueToString(ordine.getOrderNumber()) + " AND " + - "wdtb_ordt.num_ord_rif = " + UtilityDB.valueToString(ordine.getVirtuemartOrderId()) + " AND " + - "wdtb_ordt.data_ord_rif = " + UtilityDB.valueDateToString(ordine.getCreatedOn(), CommonConstants.DATE_FORMAT_YMD); - - HashMap resultCountOrdini = UtilityDB.executeSimpleQueryOnlyFirstRow(multiDBTransactionManager.getPrimaryConnection(), sql); - - existOrd = false; - if (resultCountOrdini != null) { - Integer countOrds = UtilityHashMap.getValueIfExists(resultCountOrdini, "count_ords"); - existOrd = countOrds != null && countOrds > 0; - } - - if (!existOrd) { - ordineWeb = new WdtbOrdt(); - ordineWeb.setOperation(OperationType.INSERT_OR_UPDATE); - ordineWeb.setWdtbOrdr(new ArrayList()); - ordineWeb.setGestione("V"); - ordineWeb.setCodVage(codVage); - - if (mapCurrency.get(ordine.getUserCurrency()) == null) { - sql = "SELECT cod_divi FROM gtb_divi " - + "where cod_divi_iso = " + UtilityDB.valueToString(ordine.getUserCurrency()); - - HashMap resultCodDivi = UtilityDB.executeSimpleQueryOnlyFirstRow(multiDBTransactionManager.getPrimaryConnection(), sql); - - if (resultCodDivi != null) { - String codDivi = UtilityHashMap.getValueIfExists(resultCodDivi, "cod_divi"); - mapCurrency.put(ordine.getUserCurrency(), codDivi); - } - } - - ordineWeb.setCodDivi(mapCurrency.get(ordine.getUserCurrency())); - ordineWeb.setCodMdep(codMdep); - - ordineWeb.setDataOrd(dateNow); - ordineWeb.setRifOrd(ordine.getOrderNumber()); - ordineWeb.setDataOrdRif(ordine.getCreatedOn()); - ordineWeb.setNumOrdRif(ordine.getVirtuemartOrderId()); - ordineWeb.setSerie(serie); - ordineWeb.setDataInsOrd(dateNow); - ordineWeb.setCompilatoDa("IMPORT_CONQUIST"); - ordineWeb.setNote(ordine.getCustomerNote()); - if (ordine.getOrderPayment().compareTo(BigDecimal.ZERO) > 0) { - ordineWeb.setCodPaga(codPagaContr); - } - - entities.add(ordineWeb); - - dataOrdOld = ordine.getCreatedOn(); - numOrdOld = ordine.getVirtuemartOrderId(); - //annullamento del product ID - productId = -1; - } - } - - if (!existOrd) { - if (rigaDestPresente && UtilityString.isNullOrEmpty(negozioScelto)) { - createOrGetDestMerce(ordineWeb, ordine, negozioScelto, email, defaultCodAnag, multiDBTransactionManager); - } - - if (dataOrdOld.compareTo(ordine.getCreatedOn()) == 0 && numOrdOld.equals(ordine.getVirtuemartOrderId()) && - !productId.equals(ordine.getVirtuemartProductId())) { - - dataOrdOld = ordine.getCreatedOn(); - numOrdOld = ordine.getVirtuemartOrderId(); - productId = ordine.getVirtuemartProductId(); - negozioScelto = ordine.getNegozioScelto(); - email = ordine.getEmail(); - - WdtbOrdr row = new WdtbOrdr(); - row.setOperation(OperationType.INSERT_OR_UPDATE); - ordineWeb.getWdtbOrdr().add(row); - - String sql = "select ttb_bar_code.cod_style, ttb_bar_code.cod_col, " - + " ttb_bar_code.cod_tagl, mtb_aart.descrizione, mtb_aart.cod_aliq, aliq.perc_aliq" - + " from mtb_aart, ttb_bar_code, gtb_aliq aliq" - + " where cod_barre = " + UtilityDB.valueToString(ordine.getOrderItemSku()) - + " and mtb_aart.cod_mart = ttb_bar_code.cod_style and mtb_aart.cod_aliq = aliq.cod_aliq"; - - HashMap resultQuery = UtilityDB.executeSimpleQueryOnlyFirstRow(multiDBTransactionManager.getPrimaryConnection(), sql); - - if (resultQuery != null) { - row.setCodMart((String) UtilityHashMap.getValueIfExists(resultQuery, "cod_style")); - row.setCodCol((String) UtilityHashMap.getValueIfExists(resultQuery, "cod_col")); - row.setCodTagl((String) UtilityHashMap.getValueIfExists(resultQuery, "cod_tagl")); - row.setDescrizione((String) UtilityHashMap.getValueIfExists(resultQuery, "descrizione")); - row.setCodAliq((String) UtilityHashMap.getValueIfExists(resultQuery, "cod_aliq")); - row.setPercAliq((BigDecimal) UtilityHashMap.getValueIfExists(resultQuery, "perc_aliq")); - } - - row.setQtaOrd(BigDecimal.valueOf(ordine.getProductQuantity())); - row.setValUnt(ordine.getProductFinalPrice().subtract(ordine.getProductTax()). - setScale(EmsRestConstants.cifreDecMax, BigDecimal.ROUND_HALF_UP)); - - if (i + 1 < ordini.size() && productId.equals(ordini.get(i + 1).getVirtuemartProductId())) { - rigaDestPresente = true; - } - - if ("1".equals(ordine.getRichiestaFattura())) { - anag = new GtbAnag(); - if (!UtilityString.isNullOrEmpty(ordine.getEmail())) { - anag.seteMail(ordine.getEmail()); - - if (!UtilityString.isNullOrEmpty(ordine.getPartitaIva())) - anag.setPartIva(ordine.getPartitaIva()); - - if (!UtilityString.isNullOrEmpty(ordine.getCodiceFiscale())) - anag.setCodFisc(ordine.getCodiceFiscale()); - } - - EntityBase anagFound = checkClieDestExists(multiDBTransactionManager, anag); - if (anagFound != null && anagFound instanceof GtbAnag) { - ordineWeb.setCodAnag(((GtbAnag) anagFound).getCodAnag()); - } else { - anag.setRagSoc(ordine.getFullName()); - anag.setIndirizzo(ordine.getIndirizzoFattura() + " " + ordine.getCivicoFattura()); - anag.setCap(ordine.getCapFattura()); - anag.setCitta(ordine.getCittaFattura()); - anag.setProv(ordine.getProvinciaFattura()); - anag.setPrecode("Q"); - anag.setOperation(OperationType.INSERT); - VtbClie clie = new VtbClie(); - clie.setOperation(OperationType.INSERT); - clie.setGtbAnag(anag); - - entityProcessor.processEntity(clie, multiDBTransactionManager); - ordineWeb.setCodAnag(clie.getCodAnag()); - } - if (!rigaDestPresente) { - // aggancio destinazione - createOrGetDestMerce(ordineWeb, ordine, negozioScelto, email, defaultCodAnag, multiDBTransactionManager); - } - } else { - ordineWeb.setCodAnag(defaultCodAnag); - if (!rigaDestPresente) { - createOrGetDestMerce(ordineWeb, ordine, negozioScelto, email, defaultCodAnag, multiDBTransactionManager); - } - } - } - } - } - - if (!entities.isEmpty()) { - List processedEntities = entityProcessor.processEntityList(entities, true); - - if (processedEntities != null && !processedEntities.isEmpty()) { - - for (EntityBase entityOrdT : processedEntities) { - WdtbOrdt ordT = (WdtbOrdt) entityOrdT; - - String sql; - if (ordT.getCodAnag().equals(defaultCodAnag)) { - sql = "select e_mail from vtb_dest where cod_vdes = " + UtilityDB.valueToString(ordT.getCodVdes()) - + " and cod_anag = " + UtilityDB.valueToString(ordT.getCodAnag()); - } else { - sql = "select e_mail from gtb_anag where cod_anag = " + UtilityDB.valueToString(ordT.getCodAnag()); - } - - mailText = mailText.replace("%%NUM_ORD_CQ%%", ordT.getNumOrdRif().toString()); - - HashMap resultMail = UtilityDB.executeSimpleQueryOnlyFirstRow(multiDBTransactionManager.getPrimaryConnection(), sql); - - if (resultMail != null) { - String emailCliente = UtilityHashMap.getValueIfExists(resultMail, "e_mail"); - String subject = "Quore - Conferma d'ordine"; - - if (!UtilityString.isNullOrEmpty(emailCliente)) { - - mailService.sendMailPrimary(multiDBTransactionManager.getPrimaryConnection(), from, null, emailCliente, null, ccn, - subject, mailText, true, false, null, null, null, false, null); - - StbEmailRecovery emailRecovery = new StbEmailRecovery(); - emailRecovery.setOperation(OperationType.INSERT); - emailRecovery.setFromMail(from); - emailRecovery.setToMail(emailCliente); - emailRecovery.setDataIns(new Date()); - emailRecovery.setSubject(subject); - emailRecovery.setMsgtext(mailText); - entityProcessor.processEntity(emailRecovery, multiDBTransactionManager); - - } - } - - - } - - - } - - } - - return entities; - } - - private void createOrGetDestMerce(WdtbOrdt ordineWeb, OrdineDTO ordine, - String negozioScelto, String email, String defaultCodAnag, - MultiDBTransactionManager multiDBTransactionManager) throws Exception { - - if (UtilityString.isNullOrEmpty(negozioScelto)) { - //destinarario fisico - List listDest = new ArrayList(); - GtbAnag anagSearch = new GtbAnag(); - anagSearch.setCodAnag(ordineWeb.getCodAnag()); - VtbDest dest = new VtbDest(); - dest.setDestinatario(ordine.getFullName()); - dest.setIndirizzo(ordine.getAddress1() + " " + ordine.getCivico()); - dest.setCitta(ordine.getCity()); - dest.setCap(ordine.getZip()); - dest.setOperation(OperationType.INSERT); - - listDest.add(dest); - anagSearch.setVtbDest(listDest); - - EntityBase destFound = checkClieDestExists(multiDBTransactionManager, anagSearch); - if (destFound != null && destFound instanceof VtbDest) { - ((VtbDest) destFound).seteMail(email); - ((VtbDest) destFound).setTel(ordine.getPhone1()); - destFound.setOperation(OperationType.UPDATE); - entityProcessor.processEntity(destFound, multiDBTransactionManager); - - ordineWeb.setCodVdes(((VtbDest) destFound).getCodVdes()); - } - - //gestire eccezione anagrafica non presente - } else { - //ritiro da negozio - String sql = "SELECT * FROM vtb_dest WHERE cod_affiliazione = " + UtilityDB.valueToString(negozioScelto) - + " AND cod_anag = " + UtilityDB.valueToString(defaultCodAnag); - - PreparedStatement ps = multiDBTransactionManager.prepareStatement(sql); - ResultSet rs = ps.executeQuery(); - - List listVtbDest = new ResultSetMapper() - .mapResultSetToList(rs, VtbDest.class, OperationType.SELECT_OBJECT); - - if (listVtbDest != null && !listVtbDest.isEmpty()) { - VtbDest dest = listVtbDest.get(0); - - //se il destinatario è un negozio, ma il cliente richiede fattura, copio il destinarario nel cliente anagrafato - if (!dest.getCodAnag().equals(ordineWeb.getCodAnag())) { - dest.setCodAnag(ordineWeb.getCodAnag()); - dest.setOperation(OperationType.INSERT_OR_UPDATE); - entityProcessor.processEntity(dest, multiDBTransactionManager); - } - ordineWeb.setCodVdes(dest.getCodVdes()); - } - rs.close(); - ps.close(); - } - - String sql = "select ean_fidelity from vtb_fidelity_anag " - + "where e_mail = " + UtilityDB.valueToString(email); - - HashMap resultEanFidelity = UtilityDB.executeSimpleQueryOnlyFirstRow(multiDBTransactionManager.getPrimaryConnection(), sql); - - if (resultEanFidelity != null) { - ordineWeb.setEanFidelity((String) UtilityHashMap.getValueIfExists(resultEanFidelity, "ean_fidelity")); - } - } - - private EntityBase checkClieDestExists(MultiDBTransactionManager multiDBTransactionManager, GtbAnag gtbAnag) throws Exception { - - EntityBase destToReturn = null; - - List destResult = anagImportService.importClieAnagInternal(gtbAnag, "Q"); - - if (destResult != null && !destResult.isEmpty()) { - destToReturn = destResult.get(0); - } - - return destToReturn; - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/controller/AmazonOrderImportController.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/controller/AmazonOrderImportController.java deleted file mode 100644 index a17147ac38..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/controller/AmazonOrderImportController.java +++ /dev/null @@ -1,406 +0,0 @@ -package it.integry.ems.order.amazon.controller; - -import com.fasterxml.jackson.databind.node.ArrayNode; -import it.integry.common.var.CommonConstants; -import it.integry.ems.json.ResponseJSONObjectMapper; -import it.integry.ems.order.amazon.dto.OrderTrackingDTO; -import it.integry.ems.order.amazon.service.MarketplaceFactory; -import it.integry.ems.order.amazon.service.OrderImportFromAmazon; -import it.integry.ems.order.conquist.dto.TrackingDTO; -import it.integry.ems.properties.EmsProperties; -import it.integry.ems.response.EsitoType; -import it.integry.ems.response.ServiceRestResponse; -import it.integry.ems.settings.Model.SettingsModel; -import it.integry.ems.sync.MultiDBTransaction.MultiDBTransactionManager; -import it.integry.ems_model.config.EmsRestConstants; -import it.integry.ems_model.service.SetupGest; -import it.integry.ems_model.utility.UtilityDB; -import it.integry.ems_model.utility.UtilityString; -import it.integry.security.utility.RestUtil; -import org.apache.commons.codec.binary.Base64; -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.context.annotation.Scope; -import org.springframework.web.bind.annotation.*; - -import javax.activation.DataHandler; -import javax.mail.*; -import javax.mail.internet.InternetAddress; -import javax.mail.search.FlagTerm; -import javax.mail.search.MessageIDTerm; -import javax.servlet.http.HttpServletRequest; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.ClientBuilder; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import java.io.*; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.util.ArrayList; -import java.util.Date; -import java.util.List; -import java.util.Properties; - -@RestController -@Scope("request") - -@Deprecated -public class AmazonOrderImportController { - - private final Logger logger = LogManager.getLogger(); - - @Autowired - private EmsProperties properties; - - @Autowired - private SettingsModel settingsModel; - - @Autowired - private MultiDBTransactionManager multiDBTransactionManager; - - @Autowired - private OrderImportFromAmazon orderImportFromAmazon; - - @Autowired - private MarketplaceFactory marketPlaceConfig; - - @Autowired - private SetupGest setupGest; - - @Autowired - private ResponseJSONObjectMapper jsonObjectMapper; - - @RequestMapping(value = EmsRestConstants.PATH_IMPORT_ORDERS_AMAZON, method = RequestMethod.POST) - public @ResponseBody - Object importOrder(HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String configuration, - @RequestParam(value = "orderStatus", required = false) List orderStatus) { - - String response = null; - try { - - marketPlaceConfig.init(multiDBTransactionManager.getPrimaryConnection()); - - if (marketPlaceConfig.isEnabled()) { - if (orderStatus == null || orderStatus.isEmpty()) { - orderStatus = new ArrayList(); - orderStatus.add("Unshipped"); - orderStatus.add("PartiallyShipped"); - } - response = orderImportFromAmazon.importOrders(orderStatus, configuration); - } else { - throw new Exception("[WARN] Parametri amazon non configurati, impossibile procedere."); - } - } catch (Exception e) { - logger.error(request.getRequestURI(), e); - e.printStackTrace(); - } - return response; - } - - @RequestMapping(value = EmsRestConstants.PATH_UPDATE_QUANTITY_FEED, method = RequestMethod.POST) - public @ResponseBody - ServiceRestResponse updateQtyFeed(HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String configuration) { - ServiceRestResponse response = null; - try { - marketPlaceConfig.init(multiDBTransactionManager.getPrimaryConnection()); - - if (marketPlaceConfig.isEnabled()) { - orderImportFromAmazon.updateQtyFeed(); - response = new ServiceRestResponse(EsitoType.OK); - } else { - throw new Exception("[WARN] Parametri amazon non configurati, impossibile procedere."); - } - } catch (Exception e) { - logger.error(request.getRequestURI(), e); - e.printStackTrace(); - response = new ServiceRestResponse(EsitoType.KO, configuration, e); - } - return response; - } - - @RequestMapping(value = EmsRestConstants.PATH_ACK_ORDERS, method = RequestMethod.POST) - public @ResponseBody - ServiceRestResponse ackOrders(HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String configuration, - @RequestParam("orderIds") List ordersIds) { - - ServiceRestResponse response; - try { - marketPlaceConfig.init(multiDBTransactionManager.getPrimaryConnection()); - orderImportFromAmazon.ackOrders(ordersIds); - response = ServiceRestResponse.createPositiveResponse(); - } catch (Exception e) { - logger.error(request.getRequestURI(), e); - e.printStackTrace(); - response = new ServiceRestResponse(EsitoType.KO, configuration, e); - } - return response; - } - - @Deprecated - @RequestMapping(value = EmsRestConstants.PATH_CONFIRM_FEED_WITH_TRACKID, method = RequestMethod.POST) - public @ResponseBody - ServiceRestResponse confirmOrders(HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String configuration, - @RequestParam("domain") String domain, - @RequestParam("user") String user, - @RequestParam("password") String passwd) { - - ServiceRestResponse response = null; - try { - - String enabled = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), "w_tmtntracodisk_ft", "TRACK_ID_READER_BRT", "ENABLED"); - if (!UtilityString.isNullOrEmpty(enabled) && Boolean.parseBoolean(enabled)) { - marketPlaceConfig.init(multiDBTransactionManager.getPrimaryConnection()); - - logger.debug("SCHEDULER ACTIVED ON " + user); - - Properties sysProperties = System.getProperties(); - Session session = Session.getDefaultInstance(sysProperties); - Store storePop = null; - Folder inboxPop3 = null; - - Store store = session.getStore("imap"); - store.connect("imap." + domain, user, passwd); - Folder inbox = store.getFolder("inbox"); - inbox.open(Folder.READ_WRITE); - - // search for all "unseen" messages - Flags seen = new Flags(Flags.Flag.SEEN); - FlagTerm unseenFlagTerm = new FlagTerm(seen, false); - Message messages[] = inbox.search(unseenFlagTerm); - - logger.debug(messages.length + " NUOVE MAIL TROVATE"); - - if (messages.length > 0) { - storePop = session.getStore("pop3"); - storePop.connect("pop3." + domain, user, passwd); - inboxPop3 = storePop.getFolder("inbox"); - inboxPop3.open(Folder.READ_ONLY); - } - - for (Message message : messages) { - Message[] msgPopList = inboxPop3.search(new MessageIDTerm(message.getHeader("Message-Id")[0])); - - if (msgPopList.length == 1) { - Message msgSingle = msgPopList[0]; - InternetAddress[] froms = (InternetAddress[]) msgSingle.getFrom(); - - Boolean finded = false; - for (InternetAddress internetAddress : froms) { - if (internetAddress.getAddress().contains("@brt.it")) { - finded = true; - break; - } - } - - if (finded) { - Multipart multipart = (Multipart) msgSingle.getContent(); - for (int x = 0; x < multipart.getCount(); x++) { - BodyPart bodyPart = multipart.getBodyPart(x); - String disposition = bodyPart.getDisposition(); - - if ((disposition != null) - && ((disposition.equals(BodyPart.ATTACHMENT) || (disposition - .equals(BodyPart.INLINE))))) { - DataHandler handler = bodyPart.getDataHandler(); - - ByteArrayOutputStream baos = new ByteArrayOutputStream(); - handler.writeTo(baos); - baos.close(); - - String csv = new String(baos.toByteArray()); - StringReader sr = new StringReader(csv); - BufferedReader reader = new BufferedReader(sr); - String line; - - List list = new ArrayList(); - Boolean firstLine = true; - - while ((line = reader.readLine()) != null) { - - if (firstLine) { - firstLine = false; - continue; - } - String[] array = line.split(";"); - String trackNumberId = UtilityString.leftPad(array[2], 3, '0') + array[5] + UtilityString.leftPad(array[6], 7, '0'); - String numVettura = array[32].replaceAll("\"", ""); - OrderTrackingDTO dto = new OrderTrackingDTO(); - Integer numVettInt = Integer.parseInt(numVettura); - numVettura = UtilityString.leftPad(numVettInt.toString(), 7, '0'); - - String sql = "select dtb_doct.cod_vage, dtb_doct.rif_ord, dtb_doct.cod_anag, dtb_doct.cod_dtip, dtb_doct.data_doc, dtb_doct.num_doc, dtb_doct.ser_doc " - + " from dtb_doct, vtb_vett, vtb_vett_lett " - + " where vtb_vett_lett.formato = 'BRT' AND dtb_doct.num_vettura = " + UtilityDB.valueToString(numVettura) - + " AND dtb_doct.cod_vvet = vtb_vett.cod_vvet " - + " and vtb_vett.cod_lett_vett = vtb_vett_lett.cod_lett_vett"; - PreparedStatement psAgente = multiDBTransactionManager.prepareStatement(sql); - ResultSet rsAgente = psAgente.executeQuery(); - String codVage = "", rifOrd = "", codAnag = null, codDtip = null, serDoc = null; - Integer numDoc = null; - Date dataDoc = null; - if (rsAgente.next()) { - codVage = rsAgente.getString("cod_vage"); - rifOrd = rsAgente.getString("rif_ord"); - codAnag = rsAgente.getString("cod_anag"); - codDtip = rsAgente.getString("cod_dtip"); - dataDoc = rsAgente.getDate("data_doc"); - numDoc = rsAgente.getInt("num_doc"); - serDoc = rsAgente.getString("ser_doc"); - } - rsAgente.close(); - psAgente.close(); - - String codVageAmazon = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), "AMAZON", "ORDINI_WEB", "COD_VAGE"); - String codVageCQ = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), "IMPORT_ORDINI WEB", "CONQUIST", "COD_VAGE"); - - if (codVage.equals(codVageCQ)) { - String folder = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), "IMPORT_ORDINI WEB", "CONQUIST", "FOLDER"); - - if (UtilityString.isNullOrEmpty(folder)) - throw new Exception("IMPORT_ORDINI WEB/CONQUIST/FOLDER non configurato correttamente"); - - sql = "select b.cod_barre, case o.flag_evaso when 'E' then 'S' when 'A' then 'X' end as flag_evaso" - + " from dtb_ordr o, dtb_docr r, ttb_bar_code b" - + " where r.cod_dtip = " + UtilityDB.valueToString(codDtip) + " and r.cod_anag = " + UtilityDB.valueToString(codAnag) - + " and r.num_doc = " + numDoc + " and r.ser_doc = " + UtilityDB.valueToString(serDoc) - + " and r.data_doc = " + UtilityDB.valueDateToString(dataDoc, CommonConstants.DATE_FORMAT_YMD) - + " and r.cod_mart = b.cod_style and r.cod_tagl = b.cod_tagl and r.cod_col = b.cod_col" - + " and r.num_ord = o.num_ord and r.data_ord = o.data_ord and r.riga_ord = o.riga_ord"; - PreparedStatement psTrack = multiDBTransactionManager.prepareStatement(sql); - ResultSet rsTrack = psTrack.executeQuery(); - ArrayNode listTrack = jsonObjectMapper.createArrayNode(); - while (rsTrack.next()) { - TrackingDTO dtoTracking = new TrackingDTO(); - dtoTracking.setVirtuemartOrderId(rifOrd); - dtoTracking.setVirtuemartProductSku(rsTrack.getString("cod_barre")); - dtoTracking.setOrderStatus(rsTrack.getString("flag_evaso")); - listTrack.addPOJO(dtoTracking); - } - rsTrack.close(); - psTrack.close(); - StringWriter out = new StringWriter(); - jsonObjectMapper.writeValue(out, listTrack); - String jsonBody = out.toString(); - - String database = settingsModel.getDefaultProfile(); - - String auth = RestUtil.generateAuth(database, database, "POST", jsonBody, - "application/json", properties.getRootApi() + EmsRestConstants.PATH_EXPORT_TRACKING_CQ); - - Client client = ClientBuilder.newClient(); - WebTarget resource = client.target(properties.getEndPointWS()).path( - properties.getRootApi() + EmsRestConstants.PATH_EXPORT_TRACKING_CQ); - Response responseEms = resource.queryParam(CommonConstants.PROFILE_DB, database) - .request().header("Authorization", database + ":" + auth) - .post(Entity.json(jsonBody)); - - String value = responseEms.readEntity(String.class); - ServiceRestResponse resp = jsonObjectMapper.readValue(value, ServiceRestResponse.class); - value = null; - if (resp.getEsito() == EsitoType.OK) { - String b64 = resp.getXml().getFileb64Content(); - String data = new String(Base64.decodeBase64(b64)); - File f = new File(folder + "/export/" + resp.getXml().getFileName()); - - FileWriter fw = new FileWriter(f, true); - BufferedWriter bw = new BufferedWriter(fw); - bw.write(data); - bw.close(); - fw.close(); - b64 = null; - data = null; - } - responseEms.close(); - client.close(); - - //update num vettura con track id - String update = "UPDATE dtb_doct SET dtb_doct.num_vettura=" + UtilityDB.valueToString(trackNumberId) - + " from vtb_vett, vtb_vett_lett " - + " where vtb_vett_lett.formato = 'BRT' AND dtb_doct.num_vettura = " + UtilityDB.valueToString(numVettura) + " AND dtb_doct.cod_vvet = vtb_vett.cod_vvet " - + " and vtb_vett.cod_lett_vett = vtb_vett_lett.cod_lett_vett"; - logger.debug(update); - PreparedStatement ps = multiDBTransactionManager.prepareStatement(update); - ps.executeUpdate(); - ps.close(); - } else if (codVage.equals(codVageAmazon)) { - //update num vettura con track id - String update = "UPDATE dtb_doct SET dtb_doct.num_vettura=" + UtilityDB.valueToString(trackNumberId) - + " from vtb_vett, vtb_vett_lett " - + " where vtb_vett_lett.formato = 'BRT' AND dtb_doct.num_vettura = " + UtilityDB.valueToString(numVettura) + " AND dtb_doct.cod_vvet = vtb_vett.cod_vvet " - + " and vtb_vett.cod_lett_vett = vtb_vett_lett.cod_lett_vett"; - logger.debug(update); - PreparedStatement ps = multiDBTransactionManager.prepareStatement(update); - int rowAffected = ps.executeUpdate(); - ps.close(); - //retrive amazon order id - if (rowAffected == 1) { - dto.setTrackNumberId(trackNumberId); - dto.setCarrierCode("Other"); - dto.setCarrierName("BRT"); - sql = "select rif_ord from dtb_doct where num_vettura = " + UtilityDB.valueToString(trackNumberId); - logger.debug(sql); - ps = multiDBTransactionManager.prepareStatement(sql); - ResultSet rs = ps.executeQuery(); - if (rs.next()) { - dto.setAmazonOrderId(rs.getString("rif_ord")); - list.add(dto); - } - multiDBTransactionManager.getPrimaryConnection().commit(); - } else if (rowAffected > 1) { - multiDBTransactionManager.getPrimaryConnection().rollback(); - } - } else { - - } - } - - // invio track id ad amazon - if (!list.isEmpty()) - orderImportFromAmazon.confirmOrders(list); - } - } - } - } - message.setFlag(Flags.Flag.SEEN, true); - } - if (inboxPop3 != null) - inboxPop3.close(true); - if (storePop != null) - storePop.close(); - - inbox.close(true); - store.close(); - } - response = new ServiceRestResponse(EsitoType.OK); - } catch (Exception e) { - logger.error(request.getRequestURI(), e); - response = new ServiceRestResponse(EsitoType.KO, configuration, e); - } - return response; - } - - @RequestMapping(value = EmsRestConstants.PATH_FEED_SUBMISSION_RESULT, method = RequestMethod.POST) - public @ResponseBody - ServiceRestResponse feedSubmissionResult(HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String configuration, - @RequestParam("feedSubmissionId") String feedSubmissionId) { - - ServiceRestResponse response; - try { - marketPlaceConfig.init(multiDBTransactionManager.getPrimaryConnection()); - orderImportFromAmazon.feedSubmissionResult(feedSubmissionId); - response = new ServiceRestResponse(EsitoType.OK); - } catch (Exception e) { - logger.error(request.getRequestURI(), e); - response = new ServiceRestResponse(EsitoType.KO, configuration, e); - } - - return response; - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AddressType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AddressType.java deleted file mode 100644 index 60a150b2fe..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AddressType.java +++ /dev/null @@ -1,455 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import java.util.ArrayList; -import java.util.List; - - -/** - *

Classe Java per AddressType complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="AddressType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="Name" type="{}String"/>
- *         <element name="FormalTitle" minOccurs="0">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
- *               <maxLength value="10"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="GivenName" type="{}String" minOccurs="0"/>
- *         <element name="FamilyName" type="{}String" minOccurs="0"/>
- *         <element name="AddressFieldOne" type="{}AddressLine"/>
- *         <element name="AddressFieldTwo" type="{}AddressLine" minOccurs="0"/>
- *         <element name="AddressFieldThree" type="{}AddressLine" minOccurs="0"/>
- *         <element name="City" type="{}String" minOccurs="0"/>
- *         <element name="County" type="{}String" minOccurs="0"/>
- *         <element name="StateOrRegion" type="{}String" minOccurs="0"/>
- *         <element name="PostalCode" type="{}String" minOccurs="0"/>
- *         <element name="CountryCode">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <minLength value="2"/>
- *               <maxLength value="2"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="PhoneNumber" type="{}PhoneNumberType" maxOccurs="3" minOccurs="0"/>
- *         <element name="isDefaultShipping" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="isDefaultBilling" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="isDefaultOneClick" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AddressType", propOrder = { - "name", - "formalTitle", - "givenName", - "familyName", - "addressFieldOne", - "addressFieldTwo", - "addressFieldThree", - "city", - "county", - "stateOrRegion", - "postalCode", - "countryCode", - "phoneNumber", - "isDefaultShipping", - "isDefaultBilling", - "isDefaultOneClick" -}) -public class AddressType { - - @XmlElement(name = "Name", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String name; - @XmlElement(name = "FormalTitle") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String formalTitle; - @XmlElement(name = "GivenName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String givenName; - @XmlElement(name = "FamilyName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String familyName; - @XmlElement(name = "AddressFieldOne", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String addressFieldOne; - @XmlElement(name = "AddressFieldTwo") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String addressFieldTwo; - @XmlElement(name = "AddressFieldThree") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String addressFieldThree; - @XmlElement(name = "City") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String city; - @XmlElement(name = "County") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String county; - @XmlElement(name = "StateOrRegion") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String stateOrRegion; - @XmlElement(name = "PostalCode") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String postalCode; - @XmlElement(name = "CountryCode", required = true) - protected String countryCode; - @XmlElement(name = "PhoneNumber") - protected List phoneNumber; - protected Boolean isDefaultShipping; - protected Boolean isDefaultBilling; - protected Boolean isDefaultOneClick; - - /** - * Recupera il valore della proprietà name. - * - * @return possible object is - * {@link String } - */ - public String getName() { - return name; - } - - /** - * Imposta il valore della proprietà name. - * - * @param value allowed object is - * {@link String } - */ - public void setName(String value) { - this.name = value; - } - - /** - * Recupera il valore della proprietà formalTitle. - * - * @return possible object is - * {@link String } - */ - public String getFormalTitle() { - return formalTitle; - } - - /** - * Imposta il valore della proprietà formalTitle. - * - * @param value allowed object is - * {@link String } - */ - public void setFormalTitle(String value) { - this.formalTitle = value; - } - - /** - * Recupera il valore della proprietà givenName. - * - * @return possible object is - * {@link String } - */ - public String getGivenName() { - return givenName; - } - - /** - * Imposta il valore della proprietà givenName. - * - * @param value allowed object is - * {@link String } - */ - public void setGivenName(String value) { - this.givenName = value; - } - - /** - * Recupera il valore della proprietà familyName. - * - * @return possible object is - * {@link String } - */ - public String getFamilyName() { - return familyName; - } - - /** - * Imposta il valore della proprietà familyName. - * - * @param value allowed object is - * {@link String } - */ - public void setFamilyName(String value) { - this.familyName = value; - } - - /** - * Recupera il valore della proprietà addressFieldOne. - * - * @return possible object is - * {@link String } - */ - public String getAddressFieldOne() { - return addressFieldOne; - } - - /** - * Imposta il valore della proprietà addressFieldOne. - * - * @param value allowed object is - * {@link String } - */ - public void setAddressFieldOne(String value) { - this.addressFieldOne = value; - } - - /** - * Recupera il valore della proprietà addressFieldTwo. - * - * @return possible object is - * {@link String } - */ - public String getAddressFieldTwo() { - return addressFieldTwo; - } - - /** - * Imposta il valore della proprietà addressFieldTwo. - * - * @param value allowed object is - * {@link String } - */ - public void setAddressFieldTwo(String value) { - this.addressFieldTwo = value; - } - - /** - * Recupera il valore della proprietà addressFieldThree. - * - * @return possible object is - * {@link String } - */ - public String getAddressFieldThree() { - return addressFieldThree; - } - - /** - * Imposta il valore della proprietà addressFieldThree. - * - * @param value allowed object is - * {@link String } - */ - public void setAddressFieldThree(String value) { - this.addressFieldThree = value; - } - - /** - * Recupera il valore della proprietà city. - * - * @return possible object is - * {@link String } - */ - public String getCity() { - return city; - } - - /** - * Imposta il valore della proprietà city. - * - * @param value allowed object is - * {@link String } - */ - public void setCity(String value) { - this.city = value; - } - - /** - * Recupera il valore della proprietà county. - * - * @return possible object is - * {@link String } - */ - public String getCounty() { - return county; - } - - /** - * Imposta il valore della proprietà county. - * - * @param value allowed object is - * {@link String } - */ - public void setCounty(String value) { - this.county = value; - } - - /** - * Recupera il valore della proprietà stateOrRegion. - * - * @return possible object is - * {@link String } - */ - public String getStateOrRegion() { - return stateOrRegion; - } - - /** - * Imposta il valore della proprietà stateOrRegion. - * - * @param value allowed object is - * {@link String } - */ - public void setStateOrRegion(String value) { - this.stateOrRegion = value; - } - - /** - * Recupera il valore della proprietà postalCode. - * - * @return possible object is - * {@link String } - */ - public String getPostalCode() { - return postalCode; - } - - /** - * Imposta il valore della proprietà postalCode. - * - * @param value allowed object is - * {@link String } - */ - public void setPostalCode(String value) { - this.postalCode = value; - } - - /** - * Recupera il valore della proprietà countryCode. - * - * @return possible object is - * {@link String } - */ - public String getCountryCode() { - return countryCode; - } - - /** - * Imposta il valore della proprietà countryCode. - * - * @param value allowed object is - * {@link String } - */ - public void setCountryCode(String value) { - this.countryCode = value; - } - - /** - * Gets the value of the phoneNumber property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the phoneNumber property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getPhoneNumber().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link PhoneNumberType } - */ - public List getPhoneNumber() { - if (phoneNumber == null) { - phoneNumber = new ArrayList(); - } - return this.phoneNumber; - } - - /** - * Recupera il valore della proprietà isDefaultShipping. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isIsDefaultShipping() { - return isDefaultShipping; - } - - /** - * Imposta il valore della proprietà isDefaultShipping. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setIsDefaultShipping(Boolean value) { - this.isDefaultShipping = value; - } - - /** - * Recupera il valore della proprietà isDefaultBilling. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isIsDefaultBilling() { - return isDefaultBilling; - } - - /** - * Imposta il valore della proprietà isDefaultBilling. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setIsDefaultBilling(Boolean value) { - this.isDefaultBilling = value; - } - - /** - * Recupera il valore della proprietà isDefaultOneClick. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isIsDefaultOneClick() { - return isDefaultOneClick; - } - - /** - * Imposta il valore della proprietà isDefaultOneClick. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setIsDefaultOneClick(Boolean value) { - this.isDefaultOneClick = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AddressTypeSupportNonCity.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AddressTypeSupportNonCity.java deleted file mode 100644 index a4e346e6b7..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AddressTypeSupportNonCity.java +++ /dev/null @@ -1,322 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Classe Java per AddressTypeSupportNonCity complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="AddressTypeSupportNonCity">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="Name" type="{}String"/>
- *         <element name="AddressFieldOne" type="{}AddressLine"/>
- *         <element name="AddressFieldTwo" type="{}AddressLine" minOccurs="0"/>
- *         <element name="AddressFieldThree" type="{}AddressLine" minOccurs="0"/>
- *         <element name="City" type="{}String" minOccurs="0"/>
- *         <element name="DistrictOrCounty" type="{}String" minOccurs="0"/>
- *         <element name="County" type="{}String" minOccurs="0"/>
- *         <element name="StateOrRegion" type="{}String" minOccurs="0"/>
- *         <element name="PostalCode" type="{}String" minOccurs="0"/>
- *         <element name="CountryCode">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <minLength value="2"/>
- *               <maxLength value="2"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="PhoneNumber" type="{}String" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AddressTypeSupportNonCity", propOrder = { - "name", - "addressFieldOne", - "addressFieldTwo", - "addressFieldThree", - "city", - "districtOrCounty", - "county", - "stateOrRegion", - "postalCode", - "countryCode", - "phoneNumber" -}) -public class AddressTypeSupportNonCity { - - @XmlElement(name = "Name", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String name; - @XmlElement(name = "AddressFieldOne", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String addressFieldOne; - @XmlElement(name = "AddressFieldTwo") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String addressFieldTwo; - @XmlElement(name = "AddressFieldThree") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String addressFieldThree; - @XmlElement(name = "City") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String city; - @XmlElement(name = "DistrictOrCounty") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String districtOrCounty; - @XmlElement(name = "County") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String county; - @XmlElement(name = "StateOrRegion") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String stateOrRegion; - @XmlElement(name = "PostalCode") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String postalCode; - @XmlElement(name = "CountryCode", required = true) - protected String countryCode; - @XmlElement(name = "PhoneNumber") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String phoneNumber; - - /** - * Recupera il valore della proprietà name. - * - * @return possible object is - * {@link String } - */ - public String getName() { - return name; - } - - /** - * Imposta il valore della proprietà name. - * - * @param value allowed object is - * {@link String } - */ - public void setName(String value) { - this.name = value; - } - - /** - * Recupera il valore della proprietà addressFieldOne. - * - * @return possible object is - * {@link String } - */ - public String getAddressFieldOne() { - return addressFieldOne; - } - - /** - * Imposta il valore della proprietà addressFieldOne. - * - * @param value allowed object is - * {@link String } - */ - public void setAddressFieldOne(String value) { - this.addressFieldOne = value; - } - - /** - * Recupera il valore della proprietà addressFieldTwo. - * - * @return possible object is - * {@link String } - */ - public String getAddressFieldTwo() { - return addressFieldTwo; - } - - /** - * Imposta il valore della proprietà addressFieldTwo. - * - * @param value allowed object is - * {@link String } - */ - public void setAddressFieldTwo(String value) { - this.addressFieldTwo = value; - } - - /** - * Recupera il valore della proprietà addressFieldThree. - * - * @return possible object is - * {@link String } - */ - public String getAddressFieldThree() { - return addressFieldThree; - } - - /** - * Imposta il valore della proprietà addressFieldThree. - * - * @param value allowed object is - * {@link String } - */ - public void setAddressFieldThree(String value) { - this.addressFieldThree = value; - } - - /** - * Recupera il valore della proprietà city. - * - * @return possible object is - * {@link String } - */ - public String getCity() { - return city; - } - - /** - * Imposta il valore della proprietà city. - * - * @param value allowed object is - * {@link String } - */ - public void setCity(String value) { - this.city = value; - } - - /** - * Recupera il valore della proprietà districtOrCounty. - * - * @return possible object is - * {@link String } - */ - public String getDistrictOrCounty() { - return districtOrCounty; - } - - /** - * Imposta il valore della proprietà districtOrCounty. - * - * @param value allowed object is - * {@link String } - */ - public void setDistrictOrCounty(String value) { - this.districtOrCounty = value; - } - - /** - * Recupera il valore della proprietà county. - * - * @return possible object is - * {@link String } - */ - public String getCounty() { - return county; - } - - /** - * Imposta il valore della proprietà county. - * - * @param value allowed object is - * {@link String } - */ - public void setCounty(String value) { - this.county = value; - } - - /** - * Recupera il valore della proprietà stateOrRegion. - * - * @return possible object is - * {@link String } - */ - public String getStateOrRegion() { - return stateOrRegion; - } - - /** - * Imposta il valore della proprietà stateOrRegion. - * - * @param value allowed object is - * {@link String } - */ - public void setStateOrRegion(String value) { - this.stateOrRegion = value; - } - - /** - * Recupera il valore della proprietà postalCode. - * - * @return possible object is - * {@link String } - */ - public String getPostalCode() { - return postalCode; - } - - /** - * Imposta il valore della proprietà postalCode. - * - * @param value allowed object is - * {@link String } - */ - public void setPostalCode(String value) { - this.postalCode = value; - } - - /** - * Recupera il valore della proprietà countryCode. - * - * @return possible object is - * {@link String } - */ - public String getCountryCode() { - return countryCode; - } - - /** - * Imposta il valore della proprietà countryCode. - * - * @param value allowed object is - * {@link String } - */ - public void setCountryCode(String value) { - this.countryCode = value; - } - - /** - * Recupera il valore della proprietà phoneNumber. - * - * @return possible object is - * {@link String } - */ - public String getPhoneNumber() { - return phoneNumber; - } - - /** - * Imposta il valore della proprietà phoneNumber. - * - * @param value allowed object is - * {@link String } - */ - public void setPhoneNumber(String value) { - this.phoneNumber = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AdjustmentBuyerPrice.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AdjustmentBuyerPrice.java deleted file mode 100644 index 79d108edc9..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AdjustmentBuyerPrice.java +++ /dev/null @@ -1,198 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import java.util.ArrayList; -import java.util.List; - - -/** - *

Classe Java per AdjustmentBuyerPrice complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="AdjustmentBuyerPrice">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="Component" maxOccurs="unbounded">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="Type">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="Principal"/>
- *                         <enumeration value="Shipping"/>
- *                         <enumeration value="Tax"/>
- *                         <enumeration value="ShippingTax"/>
- *                         <enumeration value="RestockingFee"/>
- *                         <enumeration value="RestockingFeeTax"/>
- *                         <enumeration value="GiftWrap"/>
- *                         <enumeration value="GiftWrapTax"/>
- *                         <enumeration value="Surcharge"/>
- *                         <enumeration value="ReturnShipping"/>
- *                         <enumeration value="Goodwill"/>
- *                         <enumeration value="ExportCharge"/>
- *                         <enumeration value="COD"/>
- *                         <enumeration value="CODTax"/>
- *                         <enumeration value="Other"/>
- *                         <enumeration value="FreeReplacementReturnShipping"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="Amount" type="{}AdjustmentCurrencyAmount"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AdjustmentBuyerPrice", propOrder = { - "component" -}) -public class AdjustmentBuyerPrice { - - @XmlElement(name = "Component", required = true) - protected List component; - - /** - * Gets the value of the component property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the component property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getComponent().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AdjustmentBuyerPrice.Component } - */ - public List getComponent() { - if (component == null) { - component = new ArrayList(); - } - return this.component; - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="Type">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="Principal"/>
-     *               <enumeration value="Shipping"/>
-     *               <enumeration value="Tax"/>
-     *               <enumeration value="ShippingTax"/>
-     *               <enumeration value="RestockingFee"/>
-     *               <enumeration value="RestockingFeeTax"/>
-     *               <enumeration value="GiftWrap"/>
-     *               <enumeration value="GiftWrapTax"/>
-     *               <enumeration value="Surcharge"/>
-     *               <enumeration value="ReturnShipping"/>
-     *               <enumeration value="Goodwill"/>
-     *               <enumeration value="ExportCharge"/>
-     *               <enumeration value="COD"/>
-     *               <enumeration value="CODTax"/>
-     *               <enumeration value="Other"/>
-     *               <enumeration value="FreeReplacementReturnShipping"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="Amount" type="{}AdjustmentCurrencyAmount"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "type", - "amount" - }) - public static class Component { - - @XmlElement(name = "Type", required = true) - protected String type; - @XmlElement(name = "Amount", required = true) - protected AdjustmentCurrencyAmount amount; - - /** - * Recupera il valore della proprietà type. - * - * @return possible object is - * {@link String } - */ - public String getType() { - return type; - } - - /** - * Imposta il valore della proprietà type. - * - * @param value allowed object is - * {@link String } - */ - public void setType(String value) { - this.type = value; - } - - /** - * Recupera il valore della proprietà amount. - * - * @return possible object is - * {@link AdjustmentCurrencyAmount } - */ - public AdjustmentCurrencyAmount getAmount() { - return amount; - } - - /** - * Imposta il valore della proprietà amount. - * - * @param value allowed object is - * {@link AdjustmentCurrencyAmount } - */ - public void setAmount(AdjustmentCurrencyAmount value) { - this.amount = value; - } - - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AdjustmentCurrencyAmount.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AdjustmentCurrencyAmount.java deleted file mode 100644 index 3920e92ecb..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AdjustmentCurrencyAmount.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per AdjustmentCurrencyAmount complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="AdjustmentCurrencyAmount">
- *   <simpleContent>
- *     <extension base="<>BaseCurrencyAmount">
- *       <attribute name="currency" type="{}BaseCurrencyCode" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AdjustmentCurrencyAmount", propOrder = { - "value" -}) -public class AdjustmentCurrencyAmount { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "currency") - protected BaseCurrencyCode currency; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà currency. - * - * @return possible object is - * {@link BaseCurrencyCode } - */ - public BaseCurrencyCode getCurrency() { - return currency; - } - - /** - * Imposta il valore della proprietà currency. - * - * @param value allowed object is - * {@link BaseCurrencyCode } - */ - public void setCurrency(BaseCurrencyCode value) { - this.currency = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AdjustmentDirectPaymentType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AdjustmentDirectPaymentType.java deleted file mode 100644 index f77ab6f507..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AdjustmentDirectPaymentType.java +++ /dev/null @@ -1,156 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import java.util.ArrayList; -import java.util.List; - - -/** - *

Classe Java per AdjustmentDirectPaymentType complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="AdjustmentDirectPaymentType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="Component" maxOccurs="unbounded">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *                   <element name="Amount" type="{}AdjustmentCurrencyAmount"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AdjustmentDirectPaymentType", propOrder = { - "component" -}) -public class AdjustmentDirectPaymentType { - - @XmlElement(name = "Component", required = true) - protected List component; - - /** - * Gets the value of the component property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the component property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getComponent().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AdjustmentDirectPaymentType.Component } - */ - public List getComponent() { - if (component == null) { - component = new ArrayList(); - } - return this.component; - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string"/>
-     *         <element name="Amount" type="{}AdjustmentCurrencyAmount"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "type", - "amount" - }) - public static class Component { - - @XmlElement(name = "Type", required = true) - protected String type; - @XmlElement(name = "Amount", required = true) - protected AdjustmentCurrencyAmount amount; - - /** - * Recupera il valore della proprietà type. - * - * @return possible object is - * {@link String } - */ - public String getType() { - return type; - } - - /** - * Imposta il valore della proprietà type. - * - * @param value allowed object is - * {@link String } - */ - public void setType(String value) { - this.type = value; - } - - /** - * Recupera il valore della proprietà amount. - * - * @return possible object is - * {@link AdjustmentCurrencyAmount } - */ - public AdjustmentCurrencyAmount getAmount() { - return amount; - } - - /** - * Imposta il valore della proprietà amount. - * - * @param value allowed object is - * {@link AdjustmentCurrencyAmount } - */ - public void setAmount(AdjustmentCurrencyAmount value) { - this.amount = value; - } - - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AgeRecommendation.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AgeRecommendation.java deleted file mode 100644 index c829720b61..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AgeRecommendation.java +++ /dev/null @@ -1,133 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="MinimumManufacturerAgeRecommended" type="{}MinimumAgeRecommendedDimension" minOccurs="0"/>
- *         <element name="MaximumManufacturerAgeRecommended" type="{}AgeRecommendedDimension" minOccurs="0"/>
- *         <element name="MinimumMerchantAgeRecommended" type="{}MinimumAgeRecommendedDimension" minOccurs="0"/>
- *         <element name="MaximumMerchantAgeRecommended" type="{}AgeRecommendedDimension" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "minimumManufacturerAgeRecommended", - "maximumManufacturerAgeRecommended", - "minimumMerchantAgeRecommended", - "maximumMerchantAgeRecommended" -}) -@XmlRootElement(name = "AgeRecommendation") -public class AgeRecommendation { - - @XmlElement(name = "MinimumManufacturerAgeRecommended") - protected MinimumAgeRecommendedDimension minimumManufacturerAgeRecommended; - @XmlElement(name = "MaximumManufacturerAgeRecommended") - protected AgeRecommendedDimension maximumManufacturerAgeRecommended; - @XmlElement(name = "MinimumMerchantAgeRecommended") - protected MinimumAgeRecommendedDimension minimumMerchantAgeRecommended; - @XmlElement(name = "MaximumMerchantAgeRecommended") - protected AgeRecommendedDimension maximumMerchantAgeRecommended; - - /** - * Recupera il valore della proprietà minimumManufacturerAgeRecommended. - * - * @return possible object is - * {@link MinimumAgeRecommendedDimension } - */ - public MinimumAgeRecommendedDimension getMinimumManufacturerAgeRecommended() { - return minimumManufacturerAgeRecommended; - } - - /** - * Imposta il valore della proprietà minimumManufacturerAgeRecommended. - * - * @param value allowed object is - * {@link MinimumAgeRecommendedDimension } - */ - public void setMinimumManufacturerAgeRecommended(MinimumAgeRecommendedDimension value) { - this.minimumManufacturerAgeRecommended = value; - } - - /** - * Recupera il valore della proprietà maximumManufacturerAgeRecommended. - * - * @return possible object is - * {@link AgeRecommendedDimension } - */ - public AgeRecommendedDimension getMaximumManufacturerAgeRecommended() { - return maximumManufacturerAgeRecommended; - } - - /** - * Imposta il valore della proprietà maximumManufacturerAgeRecommended. - * - * @param value allowed object is - * {@link AgeRecommendedDimension } - */ - public void setMaximumManufacturerAgeRecommended(AgeRecommendedDimension value) { - this.maximumManufacturerAgeRecommended = value; - } - - /** - * Recupera il valore della proprietà minimumMerchantAgeRecommended. - * - * @return possible object is - * {@link MinimumAgeRecommendedDimension } - */ - public MinimumAgeRecommendedDimension getMinimumMerchantAgeRecommended() { - return minimumMerchantAgeRecommended; - } - - /** - * Imposta il valore della proprietà minimumMerchantAgeRecommended. - * - * @param value allowed object is - * {@link MinimumAgeRecommendedDimension } - */ - public void setMinimumMerchantAgeRecommended(MinimumAgeRecommendedDimension value) { - this.minimumMerchantAgeRecommended = value; - } - - /** - * Recupera il valore della proprietà maximumMerchantAgeRecommended. - * - * @return possible object is - * {@link AgeRecommendedDimension } - */ - public AgeRecommendedDimension getMaximumMerchantAgeRecommended() { - return maximumMerchantAgeRecommended; - } - - /** - * Imposta il valore della proprietà maximumMerchantAgeRecommended. - * - * @param value allowed object is - * {@link AgeRecommendedDimension } - */ - public void setMaximumMerchantAgeRecommended(AgeRecommendedDimension value) { - this.maximumMerchantAgeRecommended = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AgeRecommendedDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AgeRecommendedDimension.java deleted file mode 100644 index a1d805f869..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AgeRecommendedDimension.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per AgeRecommendedDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="AgeRecommendedDimension">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
- *       <attribute name="unitOfMeasure" use="required" type="{}AgeRecommendedUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AgeRecommendedDimension", propOrder = { - "value" -}) -public class AgeRecommendedDimension { - - @XmlValue - @XmlSchemaType(name = "positiveInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected AgeRecommendedUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link AgeRecommendedUnitOfMeasure } - */ - public AgeRecommendedUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link AgeRecommendedUnitOfMeasure } - */ - public void setUnitOfMeasure(AgeRecommendedUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AgeRecommendedUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AgeRecommendedUnitOfMeasure.java deleted file mode 100644 index 0589f4ad7c..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AgeRecommendedUnitOfMeasure.java +++ /dev/null @@ -1,57 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per AgeRecommendedUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="AgeRecommendedUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="months"/>
- *     <enumeration value="years"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "AgeRecommendedUnitOfMeasure") -@XmlEnum -public enum AgeRecommendedUnitOfMeasure { - - @XmlEnumValue("months") - MONTHS("months"), - @XmlEnumValue("years") - YEARS("years"); - private final String value; - - AgeRecommendedUnitOfMeasure(String v) { - value = v; - } - - public static AgeRecommendedUnitOfMeasure fromValue(String v) { - for (AgeRecommendedUnitOfMeasure c : AgeRecommendedUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AirFlowDisplacementDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AirFlowDisplacementDimension.java deleted file mode 100644 index 245d2a2ede..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AirFlowDisplacementDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per AirFlowDisplacementDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="AirFlowDisplacementDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" type="{}AirFlowDisplacementUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AirFlowDisplacementDimension", propOrder = { - "value" -}) -public class AirFlowDisplacementDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure") - protected AirFlowDisplacementUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link AirFlowDisplacementUnitOfMeasure } - */ - public AirFlowDisplacementUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link AirFlowDisplacementUnitOfMeasure } - */ - public void setUnitOfMeasure(AirFlowDisplacementUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AirFlowDisplacementUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AirFlowDisplacementUnitOfMeasure.java deleted file mode 100644 index bbab6063a1..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AirFlowDisplacementUnitOfMeasure.java +++ /dev/null @@ -1,57 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per AirFlowDisplacementUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="AirFlowDisplacementUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="cubic_feet_per_minute"/>
- *     <enumeration value="cubic_feet_per_hour"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "AirFlowDisplacementUnitOfMeasure") -@XmlEnum -public enum AirFlowDisplacementUnitOfMeasure { - - @XmlEnumValue("cubic_feet_per_minute") - CUBIC_FEET_PER_MINUTE("cubic_feet_per_minute"), - @XmlEnumValue("cubic_feet_per_hour") - CUBIC_FEET_PER_HOUR("cubic_feet_per_hour"); - private final String value; - - AirFlowDisplacementUnitOfMeasure(String v) { - value = v; - } - - public static AirFlowDisplacementUnitOfMeasure fromValue(String v) { - for (AirFlowDisplacementUnitOfMeasure c : AirFlowDisplacementUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AlcoholContentDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AlcoholContentDimension.java deleted file mode 100644 index 3850a1d6a3..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AlcoholContentDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per AlcoholContentDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="AlcoholContentDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}AlcoholContentUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AlcoholContentDimension", propOrder = { - "value" -}) -public class AlcoholContentDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected AlcoholContentUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link AlcoholContentUnitOfMeasure } - */ - public AlcoholContentUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link AlcoholContentUnitOfMeasure } - */ - public void setUnitOfMeasure(AlcoholContentUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AlcoholContentUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AlcoholContentUnitOfMeasure.java deleted file mode 100644 index 797185039a..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AlcoholContentUnitOfMeasure.java +++ /dev/null @@ -1,60 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per AlcoholContentUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="AlcoholContentUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="percent_by_volume"/>
- *     <enumeration value="percent_by_weight"/>
- *     <enumeration value="unit_of_alcohol"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "AlcoholContentUnitOfMeasure") -@XmlEnum -public enum AlcoholContentUnitOfMeasure { - - @XmlEnumValue("percent_by_volume") - PERCENT_BY_VOLUME("percent_by_volume"), - @XmlEnumValue("percent_by_weight") - PERCENT_BY_WEIGHT("percent_by_weight"), - @XmlEnumValue("unit_of_alcohol") - UNIT_OF_ALCOHOL("unit_of_alcohol"); - private final String value; - - AlcoholContentUnitOfMeasure(String v) { - value = v; - } - - public static AlcoholContentUnitOfMeasure fromValue(String v) { - for (AlcoholContentUnitOfMeasure c : AlcoholContentUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AllergenInformationType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AllergenInformationType.java deleted file mode 100644 index a4d78ce40c..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AllergenInformationType.java +++ /dev/null @@ -1,279 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per AllergenInformationType. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="AllergenInformationType">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="abalone"/>
- *     <enumeration value="abalone_free"/>
- *     <enumeration value="amberjack"/>
- *     <enumeration value="amberjack_free"/>
- *     <enumeration value="apple"/>
- *     <enumeration value="apple_free"/>
- *     <enumeration value="banana"/>
- *     <enumeration value="banana_free"/>
- *     <enumeration value="barley"/>
- *     <enumeration value="barley_free"/>
- *     <enumeration value="beef"/>
- *     <enumeration value="beef_free"/>
- *     <enumeration value="buckwheat"/>
- *     <enumeration value="buckwheat_free"/>
- *     <enumeration value="celery"/>
- *     <enumeration value="celery_free"/>
- *     <enumeration value="chicken_meat"/>
- *     <enumeration value="chicken_meat_free"/>
- *     <enumeration value="codfish"/>
- *     <enumeration value="codfish_free"/>
- *     <enumeration value="crab"/>
- *     <enumeration value="crab_free"/>
- *     <enumeration value="dairy"/>
- *     <enumeration value="dairy_free"/>
- *     <enumeration value="eggs"/>
- *     <enumeration value="egg_free"/>
- *     <enumeration value="fish"/>
- *     <enumeration value="fish_free"/>
- *     <enumeration value="gelatin"/>
- *     <enumeration value="gelatin_free"/>
- *     <enumeration value="gluten"/>
- *     <enumeration value="gluten_free"/>
- *     <enumeration value="kiwi"/>
- *     <enumeration value="kiwi_free"/>
- *     <enumeration value="mackerel"/>
- *     <enumeration value="mackerel_free"/>
- *     <enumeration value="melon"/>
- *     <enumeration value="melon_free"/>
- *     <enumeration value="mushroom"/>
- *     <enumeration value="mushroom_free"/>
- *     <enumeration value="octopus"/>
- *     <enumeration value="octopus_free"/>
- *     <enumeration value="orange"/>
- *     <enumeration value="orange_free"/>
- *     <enumeration value="peach"/>
- *     <enumeration value="peach_free"/>
- *     <enumeration value="peanuts"/>
- *     <enumeration value="peanut_free"/>
- *     <enumeration value="pork"/>
- *     <enumeration value="pork_free"/>
- *     <enumeration value="salmon"/>
- *     <enumeration value="salmon_free"/>
- *     <enumeration value="salmon_roe"/>
- *     <enumeration value="salmon_roe_free"/>
- *     <enumeration value="scad"/>
- *     <enumeration value="scad_free"/>
- *     <enumeration value="scallop"/>
- *     <enumeration value="scallop_free"/>
- *     <enumeration value="sesame_seeds"/>
- *     <enumeration value="sesame_seeds_free"/>
- *     <enumeration value="shellfish"/>
- *     <enumeration value="shellfish_free"/>
- *     <enumeration value="shrimp"/>
- *     <enumeration value="shrimp_free"/>
- *     <enumeration value="soy"/>
- *     <enumeration value="soy_free"/>
- *     <enumeration value="squid"/>
- *     <enumeration value="squid_free"/>
- *     <enumeration value="tree_nuts"/>
- *     <enumeration value="tree_nut_free"/>
- *     <enumeration value="tuna"/>
- *     <enumeration value="tuna_free"/>
- *     <enumeration value="walnut"/>
- *     <enumeration value="walnut_free"/>
- *     <enumeration value="yam"/>
- *     <enumeration value="yam_free"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "AllergenInformationType") -@XmlEnum -public enum AllergenInformationType { - - @XmlEnumValue("abalone") - ABALONE("abalone"), - @XmlEnumValue("abalone_free") - ABALONE_FREE("abalone_free"), - @XmlEnumValue("amberjack") - AMBERJACK("amberjack"), - @XmlEnumValue("amberjack_free") - AMBERJACK_FREE("amberjack_free"), - @XmlEnumValue("apple") - APPLE("apple"), - @XmlEnumValue("apple_free") - APPLE_FREE("apple_free"), - @XmlEnumValue("banana") - BANANA("banana"), - @XmlEnumValue("banana_free") - BANANA_FREE("banana_free"), - @XmlEnumValue("barley") - BARLEY("barley"), - @XmlEnumValue("barley_free") - BARLEY_FREE("barley_free"), - @XmlEnumValue("beef") - BEEF("beef"), - @XmlEnumValue("beef_free") - BEEF_FREE("beef_free"), - @XmlEnumValue("buckwheat") - BUCKWHEAT("buckwheat"), - @XmlEnumValue("buckwheat_free") - BUCKWHEAT_FREE("buckwheat_free"), - @XmlEnumValue("celery") - CELERY("celery"), - @XmlEnumValue("celery_free") - CELERY_FREE("celery_free"), - @XmlEnumValue("chicken_meat") - CHICKEN_MEAT("chicken_meat"), - @XmlEnumValue("chicken_meat_free") - CHICKEN_MEAT_FREE("chicken_meat_free"), - @XmlEnumValue("codfish") - CODFISH("codfish"), - @XmlEnumValue("codfish_free") - CODFISH_FREE("codfish_free"), - @XmlEnumValue("crab") - CRAB("crab"), - @XmlEnumValue("crab_free") - CRAB_FREE("crab_free"), - @XmlEnumValue("dairy") - DAIRY("dairy"), - @XmlEnumValue("dairy_free") - DAIRY_FREE("dairy_free"), - @XmlEnumValue("eggs") - EGGS("eggs"), - @XmlEnumValue("egg_free") - EGG_FREE("egg_free"), - @XmlEnumValue("fish") - FISH("fish"), - @XmlEnumValue("fish_free") - FISH_FREE("fish_free"), - @XmlEnumValue("gelatin") - GELATIN("gelatin"), - @XmlEnumValue("gelatin_free") - GELATIN_FREE("gelatin_free"), - @XmlEnumValue("gluten") - GLUTEN("gluten"), - @XmlEnumValue("gluten_free") - GLUTEN_FREE("gluten_free"), - @XmlEnumValue("kiwi") - KIWI("kiwi"), - @XmlEnumValue("kiwi_free") - KIWI_FREE("kiwi_free"), - @XmlEnumValue("mackerel") - MACKEREL("mackerel"), - @XmlEnumValue("mackerel_free") - MACKEREL_FREE("mackerel_free"), - @XmlEnumValue("melon") - MELON("melon"), - @XmlEnumValue("melon_free") - MELON_FREE("melon_free"), - @XmlEnumValue("mushroom") - MUSHROOM("mushroom"), - @XmlEnumValue("mushroom_free") - MUSHROOM_FREE("mushroom_free"), - @XmlEnumValue("octopus") - OCTOPUS("octopus"), - @XmlEnumValue("octopus_free") - OCTOPUS_FREE("octopus_free"), - @XmlEnumValue("orange") - ORANGE("orange"), - @XmlEnumValue("orange_free") - ORANGE_FREE("orange_free"), - @XmlEnumValue("peach") - PEACH("peach"), - @XmlEnumValue("peach_free") - PEACH_FREE("peach_free"), - @XmlEnumValue("peanuts") - PEANUTS("peanuts"), - @XmlEnumValue("peanut_free") - PEANUT_FREE("peanut_free"), - @XmlEnumValue("pork") - PORK("pork"), - @XmlEnumValue("pork_free") - PORK_FREE("pork_free"), - @XmlEnumValue("salmon") - SALMON("salmon"), - @XmlEnumValue("salmon_free") - SALMON_FREE("salmon_free"), - @XmlEnumValue("salmon_roe") - SALMON_ROE("salmon_roe"), - @XmlEnumValue("salmon_roe_free") - SALMON_ROE_FREE("salmon_roe_free"), - @XmlEnumValue("scad") - SCAD("scad"), - @XmlEnumValue("scad_free") - SCAD_FREE("scad_free"), - @XmlEnumValue("scallop") - SCALLOP("scallop"), - @XmlEnumValue("scallop_free") - SCALLOP_FREE("scallop_free"), - @XmlEnumValue("sesame_seeds") - SESAME_SEEDS("sesame_seeds"), - @XmlEnumValue("sesame_seeds_free") - SESAME_SEEDS_FREE("sesame_seeds_free"), - @XmlEnumValue("shellfish") - SHELLFISH("shellfish"), - @XmlEnumValue("shellfish_free") - SHELLFISH_FREE("shellfish_free"), - @XmlEnumValue("shrimp") - SHRIMP("shrimp"), - @XmlEnumValue("shrimp_free") - SHRIMP_FREE("shrimp_free"), - @XmlEnumValue("soy") - SOY("soy"), - @XmlEnumValue("soy_free") - SOY_FREE("soy_free"), - @XmlEnumValue("squid") - SQUID("squid"), - @XmlEnumValue("squid_free") - SQUID_FREE("squid_free"), - @XmlEnumValue("tree_nuts") - TREE_NUTS("tree_nuts"), - @XmlEnumValue("tree_nut_free") - TREE_NUT_FREE("tree_nut_free"), - @XmlEnumValue("tuna") - TUNA("tuna"), - @XmlEnumValue("tuna_free") - TUNA_FREE("tuna_free"), - @XmlEnumValue("walnut") - WALNUT("walnut"), - @XmlEnumValue("walnut_free") - WALNUT_FREE("walnut_free"), - @XmlEnumValue("yam") - YAM("yam"), - @XmlEnumValue("yam_free") - YAM_FREE("yam_free"); - private final String value; - - AllergenInformationType(String v) { - value = v; - } - - public static AllergenInformationType fromValue(String v) { - for (AllergenInformationType c : AllergenInformationType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AmazonEnvelope.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AmazonEnvelope.java deleted file mode 100644 index d1aa1a2804..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AmazonEnvelope.java +++ /dev/null @@ -1,542 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import javax.xml.datatype.XMLGregorianCalendar; -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.List; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element ref="{}Header"/>
- *         <element name="MessageType">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <enumeration value="Inventory"/>
- *               <enumeration value="OrderAcknowledgement"/>
- *               <enumeration value="OrderAdjustment"/>
- *               <enumeration value="OrderFulfillment"/>
- *               <enumeration value="Override"/>
- *               <enumeration value="Price"/>
- *               <enumeration value="Product"/>
- *               <enumeration value="ProductImage"/>
- *               <enumeration value="Relationship"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element ref="{}MarketplaceName" minOccurs="0"/>
- *         <element name="PurgeAndReplace" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="EffectiveDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
- *         <element name="Message" maxOccurs="unbounded">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="MessageID" type="{}IDNumber"/>
- *                   <element name="OperationType" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="Update"/>
- *                         <enumeration value="Delete"/>
- *                         <enumeration value="PartialUpdate"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <choice>
- *                     <element ref="{}Inventory"/>
- *                     <element ref="{}OrderAcknowledgement"/>
- *                     <element ref="{}OrderAdjustment"/>
- *                     <element ref="{}OrderFulfillment"/>
- *                     <element ref="{}Override"/>
- *                     <element ref="{}Price"/>
- *                     <element ref="{}Product"/>
- *                     <element ref="{}ProductImage"/>
- *                     <element ref="{}Relationship"/>
- *                   </choice>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "header", - "messageType", - "marketplaceName", - "purgeAndReplace", - "effectiveDate", - "message" -}) -@XmlRootElement(name = "AmazonEnvelope") -public class AmazonEnvelope { - - @XmlElement(name = "Header", required = true) - protected Header header; - @XmlElement(name = "MessageType", required = true) - protected String messageType; - @XmlElement(name = "MarketplaceName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String marketplaceName; - @XmlElement(name = "PurgeAndReplace") - protected Boolean purgeAndReplace; - @XmlElement(name = "EffectiveDate") - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar effectiveDate; - @XmlElement(name = "Message", required = true) - protected List message; - - /** - * Recupera il valore della proprietà header. - * - * @return possible object is - * {@link Header } - */ - public Header getHeader() { - return header; - } - - /** - * Imposta il valore della proprietà header. - * - * @param value allowed object is - * {@link Header } - */ - public void setHeader(Header value) { - this.header = value; - } - - /** - * Recupera il valore della proprietà messageType. - * - * @return possible object is - * {@link String } - */ - public String getMessageType() { - return messageType; - } - - /** - * Imposta il valore della proprietà messageType. - * - * @param value allowed object is - * {@link String } - */ - public void setMessageType(String value) { - this.messageType = value; - } - - /** - * The MarketplaceName is only supported for - * Override feeds. - * If included here, the MarketplaceName will - * apply to all messages in the feed. - * - * @return possible object is - * {@link String } - */ - public String getMarketplaceName() { - return marketplaceName; - } - - /** - * Imposta il valore della proprietà marketplaceName. - * - * @param value allowed object is - * {@link String } - */ - public void setMarketplaceName(String value) { - this.marketplaceName = value; - } - - /** - * Recupera il valore della proprietà purgeAndReplace. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isPurgeAndReplace() { - return purgeAndReplace; - } - - /** - * Imposta il valore della proprietà purgeAndReplace. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setPurgeAndReplace(Boolean value) { - this.purgeAndReplace = value; - } - - /** - * Recupera il valore della proprietà effectiveDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getEffectiveDate() { - return effectiveDate; - } - - /** - * Imposta il valore della proprietà effectiveDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setEffectiveDate(XMLGregorianCalendar value) { - this.effectiveDate = value; - } - - /** - * Gets the value of the message property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the message property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getMessage().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmazonEnvelope.Message } - */ - public List getMessage() { - if (message == null) { - message = new ArrayList(); - } - return this.message; - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="MessageID" type="{}IDNumber"/>
-     *         <element name="OperationType" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="Update"/>
-     *               <enumeration value="Delete"/>
-     *               <enumeration value="PartialUpdate"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <choice>
-     *           <element ref="{}Inventory"/>
-     *           <element ref="{}OrderAcknowledgement"/>
-     *           <element ref="{}OrderAdjustment"/>
-     *           <element ref="{}OrderFulfillment"/>
-     *           <element ref="{}Override"/>
-     *           <element ref="{}Price"/>
-     *           <element ref="{}Product"/>
-     *           <element ref="{}ProductImage"/>
-     *           <element ref="{}Relationship"/>
-     *         </choice>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "messageID", - "operationType", - "inventory", - "orderAcknowledgement", - "orderAdjustment", - "orderFulfillment", - "override", - "price", - "product", - "productImage", - "relationship" - }) - public static class Message { - - @XmlElement(name = "MessageID", required = true) - protected BigInteger messageID; - @XmlElement(name = "OperationType") - protected String operationType; - @XmlElement(name = "Inventory") - protected Inventory inventory; - @XmlElement(name = "OrderAcknowledgement") - protected OrderAcknowledgement orderAcknowledgement; - @XmlElement(name = "OrderAdjustment") - protected OrderAdjustment orderAdjustment; - @XmlElement(name = "OrderFulfillment") - protected OrderFulfillment orderFulfillment; - @XmlElement(name = "Override") - protected Override override; - @XmlElement(name = "Price") - protected Price price; - @XmlElement(name = "Product") - protected Product product; - @XmlElement(name = "ProductImage") - protected ProductImage productImage; - @XmlElement(name = "Relationship") - protected Relationship relationship; - - /** - * Recupera il valore della proprietà messageID. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getMessageID() { - return messageID; - } - - /** - * Imposta il valore della proprietà messageID. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setMessageID(BigInteger value) { - this.messageID = value; - } - - /** - * Recupera il valore della proprietà operationType. - * - * @return possible object is - * {@link String } - */ - public String getOperationType() { - return operationType; - } - - /** - * Imposta il valore della proprietà operationType. - * - * @param value allowed object is - * {@link String } - */ - public void setOperationType(String value) { - this.operationType = value; - } - - /** - * Recupera il valore della proprietà inventory. - * - * @return possible object is - * {@link Inventory } - */ - public Inventory getInventory() { - return inventory; - } - - /** - * Imposta il valore della proprietà inventory. - * - * @param value allowed object is - * {@link Inventory } - */ - public void setInventory(Inventory value) { - this.inventory = value; - } - - /** - * Recupera il valore della proprietà orderAcknowledgement. - * - * @return possible object is - * {@link OrderAcknowledgement } - */ - public OrderAcknowledgement getOrderAcknowledgement() { - return orderAcknowledgement; - } - - /** - * Imposta il valore della proprietà orderAcknowledgement. - * - * @param value allowed object is - * {@link OrderAcknowledgement } - */ - public void setOrderAcknowledgement(OrderAcknowledgement value) { - this.orderAcknowledgement = value; - } - - /** - * Recupera il valore della proprietà orderAdjustment. - * - * @return possible object is - * {@link OrderAdjustment } - */ - public OrderAdjustment getOrderAdjustment() { - return orderAdjustment; - } - - /** - * Imposta il valore della proprietà orderAdjustment. - * - * @param value allowed object is - * {@link OrderAdjustment } - */ - public void setOrderAdjustment(OrderAdjustment value) { - this.orderAdjustment = value; - } - - /** - * Recupera il valore della proprietà orderFulfillment. - * - * @return possible object is - * {@link OrderFulfillment } - */ - public OrderFulfillment getOrderFulfillment() { - return orderFulfillment; - } - - /** - * Imposta il valore della proprietà orderFulfillment. - * - * @param value allowed object is - * {@link OrderFulfillment } - */ - public void setOrderFulfillment(OrderFulfillment value) { - this.orderFulfillment = value; - } - - /** - * Recupera il valore della proprietà override. - * - * @return possible object is - * {@link Override } - */ - public Override getOverride() { - return override; - } - - /** - * Imposta il valore della proprietà override. - * - * @param value allowed object is - * {@link Override } - */ - public void setOverride(Override value) { - this.override = value; - } - - /** - * Recupera il valore della proprietà price. - * - * @return possible object is - * {@link Price } - */ - public Price getPrice() { - return price; - } - - /** - * Imposta il valore della proprietà price. - * - * @param value allowed object is - * {@link Price } - */ - public void setPrice(Price value) { - this.price = value; - } - - /** - * Recupera il valore della proprietà product. - * - * @return possible object is - * {@link Product } - */ - public Product getProduct() { - return product; - } - - /** - * Imposta il valore della proprietà product. - * - * @param value allowed object is - * {@link Product } - */ - public void setProduct(Product value) { - this.product = value; - } - - /** - * Recupera il valore della proprietà productImage. - * - * @return possible object is - * {@link ProductImage } - */ - public ProductImage getProductImage() { - return productImage; - } - - /** - * Imposta il valore della proprietà productImage. - * - * @param value allowed object is - * {@link ProductImage } - */ - public void setProductImage(ProductImage value) { - this.productImage = value; - } - - /** - * Recupera il valore della proprietà relationship. - * - * @return possible object is - * {@link Relationship } - */ - public Relationship getRelationship() { - return relationship; - } - - /** - * Imposta il valore della proprietà relationship. - * - * @param value allowed object is - * {@link Relationship } - */ - public void setRelationship(Relationship value) { - this.relationship = value; - } - - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AmazonFees.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AmazonFees.java deleted file mode 100644 index 782a0e542a..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AmazonFees.java +++ /dev/null @@ -1,166 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import java.util.ArrayList; -import java.util.List; - - -/** - *

Classe Java per AmazonFees complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="AmazonFees">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="Fee" maxOccurs="unbounded">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="Type">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="Amount" type="{}CurrencyAmount"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AmazonFees", propOrder = { - "fee" -}) -public class AmazonFees { - - @XmlElement(name = "Fee", required = true) - protected List fee; - - /** - * Gets the value of the fee property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the fee property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getFee().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AmazonFees.Fee } - */ - public List getFee() { - if (fee == null) { - fee = new ArrayList(); - } - return this.fee; - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="Type">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="Amount" type="{}CurrencyAmount"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "type", - "amount" - }) - public static class Fee { - - @XmlElement(name = "Type", required = true) - protected String type; - @XmlElement(name = "Amount", required = true) - protected CurrencyAmount amount; - - /** - * Recupera il valore della proprietà type. - * - * @return possible object is - * {@link String } - */ - public String getType() { - return type; - } - - /** - * Imposta il valore della proprietà type. - * - * @param value allowed object is - * {@link String } - */ - public void setType(String value) { - this.type = value; - } - - /** - * Recupera il valore della proprietà amount. - * - * @return possible object is - * {@link CurrencyAmount } - */ - public CurrencyAmount getAmount() { - return amount; - } - - /** - * Imposta il valore della proprietà amount. - * - * @param value allowed object is - * {@link CurrencyAmount } - */ - public void setAmount(CurrencyAmount value) { - this.amount = value; - } - - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AmazonMaturityRatingType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AmazonMaturityRatingType.java deleted file mode 100644 index aef57d0a1f..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AmazonMaturityRatingType.java +++ /dev/null @@ -1,72 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per AmazonMaturityRatingType. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="AmazonMaturityRatingType">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="adult_content"/>
- *     <enumeration value="ages_13_and_older"/>
- *     <enumeration value="ages_17_and_older"/>
- *     <enumeration value="ages_9_and_older"/>
- *     <enumeration value="all_ages"/>
- *     <enumeration value="children"/>
- *     <enumeration value="rating_pending"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "AmazonMaturityRatingType") -@XmlEnum -public enum AmazonMaturityRatingType { - - @XmlEnumValue("adult_content") - ADULT_CONTENT("adult_content"), - @XmlEnumValue("ages_13_and_older") - AGES_13_AND_OLDER("ages_13_and_older"), - @XmlEnumValue("ages_17_and_older") - AGES_17_AND_OLDER("ages_17_and_older"), - @XmlEnumValue("ages_9_and_older") - AGES_9_AND_OLDER("ages_9_and_older"), - @XmlEnumValue("all_ages") - ALL_AGES("all_ages"), - @XmlEnumValue("children") - CHILDREN("children"), - @XmlEnumValue("rating_pending") - RATING_PENDING("rating_pending"); - private final String value; - - AmazonMaturityRatingType(String v) { - value = v; - } - - public static AmazonMaturityRatingType fromValue(String v) { - for (AmazonMaturityRatingType c : AmazonMaturityRatingType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AmperageDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AmperageDimension.java deleted file mode 100644 index 692c8e4fce..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AmperageDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per AmperageDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="AmperageDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}AmperageUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AmperageDimension", propOrder = { - "value" -}) -public class AmperageDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected AmperageUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link AmperageUnitOfMeasure } - */ - public AmperageUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link AmperageUnitOfMeasure } - */ - public void setUnitOfMeasure(AmperageUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AmperageUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AmperageUnitOfMeasure.java deleted file mode 100644 index 9ae3569bb4..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AmperageUnitOfMeasure.java +++ /dev/null @@ -1,69 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per AmperageUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="AmperageUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="amps"/>
- *     <enumeration value="kiloamps"/>
- *     <enumeration value="microamps"/>
- *     <enumeration value="milliamps"/>
- *     <enumeration value="nanoamps"/>
- *     <enumeration value="picoamps"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "AmperageUnitOfMeasure") -@XmlEnum -public enum AmperageUnitOfMeasure { - - @XmlEnumValue("amps") - AMPS("amps"), - @XmlEnumValue("kiloamps") - KILOAMPS("kiloamps"), - @XmlEnumValue("microamps") - MICROAMPS("microamps"), - @XmlEnumValue("milliamps") - MILLIAMPS("milliamps"), - @XmlEnumValue("nanoamps") - NANOAMPS("nanoamps"), - @XmlEnumValue("picoamps") - PICOAMPS("picoamps"); - private final String value; - - AmperageUnitOfMeasure(String v) { - value = v; - } - - public static AmperageUnitOfMeasure fromValue(String v) { - for (AmperageUnitOfMeasure c : AmperageUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AntennaTypeValues.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AntennaTypeValues.java deleted file mode 100644 index b77770e41f..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AntennaTypeValues.java +++ /dev/null @@ -1,60 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per AntennaTypeValues. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="AntennaTypeValues">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="fixed"/>
- *     <enumeration value="internal"/>
- *     <enumeration value="retractable"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "AntennaTypeValues") -@XmlEnum -public enum AntennaTypeValues { - - @XmlEnumValue("fixed") - FIXED("fixed"), - @XmlEnumValue("internal") - INTERNAL("internal"), - @XmlEnumValue("retractable") - RETRACTABLE("retractable"); - private final String value; - - AntennaTypeValues(String v) { - value = v; - } - - public static AntennaTypeValues fromValue(String v) { - for (AntennaTypeValues c : AntennaTypeValues.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ApertureDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ApertureDimension.java deleted file mode 100644 index d3fe6dbd96..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ApertureDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per ApertureDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="ApertureDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}ApertureUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ApertureDimension", propOrder = { - "value" -}) -public class ApertureDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected ApertureUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link ApertureUnitOfMeasure } - */ - public ApertureUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link ApertureUnitOfMeasure } - */ - public void setUnitOfMeasure(ApertureUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ApertureUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ApertureUnitOfMeasure.java deleted file mode 100644 index 088261d33f..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ApertureUnitOfMeasure.java +++ /dev/null @@ -1,54 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per ApertureUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="ApertureUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="f"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "ApertureUnitOfMeasure") -@XmlEnum -public enum ApertureUnitOfMeasure { - - @XmlEnumValue("f") - F("f"); - private final String value; - - ApertureUnitOfMeasure(String v) { - value = v; - } - - public static ApertureUnitOfMeasure fromValue(String v) { - for (ApertureUnitOfMeasure c : ApertureUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AreaDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AreaDimension.java deleted file mode 100644 index 3c57c96fcf..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AreaDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per AreaDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="AreaDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}AreaUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AreaDimension", propOrder = { - "value" -}) -public class AreaDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected AreaUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link AreaUnitOfMeasure } - */ - public AreaUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link AreaUnitOfMeasure } - */ - public void setUnitOfMeasure(AreaUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AreaDimensionOptionalUnit.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AreaDimensionOptionalUnit.java deleted file mode 100644 index 9c0c7df40e..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AreaDimensionOptionalUnit.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per AreaDimensionOptionalUnit complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="AreaDimensionOptionalUnit">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" type="{}AreaUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AreaDimensionOptionalUnit", propOrder = { - "value" -}) -public class AreaDimensionOptionalUnit { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure") - protected AreaUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link AreaUnitOfMeasure } - */ - public AreaUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link AreaUnitOfMeasure } - */ - public void setUnitOfMeasure(AreaUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AreaUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AreaUnitOfMeasure.java deleted file mode 100644 index 7f4b07031f..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AreaUnitOfMeasure.java +++ /dev/null @@ -1,63 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per AreaUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="AreaUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="square-in"/>
- *     <enumeration value="square-ft"/>
- *     <enumeration value="square-cm"/>
- *     <enumeration value="square-m"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "AreaUnitOfMeasure") -@XmlEnum -public enum AreaUnitOfMeasure { - - @XmlEnumValue("square-in") - SQUARE_IN("square-in"), - @XmlEnumValue("square-ft") - SQUARE_FT("square-ft"), - @XmlEnumValue("square-cm") - SQUARE_CM("square-cm"), - @XmlEnumValue("square-m") - SQUARE_M("square-m"); - private final String value; - - AreaUnitOfMeasure(String v) { - value = v; - } - - public static AreaUnitOfMeasure fromValue(String v) { - for (AreaUnitOfMeasure c : AreaUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AssemblyTimeDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AssemblyTimeDimension.java deleted file mode 100644 index 90f8d7c134..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AssemblyTimeDimension.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per AssemblyTimeDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="AssemblyTimeDimension">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
- *       <attribute name="unitOfMeasure" use="required" type="{}AssemblyTimeUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "AssemblyTimeDimension", propOrder = { - "value" -}) -public class AssemblyTimeDimension { - - @XmlValue - @XmlSchemaType(name = "positiveInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected AssemblyTimeUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link AssemblyTimeUnitOfMeasure } - */ - public AssemblyTimeUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link AssemblyTimeUnitOfMeasure } - */ - public void setUnitOfMeasure(AssemblyTimeUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AssemblyTimeUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AssemblyTimeUnitOfMeasure.java deleted file mode 100644 index 4ec7672711..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/AssemblyTimeUnitOfMeasure.java +++ /dev/null @@ -1,69 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per AssemblyTimeUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="AssemblyTimeUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="minutes"/>
- *     <enumeration value="hours"/>
- *     <enumeration value="days"/>
- *     <enumeration value="weeks"/>
- *     <enumeration value="months"/>
- *     <enumeration value="years"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "AssemblyTimeUnitOfMeasure") -@XmlEnum -public enum AssemblyTimeUnitOfMeasure { - - @XmlEnumValue("minutes") - MINUTES("minutes"), - @XmlEnumValue("hours") - HOURS("hours"), - @XmlEnumValue("days") - DAYS("days"), - @XmlEnumValue("weeks") - WEEKS("weeks"), - @XmlEnumValue("months") - MONTHS("months"), - @XmlEnumValue("years") - YEARS("years"); - private final String value; - - AssemblyTimeUnitOfMeasure(String v) { - value = v; - } - - public static AssemblyTimeUnitOfMeasure fromValue(String v) { - for (AssemblyTimeUnitOfMeasure c : AssemblyTimeUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BaseCurrencyCode.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BaseCurrencyCode.java deleted file mode 100644 index 3f30e31951..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BaseCurrencyCode.java +++ /dev/null @@ -1,54 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per BaseCurrencyCode. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="BaseCurrencyCode">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="USD"/>
- *     <enumeration value="GBP"/>
- *     <enumeration value="EUR"/>
- *     <enumeration value="JPY"/>
- *     <enumeration value="CAD"/>
- *     <enumeration value="CNY"/>
- *     <enumeration value="INR"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "BaseCurrencyCode") -@XmlEnum -public enum BaseCurrencyCode { - - USD, - GBP, - EUR, - JPY, - CAD, - CNY, - INR; - - public static BaseCurrencyCode fromValue(String v) { - return valueOf(v); - } - - public String value() { - return name(); - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BaseCurrencyCodeWithDefault.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BaseCurrencyCodeWithDefault.java deleted file mode 100644 index b891d08e92..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BaseCurrencyCodeWithDefault.java +++ /dev/null @@ -1,62 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per BaseCurrencyCodeWithDefault. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="BaseCurrencyCodeWithDefault">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="USD"/>
- *     <enumeration value="GBP"/>
- *     <enumeration value="EUR"/>
- *     <enumeration value="JPY"/>
- *     <enumeration value="CAD"/>
- *     <enumeration value="CNY"/>
- *     <enumeration value="INR"/>
- *     <enumeration value="AUD"/>
- *     <enumeration value="BRL"/>
- *     <enumeration value="MXN"/>
- *     <enumeration value="DEFAULT"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "BaseCurrencyCodeWithDefault") -@XmlEnum -public enum BaseCurrencyCodeWithDefault { - - USD, - GBP, - EUR, - JPY, - CAD, - CNY, - INR, - AUD, - BRL, - MXN, - DEFAULT; - - public static BaseCurrencyCodeWithDefault fromValue(String v) { - return valueOf(v); - } - - public String value() { - return name(); - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Battery.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Battery.java deleted file mode 100644 index 87ce0a25ff..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Battery.java +++ /dev/null @@ -1,259 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.List; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="AreBatteriesIncluded" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="AreBatteriesRequired" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="BatterySubgroup" maxOccurs="3" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="BatteryType">
- *                     <simpleType>
- *                       <restriction base="{}StringNotNull">
- *                         <enumeration value="battery_type_2/3A"/>
- *                         <enumeration value="battery_type_4/3A"/>
- *                         <enumeration value="battery_type_4/5A"/>
- *                         <enumeration value="battery_type_9v"/>
- *                         <enumeration value="battery_type_12v"/>
- *                         <enumeration value="battery_type_a"/>
- *                         <enumeration value="battery_type_a76"/>
- *                         <enumeration value="battery_type_aa"/>
- *                         <enumeration value="battery_type_aaa"/>
- *                         <enumeration value="battery_type_aaaa"/>
- *                         <enumeration value="battery_type_c"/>
- *                         <enumeration value="battery_type_cr123a"/>
- *                         <enumeration value="battery_type_cr2"/>
- *                         <enumeration value="battery_type_cr5"/>
- *                         <enumeration value="battery_type_d"/>
- *                         <enumeration value="battery_type_lithium_ion"/>
- *                         <enumeration value="battery_type_lithium_metal"/>
- *                         <enumeration value="battery_type_L-SC"/>
- *                         <enumeration value="battery_type_p76"/>
- *                         <enumeration value="battery_type_product_specific"/>
- *                         <enumeration value="battery_type_SC"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="NumberOfBatteries" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "areBatteriesIncluded", - "areBatteriesRequired", - "batterySubgroup" -}) -@XmlRootElement(name = "Battery") -public class Battery { - - @XmlElement(name = "AreBatteriesIncluded") - protected Boolean areBatteriesIncluded; - @XmlElement(name = "AreBatteriesRequired") - protected Boolean areBatteriesRequired; - @XmlElement(name = "BatterySubgroup") - protected List batterySubgroup; - - /** - * Recupera il valore della proprietà areBatteriesIncluded. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isAreBatteriesIncluded() { - return areBatteriesIncluded; - } - - /** - * Imposta il valore della proprietà areBatteriesIncluded. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setAreBatteriesIncluded(Boolean value) { - this.areBatteriesIncluded = value; - } - - /** - * Recupera il valore della proprietà areBatteriesRequired. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isAreBatteriesRequired() { - return areBatteriesRequired; - } - - /** - * Imposta il valore della proprietà areBatteriesRequired. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setAreBatteriesRequired(Boolean value) { - this.areBatteriesRequired = value; - } - - /** - * Gets the value of the batterySubgroup property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the batterySubgroup property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getBatterySubgroup().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link Battery.BatterySubgroup } - */ - public List getBatterySubgroup() { - if (batterySubgroup == null) { - batterySubgroup = new ArrayList(); - } - return this.batterySubgroup; - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="BatteryType">
-     *           <simpleType>
-     *             <restriction base="{}StringNotNull">
-     *               <enumeration value="battery_type_2/3A"/>
-     *               <enumeration value="battery_type_4/3A"/>
-     *               <enumeration value="battery_type_4/5A"/>
-     *               <enumeration value="battery_type_9v"/>
-     *               <enumeration value="battery_type_12v"/>
-     *               <enumeration value="battery_type_a"/>
-     *               <enumeration value="battery_type_a76"/>
-     *               <enumeration value="battery_type_aa"/>
-     *               <enumeration value="battery_type_aaa"/>
-     *               <enumeration value="battery_type_aaaa"/>
-     *               <enumeration value="battery_type_c"/>
-     *               <enumeration value="battery_type_cr123a"/>
-     *               <enumeration value="battery_type_cr2"/>
-     *               <enumeration value="battery_type_cr5"/>
-     *               <enumeration value="battery_type_d"/>
-     *               <enumeration value="battery_type_lithium_ion"/>
-     *               <enumeration value="battery_type_lithium_metal"/>
-     *               <enumeration value="battery_type_L-SC"/>
-     *               <enumeration value="battery_type_p76"/>
-     *               <enumeration value="battery_type_product_specific"/>
-     *               <enumeration value="battery_type_SC"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="NumberOfBatteries" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "batteryType", - "numberOfBatteries" - }) - public static class BatterySubgroup { - - @XmlElement(name = "BatteryType", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String batteryType; - @XmlElement(name = "NumberOfBatteries", required = true) - @XmlSchemaType(name = "positiveInteger") - protected BigInteger numberOfBatteries; - - /** - * Recupera il valore della proprietà batteryType. - * - * @return possible object is - * {@link String } - */ - public String getBatteryType() { - return batteryType; - } - - /** - * Imposta il valore della proprietà batteryType. - * - * @param value allowed object is - * {@link String } - */ - public void setBatteryType(String value) { - this.batteryType = value; - } - - /** - * Recupera il valore della proprietà numberOfBatteries. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getNumberOfBatteries() { - return numberOfBatteries; - } - - /** - * Imposta il valore della proprietà numberOfBatteries. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setNumberOfBatteries(BigInteger value) { - this.numberOfBatteries = value; - } - - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BatteryAverageLifeUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BatteryAverageLifeUnitOfMeasure.java deleted file mode 100644 index 0038fd1dd7..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BatteryAverageLifeUnitOfMeasure.java +++ /dev/null @@ -1,69 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per BatteryAverageLifeUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="BatteryAverageLifeUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="minutes"/>
- *     <enumeration value="hours"/>
- *     <enumeration value="days"/>
- *     <enumeration value="weeks"/>
- *     <enumeration value="months"/>
- *     <enumeration value="years"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "BatteryAverageLifeUnitOfMeasure") -@XmlEnum -public enum BatteryAverageLifeUnitOfMeasure { - - @XmlEnumValue("minutes") - MINUTES("minutes"), - @XmlEnumValue("hours") - HOURS("hours"), - @XmlEnumValue("days") - DAYS("days"), - @XmlEnumValue("weeks") - WEEKS("weeks"), - @XmlEnumValue("months") - MONTHS("months"), - @XmlEnumValue("years") - YEARS("years"); - private final String value; - - BatteryAverageLifeUnitOfMeasure(String v) { - value = v; - } - - public static BatteryAverageLifeUnitOfMeasure fromValue(String v) { - for (BatteryAverageLifeUnitOfMeasure c : BatteryAverageLifeUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BatteryCellTypeValues.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BatteryCellTypeValues.java deleted file mode 100644 index 31231f8e8f..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BatteryCellTypeValues.java +++ /dev/null @@ -1,96 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per BatteryCellTypeValues. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="BatteryCellTypeValues">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="NiCAD"/>
- *     <enumeration value="NiMh"/>
- *     <enumeration value="alkaline"/>
- *     <enumeration value="aluminum_oxygen"/>
- *     <enumeration value="lead_acid"/>
- *     <enumeration value="lead_calcium"/>
- *     <enumeration value="lithium"/>
- *     <enumeration value="lithium_ion"/>
- *     <enumeration value="lithium_manganese_dioxide"/>
- *     <enumeration value="lithium_metal"/>
- *     <enumeration value="lithium_polymer"/>
- *     <enumeration value="manganese"/>
- *     <enumeration value="polymer"/>
- *     <enumeration value="silver_oxide"/>
- *     <enumeration value="zinc"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "BatteryCellTypeValues") -@XmlEnum -public enum BatteryCellTypeValues { - - @XmlEnumValue("NiCAD") - NI_CAD("NiCAD"), - @XmlEnumValue("NiMh") - NI_MH("NiMh"), - @XmlEnumValue("alkaline") - ALKALINE("alkaline"), - @XmlEnumValue("aluminum_oxygen") - ALUMINUM_OXYGEN("aluminum_oxygen"), - @XmlEnumValue("lead_acid") - LEAD_ACID("lead_acid"), - @XmlEnumValue("lead_calcium") - LEAD_CALCIUM("lead_calcium"), - @XmlEnumValue("lithium") - LITHIUM("lithium"), - @XmlEnumValue("lithium_ion") - LITHIUM_ION("lithium_ion"), - @XmlEnumValue("lithium_manganese_dioxide") - LITHIUM_MANGANESE_DIOXIDE("lithium_manganese_dioxide"), - @XmlEnumValue("lithium_metal") - LITHIUM_METAL("lithium_metal"), - @XmlEnumValue("lithium_polymer") - LITHIUM_POLYMER("lithium_polymer"), - @XmlEnumValue("manganese") - MANGANESE("manganese"), - @XmlEnumValue("polymer") - POLYMER("polymer"), - @XmlEnumValue("silver_oxide") - SILVER_OXIDE("silver_oxide"), - @XmlEnumValue("zinc") - ZINC("zinc"); - private final String value; - - BatteryCellTypeValues(String v) { - value = v; - } - - public static BatteryCellTypeValues fromValue(String v) { - for (BatteryCellTypeValues c : BatteryCellTypeValues.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BatteryLifeDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BatteryLifeDimension.java deleted file mode 100644 index 851331b702..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BatteryLifeDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per BatteryLifeDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="BatteryLifeDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}BatteryAverageLifeUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "BatteryLifeDimension", propOrder = { - "value" -}) -public class BatteryLifeDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected BatteryAverageLifeUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link BatteryAverageLifeUnitOfMeasure } - */ - public BatteryAverageLifeUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link BatteryAverageLifeUnitOfMeasure } - */ - public void setUnitOfMeasure(BatteryAverageLifeUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BatteryPowerDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BatteryPowerDimension.java deleted file mode 100644 index 7e7c24bde0..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BatteryPowerDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per BatteryPowerDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="BatteryPowerDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}BatteryPowerUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "BatteryPowerDimension", propOrder = { - "value" -}) -public class BatteryPowerDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected BatteryPowerUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link BatteryPowerUnitOfMeasure } - */ - public BatteryPowerUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link BatteryPowerUnitOfMeasure } - */ - public void setUnitOfMeasure(BatteryPowerUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BatteryPowerIntegerDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BatteryPowerIntegerDimension.java deleted file mode 100644 index 3711636134..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BatteryPowerIntegerDimension.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per BatteryPowerIntegerDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="BatteryPowerIntegerDimension">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
- *       <attribute name="unitOfMeasure" use="required" type="{}BatteryPowerUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "BatteryPowerIntegerDimension", propOrder = { - "value" -}) -public class BatteryPowerIntegerDimension { - - @XmlValue - @XmlSchemaType(name = "positiveInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected BatteryPowerUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link BatteryPowerUnitOfMeasure } - */ - public BatteryPowerUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link BatteryPowerUnitOfMeasure } - */ - public void setUnitOfMeasure(BatteryPowerUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BatteryPowerUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BatteryPowerUnitOfMeasure.java deleted file mode 100644 index 0119aff09a..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BatteryPowerUnitOfMeasure.java +++ /dev/null @@ -1,63 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per BatteryPowerUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="BatteryPowerUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="milliamp_hours"/>
- *     <enumeration value="amp_hours"/>
- *     <enumeration value="volt_amperes"/>
- *     <enumeration value="watt_hours"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "BatteryPowerUnitOfMeasure") -@XmlEnum -public enum BatteryPowerUnitOfMeasure { - - @XmlEnumValue("milliamp_hours") - MILLIAMP_HOURS("milliamp_hours"), - @XmlEnumValue("amp_hours") - AMP_HOURS("amp_hours"), - @XmlEnumValue("volt_amperes") - VOLT_AMPERES("volt_amperes"), - @XmlEnumValue("watt_hours") - WATT_HOURS("watt_hours"); - private final String value; - - BatteryPowerUnitOfMeasure(String v) { - value = v; - } - - public static BatteryPowerUnitOfMeasure fromValue(String v) { - for (BatteryPowerUnitOfMeasure c : BatteryPowerUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BluRayRegionType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BluRayRegionType.java deleted file mode 100644 index d6ed820bbe..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BluRayRegionType.java +++ /dev/null @@ -1,63 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per BluRayRegionType. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="BluRayRegionType">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="region_a"/>
- *     <enumeration value="region_b"/>
- *     <enumeration value="region_c"/>
- *     <enumeration value="region_free"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "BluRayRegionType") -@XmlEnum -public enum BluRayRegionType { - - @XmlEnumValue("region_a") - REGION_A("region_a"), - @XmlEnumValue("region_b") - REGION_B("region_b"), - @XmlEnumValue("region_c") - REGION_C("region_c"), - @XmlEnumValue("region_free") - REGION_FREE("region_free"); - private final String value; - - BluRayRegionType(String v) { - value = v; - } - - public static BluRayRegionType fromValue(String v) { - for (BluRayRegionType c : BluRayRegionType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BootSizeDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BootSizeDimension.java deleted file mode 100644 index 04be88dbd8..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BootSizeDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per BootSizeDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="BootSizeDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}BootSizeUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "BootSizeDimension", propOrder = { - "value" -}) -public class BootSizeDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected BootSizeUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link BootSizeUnitOfMeasure } - */ - public BootSizeUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link BootSizeUnitOfMeasure } - */ - public void setUnitOfMeasure(BootSizeUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BootSizeUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BootSizeUnitOfMeasure.java deleted file mode 100644 index 727053f01b..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BootSizeUnitOfMeasure.java +++ /dev/null @@ -1,54 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per BootSizeUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="BootSizeUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="adult_us"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "BootSizeUnitOfMeasure") -@XmlEnum -public enum BootSizeUnitOfMeasure { - - @XmlEnumValue("adult_us") - ADULT_US("adult_us"); - private final String value; - - BootSizeUnitOfMeasure(String v) { - value = v; - } - - public static BootSizeUnitOfMeasure fromValue(String v) { - for (BootSizeUnitOfMeasure c : BootSizeUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BurnTimeDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BurnTimeDimension.java deleted file mode 100644 index 3b7229e52f..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BurnTimeDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per BurnTimeDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="BurnTimeDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}BurnTimeUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "BurnTimeDimension", propOrder = { - "value" -}) -public class BurnTimeDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected BurnTimeUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link BurnTimeUnitOfMeasure } - */ - public BurnTimeUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link BurnTimeUnitOfMeasure } - */ - public void setUnitOfMeasure(BurnTimeUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BurnTimeUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BurnTimeUnitOfMeasure.java deleted file mode 100644 index fcd00fb87e..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BurnTimeUnitOfMeasure.java +++ /dev/null @@ -1,60 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per BurnTimeUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="BurnTimeUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="minutes"/>
- *     <enumeration value="hours"/>
- *     <enumeration value="cycles"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "BurnTimeUnitOfMeasure") -@XmlEnum -public enum BurnTimeUnitOfMeasure { - - @XmlEnumValue("minutes") - MINUTES("minutes"), - @XmlEnumValue("hours") - HOURS("hours"), - @XmlEnumValue("cycles") - CYCLES("cycles"); - private final String value; - - BurnTimeUnitOfMeasure(String v) { - value = v; - } - - public static BurnTimeUnitOfMeasure fromValue(String v) { - for (BurnTimeUnitOfMeasure c : BurnTimeUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BuyerPrice.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BuyerPrice.java deleted file mode 100644 index c3894fac54..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/BuyerPrice.java +++ /dev/null @@ -1,200 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import java.util.ArrayList; -import java.util.List; - - -/** - *

Classe Java per BuyerPrice complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="BuyerPrice">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="Component" maxOccurs="unbounded">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="Type">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="Principal"/>
- *                         <enumeration value="Shipping"/>
- *                         <enumeration value="CODFee"/>
- *                         <enumeration value="Tax"/>
- *                         <enumeration value="ShippingTax"/>
- *                         <enumeration value="RestockingFee"/>
- *                         <enumeration value="RestockingFeeTax"/>
- *                         <enumeration value="GiftWrap"/>
- *                         <enumeration value="GiftWrapTax"/>
- *                         <enumeration value="Surcharge"/>
- *                         <enumeration value="ReturnShipping"/>
- *                         <enumeration value="Goodwill"/>
- *                         <enumeration value="ExportCharge"/>
- *                         <enumeration value="COD"/>
- *                         <enumeration value="CODTax"/>
- *                         <enumeration value="Other"/>
- *                         <enumeration value="FreeReplacementReturnShipping"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="Amount" type="{}CurrencyAmount"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "BuyerPrice", propOrder = { - "component" -}) -public class BuyerPrice { - - @XmlElement(name = "Component", required = true) - protected List component; - - /** - * Gets the value of the component property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the component property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getComponent().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link BuyerPrice.Component } - */ - public List getComponent() { - if (component == null) { - component = new ArrayList(); - } - return this.component; - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="Type">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="Principal"/>
-     *               <enumeration value="Shipping"/>
-     *               <enumeration value="CODFee"/>
-     *               <enumeration value="Tax"/>
-     *               <enumeration value="ShippingTax"/>
-     *               <enumeration value="RestockingFee"/>
-     *               <enumeration value="RestockingFeeTax"/>
-     *               <enumeration value="GiftWrap"/>
-     *               <enumeration value="GiftWrapTax"/>
-     *               <enumeration value="Surcharge"/>
-     *               <enumeration value="ReturnShipping"/>
-     *               <enumeration value="Goodwill"/>
-     *               <enumeration value="ExportCharge"/>
-     *               <enumeration value="COD"/>
-     *               <enumeration value="CODTax"/>
-     *               <enumeration value="Other"/>
-     *               <enumeration value="FreeReplacementReturnShipping"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="Amount" type="{}CurrencyAmount"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "type", - "amount" - }) - public static class Component { - - @XmlElement(name = "Type", required = true) - protected String type; - @XmlElement(name = "Amount", required = true) - protected CurrencyAmount amount; - - /** - * Recupera il valore della proprietà type. - * - * @return possible object is - * {@link String } - */ - public String getType() { - return type; - } - - /** - * Imposta il valore della proprietà type. - * - * @param value allowed object is - * {@link String } - */ - public void setType(String value) { - this.type = value; - } - - /** - * Recupera il valore della proprietà amount. - * - * @return possible object is - * {@link CurrencyAmount } - */ - public CurrencyAmount getAmount() { - return amount; - } - - /** - * Imposta il valore della proprietà amount. - * - * @param value allowed object is - * {@link CurrencyAmount } - */ - public void setAmount(CurrencyAmount value) { - this.amount = value; - } - - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CapacityUnit.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CapacityUnit.java deleted file mode 100644 index f259cb8528..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CapacityUnit.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per CapacityUnit complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="CapacityUnit">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}CapacityUnitMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CapacityUnit", propOrder = { - "value" -}) -public class CapacityUnit { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected CapacityUnitMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link CapacityUnitMeasure } - */ - public CapacityUnitMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link CapacityUnitMeasure } - */ - public void setUnitOfMeasure(CapacityUnitMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CapacityUnitMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CapacityUnitMeasure.java deleted file mode 100644 index 8b84763e7f..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CapacityUnitMeasure.java +++ /dev/null @@ -1,121 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per CapacityUnitMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="CapacityUnitMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="cubic_centimeters"/>
- *     <enumeration value="cubic_feet"/>
- *     <enumeration value="cubic_inches"/>
- *     <enumeration value="cubic_meters"/>
- *     <enumeration value="cubic_yards"/>
- *     <enumeration value="cups"/>
- *     <enumeration value="fluid_ounces"/>
- *     <enumeration value="gallons"/>
- *     <enumeration value="imperial_gallons"/>
- *     <enumeration value="liters"/>
- *     <enumeration value="milliliters"/>
- *     <enumeration value="ounces"/>
- *     <enumeration value="pints"/>
- *     <enumeration value="quarts"/>
- *     <enumeration value="deciliters"/>
- *     <enumeration value="centiliters"/>
- *     <enumeration value="microliters"/>
- *     <enumeration value="nanoliters"/>
- *     <enumeration value="picoliters"/>
- *     <enumeration value="grams"/>
- *     <enumeration value="kilograms"/>
- *     <enumeration value="ounces"/>
- *     <enumeration value="pounds"/>
- *     <enumeration value="milligrams"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "CapacityUnitMeasure") -@XmlEnum -public enum CapacityUnitMeasure { - - @XmlEnumValue("cubic_centimeters") - CUBIC_CENTIMETERS("cubic_centimeters"), - @XmlEnumValue("cubic_feet") - CUBIC_FEET("cubic_feet"), - @XmlEnumValue("cubic_inches") - CUBIC_INCHES("cubic_inches"), - @XmlEnumValue("cubic_meters") - CUBIC_METERS("cubic_meters"), - @XmlEnumValue("cubic_yards") - CUBIC_YARDS("cubic_yards"), - @XmlEnumValue("cups") - CUPS("cups"), - @XmlEnumValue("fluid_ounces") - FLUID_OUNCES("fluid_ounces"), - @XmlEnumValue("gallons") - GALLONS("gallons"), - @XmlEnumValue("imperial_gallons") - IMPERIAL_GALLONS("imperial_gallons"), - @XmlEnumValue("liters") - LITERS("liters"), - @XmlEnumValue("milliliters") - MILLILITERS("milliliters"), - @XmlEnumValue("ounces") - OUNCES("ounces"), - @XmlEnumValue("pints") - PINTS("pints"), - @XmlEnumValue("quarts") - QUARTS("quarts"), - @XmlEnumValue("deciliters") - DECILITERS("deciliters"), - @XmlEnumValue("centiliters") - CENTILITERS("centiliters"), - @XmlEnumValue("microliters") - MICROLITERS("microliters"), - @XmlEnumValue("nanoliters") - NANOLITERS("nanoliters"), - @XmlEnumValue("picoliters") - PICOLITERS("picoliters"), - @XmlEnumValue("grams") - GRAMS("grams"), - @XmlEnumValue("kilograms") - KILOGRAMS("kilograms"), - @XmlEnumValue("pounds") - POUNDS("pounds"), - @XmlEnumValue("milligrams") - MILLIGRAMS("milligrams"); - private final String value; - - CapacityUnitMeasure(String v) { - value = v; - } - - public static CapacityUnitMeasure fromValue(String v) { - for (CapacityUnitMeasure c : CapacityUnitMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CarSeatWeightGroupEUType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CarSeatWeightGroupEUType.java deleted file mode 100644 index 42678051d5..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CarSeatWeightGroupEUType.java +++ /dev/null @@ -1,66 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per CarSeatWeightGroupEUType. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="CarSeatWeightGroupEUType">
- *   <restriction base="{}MediumStringNotNull">
- *     <enumeration value="group_zero"/>
- *     <enumeration value="group_zero_plus"/>
- *     <enumeration value="group_one"/>
- *     <enumeration value="group_two"/>
- *     <enumeration value="group_three"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "CarSeatWeightGroupEUType") -@XmlEnum -public enum CarSeatWeightGroupEUType { - - @XmlEnumValue("group_zero") - GROUP_ZERO("group_zero"), - @XmlEnumValue("group_zero_plus") - GROUP_ZERO_PLUS("group_zero_plus"), - @XmlEnumValue("group_one") - GROUP_ONE("group_one"), - @XmlEnumValue("group_two") - GROUP_TWO("group_two"), - @XmlEnumValue("group_three") - GROUP_THREE("group_three"); - private final String value; - - CarSeatWeightGroupEUType(String v) { - value = v; - } - - public static CarSeatWeightGroupEUType fromValue(String v) { - for (CarSeatWeightGroupEUType c : CarSeatWeightGroupEUType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CharacterDataType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CharacterDataType.java deleted file mode 100644 index 65ade45590..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CharacterDataType.java +++ /dev/null @@ -1,216 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import javax.xml.datatype.XMLGregorianCalendar; -import java.util.ArrayList; -import java.util.List; - - -/** - *

Classe Java per CharacterDataType complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="CharacterDataType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element ref="{}SKU"/>
- *         <element name="EffectiveTimestamp" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
- *         <element name="Plugin" type="{http://www.w3.org/2001/XMLSchema}string" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="AdditionalMessageDiscriminator" type="{http://www.w3.org/2001/XMLSchema}string" minOccurs="0"/>
- *         <element name="Payload" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *       </sequence>
- *       <attribute name="schemaVersion" type="{http://www.w3.org/2001/XMLSchema}string" />
- *       <attribute name="isOfferOnlyUpdate" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CharacterDataType", propOrder = { - "sku", - "effectiveTimestamp", - "plugin", - "additionalMessageDiscriminator", - "payload" -}) -public class CharacterDataType { - - @XmlElement(name = "SKU", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String sku; - @XmlElement(name = "EffectiveTimestamp") - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar effectiveTimestamp; - @XmlElement(name = "Plugin") - protected List plugin; - @XmlElement(name = "AdditionalMessageDiscriminator") - protected String additionalMessageDiscriminator; - @XmlElement(name = "Payload", required = true) - protected String payload; - @XmlAttribute(name = "schemaVersion") - protected String schemaVersion; - @XmlAttribute(name = "isOfferOnlyUpdate") - protected Boolean isOfferOnlyUpdate; - - /** - * Recupera il valore della proprietà sku. - * - * @return possible object is - * {@link String } - */ - public String getSKU() { - return sku; - } - - /** - * Imposta il valore della proprietà sku. - * - * @param value allowed object is - * {@link String } - */ - public void setSKU(String value) { - this.sku = value; - } - - /** - * Recupera il valore della proprietà effectiveTimestamp. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getEffectiveTimestamp() { - return effectiveTimestamp; - } - - /** - * Imposta il valore della proprietà effectiveTimestamp. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setEffectiveTimestamp(XMLGregorianCalendar value) { - this.effectiveTimestamp = value; - } - - /** - * Gets the value of the plugin property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the plugin property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getPlugin().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getPlugin() { - if (plugin == null) { - plugin = new ArrayList(); - } - return this.plugin; - } - - /** - * Recupera il valore della proprietà additionalMessageDiscriminator. - * - * @return possible object is - * {@link String } - */ - public String getAdditionalMessageDiscriminator() { - return additionalMessageDiscriminator; - } - - /** - * Imposta il valore della proprietà additionalMessageDiscriminator. - * - * @param value allowed object is - * {@link String } - */ - public void setAdditionalMessageDiscriminator(String value) { - this.additionalMessageDiscriminator = value; - } - - /** - * Recupera il valore della proprietà payload. - * - * @return possible object is - * {@link String } - */ - public String getPayload() { - return payload; - } - - /** - * Imposta il valore della proprietà payload. - * - * @param value allowed object is - * {@link String } - */ - public void setPayload(String value) { - this.payload = value; - } - - /** - * Recupera il valore della proprietà schemaVersion. - * - * @return possible object is - * {@link String } - */ - public String getSchemaVersion() { - return schemaVersion; - } - - /** - * Imposta il valore della proprietà schemaVersion. - * - * @param value allowed object is - * {@link String } - */ - public void setSchemaVersion(String value) { - this.schemaVersion = value; - } - - /** - * Recupera il valore della proprietà isOfferOnlyUpdate. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isIsOfferOnlyUpdate() { - return isOfferOnlyUpdate; - } - - /** - * Imposta il valore della proprietà isOfferOnlyUpdate. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setIsOfferOnlyUpdate(Boolean value) { - this.isOfferOnlyUpdate = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Clothing.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Clothing.java deleted file mode 100644 index 77f53ab0c3..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Clothing.java +++ /dev/null @@ -1,4283 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.List; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="VariationData" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="Parentage" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="parent"/>
- *                         <enumeration value="child"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="Size" type="{}String" minOccurs="0"/>
- *                   <element name="Color" type="{}String" minOccurs="0"/>
- *                   <element name="VariationTheme" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="Size"/>
- *                         <enumeration value="Color"/>
- *                         <enumeration value="SizeColor"/>
- *                         <enumeration value="Color-Itempackagequantity"/>
- *                         <enumeration value="Color-Material"/>
- *                         <enumeration value="Color-Patternname"/>
- *                         <enumeration value="ColorSize"/>
- *                         <enumeration value="Itempackagequantity"/>
- *                         <enumeration value="Itempackagequantity-Color"/>
- *                         <enumeration value="Itempackagequantity-Material"/>
- *                         <enumeration value="Itempackagequantity-Size"/>
- *                         <enumeration value="Material"/>
- *                         <enumeration value="Material-Color"/>
- *                         <enumeration value="Material-Patternname"/>
- *                         <enumeration value="Material-Size"/>
- *                         <enumeration value="Patternname"/>
- *                         <enumeration value="Patternname-Color"/>
- *                         <enumeration value="Patternname-Material"/>
- *                         <enumeration value="Patternname-Size"/>
- *                         <enumeration value="Size-Material"/>
- *                         <enumeration value="Size-Patternname"/>
- *                         <enumeration value="Cupsize"/>
- *                         <enumeration value="Cupsize-Color"/>
- *                         <enumeration value="Cupsize-Color-Size"/>
- *                         <enumeration value="Cupsize-Size"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="ClassificationData">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="BatteryAverageLife" type="{}Dimension" minOccurs="0"/>
- *                   <element name="BatteryAverageLifeStandby" type="{}Dimension" minOccurs="0"/>
- *                   <element name="BatteryChargeTime" type="{}Dimension" minOccurs="0"/>
- *                   <element name="Size" type="{}String" minOccurs="0"/>
- *                   <element name="Color" type="{}String" minOccurs="0"/>
- *                   <element name="ClothingType">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="Shirt"/>
- *                         <enumeration value="Sweater"/>
- *                         <enumeration value="Pants"/>
- *                         <enumeration value="Shorts"/>
- *                         <enumeration value="Skirt"/>
- *                         <enumeration value="Dress"/>
- *                         <enumeration value="Suit"/>
- *                         <enumeration value="Blazer"/>
- *                         <enumeration value="Outerwear"/>
- *                         <enumeration value="SocksHosiery"/>
- *                         <enumeration value="Underwear"/>
- *                         <enumeration value="Bra"/>
- *                         <enumeration value="Shoes"/>
- *                         <enumeration value="Hat"/>
- *                         <enumeration value="Bag"/>
- *                         <enumeration value="Accessory"/>
- *                         <enumeration value="Jewelry"/>
- *                         <enumeration value="Sleepwear"/>
- *                         <enumeration value="Swimwear"/>
- *                         <enumeration value="PersonalBodyCare"/>
- *                         <enumeration value="HomeAccessory"/>
- *                         <enumeration value="NonApparelMisc"/>
- *                         <enumeration value="Kimono"/>
- *                         <enumeration value="Obi"/>
- *                         <enumeration value="Chanchanko"/>
- *                         <enumeration value="Jinbei"/>
- *                         <enumeration value="Yukata"/>
- *                         <enumeration value="EthnicWear"/>
- *                         <enumeration value="Costume"/>
- *                         <enumeration value="AdultCostume"/>
- *                         <enumeration value="BabyCostume"/>
- *                         <enumeration value="ChildrensCostume"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="Department" type="{}StringNotNull" maxOccurs="10" minOccurs="0"/>
- *                   <element name="StyleKeywords" type="{}LongStringNotNull" maxOccurs="10" minOccurs="0"/>
- *                   <element name="PlatinumKeywords" type="{}String" maxOccurs="20" minOccurs="0"/>
- *                   <element name="ColorMap" type="{}String" minOccurs="0"/>
- *                   <element name="SpecialSizeType" type="{}String" maxOccurs="10" minOccurs="0"/>
- *                   <element name="MaterialAndFabric" type="{}LongString" maxOccurs="4" minOccurs="0"/>
- *                   <element name="ImportDesignation" type="{}String" minOccurs="0"/>
- *                   <element name="CountryAsLabeled" type="{}CountryOfOriginType" minOccurs="0"/>
- *                   <element name="FurDescription" type="{}LongString" minOccurs="0"/>
- *                   <element name="MaterialComposition" type="{}SuperLongStringNotNull" minOccurs="0"/>
- *                   <element name="MaterialOpacity" type="{}HundredString" minOccurs="0"/>
- *                   <element name="InnerMaterial" type="{}LongString" minOccurs="0"/>
- *                   <element name="OuterMaterial" type="{}LongString" minOccurs="0"/>
- *                   <element name="SoleMaterial" type="{}LongString" minOccurs="0"/>
- *                   <element name="ShoeClosureType" type="{}String" minOccurs="0"/>
- *                   <element name="ApparelClosureType" type="{}LongString" minOccurs="0"/>
- *                   <element name="ClosureType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="CareInstructions" type="{}SuperLongStringNotNull" minOccurs="0"/>
- *                   <element name="OccasionAndLifestyle" type="{}LongString" maxOccurs="10" minOccurs="0"/>
- *                   <element name="EventKeywords" type="{}LongString" maxOccurs="10" minOccurs="0"/>
- *                   <element name="Season" type="{}HundredString" minOccurs="0"/>
- *                   <element name="SpecificUses" type="{}LongString" maxOccurs="3" minOccurs="0"/>
- *                   <element name="ExternalTestingCertification" type="{}HundredString" maxOccurs="5" minOccurs="0"/>
- *                   <element name="PerformanceRating" maxOccurs="3" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="Sunproof"/>
- *                         <enumeration value="Waterproof"/>
- *                         <enumeration value="Weatherproof"/>
- *                         <enumeration value="Windproof"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="ProductSpecification" type="{}String" minOccurs="0"/>
- *                   <element name="Warnings" type="{}LongStringNotNull" minOccurs="0"/>
- *                   <element name="IsCustomizable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *                   <element name="CustomizableTemplateName" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="StyleName" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="CollarType" type="{}String" minOccurs="0"/>
- *                   <element name="SleeveType" type="{}String" minOccurs="0"/>
- *                   <element name="WaistStyle" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="MinimumHeightRecommended" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="MaximumHeightRecommended" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="CountryName" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="CountryOfOrigin" type="{}CountryOfOriginType" minOccurs="0"/>
- *                   <element name="DisplayLength" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="DisplayVolume" type="{}VolumeDimension" minOccurs="0"/>
- *                   <element name="DisplayWeight" type="{}WeightDimension" minOccurs="0"/>
- *                   <element name="ModelName" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="ModelNumber" type="{}FortyStringNotNull" minOccurs="0"/>
- *                   <element name="ModelYear" type="{}FourDigitYear" minOccurs="0"/>
- *                   <element name="IsAdultProduct" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *                   <element name="SizeMap" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="WaistSize" type="{}ClothingSizeDimension" minOccurs="0"/>
- *                   <element name="InseamLength" type="{}ClothingSizeDimension" minOccurs="0"/>
- *                   <element name="SleeveLength" type="{}ClothingSizeDimension" minOccurs="0"/>
- *                   <element name="NeckSize" type="{}ClothingSizeDimension" minOccurs="0"/>
- *                   <element name="ChestSize" type="{}ClothingSizeDimension" minOccurs="0"/>
- *                   <element name="CupSize" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="A"/>
- *                         <enumeration value="AA"/>
- *                         <enumeration value="B"/>
- *                         <enumeration value="C"/>
- *                         <enumeration value="D"/>
- *                         <enumeration value="DD"/>
- *                         <enumeration value="DDD"/>
- *                         <enumeration value="E"/>
- *                         <enumeration value="EE"/>
- *                         <enumeration value="F"/>
- *                         <enumeration value="FF"/>
- *                         <enumeration value="G"/>
- *                         <enumeration value="GG"/>
- *                         <enumeration value="H"/>
- *                         <enumeration value="I"/>
- *                         <enumeration value="J"/>
- *                         <enumeration value="Free"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="BraBandSize" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="ShoeWidth" type="{}String" minOccurs="0"/>
- *                   <element name="HeelHeight" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="HeelType" type="{}String" minOccurs="0"/>
- *                   <element name="ShaftHeight" type="{}StringLengthOptionalDimension" minOccurs="0"/>
- *                   <element name="ShaftDiameter" type="{}String" minOccurs="0"/>
- *                   <element name="BeltLength" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="BeltWidth" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="BeltStyle" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="BottomStyle" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="ButtonQuantity" type="{}PositiveInteger" minOccurs="0"/>
- *                   <element name="Character" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="ControlType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="CuffType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="FabricType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="FabricWash" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="FitType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="FitToSizeDescription" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="FrontPleatType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="IncludedComponents" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="ItemRise" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="LaptopCapacity" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="LegDiameter" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="LegStyle" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="MaterialType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="MfrWarrantyDescriptionLabor" type="{}SuperLongStringNotNull" minOccurs="0"/>
- *                   <element name="MfrWarrantyDescriptionParts" type="{}SuperLongStringNotNull" minOccurs="0"/>
- *                   <element name="MfrWarrantyDescriptionType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="NeckStyle" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="Opacity" type="{}HundredString" minOccurs="0"/>
- *                   <element name="PatternStyle" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="CollectionName" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="FrameMaterialType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="LensMaterialType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="PolarizationType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="LensWidth" type="{}StringLengthOptionalDimension" minOccurs="0"/>
- *                   <element name="LensHeight" type="{}StringLengthOptionalDimension" minOccurs="0"/>
- *                   <element name="BridgeWidth" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="PocketDescription" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="RegionOfOrigin" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="RiseStyle" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="SafetyWarning" type="{}SuperLongStringNotNull" minOccurs="0"/>
- *                   <element name="SellerWarrantyDescription" type="{}SuperLongStringNotNull" minOccurs="0"/>
- *                   <element name="SpecialFeature" type="{}LongStringNotNull" maxOccurs="3" minOccurs="0"/>
- *                   <element name="TargetGender" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{}StringNotNull">
- *                         <enumeration value="male"/>
- *                         <enumeration value="female"/>
- *                         <enumeration value="unisex"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="Theme" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="TopStyle" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="UnderwireType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="Volume" type="{}VolumeDimension" minOccurs="0"/>
- *                   <element name="WaterResistanceLevel" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="not_water_resistant"/>
- *                         <enumeration value="water_resistant"/>
- *                         <enumeration value="waterproof"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="WheelType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="FurisodeLength" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="FurisodeWidth" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="ObiLength" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="ObiWidth" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="TsukeobiWidth" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="TsukeobiHeight" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="PillowSize" type="{}StringLengthOptionalDimension" minOccurs="0"/>
- *                   <element name="StrapType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="ToeShape" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="WarrantyType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="WarrantyDescription" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="OccasionType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="LeatherType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="IsVeryHighValue" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *                   <element name="IsStainResistant" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *                   <element name="HarmonizedCode" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="Contributor" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="BaseLength" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="SupportType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="WeaveType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="EmbroideryType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="DesignName" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="CollectionDescription" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="SpecificUsesForProduct" type="{}StringNotNull" maxOccurs="3" minOccurs="0"/>
- *                   <element name="PatternName" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="ShellType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="NumberOfWheels" type="{}PositiveInteger" minOccurs="0"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element ref="{}Battery" minOccurs="0"/>
- *         <element name="LithiumBatteryEnergyContent" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
- *         <element name="LithiumBatteryPackaging" minOccurs="0">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <enumeration value="batteries_contained_in_equipment"/>
- *               <enumeration value="batteries_only"/>
- *               <enumeration value="batteries_packed_with_equipment"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="LithiumBatteryVoltage" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *         <element name="LithiumBatteryWeight" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *         <element name="NumberOfLithiumIonCells" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *         <element name="NumberOfLithiumMetalCells" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *         <element name="PowerSource" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="ItemLengthDescription" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="Codabar" type="{}StringNotNull" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "variationData", - "classificationData", - "battery", - "lithiumBatteryEnergyContent", - "lithiumBatteryPackaging", - "lithiumBatteryVoltage", - "lithiumBatteryWeight", - "numberOfLithiumIonCells", - "numberOfLithiumMetalCells", - "powerSource", - "itemLengthDescription", - "codabar" -}) -@XmlRootElement(name = "Clothing") -public class Clothing { - - @XmlElement(name = "VariationData") - protected Clothing.VariationData variationData; - @XmlElement(name = "ClassificationData", required = true) - protected Clothing.ClassificationData classificationData; - @XmlElement(name = "Battery") - protected Battery battery; - @XmlElement(name = "LithiumBatteryEnergyContent") - protected BigDecimal lithiumBatteryEnergyContent; - @XmlElement(name = "LithiumBatteryPackaging") - protected String lithiumBatteryPackaging; - @XmlElement(name = "LithiumBatteryVoltage") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger lithiumBatteryVoltage; - @XmlElement(name = "LithiumBatteryWeight") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger lithiumBatteryWeight; - @XmlElement(name = "NumberOfLithiumIonCells") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger numberOfLithiumIonCells; - @XmlElement(name = "NumberOfLithiumMetalCells") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger numberOfLithiumMetalCells; - @XmlElement(name = "PowerSource") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String powerSource; - @XmlElement(name = "ItemLengthDescription") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String itemLengthDescription; - @XmlElement(name = "Codabar") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String codabar; - - /** - * Recupera il valore della proprietà variationData. - * - * @return possible object is - * {@link Clothing.VariationData } - */ - public Clothing.VariationData getVariationData() { - return variationData; - } - - /** - * Imposta il valore della proprietà variationData. - * - * @param value allowed object is - * {@link Clothing.VariationData } - */ - public void setVariationData(Clothing.VariationData value) { - this.variationData = value; - } - - /** - * Recupera il valore della proprietà classificationData. - * - * @return possible object is - * {@link Clothing.ClassificationData } - */ - public Clothing.ClassificationData getClassificationData() { - return classificationData; - } - - /** - * Imposta il valore della proprietà classificationData. - * - * @param value allowed object is - * {@link Clothing.ClassificationData } - */ - public void setClassificationData(Clothing.ClassificationData value) { - this.classificationData = value; - } - - /** - * Recupera il valore della proprietà battery. - * - * @return possible object is - * {@link Battery } - */ - public Battery getBattery() { - return battery; - } - - /** - * Imposta il valore della proprietà battery. - * - * @param value allowed object is - * {@link Battery } - */ - public void setBattery(Battery value) { - this.battery = value; - } - - /** - * Recupera il valore della proprietà lithiumBatteryEnergyContent. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getLithiumBatteryEnergyContent() { - return lithiumBatteryEnergyContent; - } - - /** - * Imposta il valore della proprietà lithiumBatteryEnergyContent. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setLithiumBatteryEnergyContent(BigDecimal value) { - this.lithiumBatteryEnergyContent = value; - } - - /** - * Recupera il valore della proprietà lithiumBatteryPackaging. - * - * @return possible object is - * {@link String } - */ - public String getLithiumBatteryPackaging() { - return lithiumBatteryPackaging; - } - - /** - * Imposta il valore della proprietà lithiumBatteryPackaging. - * - * @param value allowed object is - * {@link String } - */ - public void setLithiumBatteryPackaging(String value) { - this.lithiumBatteryPackaging = value; - } - - /** - * Recupera il valore della proprietà lithiumBatteryVoltage. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getLithiumBatteryVoltage() { - return lithiumBatteryVoltage; - } - - /** - * Imposta il valore della proprietà lithiumBatteryVoltage. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setLithiumBatteryVoltage(BigInteger value) { - this.lithiumBatteryVoltage = value; - } - - /** - * Recupera il valore della proprietà lithiumBatteryWeight. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getLithiumBatteryWeight() { - return lithiumBatteryWeight; - } - - /** - * Imposta il valore della proprietà lithiumBatteryWeight. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setLithiumBatteryWeight(BigInteger value) { - this.lithiumBatteryWeight = value; - } - - /** - * Recupera il valore della proprietà numberOfLithiumIonCells. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getNumberOfLithiumIonCells() { - return numberOfLithiumIonCells; - } - - /** - * Imposta il valore della proprietà numberOfLithiumIonCells. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setNumberOfLithiumIonCells(BigInteger value) { - this.numberOfLithiumIonCells = value; - } - - /** - * Recupera il valore della proprietà numberOfLithiumMetalCells. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getNumberOfLithiumMetalCells() { - return numberOfLithiumMetalCells; - } - - /** - * Imposta il valore della proprietà numberOfLithiumMetalCells. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setNumberOfLithiumMetalCells(BigInteger value) { - this.numberOfLithiumMetalCells = value; - } - - /** - * Recupera il valore della proprietà powerSource. - * - * @return possible object is - * {@link String } - */ - public String getPowerSource() { - return powerSource; - } - - /** - * Imposta il valore della proprietà powerSource. - * - * @param value allowed object is - * {@link String } - */ - public void setPowerSource(String value) { - this.powerSource = value; - } - - /** - * Recupera il valore della proprietà itemLengthDescription. - * - * @return possible object is - * {@link String } - */ - public String getItemLengthDescription() { - return itemLengthDescription; - } - - /** - * Imposta il valore della proprietà itemLengthDescription. - * - * @param value allowed object is - * {@link String } - */ - public void setItemLengthDescription(String value) { - this.itemLengthDescription = value; - } - - /** - * Recupera il valore della proprietà codabar. - * - * @return possible object is - * {@link String } - */ - public String getCodabar() { - return codabar; - } - - /** - * Imposta il valore della proprietà codabar. - * - * @param value allowed object is - * {@link String } - */ - public void setCodabar(String value) { - this.codabar = value; - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="BatteryAverageLife" type="{}Dimension" minOccurs="0"/>
-     *         <element name="BatteryAverageLifeStandby" type="{}Dimension" minOccurs="0"/>
-     *         <element name="BatteryChargeTime" type="{}Dimension" minOccurs="0"/>
-     *         <element name="Size" type="{}String" minOccurs="0"/>
-     *         <element name="Color" type="{}String" minOccurs="0"/>
-     *         <element name="ClothingType">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="Shirt"/>
-     *               <enumeration value="Sweater"/>
-     *               <enumeration value="Pants"/>
-     *               <enumeration value="Shorts"/>
-     *               <enumeration value="Skirt"/>
-     *               <enumeration value="Dress"/>
-     *               <enumeration value="Suit"/>
-     *               <enumeration value="Blazer"/>
-     *               <enumeration value="Outerwear"/>
-     *               <enumeration value="SocksHosiery"/>
-     *               <enumeration value="Underwear"/>
-     *               <enumeration value="Bra"/>
-     *               <enumeration value="Shoes"/>
-     *               <enumeration value="Hat"/>
-     *               <enumeration value="Bag"/>
-     *               <enumeration value="Accessory"/>
-     *               <enumeration value="Jewelry"/>
-     *               <enumeration value="Sleepwear"/>
-     *               <enumeration value="Swimwear"/>
-     *               <enumeration value="PersonalBodyCare"/>
-     *               <enumeration value="HomeAccessory"/>
-     *               <enumeration value="NonApparelMisc"/>
-     *               <enumeration value="Kimono"/>
-     *               <enumeration value="Obi"/>
-     *               <enumeration value="Chanchanko"/>
-     *               <enumeration value="Jinbei"/>
-     *               <enumeration value="Yukata"/>
-     *               <enumeration value="EthnicWear"/>
-     *               <enumeration value="Costume"/>
-     *               <enumeration value="AdultCostume"/>
-     *               <enumeration value="BabyCostume"/>
-     *               <enumeration value="ChildrensCostume"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="Department" type="{}StringNotNull" maxOccurs="10" minOccurs="0"/>
-     *         <element name="StyleKeywords" type="{}LongStringNotNull" maxOccurs="10" minOccurs="0"/>
-     *         <element name="PlatinumKeywords" type="{}String" maxOccurs="20" minOccurs="0"/>
-     *         <element name="ColorMap" type="{}String" minOccurs="0"/>
-     *         <element name="SpecialSizeType" type="{}String" maxOccurs="10" minOccurs="0"/>
-     *         <element name="MaterialAndFabric" type="{}LongString" maxOccurs="4" minOccurs="0"/>
-     *         <element name="ImportDesignation" type="{}String" minOccurs="0"/>
-     *         <element name="CountryAsLabeled" type="{}CountryOfOriginType" minOccurs="0"/>
-     *         <element name="FurDescription" type="{}LongString" minOccurs="0"/>
-     *         <element name="MaterialComposition" type="{}SuperLongStringNotNull" minOccurs="0"/>
-     *         <element name="MaterialOpacity" type="{}HundredString" minOccurs="0"/>
-     *         <element name="InnerMaterial" type="{}LongString" minOccurs="0"/>
-     *         <element name="OuterMaterial" type="{}LongString" minOccurs="0"/>
-     *         <element name="SoleMaterial" type="{}LongString" minOccurs="0"/>
-     *         <element name="ShoeClosureType" type="{}String" minOccurs="0"/>
-     *         <element name="ApparelClosureType" type="{}LongString" minOccurs="0"/>
-     *         <element name="ClosureType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="CareInstructions" type="{}SuperLongStringNotNull" minOccurs="0"/>
-     *         <element name="OccasionAndLifestyle" type="{}LongString" maxOccurs="10" minOccurs="0"/>
-     *         <element name="EventKeywords" type="{}LongString" maxOccurs="10" minOccurs="0"/>
-     *         <element name="Season" type="{}HundredString" minOccurs="0"/>
-     *         <element name="SpecificUses" type="{}LongString" maxOccurs="3" minOccurs="0"/>
-     *         <element name="ExternalTestingCertification" type="{}HundredString" maxOccurs="5" minOccurs="0"/>
-     *         <element name="PerformanceRating" maxOccurs="3" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="Sunproof"/>
-     *               <enumeration value="Waterproof"/>
-     *               <enumeration value="Weatherproof"/>
-     *               <enumeration value="Windproof"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="ProductSpecification" type="{}String" minOccurs="0"/>
-     *         <element name="Warnings" type="{}LongStringNotNull" minOccurs="0"/>
-     *         <element name="IsCustomizable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
-     *         <element name="CustomizableTemplateName" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="StyleName" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="CollarType" type="{}String" minOccurs="0"/>
-     *         <element name="SleeveType" type="{}String" minOccurs="0"/>
-     *         <element name="WaistStyle" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="MinimumHeightRecommended" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="MaximumHeightRecommended" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="CountryName" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="CountryOfOrigin" type="{}CountryOfOriginType" minOccurs="0"/>
-     *         <element name="DisplayLength" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="DisplayVolume" type="{}VolumeDimension" minOccurs="0"/>
-     *         <element name="DisplayWeight" type="{}WeightDimension" minOccurs="0"/>
-     *         <element name="ModelName" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="ModelNumber" type="{}FortyStringNotNull" minOccurs="0"/>
-     *         <element name="ModelYear" type="{}FourDigitYear" minOccurs="0"/>
-     *         <element name="IsAdultProduct" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
-     *         <element name="SizeMap" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="WaistSize" type="{}ClothingSizeDimension" minOccurs="0"/>
-     *         <element name="InseamLength" type="{}ClothingSizeDimension" minOccurs="0"/>
-     *         <element name="SleeveLength" type="{}ClothingSizeDimension" minOccurs="0"/>
-     *         <element name="NeckSize" type="{}ClothingSizeDimension" minOccurs="0"/>
-     *         <element name="ChestSize" type="{}ClothingSizeDimension" minOccurs="0"/>
-     *         <element name="CupSize" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="A"/>
-     *               <enumeration value="AA"/>
-     *               <enumeration value="B"/>
-     *               <enumeration value="C"/>
-     *               <enumeration value="D"/>
-     *               <enumeration value="DD"/>
-     *               <enumeration value="DDD"/>
-     *               <enumeration value="E"/>
-     *               <enumeration value="EE"/>
-     *               <enumeration value="F"/>
-     *               <enumeration value="FF"/>
-     *               <enumeration value="G"/>
-     *               <enumeration value="GG"/>
-     *               <enumeration value="H"/>
-     *               <enumeration value="I"/>
-     *               <enumeration value="J"/>
-     *               <enumeration value="Free"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="BraBandSize" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="ShoeWidth" type="{}String" minOccurs="0"/>
-     *         <element name="HeelHeight" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="HeelType" type="{}String" minOccurs="0"/>
-     *         <element name="ShaftHeight" type="{}StringLengthOptionalDimension" minOccurs="0"/>
-     *         <element name="ShaftDiameter" type="{}String" minOccurs="0"/>
-     *         <element name="BeltLength" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="BeltWidth" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="BeltStyle" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="BottomStyle" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="ButtonQuantity" type="{}PositiveInteger" minOccurs="0"/>
-     *         <element name="Character" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="ControlType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="CuffType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="FabricType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="FabricWash" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="FitType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="FitToSizeDescription" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="FrontPleatType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="IncludedComponents" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="ItemRise" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="LaptopCapacity" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="LegDiameter" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="LegStyle" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="MaterialType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="MfrWarrantyDescriptionLabor" type="{}SuperLongStringNotNull" minOccurs="0"/>
-     *         <element name="MfrWarrantyDescriptionParts" type="{}SuperLongStringNotNull" minOccurs="0"/>
-     *         <element name="MfrWarrantyDescriptionType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="NeckStyle" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="Opacity" type="{}HundredString" minOccurs="0"/>
-     *         <element name="PatternStyle" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="CollectionName" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="FrameMaterialType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="LensMaterialType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="PolarizationType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="LensWidth" type="{}StringLengthOptionalDimension" minOccurs="0"/>
-     *         <element name="LensHeight" type="{}StringLengthOptionalDimension" minOccurs="0"/>
-     *         <element name="BridgeWidth" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="PocketDescription" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="RegionOfOrigin" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="RiseStyle" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="SafetyWarning" type="{}SuperLongStringNotNull" minOccurs="0"/>
-     *         <element name="SellerWarrantyDescription" type="{}SuperLongStringNotNull" minOccurs="0"/>
-     *         <element name="SpecialFeature" type="{}LongStringNotNull" maxOccurs="3" minOccurs="0"/>
-     *         <element name="TargetGender" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{}StringNotNull">
-     *               <enumeration value="male"/>
-     *               <enumeration value="female"/>
-     *               <enumeration value="unisex"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="Theme" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="TopStyle" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="UnderwireType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="Volume" type="{}VolumeDimension" minOccurs="0"/>
-     *         <element name="WaterResistanceLevel" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="not_water_resistant"/>
-     *               <enumeration value="water_resistant"/>
-     *               <enumeration value="waterproof"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="WheelType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="FurisodeLength" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="FurisodeWidth" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="ObiLength" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="ObiWidth" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="TsukeobiWidth" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="TsukeobiHeight" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="PillowSize" type="{}StringLengthOptionalDimension" minOccurs="0"/>
-     *         <element name="StrapType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="ToeShape" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="WarrantyType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="WarrantyDescription" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="OccasionType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="LeatherType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="IsVeryHighValue" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
-     *         <element name="IsStainResistant" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
-     *         <element name="HarmonizedCode" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="Contributor" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="BaseLength" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="SupportType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="WeaveType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="EmbroideryType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="DesignName" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="CollectionDescription" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="SpecificUsesForProduct" type="{}StringNotNull" maxOccurs="3" minOccurs="0"/>
-     *         <element name="PatternName" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="ShellType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="NumberOfWheels" type="{}PositiveInteger" minOccurs="0"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "batteryAverageLife", - "batteryAverageLifeStandby", - "batteryChargeTime", - "size", - "color", - "clothingType", - "department", - "styleKeywords", - "platinumKeywords", - "colorMap", - "specialSizeType", - "materialAndFabric", - "importDesignation", - "countryAsLabeled", - "furDescription", - "materialComposition", - "materialOpacity", - "innerMaterial", - "outerMaterial", - "soleMaterial", - "shoeClosureType", - "apparelClosureType", - "closureType", - "careInstructions", - "occasionAndLifestyle", - "eventKeywords", - "season", - "specificUses", - "externalTestingCertification", - "performanceRating", - "productSpecification", - "warnings", - "isCustomizable", - "customizableTemplateName", - "styleName", - "collarType", - "sleeveType", - "waistStyle", - "minimumHeightRecommended", - "maximumHeightRecommended", - "countryName", - "countryOfOrigin", - "displayLength", - "displayVolume", - "displayWeight", - "modelName", - "modelNumber", - "modelYear", - "isAdultProduct", - "sizeMap", - "waistSize", - "inseamLength", - "sleeveLength", - "neckSize", - "chestSize", - "cupSize", - "braBandSize", - "shoeWidth", - "heelHeight", - "heelType", - "shaftHeight", - "shaftDiameter", - "beltLength", - "beltWidth", - "beltStyle", - "bottomStyle", - "buttonQuantity", - "character", - "controlType", - "cuffType", - "fabricType", - "fabricWash", - "fitType", - "fitToSizeDescription", - "frontPleatType", - "includedComponents", - "itemRise", - "laptopCapacity", - "legDiameter", - "legStyle", - "materialType", - "mfrWarrantyDescriptionLabor", - "mfrWarrantyDescriptionParts", - "mfrWarrantyDescriptionType", - "neckStyle", - "opacity", - "patternStyle", - "collectionName", - "frameMaterialType", - "lensMaterialType", - "polarizationType", - "lensWidth", - "lensHeight", - "bridgeWidth", - "pocketDescription", - "regionOfOrigin", - "riseStyle", - "safetyWarning", - "sellerWarrantyDescription", - "specialFeature", - "targetGender", - "theme", - "topStyle", - "underwireType", - "volume", - "waterResistanceLevel", - "wheelType", - "furisodeLength", - "furisodeWidth", - "obiLength", - "obiWidth", - "tsukeobiWidth", - "tsukeobiHeight", - "pillowSize", - "strapType", - "toeShape", - "warrantyType", - "warrantyDescription", - "occasionType", - "leatherType", - "isVeryHighValue", - "isStainResistant", - "harmonizedCode", - "contributor", - "baseLength", - "supportType", - "weaveType", - "embroideryType", - "designName", - "collectionDescription", - "specificUsesForProduct", - "patternName", - "shellType", - "numberOfWheels" - }) - public static class ClassificationData { - - @XmlElement(name = "BatteryAverageLife") - protected BigDecimal batteryAverageLife; - @XmlElement(name = "BatteryAverageLifeStandby") - protected BigDecimal batteryAverageLifeStandby; - @XmlElement(name = "BatteryChargeTime") - protected BigDecimal batteryChargeTime; - @XmlElement(name = "Size") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String size; - @XmlElement(name = "Color") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String color; - @XmlElement(name = "ClothingType", required = true) - protected String clothingType; - @XmlElement(name = "Department") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List department; - @XmlElement(name = "StyleKeywords") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List styleKeywords; - @XmlElement(name = "PlatinumKeywords") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List platinumKeywords; - @XmlElement(name = "ColorMap") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String colorMap; - @XmlElement(name = "SpecialSizeType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List specialSizeType; - @XmlElement(name = "MaterialAndFabric") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List materialAndFabric; - @XmlElement(name = "ImportDesignation") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String importDesignation; - @XmlElement(name = "CountryAsLabeled") - protected String countryAsLabeled; - @XmlElement(name = "FurDescription") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String furDescription; - @XmlElement(name = "MaterialComposition") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String materialComposition; - @XmlElement(name = "MaterialOpacity") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String materialOpacity; - @XmlElement(name = "InnerMaterial") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String innerMaterial; - @XmlElement(name = "OuterMaterial") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String outerMaterial; - @XmlElement(name = "SoleMaterial") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String soleMaterial; - @XmlElement(name = "ShoeClosureType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String shoeClosureType; - @XmlElement(name = "ApparelClosureType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String apparelClosureType; - @XmlElement(name = "ClosureType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String closureType; - @XmlElement(name = "CareInstructions") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String careInstructions; - @XmlElement(name = "OccasionAndLifestyle") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List occasionAndLifestyle; - @XmlElement(name = "EventKeywords") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List eventKeywords; - @XmlElement(name = "Season") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String season; - @XmlElement(name = "SpecificUses") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List specificUses; - @XmlElement(name = "ExternalTestingCertification") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List externalTestingCertification; - @XmlElement(name = "PerformanceRating") - protected List performanceRating; - @XmlElement(name = "ProductSpecification") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String productSpecification; - @XmlElement(name = "Warnings") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String warnings; - @XmlElement(name = "IsCustomizable") - protected Boolean isCustomizable; - @XmlElement(name = "CustomizableTemplateName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String customizableTemplateName; - @XmlElement(name = "StyleName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String styleName; - @XmlElement(name = "CollarType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String collarType; - @XmlElement(name = "SleeveType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String sleeveType; - @XmlElement(name = "WaistStyle") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String waistStyle; - @XmlElement(name = "MinimumHeightRecommended") - protected LengthDimension minimumHeightRecommended; - @XmlElement(name = "MaximumHeightRecommended") - protected LengthDimension maximumHeightRecommended; - @XmlElement(name = "CountryName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String countryName; - @XmlElement(name = "CountryOfOrigin") - protected String countryOfOrigin; - @XmlElement(name = "DisplayLength") - protected LengthDimension displayLength; - @XmlElement(name = "DisplayVolume") - protected VolumeDimension displayVolume; - @XmlElement(name = "DisplayWeight") - protected WeightDimension displayWeight; - @XmlElement(name = "ModelName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String modelName; - @XmlElement(name = "ModelNumber") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String modelNumber; - @XmlElement(name = "ModelYear") - protected BigInteger modelYear; - @XmlElement(name = "IsAdultProduct") - protected Boolean isAdultProduct; - @XmlElement(name = "SizeMap") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String sizeMap; - @XmlElement(name = "WaistSize") - protected ClothingSizeDimension waistSize; - @XmlElement(name = "InseamLength") - protected ClothingSizeDimension inseamLength; - @XmlElement(name = "SleeveLength") - protected ClothingSizeDimension sleeveLength; - @XmlElement(name = "NeckSize") - protected ClothingSizeDimension neckSize; - @XmlElement(name = "ChestSize") - protected ClothingSizeDimension chestSize; - @XmlElement(name = "CupSize") - protected String cupSize; - @XmlElement(name = "BraBandSize") - protected LengthDimension braBandSize; - @XmlElement(name = "ShoeWidth") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String shoeWidth; - @XmlElement(name = "HeelHeight") - protected LengthDimension heelHeight; - @XmlElement(name = "HeelType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String heelType; - @XmlElement(name = "ShaftHeight") - protected StringLengthOptionalDimension shaftHeight; - @XmlElement(name = "ShaftDiameter") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String shaftDiameter; - @XmlElement(name = "BeltLength") - protected LengthDimension beltLength; - @XmlElement(name = "BeltWidth") - protected LengthDimension beltWidth; - @XmlElement(name = "BeltStyle") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String beltStyle; - @XmlElement(name = "BottomStyle") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String bottomStyle; - @XmlElement(name = "ButtonQuantity") - protected BigInteger buttonQuantity; - @XmlElement(name = "Character") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String character; - @XmlElement(name = "ControlType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String controlType; - @XmlElement(name = "CuffType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String cuffType; - @XmlElement(name = "FabricType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String fabricType; - @XmlElement(name = "FabricWash") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String fabricWash; - @XmlElement(name = "FitType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String fitType; - @XmlElement(name = "FitToSizeDescription") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String fitToSizeDescription; - @XmlElement(name = "FrontPleatType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String frontPleatType; - @XmlElement(name = "IncludedComponents") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String includedComponents; - @XmlElement(name = "ItemRise") - protected LengthDimension itemRise; - @XmlElement(name = "LaptopCapacity") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String laptopCapacity; - @XmlElement(name = "LegDiameter") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String legDiameter; - @XmlElement(name = "LegStyle") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String legStyle; - @XmlElement(name = "MaterialType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String materialType; - @XmlElement(name = "MfrWarrantyDescriptionLabor") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String mfrWarrantyDescriptionLabor; - @XmlElement(name = "MfrWarrantyDescriptionParts") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String mfrWarrantyDescriptionParts; - @XmlElement(name = "MfrWarrantyDescriptionType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String mfrWarrantyDescriptionType; - @XmlElement(name = "NeckStyle") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String neckStyle; - @XmlElement(name = "Opacity") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String opacity; - @XmlElement(name = "PatternStyle") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String patternStyle; - @XmlElement(name = "CollectionName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String collectionName; - @XmlElement(name = "FrameMaterialType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String frameMaterialType; - @XmlElement(name = "LensMaterialType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String lensMaterialType; - @XmlElement(name = "PolarizationType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String polarizationType; - @XmlElement(name = "LensWidth") - protected StringLengthOptionalDimension lensWidth; - @XmlElement(name = "LensHeight") - protected StringLengthOptionalDimension lensHeight; - @XmlElement(name = "BridgeWidth") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String bridgeWidth; - @XmlElement(name = "PocketDescription") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String pocketDescription; - @XmlElement(name = "RegionOfOrigin") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String regionOfOrigin; - @XmlElement(name = "RiseStyle") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String riseStyle; - @XmlElement(name = "SafetyWarning") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String safetyWarning; - @XmlElement(name = "SellerWarrantyDescription") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String sellerWarrantyDescription; - @XmlElement(name = "SpecialFeature") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List specialFeature; - @XmlElement(name = "TargetGender") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String targetGender; - @XmlElement(name = "Theme") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String theme; - @XmlElement(name = "TopStyle") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String topStyle; - @XmlElement(name = "UnderwireType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String underwireType; - @XmlElement(name = "Volume") - protected VolumeDimension volume; - @XmlElement(name = "WaterResistanceLevel") - protected String waterResistanceLevel; - @XmlElement(name = "WheelType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String wheelType; - @XmlElement(name = "FurisodeLength") - protected LengthDimension furisodeLength; - @XmlElement(name = "FurisodeWidth") - protected LengthDimension furisodeWidth; - @XmlElement(name = "ObiLength") - protected LengthDimension obiLength; - @XmlElement(name = "ObiWidth") - protected LengthDimension obiWidth; - @XmlElement(name = "TsukeobiWidth") - protected LengthDimension tsukeobiWidth; - @XmlElement(name = "TsukeobiHeight") - protected LengthDimension tsukeobiHeight; - @XmlElement(name = "PillowSize") - protected StringLengthOptionalDimension pillowSize; - @XmlElement(name = "StrapType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String strapType; - @XmlElement(name = "ToeShape") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String toeShape; - @XmlElement(name = "WarrantyType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String warrantyType; - @XmlElement(name = "WarrantyDescription") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String warrantyDescription; - @XmlElement(name = "OccasionType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String occasionType; - @XmlElement(name = "LeatherType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String leatherType; - @XmlElement(name = "IsVeryHighValue") - protected Boolean isVeryHighValue; - @XmlElement(name = "IsStainResistant") - protected Boolean isStainResistant; - @XmlElement(name = "HarmonizedCode") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String harmonizedCode; - @XmlElement(name = "Contributor") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String contributor; - @XmlElement(name = "BaseLength") - protected LengthDimension baseLength; - @XmlElement(name = "SupportType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String supportType; - @XmlElement(name = "WeaveType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String weaveType; - @XmlElement(name = "EmbroideryType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String embroideryType; - @XmlElement(name = "DesignName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String designName; - @XmlElement(name = "CollectionDescription") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String collectionDescription; - @XmlElement(name = "SpecificUsesForProduct") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List specificUsesForProduct; - @XmlElement(name = "PatternName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String patternName; - @XmlElement(name = "ShellType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String shellType; - @XmlElement(name = "NumberOfWheels") - protected BigInteger numberOfWheels; - - /** - * Recupera il valore della proprietà batteryAverageLife. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getBatteryAverageLife() { - return batteryAverageLife; - } - - /** - * Imposta il valore della proprietà batteryAverageLife. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setBatteryAverageLife(BigDecimal value) { - this.batteryAverageLife = value; - } - - /** - * Recupera il valore della proprietà batteryAverageLifeStandby. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getBatteryAverageLifeStandby() { - return batteryAverageLifeStandby; - } - - /** - * Imposta il valore della proprietà batteryAverageLifeStandby. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setBatteryAverageLifeStandby(BigDecimal value) { - this.batteryAverageLifeStandby = value; - } - - /** - * Recupera il valore della proprietà batteryChargeTime. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getBatteryChargeTime() { - return batteryChargeTime; - } - - /** - * Imposta il valore della proprietà batteryChargeTime. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setBatteryChargeTime(BigDecimal value) { - this.batteryChargeTime = value; - } - - /** - * Recupera il valore della proprietà size. - * - * @return possible object is - * {@link String } - */ - public String getSize() { - return size; - } - - /** - * Imposta il valore della proprietà size. - * - * @param value allowed object is - * {@link String } - */ - public void setSize(String value) { - this.size = value; - } - - /** - * Recupera il valore della proprietà color. - * - * @return possible object is - * {@link String } - */ - public String getColor() { - return color; - } - - /** - * Imposta il valore della proprietà color. - * - * @param value allowed object is - * {@link String } - */ - public void setColor(String value) { - this.color = value; - } - - /** - * Recupera il valore della proprietà clothingType. - * - * @return possible object is - * {@link String } - */ - public String getClothingType() { - return clothingType; - } - - /** - * Imposta il valore della proprietà clothingType. - * - * @param value allowed object is - * {@link String } - */ - public void setClothingType(String value) { - this.clothingType = value; - } - - /** - * Gets the value of the department property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the department property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getDepartment().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getDepartment() { - if (department == null) { - department = new ArrayList(); - } - return this.department; - } - - /** - * Gets the value of the styleKeywords property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the styleKeywords property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getStyleKeywords().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getStyleKeywords() { - if (styleKeywords == null) { - styleKeywords = new ArrayList(); - } - return this.styleKeywords; - } - - /** - * Gets the value of the platinumKeywords property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the platinumKeywords property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getPlatinumKeywords().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getPlatinumKeywords() { - if (platinumKeywords == null) { - platinumKeywords = new ArrayList(); - } - return this.platinumKeywords; - } - - /** - * Recupera il valore della proprietà colorMap. - * - * @return possible object is - * {@link String } - */ - public String getColorMap() { - return colorMap; - } - - /** - * Imposta il valore della proprietà colorMap. - * - * @param value allowed object is - * {@link String } - */ - public void setColorMap(String value) { - this.colorMap = value; - } - - /** - * Gets the value of the specialSizeType property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the specialSizeType property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getSpecialSizeType().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getSpecialSizeType() { - if (specialSizeType == null) { - specialSizeType = new ArrayList(); - } - return this.specialSizeType; - } - - /** - * Gets the value of the materialAndFabric property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the materialAndFabric property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getMaterialAndFabric().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getMaterialAndFabric() { - if (materialAndFabric == null) { - materialAndFabric = new ArrayList(); - } - return this.materialAndFabric; - } - - /** - * Recupera il valore della proprietà importDesignation. - * - * @return possible object is - * {@link String } - */ - public String getImportDesignation() { - return importDesignation; - } - - /** - * Imposta il valore della proprietà importDesignation. - * - * @param value allowed object is - * {@link String } - */ - public void setImportDesignation(String value) { - this.importDesignation = value; - } - - /** - * Recupera il valore della proprietà countryAsLabeled. - * - * @return possible object is - * {@link String } - */ - public String getCountryAsLabeled() { - return countryAsLabeled; - } - - /** - * Imposta il valore della proprietà countryAsLabeled. - * - * @param value allowed object is - * {@link String } - */ - public void setCountryAsLabeled(String value) { - this.countryAsLabeled = value; - } - - /** - * Recupera il valore della proprietà furDescription. - * - * @return possible object is - * {@link String } - */ - public String getFurDescription() { - return furDescription; - } - - /** - * Imposta il valore della proprietà furDescription. - * - * @param value allowed object is - * {@link String } - */ - public void setFurDescription(String value) { - this.furDescription = value; - } - - /** - * Recupera il valore della proprietà materialComposition. - * - * @return possible object is - * {@link String } - */ - public String getMaterialComposition() { - return materialComposition; - } - - /** - * Imposta il valore della proprietà materialComposition. - * - * @param value allowed object is - * {@link String } - */ - public void setMaterialComposition(String value) { - this.materialComposition = value; - } - - /** - * Recupera il valore della proprietà materialOpacity. - * - * @return possible object is - * {@link String } - */ - public String getMaterialOpacity() { - return materialOpacity; - } - - /** - * Imposta il valore della proprietà materialOpacity. - * - * @param value allowed object is - * {@link String } - */ - public void setMaterialOpacity(String value) { - this.materialOpacity = value; - } - - /** - * Recupera il valore della proprietà innerMaterial. - * - * @return possible object is - * {@link String } - */ - public String getInnerMaterial() { - return innerMaterial; - } - - /** - * Imposta il valore della proprietà innerMaterial. - * - * @param value allowed object is - * {@link String } - */ - public void setInnerMaterial(String value) { - this.innerMaterial = value; - } - - /** - * Recupera il valore della proprietà outerMaterial. - * - * @return possible object is - * {@link String } - */ - public String getOuterMaterial() { - return outerMaterial; - } - - /** - * Imposta il valore della proprietà outerMaterial. - * - * @param value allowed object is - * {@link String } - */ - public void setOuterMaterial(String value) { - this.outerMaterial = value; - } - - /** - * Recupera il valore della proprietà soleMaterial. - * - * @return possible object is - * {@link String } - */ - public String getSoleMaterial() { - return soleMaterial; - } - - /** - * Imposta il valore della proprietà soleMaterial. - * - * @param value allowed object is - * {@link String } - */ - public void setSoleMaterial(String value) { - this.soleMaterial = value; - } - - /** - * Recupera il valore della proprietà shoeClosureType. - * - * @return possible object is - * {@link String } - */ - public String getShoeClosureType() { - return shoeClosureType; - } - - /** - * Imposta il valore della proprietà shoeClosureType. - * - * @param value allowed object is - * {@link String } - */ - public void setShoeClosureType(String value) { - this.shoeClosureType = value; - } - - /** - * Recupera il valore della proprietà apparelClosureType. - * - * @return possible object is - * {@link String } - */ - public String getApparelClosureType() { - return apparelClosureType; - } - - /** - * Imposta il valore della proprietà apparelClosureType. - * - * @param value allowed object is - * {@link String } - */ - public void setApparelClosureType(String value) { - this.apparelClosureType = value; - } - - /** - * Recupera il valore della proprietà closureType. - * - * @return possible object is - * {@link String } - */ - public String getClosureType() { - return closureType; - } - - /** - * Imposta il valore della proprietà closureType. - * - * @param value allowed object is - * {@link String } - */ - public void setClosureType(String value) { - this.closureType = value; - } - - /** - * Recupera il valore della proprietà careInstructions. - * - * @return possible object is - * {@link String } - */ - public String getCareInstructions() { - return careInstructions; - } - - /** - * Imposta il valore della proprietà careInstructions. - * - * @param value allowed object is - * {@link String } - */ - public void setCareInstructions(String value) { - this.careInstructions = value; - } - - /** - * Gets the value of the occasionAndLifestyle property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the occasionAndLifestyle property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getOccasionAndLifestyle().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getOccasionAndLifestyle() { - if (occasionAndLifestyle == null) { - occasionAndLifestyle = new ArrayList(); - } - return this.occasionAndLifestyle; - } - - /** - * Gets the value of the eventKeywords property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the eventKeywords property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getEventKeywords().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getEventKeywords() { - if (eventKeywords == null) { - eventKeywords = new ArrayList(); - } - return this.eventKeywords; - } - - /** - * Recupera il valore della proprietà season. - * - * @return possible object is - * {@link String } - */ - public String getSeason() { - return season; - } - - /** - * Imposta il valore della proprietà season. - * - * @param value allowed object is - * {@link String } - */ - public void setSeason(String value) { - this.season = value; - } - - /** - * Gets the value of the specificUses property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the specificUses property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getSpecificUses().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getSpecificUses() { - if (specificUses == null) { - specificUses = new ArrayList(); - } - return this.specificUses; - } - - /** - * Gets the value of the externalTestingCertification property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the externalTestingCertification property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getExternalTestingCertification().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getExternalTestingCertification() { - if (externalTestingCertification == null) { - externalTestingCertification = new ArrayList(); - } - return this.externalTestingCertification; - } - - /** - * Gets the value of the performanceRating property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the performanceRating property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getPerformanceRating().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getPerformanceRating() { - if (performanceRating == null) { - performanceRating = new ArrayList(); - } - return this.performanceRating; - } - - /** - * Recupera il valore della proprietà productSpecification. - * - * @return possible object is - * {@link String } - */ - public String getProductSpecification() { - return productSpecification; - } - - /** - * Imposta il valore della proprietà productSpecification. - * - * @param value allowed object is - * {@link String } - */ - public void setProductSpecification(String value) { - this.productSpecification = value; - } - - /** - * Recupera il valore della proprietà warnings. - * - * @return possible object is - * {@link String } - */ - public String getWarnings() { - return warnings; - } - - /** - * Imposta il valore della proprietà warnings. - * - * @param value allowed object is - * {@link String } - */ - public void setWarnings(String value) { - this.warnings = value; - } - - /** - * Recupera il valore della proprietà isCustomizable. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isIsCustomizable() { - return isCustomizable; - } - - /** - * Imposta il valore della proprietà isCustomizable. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setIsCustomizable(Boolean value) { - this.isCustomizable = value; - } - - /** - * Recupera il valore della proprietà customizableTemplateName. - * - * @return possible object is - * {@link String } - */ - public String getCustomizableTemplateName() { - return customizableTemplateName; - } - - /** - * Imposta il valore della proprietà customizableTemplateName. - * - * @param value allowed object is - * {@link String } - */ - public void setCustomizableTemplateName(String value) { - this.customizableTemplateName = value; - } - - /** - * Recupera il valore della proprietà styleName. - * - * @return possible object is - * {@link String } - */ - public String getStyleName() { - return styleName; - } - - /** - * Imposta il valore della proprietà styleName. - * - * @param value allowed object is - * {@link String } - */ - public void setStyleName(String value) { - this.styleName = value; - } - - /** - * Recupera il valore della proprietà collarType. - * - * @return possible object is - * {@link String } - */ - public String getCollarType() { - return collarType; - } - - /** - * Imposta il valore della proprietà collarType. - * - * @param value allowed object is - * {@link String } - */ - public void setCollarType(String value) { - this.collarType = value; - } - - /** - * Recupera il valore della proprietà sleeveType. - * - * @return possible object is - * {@link String } - */ - public String getSleeveType() { - return sleeveType; - } - - /** - * Imposta il valore della proprietà sleeveType. - * - * @param value allowed object is - * {@link String } - */ - public void setSleeveType(String value) { - this.sleeveType = value; - } - - /** - * Recupera il valore della proprietà waistStyle. - * - * @return possible object is - * {@link String } - */ - public String getWaistStyle() { - return waistStyle; - } - - /** - * Imposta il valore della proprietà waistStyle. - * - * @param value allowed object is - * {@link String } - */ - public void setWaistStyle(String value) { - this.waistStyle = value; - } - - /** - * Recupera il valore della proprietà minimumHeightRecommended. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getMinimumHeightRecommended() { - return minimumHeightRecommended; - } - - /** - * Imposta il valore della proprietà minimumHeightRecommended. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setMinimumHeightRecommended(LengthDimension value) { - this.minimumHeightRecommended = value; - } - - /** - * Recupera il valore della proprietà maximumHeightRecommended. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getMaximumHeightRecommended() { - return maximumHeightRecommended; - } - - /** - * Imposta il valore della proprietà maximumHeightRecommended. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setMaximumHeightRecommended(LengthDimension value) { - this.maximumHeightRecommended = value; - } - - /** - * Recupera il valore della proprietà countryName. - * - * @return possible object is - * {@link String } - */ - public String getCountryName() { - return countryName; - } - - /** - * Imposta il valore della proprietà countryName. - * - * @param value allowed object is - * {@link String } - */ - public void setCountryName(String value) { - this.countryName = value; - } - - /** - * Recupera il valore della proprietà countryOfOrigin. - * - * @return possible object is - * {@link String } - */ - public String getCountryOfOrigin() { - return countryOfOrigin; - } - - /** - * Imposta il valore della proprietà countryOfOrigin. - * - * @param value allowed object is - * {@link String } - */ - public void setCountryOfOrigin(String value) { - this.countryOfOrigin = value; - } - - /** - * Recupera il valore della proprietà displayLength. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getDisplayLength() { - return displayLength; - } - - /** - * Imposta il valore della proprietà displayLength. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setDisplayLength(LengthDimension value) { - this.displayLength = value; - } - - /** - * Recupera il valore della proprietà displayVolume. - * - * @return possible object is - * {@link VolumeDimension } - */ - public VolumeDimension getDisplayVolume() { - return displayVolume; - } - - /** - * Imposta il valore della proprietà displayVolume. - * - * @param value allowed object is - * {@link VolumeDimension } - */ - public void setDisplayVolume(VolumeDimension value) { - this.displayVolume = value; - } - - /** - * Recupera il valore della proprietà displayWeight. - * - * @return possible object is - * {@link WeightDimension } - */ - public WeightDimension getDisplayWeight() { - return displayWeight; - } - - /** - * Imposta il valore della proprietà displayWeight. - * - * @param value allowed object is - * {@link WeightDimension } - */ - public void setDisplayWeight(WeightDimension value) { - this.displayWeight = value; - } - - /** - * Recupera il valore della proprietà modelName. - * - * @return possible object is - * {@link String } - */ - public String getModelName() { - return modelName; - } - - /** - * Imposta il valore della proprietà modelName. - * - * @param value allowed object is - * {@link String } - */ - public void setModelName(String value) { - this.modelName = value; - } - - /** - * Recupera il valore della proprietà modelNumber. - * - * @return possible object is - * {@link String } - */ - public String getModelNumber() { - return modelNumber; - } - - /** - * Imposta il valore della proprietà modelNumber. - * - * @param value allowed object is - * {@link String } - */ - public void setModelNumber(String value) { - this.modelNumber = value; - } - - /** - * Recupera il valore della proprietà modelYear. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getModelYear() { - return modelYear; - } - - /** - * Imposta il valore della proprietà modelYear. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setModelYear(BigInteger value) { - this.modelYear = value; - } - - /** - * Recupera il valore della proprietà isAdultProduct. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isIsAdultProduct() { - return isAdultProduct; - } - - /** - * Imposta il valore della proprietà isAdultProduct. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setIsAdultProduct(Boolean value) { - this.isAdultProduct = value; - } - - /** - * Recupera il valore della proprietà sizeMap. - * - * @return possible object is - * {@link String } - */ - public String getSizeMap() { - return sizeMap; - } - - /** - * Imposta il valore della proprietà sizeMap. - * - * @param value allowed object is - * {@link String } - */ - public void setSizeMap(String value) { - this.sizeMap = value; - } - - /** - * Recupera il valore della proprietà waistSize. - * - * @return possible object is - * {@link ClothingSizeDimension } - */ - public ClothingSizeDimension getWaistSize() { - return waistSize; - } - - /** - * Imposta il valore della proprietà waistSize. - * - * @param value allowed object is - * {@link ClothingSizeDimension } - */ - public void setWaistSize(ClothingSizeDimension value) { - this.waistSize = value; - } - - /** - * Recupera il valore della proprietà inseamLength. - * - * @return possible object is - * {@link ClothingSizeDimension } - */ - public ClothingSizeDimension getInseamLength() { - return inseamLength; - } - - /** - * Imposta il valore della proprietà inseamLength. - * - * @param value allowed object is - * {@link ClothingSizeDimension } - */ - public void setInseamLength(ClothingSizeDimension value) { - this.inseamLength = value; - } - - /** - * Recupera il valore della proprietà sleeveLength. - * - * @return possible object is - * {@link ClothingSizeDimension } - */ - public ClothingSizeDimension getSleeveLength() { - return sleeveLength; - } - - /** - * Imposta il valore della proprietà sleeveLength. - * - * @param value allowed object is - * {@link ClothingSizeDimension } - */ - public void setSleeveLength(ClothingSizeDimension value) { - this.sleeveLength = value; - } - - /** - * Recupera il valore della proprietà neckSize. - * - * @return possible object is - * {@link ClothingSizeDimension } - */ - public ClothingSizeDimension getNeckSize() { - return neckSize; - } - - /** - * Imposta il valore della proprietà neckSize. - * - * @param value allowed object is - * {@link ClothingSizeDimension } - */ - public void setNeckSize(ClothingSizeDimension value) { - this.neckSize = value; - } - - /** - * Recupera il valore della proprietà chestSize. - * - * @return possible object is - * {@link ClothingSizeDimension } - */ - public ClothingSizeDimension getChestSize() { - return chestSize; - } - - /** - * Imposta il valore della proprietà chestSize. - * - * @param value allowed object is - * {@link ClothingSizeDimension } - */ - public void setChestSize(ClothingSizeDimension value) { - this.chestSize = value; - } - - /** - * Recupera il valore della proprietà cupSize. - * - * @return possible object is - * {@link String } - */ - public String getCupSize() { - return cupSize; - } - - /** - * Imposta il valore della proprietà cupSize. - * - * @param value allowed object is - * {@link String } - */ - public void setCupSize(String value) { - this.cupSize = value; - } - - /** - * Recupera il valore della proprietà braBandSize. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getBraBandSize() { - return braBandSize; - } - - /** - * Imposta il valore della proprietà braBandSize. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setBraBandSize(LengthDimension value) { - this.braBandSize = value; - } - - /** - * Recupera il valore della proprietà shoeWidth. - * - * @return possible object is - * {@link String } - */ - public String getShoeWidth() { - return shoeWidth; - } - - /** - * Imposta il valore della proprietà shoeWidth. - * - * @param value allowed object is - * {@link String } - */ - public void setShoeWidth(String value) { - this.shoeWidth = value; - } - - /** - * Recupera il valore della proprietà heelHeight. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getHeelHeight() { - return heelHeight; - } - - /** - * Imposta il valore della proprietà heelHeight. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setHeelHeight(LengthDimension value) { - this.heelHeight = value; - } - - /** - * Recupera il valore della proprietà heelType. - * - * @return possible object is - * {@link String } - */ - public String getHeelType() { - return heelType; - } - - /** - * Imposta il valore della proprietà heelType. - * - * @param value allowed object is - * {@link String } - */ - public void setHeelType(String value) { - this.heelType = value; - } - - /** - * Recupera il valore della proprietà shaftHeight. - * - * @return possible object is - * {@link StringLengthOptionalDimension } - */ - public StringLengthOptionalDimension getShaftHeight() { - return shaftHeight; - } - - /** - * Imposta il valore della proprietà shaftHeight. - * - * @param value allowed object is - * {@link StringLengthOptionalDimension } - */ - public void setShaftHeight(StringLengthOptionalDimension value) { - this.shaftHeight = value; - } - - /** - * Recupera il valore della proprietà shaftDiameter. - * - * @return possible object is - * {@link String } - */ - public String getShaftDiameter() { - return shaftDiameter; - } - - /** - * Imposta il valore della proprietà shaftDiameter. - * - * @param value allowed object is - * {@link String } - */ - public void setShaftDiameter(String value) { - this.shaftDiameter = value; - } - - /** - * Recupera il valore della proprietà beltLength. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getBeltLength() { - return beltLength; - } - - /** - * Imposta il valore della proprietà beltLength. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setBeltLength(LengthDimension value) { - this.beltLength = value; - } - - /** - * Recupera il valore della proprietà beltWidth. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getBeltWidth() { - return beltWidth; - } - - /** - * Imposta il valore della proprietà beltWidth. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setBeltWidth(LengthDimension value) { - this.beltWidth = value; - } - - /** - * Recupera il valore della proprietà beltStyle. - * - * @return possible object is - * {@link String } - */ - public String getBeltStyle() { - return beltStyle; - } - - /** - * Imposta il valore della proprietà beltStyle. - * - * @param value allowed object is - * {@link String } - */ - public void setBeltStyle(String value) { - this.beltStyle = value; - } - - /** - * Recupera il valore della proprietà bottomStyle. - * - * @return possible object is - * {@link String } - */ - public String getBottomStyle() { - return bottomStyle; - } - - /** - * Imposta il valore della proprietà bottomStyle. - * - * @param value allowed object is - * {@link String } - */ - public void setBottomStyle(String value) { - this.bottomStyle = value; - } - - /** - * Recupera il valore della proprietà buttonQuantity. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getButtonQuantity() { - return buttonQuantity; - } - - /** - * Imposta il valore della proprietà buttonQuantity. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setButtonQuantity(BigInteger value) { - this.buttonQuantity = value; - } - - /** - * Recupera il valore della proprietà character. - * - * @return possible object is - * {@link String } - */ - public String getCharacter() { - return character; - } - - /** - * Imposta il valore della proprietà character. - * - * @param value allowed object is - * {@link String } - */ - public void setCharacter(String value) { - this.character = value; - } - - /** - * Recupera il valore della proprietà controlType. - * - * @return possible object is - * {@link String } - */ - public String getControlType() { - return controlType; - } - - /** - * Imposta il valore della proprietà controlType. - * - * @param value allowed object is - * {@link String } - */ - public void setControlType(String value) { - this.controlType = value; - } - - /** - * Recupera il valore della proprietà cuffType. - * - * @return possible object is - * {@link String } - */ - public String getCuffType() { - return cuffType; - } - - /** - * Imposta il valore della proprietà cuffType. - * - * @param value allowed object is - * {@link String } - */ - public void setCuffType(String value) { - this.cuffType = value; - } - - /** - * Recupera il valore della proprietà fabricType. - * - * @return possible object is - * {@link String } - */ - public String getFabricType() { - return fabricType; - } - - /** - * Imposta il valore della proprietà fabricType. - * - * @param value allowed object is - * {@link String } - */ - public void setFabricType(String value) { - this.fabricType = value; - } - - /** - * Recupera il valore della proprietà fabricWash. - * - * @return possible object is - * {@link String } - */ - public String getFabricWash() { - return fabricWash; - } - - /** - * Imposta il valore della proprietà fabricWash. - * - * @param value allowed object is - * {@link String } - */ - public void setFabricWash(String value) { - this.fabricWash = value; - } - - /** - * Recupera il valore della proprietà fitType. - * - * @return possible object is - * {@link String } - */ - public String getFitType() { - return fitType; - } - - /** - * Imposta il valore della proprietà fitType. - * - * @param value allowed object is - * {@link String } - */ - public void setFitType(String value) { - this.fitType = value; - } - - /** - * Recupera il valore della proprietà fitToSizeDescription. - * - * @return possible object is - * {@link String } - */ - public String getFitToSizeDescription() { - return fitToSizeDescription; - } - - /** - * Imposta il valore della proprietà fitToSizeDescription. - * - * @param value allowed object is - * {@link String } - */ - public void setFitToSizeDescription(String value) { - this.fitToSizeDescription = value; - } - - /** - * Recupera il valore della proprietà frontPleatType. - * - * @return possible object is - * {@link String } - */ - public String getFrontPleatType() { - return frontPleatType; - } - - /** - * Imposta il valore della proprietà frontPleatType. - * - * @param value allowed object is - * {@link String } - */ - public void setFrontPleatType(String value) { - this.frontPleatType = value; - } - - /** - * Recupera il valore della proprietà includedComponents. - * - * @return possible object is - * {@link String } - */ - public String getIncludedComponents() { - return includedComponents; - } - - /** - * Imposta il valore della proprietà includedComponents. - * - * @param value allowed object is - * {@link String } - */ - public void setIncludedComponents(String value) { - this.includedComponents = value; - } - - /** - * Recupera il valore della proprietà itemRise. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getItemRise() { - return itemRise; - } - - /** - * Imposta il valore della proprietà itemRise. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setItemRise(LengthDimension value) { - this.itemRise = value; - } - - /** - * Recupera il valore della proprietà laptopCapacity. - * - * @return possible object is - * {@link String } - */ - public String getLaptopCapacity() { - return laptopCapacity; - } - - /** - * Imposta il valore della proprietà laptopCapacity. - * - * @param value allowed object is - * {@link String } - */ - public void setLaptopCapacity(String value) { - this.laptopCapacity = value; - } - - /** - * Recupera il valore della proprietà legDiameter. - * - * @return possible object is - * {@link String } - */ - public String getLegDiameter() { - return legDiameter; - } - - /** - * Imposta il valore della proprietà legDiameter. - * - * @param value allowed object is - * {@link String } - */ - public void setLegDiameter(String value) { - this.legDiameter = value; - } - - /** - * Recupera il valore della proprietà legStyle. - * - * @return possible object is - * {@link String } - */ - public String getLegStyle() { - return legStyle; - } - - /** - * Imposta il valore della proprietà legStyle. - * - * @param value allowed object is - * {@link String } - */ - public void setLegStyle(String value) { - this.legStyle = value; - } - - /** - * Recupera il valore della proprietà materialType. - * - * @return possible object is - * {@link String } - */ - public String getMaterialType() { - return materialType; - } - - /** - * Imposta il valore della proprietà materialType. - * - * @param value allowed object is - * {@link String } - */ - public void setMaterialType(String value) { - this.materialType = value; - } - - /** - * Recupera il valore della proprietà mfrWarrantyDescriptionLabor. - * - * @return possible object is - * {@link String } - */ - public String getMfrWarrantyDescriptionLabor() { - return mfrWarrantyDescriptionLabor; - } - - /** - * Imposta il valore della proprietà mfrWarrantyDescriptionLabor. - * - * @param value allowed object is - * {@link String } - */ - public void setMfrWarrantyDescriptionLabor(String value) { - this.mfrWarrantyDescriptionLabor = value; - } - - /** - * Recupera il valore della proprietà mfrWarrantyDescriptionParts. - * - * @return possible object is - * {@link String } - */ - public String getMfrWarrantyDescriptionParts() { - return mfrWarrantyDescriptionParts; - } - - /** - * Imposta il valore della proprietà mfrWarrantyDescriptionParts. - * - * @param value allowed object is - * {@link String } - */ - public void setMfrWarrantyDescriptionParts(String value) { - this.mfrWarrantyDescriptionParts = value; - } - - /** - * Recupera il valore della proprietà mfrWarrantyDescriptionType. - * - * @return possible object is - * {@link String } - */ - public String getMfrWarrantyDescriptionType() { - return mfrWarrantyDescriptionType; - } - - /** - * Imposta il valore della proprietà mfrWarrantyDescriptionType. - * - * @param value allowed object is - * {@link String } - */ - public void setMfrWarrantyDescriptionType(String value) { - this.mfrWarrantyDescriptionType = value; - } - - /** - * Recupera il valore della proprietà neckStyle. - * - * @return possible object is - * {@link String } - */ - public String getNeckStyle() { - return neckStyle; - } - - /** - * Imposta il valore della proprietà neckStyle. - * - * @param value allowed object is - * {@link String } - */ - public void setNeckStyle(String value) { - this.neckStyle = value; - } - - /** - * Recupera il valore della proprietà opacity. - * - * @return possible object is - * {@link String } - */ - public String getOpacity() { - return opacity; - } - - /** - * Imposta il valore della proprietà opacity. - * - * @param value allowed object is - * {@link String } - */ - public void setOpacity(String value) { - this.opacity = value; - } - - /** - * Recupera il valore della proprietà patternStyle. - * - * @return possible object is - * {@link String } - */ - public String getPatternStyle() { - return patternStyle; - } - - /** - * Imposta il valore della proprietà patternStyle. - * - * @param value allowed object is - * {@link String } - */ - public void setPatternStyle(String value) { - this.patternStyle = value; - } - - /** - * Recupera il valore della proprietà collectionName. - * - * @return possible object is - * {@link String } - */ - public String getCollectionName() { - return collectionName; - } - - /** - * Imposta il valore della proprietà collectionName. - * - * @param value allowed object is - * {@link String } - */ - public void setCollectionName(String value) { - this.collectionName = value; - } - - /** - * Recupera il valore della proprietà frameMaterialType. - * - * @return possible object is - * {@link String } - */ - public String getFrameMaterialType() { - return frameMaterialType; - } - - /** - * Imposta il valore della proprietà frameMaterialType. - * - * @param value allowed object is - * {@link String } - */ - public void setFrameMaterialType(String value) { - this.frameMaterialType = value; - } - - /** - * Recupera il valore della proprietà lensMaterialType. - * - * @return possible object is - * {@link String } - */ - public String getLensMaterialType() { - return lensMaterialType; - } - - /** - * Imposta il valore della proprietà lensMaterialType. - * - * @param value allowed object is - * {@link String } - */ - public void setLensMaterialType(String value) { - this.lensMaterialType = value; - } - - /** - * Recupera il valore della proprietà polarizationType. - * - * @return possible object is - * {@link String } - */ - public String getPolarizationType() { - return polarizationType; - } - - /** - * Imposta il valore della proprietà polarizationType. - * - * @param value allowed object is - * {@link String } - */ - public void setPolarizationType(String value) { - this.polarizationType = value; - } - - /** - * Recupera il valore della proprietà lensWidth. - * - * @return possible object is - * {@link StringLengthOptionalDimension } - */ - public StringLengthOptionalDimension getLensWidth() { - return lensWidth; - } - - /** - * Imposta il valore della proprietà lensWidth. - * - * @param value allowed object is - * {@link StringLengthOptionalDimension } - */ - public void setLensWidth(StringLengthOptionalDimension value) { - this.lensWidth = value; - } - - /** - * Recupera il valore della proprietà lensHeight. - * - * @return possible object is - * {@link StringLengthOptionalDimension } - */ - public StringLengthOptionalDimension getLensHeight() { - return lensHeight; - } - - /** - * Imposta il valore della proprietà lensHeight. - * - * @param value allowed object is - * {@link StringLengthOptionalDimension } - */ - public void setLensHeight(StringLengthOptionalDimension value) { - this.lensHeight = value; - } - - /** - * Recupera il valore della proprietà bridgeWidth. - * - * @return possible object is - * {@link String } - */ - public String getBridgeWidth() { - return bridgeWidth; - } - - /** - * Imposta il valore della proprietà bridgeWidth. - * - * @param value allowed object is - * {@link String } - */ - public void setBridgeWidth(String value) { - this.bridgeWidth = value; - } - - /** - * Recupera il valore della proprietà pocketDescription. - * - * @return possible object is - * {@link String } - */ - public String getPocketDescription() { - return pocketDescription; - } - - /** - * Imposta il valore della proprietà pocketDescription. - * - * @param value allowed object is - * {@link String } - */ - public void setPocketDescription(String value) { - this.pocketDescription = value; - } - - /** - * Recupera il valore della proprietà regionOfOrigin. - * - * @return possible object is - * {@link String } - */ - public String getRegionOfOrigin() { - return regionOfOrigin; - } - - /** - * Imposta il valore della proprietà regionOfOrigin. - * - * @param value allowed object is - * {@link String } - */ - public void setRegionOfOrigin(String value) { - this.regionOfOrigin = value; - } - - /** - * Recupera il valore della proprietà riseStyle. - * - * @return possible object is - * {@link String } - */ - public String getRiseStyle() { - return riseStyle; - } - - /** - * Imposta il valore della proprietà riseStyle. - * - * @param value allowed object is - * {@link String } - */ - public void setRiseStyle(String value) { - this.riseStyle = value; - } - - /** - * Recupera il valore della proprietà safetyWarning. - * - * @return possible object is - * {@link String } - */ - public String getSafetyWarning() { - return safetyWarning; - } - - /** - * Imposta il valore della proprietà safetyWarning. - * - * @param value allowed object is - * {@link String } - */ - public void setSafetyWarning(String value) { - this.safetyWarning = value; - } - - /** - * Recupera il valore della proprietà sellerWarrantyDescription. - * - * @return possible object is - * {@link String } - */ - public String getSellerWarrantyDescription() { - return sellerWarrantyDescription; - } - - /** - * Imposta il valore della proprietà sellerWarrantyDescription. - * - * @param value allowed object is - * {@link String } - */ - public void setSellerWarrantyDescription(String value) { - this.sellerWarrantyDescription = value; - } - - /** - * Gets the value of the specialFeature property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the specialFeature property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getSpecialFeature().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getSpecialFeature() { - if (specialFeature == null) { - specialFeature = new ArrayList(); - } - return this.specialFeature; - } - - /** - * Recupera il valore della proprietà targetGender. - * - * @return possible object is - * {@link String } - */ - public String getTargetGender() { - return targetGender; - } - - /** - * Imposta il valore della proprietà targetGender. - * - * @param value allowed object is - * {@link String } - */ - public void setTargetGender(String value) { - this.targetGender = value; - } - - /** - * Recupera il valore della proprietà theme. - * - * @return possible object is - * {@link String } - */ - public String getTheme() { - return theme; - } - - /** - * Imposta il valore della proprietà theme. - * - * @param value allowed object is - * {@link String } - */ - public void setTheme(String value) { - this.theme = value; - } - - /** - * Recupera il valore della proprietà topStyle. - * - * @return possible object is - * {@link String } - */ - public String getTopStyle() { - return topStyle; - } - - /** - * Imposta il valore della proprietà topStyle. - * - * @param value allowed object is - * {@link String } - */ - public void setTopStyle(String value) { - this.topStyle = value; - } - - /** - * Recupera il valore della proprietà underwireType. - * - * @return possible object is - * {@link String } - */ - public String getUnderwireType() { - return underwireType; - } - - /** - * Imposta il valore della proprietà underwireType. - * - * @param value allowed object is - * {@link String } - */ - public void setUnderwireType(String value) { - this.underwireType = value; - } - - /** - * Recupera il valore della proprietà volume. - * - * @return possible object is - * {@link VolumeDimension } - */ - public VolumeDimension getVolume() { - return volume; - } - - /** - * Imposta il valore della proprietà volume. - * - * @param value allowed object is - * {@link VolumeDimension } - */ - public void setVolume(VolumeDimension value) { - this.volume = value; - } - - /** - * Recupera il valore della proprietà waterResistanceLevel. - * - * @return possible object is - * {@link String } - */ - public String getWaterResistanceLevel() { - return waterResistanceLevel; - } - - /** - * Imposta il valore della proprietà waterResistanceLevel. - * - * @param value allowed object is - * {@link String } - */ - public void setWaterResistanceLevel(String value) { - this.waterResistanceLevel = value; - } - - /** - * Recupera il valore della proprietà wheelType. - * - * @return possible object is - * {@link String } - */ - public String getWheelType() { - return wheelType; - } - - /** - * Imposta il valore della proprietà wheelType. - * - * @param value allowed object is - * {@link String } - */ - public void setWheelType(String value) { - this.wheelType = value; - } - - /** - * Recupera il valore della proprietà furisodeLength. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getFurisodeLength() { - return furisodeLength; - } - - /** - * Imposta il valore della proprietà furisodeLength. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setFurisodeLength(LengthDimension value) { - this.furisodeLength = value; - } - - /** - * Recupera il valore della proprietà furisodeWidth. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getFurisodeWidth() { - return furisodeWidth; - } - - /** - * Imposta il valore della proprietà furisodeWidth. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setFurisodeWidth(LengthDimension value) { - this.furisodeWidth = value; - } - - /** - * Recupera il valore della proprietà obiLength. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getObiLength() { - return obiLength; - } - - /** - * Imposta il valore della proprietà obiLength. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setObiLength(LengthDimension value) { - this.obiLength = value; - } - - /** - * Recupera il valore della proprietà obiWidth. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getObiWidth() { - return obiWidth; - } - - /** - * Imposta il valore della proprietà obiWidth. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setObiWidth(LengthDimension value) { - this.obiWidth = value; - } - - /** - * Recupera il valore della proprietà tsukeobiWidth. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getTsukeobiWidth() { - return tsukeobiWidth; - } - - /** - * Imposta il valore della proprietà tsukeobiWidth. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setTsukeobiWidth(LengthDimension value) { - this.tsukeobiWidth = value; - } - - /** - * Recupera il valore della proprietà tsukeobiHeight. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getTsukeobiHeight() { - return tsukeobiHeight; - } - - /** - * Imposta il valore della proprietà tsukeobiHeight. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setTsukeobiHeight(LengthDimension value) { - this.tsukeobiHeight = value; - } - - /** - * Recupera il valore della proprietà pillowSize. - * - * @return possible object is - * {@link StringLengthOptionalDimension } - */ - public StringLengthOptionalDimension getPillowSize() { - return pillowSize; - } - - /** - * Imposta il valore della proprietà pillowSize. - * - * @param value allowed object is - * {@link StringLengthOptionalDimension } - */ - public void setPillowSize(StringLengthOptionalDimension value) { - this.pillowSize = value; - } - - /** - * Recupera il valore della proprietà strapType. - * - * @return possible object is - * {@link String } - */ - public String getStrapType() { - return strapType; - } - - /** - * Imposta il valore della proprietà strapType. - * - * @param value allowed object is - * {@link String } - */ - public void setStrapType(String value) { - this.strapType = value; - } - - /** - * Recupera il valore della proprietà toeShape. - * - * @return possible object is - * {@link String } - */ - public String getToeShape() { - return toeShape; - } - - /** - * Imposta il valore della proprietà toeShape. - * - * @param value allowed object is - * {@link String } - */ - public void setToeShape(String value) { - this.toeShape = value; - } - - /** - * Recupera il valore della proprietà warrantyType. - * - * @return possible object is - * {@link String } - */ - public String getWarrantyType() { - return warrantyType; - } - - /** - * Imposta il valore della proprietà warrantyType. - * - * @param value allowed object is - * {@link String } - */ - public void setWarrantyType(String value) { - this.warrantyType = value; - } - - /** - * Recupera il valore della proprietà warrantyDescription. - * - * @return possible object is - * {@link String } - */ - public String getWarrantyDescription() { - return warrantyDescription; - } - - /** - * Imposta il valore della proprietà warrantyDescription. - * - * @param value allowed object is - * {@link String } - */ - public void setWarrantyDescription(String value) { - this.warrantyDescription = value; - } - - /** - * Recupera il valore della proprietà occasionType. - * - * @return possible object is - * {@link String } - */ - public String getOccasionType() { - return occasionType; - } - - /** - * Imposta il valore della proprietà occasionType. - * - * @param value allowed object is - * {@link String } - */ - public void setOccasionType(String value) { - this.occasionType = value; - } - - /** - * Recupera il valore della proprietà leatherType. - * - * @return possible object is - * {@link String } - */ - public String getLeatherType() { - return leatherType; - } - - /** - * Imposta il valore della proprietà leatherType. - * - * @param value allowed object is - * {@link String } - */ - public void setLeatherType(String value) { - this.leatherType = value; - } - - /** - * Recupera il valore della proprietà isVeryHighValue. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isIsVeryHighValue() { - return isVeryHighValue; - } - - /** - * Imposta il valore della proprietà isVeryHighValue. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setIsVeryHighValue(Boolean value) { - this.isVeryHighValue = value; - } - - /** - * Recupera il valore della proprietà isStainResistant. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isIsStainResistant() { - return isStainResistant; - } - - /** - * Imposta il valore della proprietà isStainResistant. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setIsStainResistant(Boolean value) { - this.isStainResistant = value; - } - - /** - * Recupera il valore della proprietà harmonizedCode. - * - * @return possible object is - * {@link String } - */ - public String getHarmonizedCode() { - return harmonizedCode; - } - - /** - * Imposta il valore della proprietà harmonizedCode. - * - * @param value allowed object is - * {@link String } - */ - public void setHarmonizedCode(String value) { - this.harmonizedCode = value; - } - - /** - * Recupera il valore della proprietà contributor. - * - * @return possible object is - * {@link String } - */ - public String getContributor() { - return contributor; - } - - /** - * Imposta il valore della proprietà contributor. - * - * @param value allowed object is - * {@link String } - */ - public void setContributor(String value) { - this.contributor = value; - } - - /** - * Recupera il valore della proprietà baseLength. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getBaseLength() { - return baseLength; - } - - /** - * Imposta il valore della proprietà baseLength. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setBaseLength(LengthDimension value) { - this.baseLength = value; - } - - /** - * Recupera il valore della proprietà supportType. - * - * @return possible object is - * {@link String } - */ - public String getSupportType() { - return supportType; - } - - /** - * Imposta il valore della proprietà supportType. - * - * @param value allowed object is - * {@link String } - */ - public void setSupportType(String value) { - this.supportType = value; - } - - /** - * Recupera il valore della proprietà weaveType. - * - * @return possible object is - * {@link String } - */ - public String getWeaveType() { - return weaveType; - } - - /** - * Imposta il valore della proprietà weaveType. - * - * @param value allowed object is - * {@link String } - */ - public void setWeaveType(String value) { - this.weaveType = value; - } - - /** - * Recupera il valore della proprietà embroideryType. - * - * @return possible object is - * {@link String } - */ - public String getEmbroideryType() { - return embroideryType; - } - - /** - * Imposta il valore della proprietà embroideryType. - * - * @param value allowed object is - * {@link String } - */ - public void setEmbroideryType(String value) { - this.embroideryType = value; - } - - /** - * Recupera il valore della proprietà designName. - * - * @return possible object is - * {@link String } - */ - public String getDesignName() { - return designName; - } - - /** - * Imposta il valore della proprietà designName. - * - * @param value allowed object is - * {@link String } - */ - public void setDesignName(String value) { - this.designName = value; - } - - /** - * Recupera il valore della proprietà collectionDescription. - * - * @return possible object is - * {@link String } - */ - public String getCollectionDescription() { - return collectionDescription; - } - - /** - * Imposta il valore della proprietà collectionDescription. - * - * @param value allowed object is - * {@link String } - */ - public void setCollectionDescription(String value) { - this.collectionDescription = value; - } - - /** - * Gets the value of the specificUsesForProduct property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the specificUsesForProduct property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getSpecificUsesForProduct().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getSpecificUsesForProduct() { - if (specificUsesForProduct == null) { - specificUsesForProduct = new ArrayList(); - } - return this.specificUsesForProduct; - } - - /** - * Recupera il valore della proprietà patternName. - * - * @return possible object is - * {@link String } - */ - public String getPatternName() { - return patternName; - } - - /** - * Imposta il valore della proprietà patternName. - * - * @param value allowed object is - * {@link String } - */ - public void setPatternName(String value) { - this.patternName = value; - } - - /** - * Recupera il valore della proprietà shellType. - * - * @return possible object is - * {@link String } - */ - public String getShellType() { - return shellType; - } - - /** - * Imposta il valore della proprietà shellType. - * - * @param value allowed object is - * {@link String } - */ - public void setShellType(String value) { - this.shellType = value; - } - - /** - * Recupera il valore della proprietà numberOfWheels. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getNumberOfWheels() { - return numberOfWheels; - } - - /** - * Imposta il valore della proprietà numberOfWheels. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setNumberOfWheels(BigInteger value) { - this.numberOfWheels = value; - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="Parentage" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="parent"/>
-     *               <enumeration value="child"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="Size" type="{}String" minOccurs="0"/>
-     *         <element name="Color" type="{}String" minOccurs="0"/>
-     *         <element name="VariationTheme" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="Size"/>
-     *               <enumeration value="Color"/>
-     *               <enumeration value="SizeColor"/>
-     *               <enumeration value="Color-Itempackagequantity"/>
-     *               <enumeration value="Color-Material"/>
-     *               <enumeration value="Color-Patternname"/>
-     *               <enumeration value="ColorSize"/>
-     *               <enumeration value="Itempackagequantity"/>
-     *               <enumeration value="Itempackagequantity-Color"/>
-     *               <enumeration value="Itempackagequantity-Material"/>
-     *               <enumeration value="Itempackagequantity-Size"/>
-     *               <enumeration value="Material"/>
-     *               <enumeration value="Material-Color"/>
-     *               <enumeration value="Material-Patternname"/>
-     *               <enumeration value="Material-Size"/>
-     *               <enumeration value="Patternname"/>
-     *               <enumeration value="Patternname-Color"/>
-     *               <enumeration value="Patternname-Material"/>
-     *               <enumeration value="Patternname-Size"/>
-     *               <enumeration value="Size-Material"/>
-     *               <enumeration value="Size-Patternname"/>
-     *               <enumeration value="Cupsize"/>
-     *               <enumeration value="Cupsize-Color"/>
-     *               <enumeration value="Cupsize-Color-Size"/>
-     *               <enumeration value="Cupsize-Size"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "parentage", - "size", - "color", - "variationTheme" - }) - public static class VariationData { - - @XmlElement(name = "Parentage") - protected String parentage; - @XmlElement(name = "Size", defaultValue = "*") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String size; - @XmlElement(name = "Color", defaultValue = "*") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String color; - @XmlElement(name = "VariationTheme") - protected String variationTheme; - - /** - * Recupera il valore della proprietà parentage. - * - * @return possible object is - * {@link String } - */ - public String getParentage() { - return parentage; - } - - /** - * Imposta il valore della proprietà parentage. - * - * @param value allowed object is - * {@link String } - */ - public void setParentage(String value) { - this.parentage = value; - } - - /** - * Recupera il valore della proprietà size. - * - * @return possible object is - * {@link String } - */ - public String getSize() { - return size; - } - - /** - * Imposta il valore della proprietà size. - * - * @param value allowed object is - * {@link String } - */ - public void setSize(String value) { - this.size = value; - } - - /** - * Recupera il valore della proprietà color. - * - * @return possible object is - * {@link String } - */ - public String getColor() { - return color; - } - - /** - * Imposta il valore della proprietà color. - * - * @param value allowed object is - * {@link String } - */ - public void setColor(String value) { - this.color = value; - } - - /** - * Recupera il valore della proprietà variationTheme. - * - * @return possible object is - * {@link String } - */ - public String getVariationTheme() { - return variationTheme; - } - - /** - * Imposta il valore della proprietà variationTheme. - * - * @param value allowed object is - * {@link String } - */ - public void setVariationTheme(String value) { - this.variationTheme = value; - } - - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ClothingSizeDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ClothingSizeDimension.java deleted file mode 100644 index c59c6a5076..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ClothingSizeDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per ClothingSizeDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="ClothingSizeDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}ClothingSizeUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ClothingSizeDimension", propOrder = { - "value" -}) -public class ClothingSizeDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected ClothingSizeUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link ClothingSizeUnitOfMeasure } - */ - public ClothingSizeUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link ClothingSizeUnitOfMeasure } - */ - public void setUnitOfMeasure(ClothingSizeUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ClothingSizeUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ClothingSizeUnitOfMeasure.java deleted file mode 100644 index c3a7934216..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ClothingSizeUnitOfMeasure.java +++ /dev/null @@ -1,44 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per ClothingSizeUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="ClothingSizeUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="IN"/>
- *     <enumeration value="CM"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "ClothingSizeUnitOfMeasure") -@XmlEnum -public enum ClothingSizeUnitOfMeasure { - - IN, - CM; - - public static ClothingSizeUnitOfMeasure fromValue(String v) { - return valueOf(v); - } - - public String value() { - return name(); - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ColorSpecification.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ColorSpecification.java deleted file mode 100644 index c339380830..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ColorSpecification.java +++ /dev/null @@ -1,88 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="Color" type="{}StringNotNull"/>
- *         <element ref="{}ColorMap"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "color", - "colorMap" -}) -@XmlRootElement(name = "ColorSpecification") -public class ColorSpecification { - - @XmlElement(name = "Color", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String color; - @XmlElement(name = "ColorMap", required = true) - protected String colorMap; - - /** - * Recupera il valore della proprietà color. - * - * @return possible object is - * {@link String } - */ - public String getColor() { - return color; - } - - /** - * Imposta il valore della proprietà color. - * - * @param value allowed object is - * {@link String } - */ - public void setColor(String value) { - this.color = value; - } - - /** - * Recupera il valore della proprietà colorMap. - * - * @return possible object is - * {@link String } - */ - public String getColorMap() { - return colorMap; - } - - /** - * Imposta il valore della proprietà colorMap. - * - * @param value allowed object is - * {@link String } - */ - public void setColorMap(String value) { - this.colorMap = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ComputerPlatform.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ComputerPlatform.java deleted file mode 100644 index 40681e6682..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ComputerPlatform.java +++ /dev/null @@ -1,96 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="Type">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <enumeration value="windows"/>
- *               <enumeration value="mac"/>
- *               <enumeration value="linux"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="SystemRequirements" type="{}LongStringNotNull" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "type", - "systemRequirements" -}) -@XmlRootElement(name = "ComputerPlatform") -public class ComputerPlatform { - - @XmlElement(name = "Type", required = true) - protected String type; - @XmlElement(name = "SystemRequirements") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String systemRequirements; - - /** - * Recupera il valore della proprietà type. - * - * @return possible object is - * {@link String } - */ - public String getType() { - return type; - } - - /** - * Imposta il valore della proprietà type. - * - * @param value allowed object is - * {@link String } - */ - public void setType(String value) { - this.type = value; - } - - /** - * Recupera il valore della proprietà systemRequirements. - * - * @return possible object is - * {@link String } - */ - public String getSystemRequirements() { - return systemRequirements; - } - - /** - * Imposta il valore della proprietà systemRequirements. - * - * @param value allowed object is - * {@link String } - */ - public void setSystemRequirements(String value) { - this.systemRequirements = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ComputerPlatformValues.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ComputerPlatformValues.java deleted file mode 100644 index 27ef450feb..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ComputerPlatformValues.java +++ /dev/null @@ -1,126 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per ComputerPlatformValues. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="ComputerPlatformValues">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="game_boy_advance"/>
- *     <enumeration value="gameboy"/>
- *     <enumeration value="gameboy_color"/>
- *     <enumeration value="gamecube"/>
- *     <enumeration value="gizmondo"/>
- *     <enumeration value="linux"/>
- *     <enumeration value="macintosh"/>
- *     <enumeration value="n_gage"/>
- *     <enumeration value="nintendo_ds"/>
- *     <enumeration value="nintendo_NES"/>
- *     <enumeration value="nintendo_super_NES"/>
- *     <enumeration value="nintendo_wii"/>
- *     <enumeration value="nintendo64"/>
- *     <enumeration value="palm"/>
- *     <enumeration value="playstation"/>
- *     <enumeration value="playstation_2"/>
- *     <enumeration value="playstation_vita"/>
- *     <enumeration value="pocket_pc"/>
- *     <enumeration value="powermac"/>
- *     <enumeration value="sega_saturn"/>
- *     <enumeration value="sony_psp"/>
- *     <enumeration value="super_nintendo"/>
- *     <enumeration value="unix"/>
- *     <enumeration value="windows"/>
- *     <enumeration value="xbox"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "ComputerPlatformValues") -@XmlEnum -public enum ComputerPlatformValues { - - @XmlEnumValue("game_boy_advance") - GAME_BOY_ADVANCE("game_boy_advance"), - @XmlEnumValue("gameboy") - GAMEBOY("gameboy"), - @XmlEnumValue("gameboy_color") - GAMEBOY_COLOR("gameboy_color"), - @XmlEnumValue("gamecube") - GAMECUBE("gamecube"), - @XmlEnumValue("gizmondo") - GIZMONDO("gizmondo"), - @XmlEnumValue("linux") - LINUX("linux"), - @XmlEnumValue("macintosh") - MACINTOSH("macintosh"), - @XmlEnumValue("n_gage") - N_GAGE("n_gage"), - @XmlEnumValue("nintendo_ds") - NINTENDO_DS("nintendo_ds"), - @XmlEnumValue("nintendo_NES") - NINTENDO_NES("nintendo_NES"), - @XmlEnumValue("nintendo_super_NES") - NINTENDO_SUPER_NES("nintendo_super_NES"), - @XmlEnumValue("nintendo_wii") - NINTENDO_WII("nintendo_wii"), - @XmlEnumValue("nintendo64") - NINTENDO_64("nintendo64"), - @XmlEnumValue("palm") - PALM("palm"), - @XmlEnumValue("playstation") - PLAYSTATION("playstation"), - @XmlEnumValue("playstation_2") - PLAYSTATION_2("playstation_2"), - @XmlEnumValue("playstation_vita") - PLAYSTATION_VITA("playstation_vita"), - @XmlEnumValue("pocket_pc") - POCKET_PC("pocket_pc"), - @XmlEnumValue("powermac") - POWERMAC("powermac"), - @XmlEnumValue("sega_saturn") - SEGA_SATURN("sega_saturn"), - @XmlEnumValue("sony_psp") - SONY_PSP("sony_psp"), - @XmlEnumValue("super_nintendo") - SUPER_NINTENDO("super_nintendo"), - @XmlEnumValue("unix") - UNIX("unix"), - @XmlEnumValue("windows") - WINDOWS("windows"), - @XmlEnumValue("xbox") - XBOX("xbox"); - private final String value; - - ComputerPlatformValues(String v) { - value = v; - } - - public static ComputerPlatformValues fromValue(String v) { - for (ComputerPlatformValues c : ComputerPlatformValues.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ConditionInfo.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ConditionInfo.java deleted file mode 100644 index 73a293c09c..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ConditionInfo.java +++ /dev/null @@ -1,90 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Classe Java per ConditionInfo complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="ConditionInfo">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element ref="{}ConditionType"/>
- *         <element name="ConditionNote" type="{}TwoThousandString" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ConditionInfo", propOrder = { - "conditionType", - "conditionNote" -}) -public class ConditionInfo { - - @XmlElement(name = "ConditionType", required = true) - protected String conditionType; - @XmlElement(name = "ConditionNote") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String conditionNote; - - /** - * Recupera il valore della proprietà conditionType. - * - * @return possible object is - * {@link String } - */ - public String getConditionType() { - return conditionType; - } - - /** - * Imposta il valore della proprietà conditionType. - * - * @param value allowed object is - * {@link String } - */ - public void setConditionType(String value) { - this.conditionType = value; - } - - /** - * Recupera il valore della proprietà conditionNote. - * - * @return possible object is - * {@link String } - */ - public String getConditionNote() { - return conditionNote; - } - - /** - * Imposta il valore della proprietà conditionNote. - * - * @param value allowed object is - * {@link String } - */ - public void setConditionNote(String value) { - this.conditionNote = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ContinuousShootingDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ContinuousShootingDimension.java deleted file mode 100644 index 4684cd2186..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ContinuousShootingDimension.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per ContinuousShootingDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="ContinuousShootingDimension">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
- *       <attribute name="unitOfMeasure" use="required" type="{}ContinuousShootingUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ContinuousShootingDimension", propOrder = { - "value" -}) -public class ContinuousShootingDimension { - - @XmlValue - @XmlSchemaType(name = "positiveInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected ContinuousShootingUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link ContinuousShootingUnitOfMeasure } - */ - public ContinuousShootingUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link ContinuousShootingUnitOfMeasure } - */ - public void setUnitOfMeasure(ContinuousShootingUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ContinuousShootingUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ContinuousShootingUnitOfMeasure.java deleted file mode 100644 index 6bf3d3a0fb..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ContinuousShootingUnitOfMeasure.java +++ /dev/null @@ -1,54 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per ContinuousShootingUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="ContinuousShootingUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="frames"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "ContinuousShootingUnitOfMeasure") -@XmlEnum -public enum ContinuousShootingUnitOfMeasure { - - @XmlEnumValue("frames") - FRAMES("frames"); - private final String value; - - ContinuousShootingUnitOfMeasure(String v) { - value = v; - } - - public static ContinuousShootingUnitOfMeasure fromValue(String v) { - for (ContinuousShootingUnitOfMeasure c : ContinuousShootingUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CurencyDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CurencyDimension.java deleted file mode 100644 index 54f555d622..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CurencyDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per CurencyDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="CurencyDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}GlobalCurrencyCode" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CurencyDimension", propOrder = { - "value" -}) -public class CurencyDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected GlobalCurrencyCode unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link GlobalCurrencyCode } - */ - public GlobalCurrencyCode getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link GlobalCurrencyCode } - */ - public void setUnitOfMeasure(GlobalCurrencyCode value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CurrencyAmount.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CurrencyAmount.java deleted file mode 100644 index 4c4e5f79a0..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CurrencyAmount.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per CurrencyAmount complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="CurrencyAmount">
- *   <simpleContent>
- *     <extension base="<>BaseCurrencyAmount">
- *       <attribute name="currency" use="required" type="{}BaseCurrencyCode" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CurrencyAmount", propOrder = { - "value" -}) -public class CurrencyAmount { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "currency", required = true) - protected BaseCurrencyCode currency; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà currency. - * - * @return possible object is - * {@link BaseCurrencyCode } - */ - public BaseCurrencyCode getCurrency() { - return currency; - } - - /** - * Imposta il valore della proprietà currency. - * - * @param value allowed object is - * {@link BaseCurrencyCode } - */ - public void setCurrency(BaseCurrencyCode value) { - this.currency = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CurrencyAmountWithDefault.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CurrencyAmountWithDefault.java deleted file mode 100644 index 67bc7113cf..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CurrencyAmountWithDefault.java +++ /dev/null @@ -1,84 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per CurrencyAmountWithDefault complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="CurrencyAmountWithDefault">
- *   <simpleContent>
- *     <extension base="<>BasePriceCurrencyAmount">
- *       <attribute name="currency" use="required" type="{}BaseCurrencyCodeWithDefault" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CurrencyAmountWithDefault", propOrder = { - "value" -}) -@XmlSeeAlso({ - OverrideCurrencyAmount.class -}) -public class CurrencyAmountWithDefault { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "currency", required = true) - protected BaseCurrencyCodeWithDefault currency; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà currency. - * - * @return possible object is - * {@link BaseCurrencyCodeWithDefault } - */ - public BaseCurrencyCodeWithDefault getCurrency() { - return currency; - } - - /** - * Imposta il valore della proprietà currency. - * - * @param value allowed object is - * {@link BaseCurrencyCodeWithDefault } - */ - public void setCurrency(BaseCurrencyCodeWithDefault value) { - this.currency = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CurrentDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CurrentDimension.java deleted file mode 100644 index 17241a1ee3..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CurrentDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per CurrentDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="CurrentDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}CurrentUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CurrentDimension", propOrder = { - "value" -}) -public class CurrentDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected CurrentUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link CurrentUnitOfMeasure } - */ - public CurrentUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link CurrentUnitOfMeasure } - */ - public void setUnitOfMeasure(CurrentUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CurrentUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CurrentUnitOfMeasure.java deleted file mode 100644 index e068c46869..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CurrentUnitOfMeasure.java +++ /dev/null @@ -1,56 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per CurrentUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="CurrentUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="mA"/>
- *     <enumeration value="A"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "CurrentUnitOfMeasure") -@XmlEnum -public enum CurrentUnitOfMeasure { - - @XmlEnumValue("mA") - M_A("mA"), - A("A"); - private final String value; - - CurrentUnitOfMeasure(String v) { - value = v; - } - - public static CurrentUnitOfMeasure fromValue(String v) { - for (CurrentUnitOfMeasure c : CurrentUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Customer.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Customer.java deleted file mode 100644 index 9826e9485a..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Customer.java +++ /dev/null @@ -1,226 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import javax.xml.datatype.XMLGregorianCalendar; -import java.util.ArrayList; -import java.util.List; - - -/** - *

Classe Java per Customer complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="Customer">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="Name" type="{}String" minOccurs="0"/>
- *         <element name="FormalTitle" minOccurs="0">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <maxLength value="10"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="GivenName" type="{}String" minOccurs="0"/>
- *         <element name="FamilyName" type="{}String" minOccurs="0"/>
- *         <element name="Email" type="{}EmailAddressType" minOccurs="0"/>
- *         <element name="BirthDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
- *         <element name="CustomerAddress" type="{}AddressType" maxOccurs="unbounded" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Customer", propOrder = { - "name", - "formalTitle", - "givenName", - "familyName", - "email", - "birthDate", - "customerAddress" -}) -public class Customer { - - @XmlElement(name = "Name") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String name; - @XmlElement(name = "FormalTitle") - protected String formalTitle; - @XmlElement(name = "GivenName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String givenName; - @XmlElement(name = "FamilyName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String familyName; - @XmlElement(name = "Email") - protected EmailAddressType email; - @XmlElement(name = "BirthDate") - @XmlSchemaType(name = "date") - protected XMLGregorianCalendar birthDate; - @XmlElement(name = "CustomerAddress") - protected List customerAddress; - - /** - * Recupera il valore della proprietà name. - * - * @return possible object is - * {@link String } - */ - public String getName() { - return name; - } - - /** - * Imposta il valore della proprietà name. - * - * @param value allowed object is - * {@link String } - */ - public void setName(String value) { - this.name = value; - } - - /** - * Recupera il valore della proprietà formalTitle. - * - * @return possible object is - * {@link String } - */ - public String getFormalTitle() { - return formalTitle; - } - - /** - * Imposta il valore della proprietà formalTitle. - * - * @param value allowed object is - * {@link String } - */ - public void setFormalTitle(String value) { - this.formalTitle = value; - } - - /** - * Recupera il valore della proprietà givenName. - * - * @return possible object is - * {@link String } - */ - public String getGivenName() { - return givenName; - } - - /** - * Imposta il valore della proprietà givenName. - * - * @param value allowed object is - * {@link String } - */ - public void setGivenName(String value) { - this.givenName = value; - } - - /** - * Recupera il valore della proprietà familyName. - * - * @return possible object is - * {@link String } - */ - public String getFamilyName() { - return familyName; - } - - /** - * Imposta il valore della proprietà familyName. - * - * @param value allowed object is - * {@link String } - */ - public void setFamilyName(String value) { - this.familyName = value; - } - - /** - * Recupera il valore della proprietà email. - * - * @return possible object is - * {@link EmailAddressType } - */ - public EmailAddressType getEmail() { - return email; - } - - /** - * Imposta il valore della proprietà email. - * - * @param value allowed object is - * {@link EmailAddressType } - */ - public void setEmail(EmailAddressType value) { - this.email = value; - } - - /** - * Recupera il valore della proprietà birthDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getBirthDate() { - return birthDate; - } - - /** - * Imposta il valore della proprietà birthDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setBirthDate(XMLGregorianCalendar value) { - this.birthDate = value; - } - - /** - * Gets the value of the customerAddress property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the customerAddress property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getCustomerAddress().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link AddressType } - */ - public List getCustomerAddress() { - if (customerAddress == null) { - customerAddress = new ArrayList(); - } - return this.customerAddress; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CustomerReturnPolicyType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CustomerReturnPolicyType.java deleted file mode 100644 index 24ba3d66e1..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CustomerReturnPolicyType.java +++ /dev/null @@ -1,69 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per CustomerReturnPolicyType. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="CustomerReturnPolicyType">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="collectible"/>
- *     <enumeration value="restocking_fee"/>
- *     <enumeration value="standard"/>
- *     <enumeration value="non_returnable"/>
- *     <enumeration value="seasonal"/>
- *     <enumeration value="unknown"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "CustomerReturnPolicyType") -@XmlEnum -public enum CustomerReturnPolicyType { - - @XmlEnumValue("collectible") - COLLECTIBLE("collectible"), - @XmlEnumValue("restocking_fee") - RESTOCKING_FEE("restocking_fee"), - @XmlEnumValue("standard") - STANDARD("standard"), - @XmlEnumValue("non_returnable") - NON_RETURNABLE("non_returnable"), - @XmlEnumValue("seasonal") - SEASONAL("seasonal"), - @XmlEnumValue("unknown") - UNKNOWN("unknown"); - private final String value; - - CustomerReturnPolicyType(String v) { - value = v; - } - - public static CustomerReturnPolicyType fromValue(String v) { - for (CustomerReturnPolicyType c : CustomerReturnPolicyType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CustomizationInfoType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CustomizationInfoType.java deleted file mode 100644 index a2539377bc..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CustomizationInfoType.java +++ /dev/null @@ -1,91 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Classe Java per CustomizationInfoType complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="CustomizationInfoType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="Type" type="{}StringNotNull"/>
- *         <element name="Data" type="{}LongString"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CustomizationInfoType", propOrder = { - "type", - "data" -}) -public class CustomizationInfoType { - - @XmlElement(name = "Type", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String type; - @XmlElement(name = "Data", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String data; - - /** - * Recupera il valore della proprietà type. - * - * @return possible object is - * {@link String } - */ - public String getType() { - return type; - } - - /** - * Imposta il valore della proprietà type. - * - * @param value allowed object is - * {@link String } - */ - public void setType(String value) { - this.type = value; - } - - /** - * Recupera il valore della proprietà data. - * - * @return possible object is - * {@link String } - */ - public String getData() { - return data; - } - - /** - * Imposta il valore della proprietà data. - * - * @param value allowed object is - * {@link String } - */ - public void setData(String value) { - this.data = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CycleLengthDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CycleLengthDimension.java deleted file mode 100644 index 25d1b4e041..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CycleLengthDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per CycleLengthDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="CycleLengthDimension">
- *   <simpleContent>
- *     <extension base="<>PositiveDimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}CycleLengthUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "CycleLengthDimension", propOrder = { - "value" -}) -public class CycleLengthDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected CycleLengthUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link CycleLengthUnitOfMeasure } - */ - public CycleLengthUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link CycleLengthUnitOfMeasure } - */ - public void setUnitOfMeasure(CycleLengthUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CycleLengthUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CycleLengthUnitOfMeasure.java deleted file mode 100644 index 025b6bc740..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/CycleLengthUnitOfMeasure.java +++ /dev/null @@ -1,44 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per CycleLengthUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="CycleLengthUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="CM"/>
- *     <enumeration value="IN"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "CycleLengthUnitOfMeasure") -@XmlEnum -public enum CycleLengthUnitOfMeasure { - - CM, - IN; - - public static CycleLengthUnitOfMeasure fromValue(String v) { - return valueOf(v); - } - - public String value() { - return name(); - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DataTransferUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DataTransferUnitOfMeasure.java deleted file mode 100644 index 881b9138a4..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DataTransferUnitOfMeasure.java +++ /dev/null @@ -1,66 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per DataTransferUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="DataTransferUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="KHz"/>
- *     <enumeration value="MHz"/>
- *     <enumeration value="GHz"/>
- *     <enumeration value="Mbps"/>
- *     <enumeration value="Gbps"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "DataTransferUnitOfMeasure") -@XmlEnum -public enum DataTransferUnitOfMeasure { - - @XmlEnumValue("KHz") - K_HZ("KHz"), - @XmlEnumValue("MHz") - M_HZ("MHz"), - @XmlEnumValue("GHz") - G_HZ("GHz"), - @XmlEnumValue("Mbps") - MBPS("Mbps"), - @XmlEnumValue("Gbps") - GBPS("Gbps"); - private final String value; - - DataTransferUnitOfMeasure(String v) { - value = v; - } - - public static DataTransferUnitOfMeasure fromValue(String v) { - for (DataTransferUnitOfMeasure c : DataTransferUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DateIntegerDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DateIntegerDimension.java deleted file mode 100644 index 8a4889f4a2..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DateIntegerDimension.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per DateIntegerDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="DateIntegerDimension">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
- *       <attribute name="unitOfMeasure" use="required" type="{}DateUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DateIntegerDimension", propOrder = { - "value" -}) -public class DateIntegerDimension { - - @XmlValue - @XmlSchemaType(name = "positiveInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected DateUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link DateUnitOfMeasure } - */ - public DateUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link DateUnitOfMeasure } - */ - public void setUnitOfMeasure(DateUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DateUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DateUnitOfMeasure.java deleted file mode 100644 index 5e100ea839..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DateUnitOfMeasure.java +++ /dev/null @@ -1,63 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per DateUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="DateUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="days"/>
- *     <enumeration value="weeks"/>
- *     <enumeration value="months"/>
- *     <enumeration value="years"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "DateUnitOfMeasure") -@XmlEnum -public enum DateUnitOfMeasure { - - @XmlEnumValue("days") - DAYS("days"), - @XmlEnumValue("weeks") - WEEKS("weeks"), - @XmlEnumValue("months") - MONTHS("months"), - @XmlEnumValue("years") - YEARS("years"); - private final String value; - - DateUnitOfMeasure(String v) { - value = v; - } - - public static DateUnitOfMeasure fromValue(String v) { - for (DateUnitOfMeasure c : DateUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DatedCompareAtPrice.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DatedCompareAtPrice.java deleted file mode 100644 index 9a039baa47..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DatedCompareAtPrice.java +++ /dev/null @@ -1,134 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.datatype.XMLGregorianCalendar; - - -/** - *

Classe Java per DatedCompareAtPrice complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="DatedCompareAtPrice">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
- *         <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
- *         <element name="CompareAtPrice" type="{}CurrencyAmount"/>
- *       </sequence>
- *       <attribute name="delete" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DatedCompareAtPrice", propOrder = { - "startDate", - "endDate", - "compareAtPrice" -}) -public class DatedCompareAtPrice { - - @XmlElement(name = "StartDate") - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar startDate; - @XmlElement(name = "EndDate") - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar endDate; - @XmlElement(name = "CompareAtPrice", required = true) - protected CurrencyAmount compareAtPrice; - @XmlAttribute(name = "delete") - protected Boolean delete; - - /** - * Recupera il valore della proprietà startDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getStartDate() { - return startDate; - } - - /** - * Imposta il valore della proprietà startDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setStartDate(XMLGregorianCalendar value) { - this.startDate = value; - } - - /** - * Recupera il valore della proprietà endDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getEndDate() { - return endDate; - } - - /** - * Imposta il valore della proprietà endDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setEndDate(XMLGregorianCalendar value) { - this.endDate = value; - } - - /** - * Recupera il valore della proprietà compareAtPrice. - * - * @return possible object is - * {@link CurrencyAmount } - */ - public CurrencyAmount getCompareAtPrice() { - return compareAtPrice; - } - - /** - * Imposta il valore della proprietà compareAtPrice. - * - * @param value allowed object is - * {@link CurrencyAmount } - */ - public void setCompareAtPrice(CurrencyAmount value) { - this.compareAtPrice = value; - } - - /** - * Recupera il valore della proprietà delete. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isDelete() { - return delete; - } - - /** - * Imposta il valore della proprietà delete. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setDelete(Boolean value) { - this.delete = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DatedPrice.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DatedPrice.java deleted file mode 100644 index 02d25b1402..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DatedPrice.java +++ /dev/null @@ -1,160 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.datatype.XMLGregorianCalendar; - - -/** - *

Classe Java per DatedPrice complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="DatedPrice">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
- *         <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
- *         <choice>
- *           <element name="Price" type="{}CurrencyAmount"/>
- *           <element name="PreviousPrice" type="{}CurrencyAmount"/>
- *         </choice>
- *       </sequence>
- *       <attribute name="delete" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DatedPrice", propOrder = { - "startDate", - "endDate", - "price", - "previousPrice" -}) -public class DatedPrice { - - @XmlElement(name = "StartDate") - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar startDate; - @XmlElement(name = "EndDate") - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar endDate; - @XmlElement(name = "Price") - protected CurrencyAmount price; - @XmlElement(name = "PreviousPrice") - protected CurrencyAmount previousPrice; - @XmlAttribute(name = "delete") - protected Boolean delete; - - /** - * Recupera il valore della proprietà startDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getStartDate() { - return startDate; - } - - /** - * Imposta il valore della proprietà startDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setStartDate(XMLGregorianCalendar value) { - this.startDate = value; - } - - /** - * Recupera il valore della proprietà endDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getEndDate() { - return endDate; - } - - /** - * Imposta il valore della proprietà endDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setEndDate(XMLGregorianCalendar value) { - this.endDate = value; - } - - /** - * Recupera il valore della proprietà price. - * - * @return possible object is - * {@link CurrencyAmount } - */ - public CurrencyAmount getPrice() { - return price; - } - - /** - * Imposta il valore della proprietà price. - * - * @param value allowed object is - * {@link CurrencyAmount } - */ - public void setPrice(CurrencyAmount value) { - this.price = value; - } - - /** - * Recupera il valore della proprietà previousPrice. - * - * @return possible object is - * {@link CurrencyAmount } - */ - public CurrencyAmount getPreviousPrice() { - return previousPrice; - } - - /** - * Imposta il valore della proprietà previousPrice. - * - * @param value allowed object is - * {@link CurrencyAmount } - */ - public void setPreviousPrice(CurrencyAmount value) { - this.previousPrice = value; - } - - /** - * Recupera il valore della proprietà delete. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isDelete() { - return delete; - } - - /** - * Imposta il valore della proprietà delete. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setDelete(Boolean value) { - this.delete = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DegreeDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DegreeDimension.java deleted file mode 100644 index 2c356d4f54..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DegreeDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per DegreeDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="DegreeDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}DegreeUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DegreeDimension", propOrder = { - "value" -}) -public class DegreeDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected DegreeUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link DegreeUnitOfMeasure } - */ - public DegreeUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link DegreeUnitOfMeasure } - */ - public void setUnitOfMeasure(DegreeUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DegreeUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DegreeUnitOfMeasure.java deleted file mode 100644 index fb3fd72479..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DegreeUnitOfMeasure.java +++ /dev/null @@ -1,75 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per DegreeUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="DegreeUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="degrees"/>
- *     <enumeration value="microradian"/>
- *     <enumeration value="arc_minute"/>
- *     <enumeration value="arc_sec"/>
- *     <enumeration value="milliradian"/>
- *     <enumeration value="radians"/>
- *     <enumeration value="turns"/>
- *     <enumeration value="revolutions"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "DegreeUnitOfMeasure") -@XmlEnum -public enum DegreeUnitOfMeasure { - - @XmlEnumValue("degrees") - DEGREES("degrees"), - @XmlEnumValue("microradian") - MICRORADIAN("microradian"), - @XmlEnumValue("arc_minute") - ARC_MINUTE("arc_minute"), - @XmlEnumValue("arc_sec") - ARC_SEC("arc_sec"), - @XmlEnumValue("milliradian") - MILLIRADIAN("milliradian"), - @XmlEnumValue("radians") - RADIANS("radians"), - @XmlEnumValue("turns") - TURNS("turns"), - @XmlEnumValue("revolutions") - REVOLUTIONS("revolutions"); - private final String value; - - DegreeUnitOfMeasure(String v) { - value = v; - } - - public static DegreeUnitOfMeasure fromValue(String v) { - for (DegreeUnitOfMeasure c : DegreeUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DensityDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DensityDimension.java deleted file mode 100644 index 6174a1587d..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DensityDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per DensityDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="DensityDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}DensityUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DensityDimension", propOrder = { - "value" -}) -public class DensityDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected DensityUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link DensityUnitOfMeasure } - */ - public DensityUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link DensityUnitOfMeasure } - */ - public void setUnitOfMeasure(DensityUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DensityUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DensityUnitOfMeasure.java deleted file mode 100644 index 23ded6af47..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DensityUnitOfMeasure.java +++ /dev/null @@ -1,54 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per DensityUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="DensityUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="grams_per_square_meter"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "DensityUnitOfMeasure") -@XmlEnum -public enum DensityUnitOfMeasure { - - @XmlEnumValue("grams_per_square_meter") - GRAMS_PER_SQUARE_METER("grams_per_square_meter"); - private final String value; - - DensityUnitOfMeasure(String v) { - value = v; - } - - public static DensityUnitOfMeasure fromValue(String v) { - for (DensityUnitOfMeasure c : DensityUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Dimensions.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Dimensions.java deleted file mode 100644 index 22de0f3599..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Dimensions.java +++ /dev/null @@ -1,135 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per Dimensions complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="Dimensions">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="Length" type="{}LengthDimension" minOccurs="0"/>
- *         <element name="Width" type="{}LengthDimension" minOccurs="0"/>
- *         <element name="Height" type="{}LengthDimension" minOccurs="0"/>
- *         <element name="Weight" type="{}WeightDimension" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "Dimensions", propOrder = { - "length", - "width", - "height", - "weight" -}) -public class Dimensions { - - @XmlElement(name = "Length") - protected LengthDimension length; - @XmlElement(name = "Width") - protected LengthDimension width; - @XmlElement(name = "Height") - protected LengthDimension height; - @XmlElement(name = "Weight") - protected WeightDimension weight; - - /** - * Recupera il valore della proprietà length. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getLength() { - return length; - } - - /** - * Imposta il valore della proprietà length. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setLength(LengthDimension value) { - this.length = value; - } - - /** - * Recupera il valore della proprietà width. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getWidth() { - return width; - } - - /** - * Imposta il valore della proprietà width. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setWidth(LengthDimension value) { - this.width = value; - } - - /** - * Recupera il valore della proprietà height. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getHeight() { - return height; - } - - /** - * Imposta il valore della proprietà height. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setHeight(LengthDimension value) { - this.height = value; - } - - /** - * Recupera il valore della proprietà weight. - * - * @return possible object is - * {@link WeightDimension } - */ - public WeightDimension getWeight() { - return weight; - } - - /** - * Imposta il valore della proprietà weight. - * - * @param value allowed object is - * {@link WeightDimension } - */ - public void setWeight(WeightDimension value) { - this.weight = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DirectPaymentType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DirectPaymentType.java deleted file mode 100644 index b642e36c9c..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DirectPaymentType.java +++ /dev/null @@ -1,156 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import java.util.ArrayList; -import java.util.List; - - -/** - *

Classe Java per DirectPaymentType complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="DirectPaymentType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="Component" maxOccurs="unbounded">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string"/>
- *                   <element name="Amount" type="{}CurrencyAmount"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "DirectPaymentType", propOrder = { - "component" -}) -public class DirectPaymentType { - - @XmlElement(name = "Component", required = true) - protected List component; - - /** - * Gets the value of the component property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the component property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getComponent().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link DirectPaymentType.Component } - */ - public List getComponent() { - if (component == null) { - component = new ArrayList(); - } - return this.component; - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="Type" type="{http://www.w3.org/2001/XMLSchema}string"/>
-     *         <element name="Amount" type="{}CurrencyAmount"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "type", - "amount" - }) - public static class Component { - - @XmlElement(name = "Type", required = true) - protected String type; - @XmlElement(name = "Amount", required = true) - protected CurrencyAmount amount; - - /** - * Recupera il valore della proprietà type. - * - * @return possible object is - * {@link String } - */ - public String getType() { - return type; - } - - /** - * Imposta il valore della proprietà type. - * - * @param value allowed object is - * {@link String } - */ - public void setType(String value) { - this.type = value; - } - - /** - * Recupera il valore della proprietà amount. - * - * @return possible object is - * {@link CurrencyAmount } - */ - public CurrencyAmount getAmount() { - return amount; - } - - /** - * Imposta il valore della proprietà amount. - * - * @param value allowed object is - * {@link CurrencyAmount } - */ - public void setAmount(CurrencyAmount value) { - this.amount = value; - } - - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DistributionDesignationValues.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DistributionDesignationValues.java deleted file mode 100644 index f7be795bc7..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DistributionDesignationValues.java +++ /dev/null @@ -1,54 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per DistributionDesignationValues. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="DistributionDesignationValues">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="jp_parallel_import"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "DistributionDesignationValues") -@XmlEnum -public enum DistributionDesignationValues { - - @XmlEnumValue("jp_parallel_import") - JP_PARALLEL_IMPORT("jp_parallel_import"); - private final String value; - - DistributionDesignationValues(String v) { - value = v; - } - - public static DistributionDesignationValues fromValue(String v) { - for (DistributionDesignationValues c : DistributionDesignationValues.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DockingStationExternalInterfaceTypeValues.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DockingStationExternalInterfaceTypeValues.java deleted file mode 100644 index 81e1384b58..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/DockingStationExternalInterfaceTypeValues.java +++ /dev/null @@ -1,78 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per DockingStationExternalInterfaceTypeValues. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="DockingStationExternalInterfaceTypeValues">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="firewire_1600"/>
- *     <enumeration value="firewire_3200"/>
- *     <enumeration value="firewire_400"/>
- *     <enumeration value="firewire_800"/>
- *     <enumeration value="firewire_esata"/>
- *     <enumeration value="usb1.0"/>
- *     <enumeration value="usb1.1"/>
- *     <enumeration value="usb2.0"/>
- *     <enumeration value="usb3.0"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "DockingStationExternalInterfaceTypeValues") -@XmlEnum -public enum DockingStationExternalInterfaceTypeValues { - - @XmlEnumValue("firewire_1600") - FIREWIRE_1600("firewire_1600"), - @XmlEnumValue("firewire_3200") - FIREWIRE_3200("firewire_3200"), - @XmlEnumValue("firewire_400") - FIREWIRE_400("firewire_400"), - @XmlEnumValue("firewire_800") - FIREWIRE_800("firewire_800"), - @XmlEnumValue("firewire_esata") - FIREWIRE_ESATA("firewire_esata"), - @XmlEnumValue("usb1.0") - USB_1_0("usb1.0"), - @XmlEnumValue("usb1.1") - USB_1_1("usb1.1"), - @XmlEnumValue("usb2.0") - USB_2_0("usb2.0"), - @XmlEnumValue("usb3.0") - USB_3_0("usb3.0"); - private final String value; - - DockingStationExternalInterfaceTypeValues(String v) { - value = v; - } - - public static DockingStationExternalInterfaceTypeValues fromValue(String v) { - for (DockingStationExternalInterfaceTypeValues c : DockingStationExternalInterfaceTypeValues.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/EmailAddressType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/EmailAddressType.java deleted file mode 100644 index 9ccf8972c0..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/EmailAddressType.java +++ /dev/null @@ -1,90 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Classe Java per EmailAddressType complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="EmailAddressType">
- *   <simpleContent>
- *     <extension base="<>EmailBase">
- *       <attribute name="PreferredFormat">
- *         <simpleType>
- *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *             <enumeration value="TextOnly"/>
- *             <enumeration value="HTML"/>
- *           </restriction>
- *         </simpleType>
- *       </attribute>
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EmailAddressType", propOrder = { - "value" -}) -public class EmailAddressType { - - @XmlValue - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String value; - @XmlAttribute(name = "PreferredFormat") - protected String preferredFormat; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link String } - */ - public String getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link String } - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà preferredFormat. - * - * @return possible object is - * {@link String } - */ - public String getPreferredFormat() { - return preferredFormat; - } - - /** - * Imposta il valore della proprietà preferredFormat. - * - * @param value allowed object is - * {@link String } - */ - public void setPreferredFormat(String value) { - this.preferredFormat = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/EnergyConsumptionDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/EnergyConsumptionDimension.java deleted file mode 100644 index 7d9e4b14a3..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/EnergyConsumptionDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per EnergyConsumptionDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="EnergyConsumptionDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}EnergyConsumptionUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EnergyConsumptionDimension", propOrder = { - "value" -}) -public class EnergyConsumptionDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected EnergyConsumptionUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link EnergyConsumptionUnitOfMeasure } - */ - public EnergyConsumptionUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link EnergyConsumptionUnitOfMeasure } - */ - public void setUnitOfMeasure(EnergyConsumptionUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/EnergyConsumptionUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/EnergyConsumptionUnitOfMeasure.java deleted file mode 100644 index 8b71330212..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/EnergyConsumptionUnitOfMeasure.java +++ /dev/null @@ -1,63 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per EnergyConsumptionUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="EnergyConsumptionUnitOfMeasure">
- *   <restriction base="{}String">
- *     <enumeration value="kilowatt_hours"/>
- *     <enumeration value="btu"/>
- *     <enumeration value="kilowatts"/>
- *     <enumeration value="watt_hours"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "EnergyConsumptionUnitOfMeasure") -@XmlEnum -public enum EnergyConsumptionUnitOfMeasure { - - @XmlEnumValue("kilowatt_hours") - KILOWATT_HOURS("kilowatt_hours"), - @XmlEnumValue("btu") - BTU("btu"), - @XmlEnumValue("kilowatts") - KILOWATTS("kilowatts"), - @XmlEnumValue("watt_hours") - WATT_HOURS("watt_hours"); - private final String value; - - EnergyConsumptionUnitOfMeasure(String v) { - value = v; - } - - public static EnergyConsumptionUnitOfMeasure fromValue(String v) { - for (EnergyConsumptionUnitOfMeasure c : EnergyConsumptionUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/EnergyLabelEfficiencyClass.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/EnergyLabelEfficiencyClass.java deleted file mode 100644 index ef5f54ee83..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/EnergyLabelEfficiencyClass.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per EnergyLabelEfficiencyClass. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="EnergyLabelEfficiencyClass">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="a"/>
- *     <enumeration value="b"/>
- *     <enumeration value="c"/>
- *     <enumeration value="d"/>
- *     <enumeration value="e"/>
- *     <enumeration value="f"/>
- *     <enumeration value="g"/>
- *     <enumeration value="a_plus"/>
- *     <enumeration value="a_plus_plus"/>
- *     <enumeration value="a_plus_plus_plus"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "EnergyLabelEfficiencyClass") -@XmlEnum -public enum EnergyLabelEfficiencyClass { - - @XmlEnumValue("a") - A("a"), - @XmlEnumValue("b") - B("b"), - @XmlEnumValue("c") - C("c"), - @XmlEnumValue("d") - D("d"), - @XmlEnumValue("e") - E("e"), - @XmlEnumValue("f") - F("f"), - @XmlEnumValue("g") - G("g"), - @XmlEnumValue("a_plus") - A_PLUS("a_plus"), - @XmlEnumValue("a_plus_plus") - A_PLUS_PLUS("a_plus_plus"), - @XmlEnumValue("a_plus_plus_plus") - A_PLUS_PLUS_PLUS("a_plus_plus_plus"); - private final String value; - - EnergyLabelEfficiencyClass(String v) { - value = v; - } - - public static EnergyLabelEfficiencyClass fromValue(String v) { - for (EnergyLabelEfficiencyClass c : EnergyLabelEfficiencyClass.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/EnergyRatingType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/EnergyRatingType.java deleted file mode 100644 index ad6d54e465..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/EnergyRatingType.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per EnergyRatingType complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="EnergyRatingType">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
- *       <attribute name="unitOfMeasure" use="required" type="{}EnergyUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "EnergyRatingType", propOrder = { - "value" -}) -public class EnergyRatingType { - - @XmlValue - @XmlSchemaType(name = "positiveInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected EnergyUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link EnergyUnitOfMeasure } - */ - public EnergyUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link EnergyUnitOfMeasure } - */ - public void setUnitOfMeasure(EnergyUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/EnergyUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/EnergyUnitOfMeasure.java deleted file mode 100644 index 38e34e15bd..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/EnergyUnitOfMeasure.java +++ /dev/null @@ -1,62 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per EnergyUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="EnergyUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="BTU"/>
- *     <enumeration value="watts"/>
- *     <enumeration value="joules"/>
- *     <enumeration value="kilojoules"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "EnergyUnitOfMeasure") -@XmlEnum -public enum EnergyUnitOfMeasure { - - BTU("BTU"), - @XmlEnumValue("watts") - WATTS("watts"), - @XmlEnumValue("joules") - JOULES("joules"), - @XmlEnumValue("kilojoules") - KILOJOULES("kilojoules"); - private final String value; - - EnergyUnitOfMeasure(String v) { - value = v; - } - - public static EnergyUnitOfMeasure fromValue(String v) { - for (EnergyUnitOfMeasure c : EnergyUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ForceDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ForceDimension.java deleted file mode 100644 index 2287f7a9f7..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ForceDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per ForceDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="ForceDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}ForceUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ForceDimension", propOrder = { - "value" -}) -public class ForceDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected ForceUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link ForceUnitOfMeasure } - */ - public ForceUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link ForceUnitOfMeasure } - */ - public void setUnitOfMeasure(ForceUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ForceUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ForceUnitOfMeasure.java deleted file mode 100644 index 716a086d9b..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ForceUnitOfMeasure.java +++ /dev/null @@ -1,65 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per ForceUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="ForceUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="newtons"/>
- *     <enumeration value="Newton"/>
- *     <enumeration value="pounds"/>
- *     <enumeration value="kilograms"/>
- *     <enumeration value="PSI"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "ForceUnitOfMeasure") -@XmlEnum -public enum ForceUnitOfMeasure { - - @XmlEnumValue("newtons") - NEWTONS("newtons"), - @XmlEnumValue("Newton") - NEWTON("Newton"), - @XmlEnumValue("pounds") - POUNDS("pounds"), - @XmlEnumValue("kilograms") - KILOGRAMS("kilograms"), - PSI("PSI"); - private final String value; - - ForceUnitOfMeasure(String v) { - value = v; - } - - public static ForceUnitOfMeasure fromValue(String v) { - for (ForceUnitOfMeasure c : ForceUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ForwardFacingWeight.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ForwardFacingWeight.java deleted file mode 100644 index 61b4762997..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ForwardFacingWeight.java +++ /dev/null @@ -1,85 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="ForwardFacingMaximumWeight" type="{}WeightDimension" minOccurs="0"/>
- *         <element name="ForwardFacingMinimumWeight" type="{}WeightDimension" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "forwardFacingMaximumWeight", - "forwardFacingMinimumWeight" -}) -@XmlRootElement(name = "ForwardFacingWeight") -public class ForwardFacingWeight { - - @XmlElement(name = "ForwardFacingMaximumWeight") - protected WeightDimension forwardFacingMaximumWeight; - @XmlElement(name = "ForwardFacingMinimumWeight") - protected WeightDimension forwardFacingMinimumWeight; - - /** - * Recupera il valore della proprietà forwardFacingMaximumWeight. - * - * @return possible object is - * {@link WeightDimension } - */ - public WeightDimension getForwardFacingMaximumWeight() { - return forwardFacingMaximumWeight; - } - - /** - * Imposta il valore della proprietà forwardFacingMaximumWeight. - * - * @param value allowed object is - * {@link WeightDimension } - */ - public void setForwardFacingMaximumWeight(WeightDimension value) { - this.forwardFacingMaximumWeight = value; - } - - /** - * Recupera il valore della proprietà forwardFacingMinimumWeight. - * - * @return possible object is - * {@link WeightDimension } - */ - public WeightDimension getForwardFacingMinimumWeight() { - return forwardFacingMinimumWeight; - } - - /** - * Imposta il valore della proprietà forwardFacingMinimumWeight. - * - * @param value allowed object is - * {@link WeightDimension } - */ - public void setForwardFacingMinimumWeight(WeightDimension value) { - this.forwardFacingMinimumWeight = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/FrequencyDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/FrequencyDimension.java deleted file mode 100644 index 26ad37540b..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/FrequencyDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per FrequencyDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="FrequencyDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}FrequencyUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "FrequencyDimension", propOrder = { - "value" -}) -public class FrequencyDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected FrequencyUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link FrequencyUnitOfMeasure } - */ - public FrequencyUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link FrequencyUnitOfMeasure } - */ - public void setUnitOfMeasure(FrequencyUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/FrequencyIntegerDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/FrequencyIntegerDimension.java deleted file mode 100644 index 5d4dca07d1..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/FrequencyIntegerDimension.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per FrequencyIntegerDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="FrequencyIntegerDimension">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
- *       <attribute name="unitOfMeasure" use="required" type="{}FrequencyUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "FrequencyIntegerDimension", propOrder = { - "value" -}) -public class FrequencyIntegerDimension { - - @XmlValue - @XmlSchemaType(name = "positiveInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected FrequencyUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link FrequencyUnitOfMeasure } - */ - public FrequencyUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link FrequencyUnitOfMeasure } - */ - public void setUnitOfMeasure(FrequencyUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/FrequencyUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/FrequencyUnitOfMeasure.java deleted file mode 100644 index 37f937fee1..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/FrequencyUnitOfMeasure.java +++ /dev/null @@ -1,63 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per FrequencyUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="FrequencyUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="Hz"/>
- *     <enumeration value="KHz"/>
- *     <enumeration value="MHz"/>
- *     <enumeration value="GHz"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "FrequencyUnitOfMeasure") -@XmlEnum -public enum FrequencyUnitOfMeasure { - - @XmlEnumValue("Hz") - HZ("Hz"), - @XmlEnumValue("KHz") - K_HZ("KHz"), - @XmlEnumValue("MHz") - M_HZ("MHz"), - @XmlEnumValue("GHz") - G_HZ("GHz"); - private final String value; - - FrequencyUnitOfMeasure(String v) { - value = v; - } - - public static FrequencyUnitOfMeasure fromValue(String v) { - for (FrequencyUnitOfMeasure c : FrequencyUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/FulfillReadiness.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/FulfillReadiness.java deleted file mode 100644 index 7df7535967..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/FulfillReadiness.java +++ /dev/null @@ -1,69 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per FulfillReadiness. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="FulfillReadiness">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="drop_ship_ready"/>
- *     <enumeration value="not_ready"/>
- *     <enumeration value="receive_ready"/>
- *     <enumeration value="exception_receive_ready"/>
- *     <enumeration value="po_ready"/>
- *     <enumeration value="unknown"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "FulfillReadiness") -@XmlEnum -public enum FulfillReadiness { - - @XmlEnumValue("drop_ship_ready") - DROP_SHIP_READY("drop_ship_ready"), - @XmlEnumValue("not_ready") - NOT_READY("not_ready"), - @XmlEnumValue("receive_ready") - RECEIVE_READY("receive_ready"), - @XmlEnumValue("exception_receive_ready") - EXCEPTION_RECEIVE_READY("exception_receive_ready"), - @XmlEnumValue("po_ready") - PO_READY("po_ready"), - @XmlEnumValue("unknown") - UNKNOWN("unknown"); - private final String value; - - FulfillReadiness(String v) { - value = v; - } - - public static FulfillReadiness fromValue(String v) { - for (FulfillReadiness c : FulfillReadiness.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/GiftCardsFormatType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/GiftCardsFormatType.java deleted file mode 100644 index 4eb6da50ba..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/GiftCardsFormatType.java +++ /dev/null @@ -1,69 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per GiftCardsFormatType. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="GiftCardsFormatType">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="email_gift_cards"/>
- *     <enumeration value="plastic_gift_cards"/>
- *     <enumeration value="print_at_home"/>
- *     <enumeration value="multi_pack"/>
- *     <enumeration value="facebook"/>
- *     <enumeration value="gift_box"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "GiftCardsFormatType") -@XmlEnum -public enum GiftCardsFormatType { - - @XmlEnumValue("email_gift_cards") - EMAIL_GIFT_CARDS("email_gift_cards"), - @XmlEnumValue("plastic_gift_cards") - PLASTIC_GIFT_CARDS("plastic_gift_cards"), - @XmlEnumValue("print_at_home") - PRINT_AT_HOME("print_at_home"), - @XmlEnumValue("multi_pack") - MULTI_PACK("multi_pack"), - @XmlEnumValue("facebook") - FACEBOOK("facebook"), - @XmlEnumValue("gift_box") - GIFT_BOX("gift_box"); - private final String value; - - GiftCardsFormatType(String v) { - value = v; - } - - public static GiftCardsFormatType fromValue(String v) { - for (GiftCardsFormatType c : GiftCardsFormatType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/GlobalCurrencyCode.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/GlobalCurrencyCode.java deleted file mode 100644 index aafbc654cb..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/GlobalCurrencyCode.java +++ /dev/null @@ -1,216 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per GlobalCurrencyCode. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="GlobalCurrencyCode">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="AED"/>
- *     <enumeration value="ALL"/>
- *     <enumeration value="ARS"/>
- *     <enumeration value="ATS"/>
- *     <enumeration value="AUD"/>
- *     <enumeration value="BAM"/>
- *     <enumeration value="BEF"/>
- *     <enumeration value="BGN"/>
- *     <enumeration value="BHD"/>
- *     <enumeration value="BOB"/>
- *     <enumeration value="BRL"/>
- *     <enumeration value="BYR"/>
- *     <enumeration value="CAD"/>
- *     <enumeration value="CHF"/>
- *     <enumeration value="CLP"/>
- *     <enumeration value="CNY"/>
- *     <enumeration value="COP"/>
- *     <enumeration value="CRC"/>
- *     <enumeration value="CSD"/>
- *     <enumeration value="CZK"/>
- *     <enumeration value="DEM"/>
- *     <enumeration value="DKK"/>
- *     <enumeration value="DOP"/>
- *     <enumeration value="DZD"/>
- *     <enumeration value="EEK"/>
- *     <enumeration value="EGP"/>
- *     <enumeration value="ESP"/>
- *     <enumeration value="EUR"/>
- *     <enumeration value="FIM"/>
- *     <enumeration value="FRF"/>
- *     <enumeration value="GBP"/>
- *     <enumeration value="GRD"/>
- *     <enumeration value="GTQ"/>
- *     <enumeration value="HKD"/>
- *     <enumeration value="HNL"/>
- *     <enumeration value="HRK"/>
- *     <enumeration value="HUF"/>
- *     <enumeration value="IDR"/>
- *     <enumeration value="ILS"/>
- *     <enumeration value="INR"/>
- *     <enumeration value="IQD"/>
- *     <enumeration value="ISK"/>
- *     <enumeration value="ITL"/>
- *     <enumeration value="JOD"/>
- *     <enumeration value="JPY"/>
- *     <enumeration value="KRW"/>
- *     <enumeration value="KWD"/>
- *     <enumeration value="LBP"/>
- *     <enumeration value="LTL"/>
- *     <enumeration value="LUF"/>
- *     <enumeration value="LVL"/>
- *     <enumeration value="LYD"/>
- *     <enumeration value="MAD"/>
- *     <enumeration value="MKD"/>
- *     <enumeration value="MXN"/>
- *     <enumeration value="MYR"/>
- *     <enumeration value="NIO"/>
- *     <enumeration value="NOK"/>
- *     <enumeration value="NZD"/>
- *     <enumeration value="OMR"/>
- *     <enumeration value="PAB"/>
- *     <enumeration value="PEN"/>
- *     <enumeration value="PHP"/>
- *     <enumeration value="PLN"/>
- *     <enumeration value="PTE"/>
- *     <enumeration value="PYG"/>
- *     <enumeration value="QAR"/>
- *     <enumeration value="RON"/>
- *     <enumeration value="RSD"/>
- *     <enumeration value="RUB"/>
- *     <enumeration value="SAR"/>
- *     <enumeration value="SDG"/>
- *     <enumeration value="SEK"/>
- *     <enumeration value="SGD"/>
- *     <enumeration value="SKK"/>
- *     <enumeration value="SVC"/>
- *     <enumeration value="SYP"/>
- *     <enumeration value="THB"/>
- *     <enumeration value="TND"/>
- *     <enumeration value="TRY"/>
- *     <enumeration value="TWD"/>
- *     <enumeration value="UAH"/>
- *     <enumeration value="USD"/>
- *     <enumeration value="UYU"/>
- *     <enumeration value="VEF"/>
- *     <enumeration value="VND"/>
- *     <enumeration value="YER"/>
- *     <enumeration value="ZAR"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "GlobalCurrencyCode") -@XmlEnum -public enum GlobalCurrencyCode { - - AED, - ALL, - ARS, - ATS, - AUD, - BAM, - BEF, - BGN, - BHD, - BOB, - BRL, - BYR, - CAD, - CHF, - CLP, - CNY, - COP, - CRC, - CSD, - CZK, - DEM, - DKK, - DOP, - DZD, - EEK, - EGP, - ESP, - EUR, - FIM, - FRF, - GBP, - GRD, - GTQ, - HKD, - HNL, - HRK, - HUF, - IDR, - ILS, - INR, - IQD, - ISK, - ITL, - JOD, - JPY, - KRW, - KWD, - LBP, - LTL, - LUF, - LVL, - LYD, - MAD, - MKD, - MXN, - MYR, - NIO, - NOK, - NZD, - OMR, - PAB, - PEN, - PHP, - PLN, - PTE, - PYG, - QAR, - RON, - RSD, - RUB, - SAR, - SDG, - SEK, - SGD, - SKK, - SVC, - SYP, - THB, - TND, - TRY, - TWD, - UAH, - USD, - UYU, - VEF, - VND, - YER, - ZAR; - - public static GlobalCurrencyCode fromValue(String v) { - return valueOf(v); - } - - public String value() { - return name(); - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/GraduationInterval.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/GraduationInterval.java deleted file mode 100644 index 5bd4504be7..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/GraduationInterval.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per GraduationInterval complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="GraduationInterval">
- *   <simpleContent>
- *     <extension base="<>PositiveInteger">
- *       <attribute name="unitOfMeasure" use="required" type="{}GraduationIntervalUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "GraduationInterval", propOrder = { - "value" -}) -public class GraduationInterval { - - @XmlValue - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected String unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link String } - */ - public String getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link String } - */ - public void setUnitOfMeasure(String value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/HardDriveInterfaceTypeValues.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/HardDriveInterfaceTypeValues.java deleted file mode 100644 index a43232fc11..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/HardDriveInterfaceTypeValues.java +++ /dev/null @@ -1,228 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per HardDriveInterfaceTypeValues. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="HardDriveInterfaceTypeValues">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="ata"/>
- *     <enumeration value="ata100"/>
- *     <enumeration value="ata133"/>
- *     <enumeration value="ata_2"/>
- *     <enumeration value="ata_3"/>
- *     <enumeration value="ata_4"/>
- *     <enumeration value="ata_5"/>
- *     <enumeration value="atapi"/>
- *     <enumeration value="dma"/>
- *     <enumeration value="eide"/>
- *     <enumeration value="eio"/>
- *     <enumeration value="esata"/>
- *     <enumeration value="esdi"/>
- *     <enumeration value="ethernet"/>
- *     <enumeration value="ethernet_100base_t"/>
- *     <enumeration value="ethernet_100base_tx"/>
- *     <enumeration value="ethernet_10_100_1000"/>
- *     <enumeration value="ethernet_10base_t"/>
- *     <enumeration value="fast_scsi"/>
- *     <enumeration value="fast_wide_scsi"/>
- *     <enumeration value="fata"/>
- *     <enumeration value="fc_al"/>
- *     <enumeration value="fc_al_2"/>
- *     <enumeration value="fdd"/>
- *     <enumeration value="fibre_channel"/>
- *     <enumeration value="firewire"/>
- *     <enumeration value="ide"/>
- *     <enumeration value="ieee_1284"/>
- *     <enumeration value="ieee_1394b"/>
- *     <enumeration value="iscsi"/>
- *     <enumeration value="lvds"/>
- *     <enumeration value="pc_card"/>
- *     <enumeration value="pci_express_x16"/>
- *     <enumeration value="pci_express_x4"/>
- *     <enumeration value="pci_express_x8"/>
- *     <enumeration value="raid"/>
- *     <enumeration value="scsi"/>
- *     <enumeration value="serial_ata"/>
- *     <enumeration value="serial_ata150"/>
- *     <enumeration value="serial_ata300"/>
- *     <enumeration value="serial_ata600"/>
- *     <enumeration value="serial_scsi"/>
- *     <enumeration value="solid_state"/>
- *     <enumeration value="ssa"/>
- *     <enumeration value="st412"/>
- *     <enumeration value="ultra2_scsi"/>
- *     <enumeration value="ultra2_wide_scsi"/>
- *     <enumeration value="ultra3_scsi"/>
- *     <enumeration value="ultra_160_scsi"/>
- *     <enumeration value="ultra_320_scsi"/>
- *     <enumeration value="ultra_ata"/>
- *     <enumeration value="ultra_scsi"/>
- *     <enumeration value="ultra_wide_scsi"/>
- *     <enumeration value="unknown"/>
- *     <enumeration value="usb"/>
- *     <enumeration value="usb_1.1"/>
- *     <enumeration value="usb_2.0"/>
- *     <enumeration value="usb_2.0_3.0"/>
- *     <enumeration value="usb_3.0"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "HardDriveInterfaceTypeValues") -@XmlEnum -public enum HardDriveInterfaceTypeValues { - - @XmlEnumValue("ata") - ATA("ata"), - @XmlEnumValue("ata100") - ATA_100("ata100"), - @XmlEnumValue("ata133") - ATA_133("ata133"), - @XmlEnumValue("ata_2") - ATA_2("ata_2"), - @XmlEnumValue("ata_3") - ATA_3("ata_3"), - @XmlEnumValue("ata_4") - ATA_4("ata_4"), - @XmlEnumValue("ata_5") - ATA_5("ata_5"), - @XmlEnumValue("atapi") - ATAPI("atapi"), - @XmlEnumValue("dma") - DMA("dma"), - @XmlEnumValue("eide") - EIDE("eide"), - @XmlEnumValue("eio") - EIO("eio"), - @XmlEnumValue("esata") - ESATA("esata"), - @XmlEnumValue("esdi") - ESDI("esdi"), - @XmlEnumValue("ethernet") - ETHERNET("ethernet"), - @XmlEnumValue("ethernet_100base_t") - ETHERNET_100_BASE_T("ethernet_100base_t"), - @XmlEnumValue("ethernet_100base_tx") - ETHERNET_100_BASE_TX("ethernet_100base_tx"), - @XmlEnumValue("ethernet_10_100_1000") - ETHERNET_10_100_1000("ethernet_10_100_1000"), - @XmlEnumValue("ethernet_10base_t") - ETHERNET_10_BASE_T("ethernet_10base_t"), - @XmlEnumValue("fast_scsi") - FAST_SCSI("fast_scsi"), - @XmlEnumValue("fast_wide_scsi") - FAST_WIDE_SCSI("fast_wide_scsi"), - @XmlEnumValue("fata") - FATA("fata"), - @XmlEnumValue("fc_al") - FC_AL("fc_al"), - @XmlEnumValue("fc_al_2") - FC_AL_2("fc_al_2"), - @XmlEnumValue("fdd") - FDD("fdd"), - @XmlEnumValue("fibre_channel") - FIBRE_CHANNEL("fibre_channel"), - @XmlEnumValue("firewire") - FIREWIRE("firewire"), - @XmlEnumValue("ide") - IDE("ide"), - @XmlEnumValue("ieee_1284") - IEEE_1284("ieee_1284"), - @XmlEnumValue("ieee_1394b") - IEEE_1394_B("ieee_1394b"), - @XmlEnumValue("iscsi") - ISCSI("iscsi"), - @XmlEnumValue("lvds") - LVDS("lvds"), - @XmlEnumValue("pc_card") - PC_CARD("pc_card"), - @XmlEnumValue("pci_express_x16") - PCI_EXPRESS_X_16("pci_express_x16"), - @XmlEnumValue("pci_express_x4") - PCI_EXPRESS_X_4("pci_express_x4"), - @XmlEnumValue("pci_express_x8") - PCI_EXPRESS_X_8("pci_express_x8"), - @XmlEnumValue("raid") - RAID("raid"), - @XmlEnumValue("scsi") - SCSI("scsi"), - @XmlEnumValue("serial_ata") - SERIAL_ATA("serial_ata"), - @XmlEnumValue("serial_ata150") - SERIAL_ATA_150("serial_ata150"), - @XmlEnumValue("serial_ata300") - SERIAL_ATA_300("serial_ata300"), - @XmlEnumValue("serial_ata600") - SERIAL_ATA_600("serial_ata600"), - @XmlEnumValue("serial_scsi") - SERIAL_SCSI("serial_scsi"), - @XmlEnumValue("solid_state") - SOLID_STATE("solid_state"), - @XmlEnumValue("ssa") - SSA("ssa"), - @XmlEnumValue("st412") - ST_412("st412"), - @XmlEnumValue("ultra2_scsi") - ULTRA_2_SCSI("ultra2_scsi"), - @XmlEnumValue("ultra2_wide_scsi") - ULTRA_2_WIDE_SCSI("ultra2_wide_scsi"), - @XmlEnumValue("ultra3_scsi") - ULTRA_3_SCSI("ultra3_scsi"), - @XmlEnumValue("ultra_160_scsi") - ULTRA_160_SCSI("ultra_160_scsi"), - @XmlEnumValue("ultra_320_scsi") - ULTRA_320_SCSI("ultra_320_scsi"), - @XmlEnumValue("ultra_ata") - ULTRA_ATA("ultra_ata"), - @XmlEnumValue("ultra_scsi") - ULTRA_SCSI("ultra_scsi"), - @XmlEnumValue("ultra_wide_scsi") - ULTRA_WIDE_SCSI("ultra_wide_scsi"), - @XmlEnumValue("unknown") - UNKNOWN("unknown"), - @XmlEnumValue("usb") - USB("usb"), - @XmlEnumValue("usb_1.1") - USB_1_1("usb_1.1"), - @XmlEnumValue("usb_2.0") - USB_2_0("usb_2.0"), - @XmlEnumValue("usb_2.0_3.0") - USB_2_0_3_0("usb_2.0_3.0"), - @XmlEnumValue("usb_3.0") - USB_3_0("usb_3.0"); - private final String value; - - HardDriveInterfaceTypeValues(String v) { - value = v; - } - - public static HardDriveInterfaceTypeValues fromValue(String v) { - for (HardDriveInterfaceTypeValues c : HardDriveInterfaceTypeValues.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/HardnessDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/HardnessDimension.java deleted file mode 100644 index 03958abde2..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/HardnessDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per HardnessDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="HardnessDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}HardnessUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "HardnessDimension", propOrder = { - "value" -}) -public class HardnessDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected HardnessUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link HardnessUnitOfMeasure } - */ - public HardnessUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link HardnessUnitOfMeasure } - */ - public void setUnitOfMeasure(HardnessUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/HardnessUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/HardnessUnitOfMeasure.java deleted file mode 100644 index e32b2d34f8..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/HardnessUnitOfMeasure.java +++ /dev/null @@ -1,102 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per HardnessUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="HardnessUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="brinnell"/>
- *     <enumeration value="vickers"/>
- *     <enumeration value="rockwell_a"/>
- *     <enumeration value="rockwell_b"/>
- *     <enumeration value="rockwell_c"/>
- *     <enumeration value="rockwell_d"/>
- *     <enumeration value="shore_a"/>
- *     <enumeration value="shore_b"/>
- *     <enumeration value="shore_c"/>
- *     <enumeration value="shore_d"/>
- *     <enumeration value="shore_do"/>
- *     <enumeration value="shore_e"/>
- *     <enumeration value="shore_m"/>
- *     <enumeration value="shore_o"/>
- *     <enumeration value="shore_oo"/>
- *     <enumeration value="shore_ooo"/>
- *     <enumeration value="shore_ooo_s"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "HardnessUnitOfMeasure") -@XmlEnum -public enum HardnessUnitOfMeasure { - - @XmlEnumValue("brinnell") - BRINNELL("brinnell"), - @XmlEnumValue("vickers") - VICKERS("vickers"), - @XmlEnumValue("rockwell_a") - ROCKWELL_A("rockwell_a"), - @XmlEnumValue("rockwell_b") - ROCKWELL_B("rockwell_b"), - @XmlEnumValue("rockwell_c") - ROCKWELL_C("rockwell_c"), - @XmlEnumValue("rockwell_d") - ROCKWELL_D("rockwell_d"), - @XmlEnumValue("shore_a") - SHORE_A("shore_a"), - @XmlEnumValue("shore_b") - SHORE_B("shore_b"), - @XmlEnumValue("shore_c") - SHORE_C("shore_c"), - @XmlEnumValue("shore_d") - SHORE_D("shore_d"), - @XmlEnumValue("shore_do") - SHORE_DO("shore_do"), - @XmlEnumValue("shore_e") - SHORE_E("shore_e"), - @XmlEnumValue("shore_m") - SHORE_M("shore_m"), - @XmlEnumValue("shore_o") - SHORE_O("shore_o"), - @XmlEnumValue("shore_oo") - SHORE_OO("shore_oo"), - @XmlEnumValue("shore_ooo") - SHORE_OOO("shore_ooo"), - @XmlEnumValue("shore_ooo_s") - SHORE_OOO_S("shore_ooo_s"); - private final String value; - - HardnessUnitOfMeasure(String v) { - value = v; - } - - public static HardnessUnitOfMeasure fromValue(String v) { - for (HardnessUnitOfMeasure c : HardnessUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/HazmatItemType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/HazmatItemType.java deleted file mode 100644 index 20aa13d483..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/HazmatItemType.java +++ /dev/null @@ -1,93 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per HazmatItemType. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="HazmatItemType">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="butane"/>
- *     <enumeration value="fuel_cell"/>
- *     <enumeration value="gasoline"/>
- *     <enumeration value="orm_d_class_1"/>
- *     <enumeration value="orm_d_class_2"/>
- *     <enumeration value="orm_d_class_3"/>
- *     <enumeration value="orm_d_class_4"/>
- *     <enumeration value="orm_d_class_5"/>
- *     <enumeration value="orm_d_class_6"/>
- *     <enumeration value="orm_d_class_7"/>
- *     <enumeration value="orm_d_class_8"/>
- *     <enumeration value="orm_d_class_9"/>
- *     <enumeration value="sealed_lead_acid_battery"/>
- *     <enumeration value="unknown"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "HazmatItemType") -@XmlEnum -public enum HazmatItemType { - - @XmlEnumValue("butane") - BUTANE("butane"), - @XmlEnumValue("fuel_cell") - FUEL_CELL("fuel_cell"), - @XmlEnumValue("gasoline") - GASOLINE("gasoline"), - @XmlEnumValue("orm_d_class_1") - ORM_D_CLASS_1("orm_d_class_1"), - @XmlEnumValue("orm_d_class_2") - ORM_D_CLASS_2("orm_d_class_2"), - @XmlEnumValue("orm_d_class_3") - ORM_D_CLASS_3("orm_d_class_3"), - @XmlEnumValue("orm_d_class_4") - ORM_D_CLASS_4("orm_d_class_4"), - @XmlEnumValue("orm_d_class_5") - ORM_D_CLASS_5("orm_d_class_5"), - @XmlEnumValue("orm_d_class_6") - ORM_D_CLASS_6("orm_d_class_6"), - @XmlEnumValue("orm_d_class_7") - ORM_D_CLASS_7("orm_d_class_7"), - @XmlEnumValue("orm_d_class_8") - ORM_D_CLASS_8("orm_d_class_8"), - @XmlEnumValue("orm_d_class_9") - ORM_D_CLASS_9("orm_d_class_9"), - @XmlEnumValue("sealed_lead_acid_battery") - SEALED_LEAD_ACID_BATTERY("sealed_lead_acid_battery"), - @XmlEnumValue("unknown") - UNKNOWN("unknown"); - private final String value; - - HazmatItemType(String v) { - value = v; - } - - public static HazmatItemType fromValue(String v) { - for (HazmatItemType c : HazmatItemType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Header.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Header.java deleted file mode 100644 index 94ca0aa23b..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Header.java +++ /dev/null @@ -1,124 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="DocumentVersion">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <pattern value="\d{1,2}\.\d{1,2}"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="MerchantIdentifier" type="{}String"/>
- *         <element name="OverrideReleaseId" minOccurs="0">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <pattern value="\d{1,4}\.\d{1,4}"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "documentVersion", - "merchantIdentifier", - "overrideReleaseId" -}) -@XmlRootElement(name = "Header") -public class Header { - - @XmlElement(name = "DocumentVersion", required = true) - protected String documentVersion; - @XmlElement(name = "MerchantIdentifier", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String merchantIdentifier; - @XmlElement(name = "OverrideReleaseId") - protected String overrideReleaseId; - - /** - * Recupera il valore della proprietà documentVersion. - * - * @return possible object is - * {@link String } - */ - public String getDocumentVersion() { - return documentVersion; - } - - /** - * Imposta il valore della proprietà documentVersion. - * - * @param value allowed object is - * {@link String } - */ - public void setDocumentVersion(String value) { - this.documentVersion = value; - } - - /** - * Recupera il valore della proprietà merchantIdentifier. - * - * @return possible object is - * {@link String } - */ - public String getMerchantIdentifier() { - return merchantIdentifier; - } - - /** - * Imposta il valore della proprietà merchantIdentifier. - * - * @param value allowed object is - * {@link String } - */ - public void setMerchantIdentifier(String value) { - this.merchantIdentifier = value; - } - - /** - * Recupera il valore della proprietà overrideReleaseId. - * - * @return possible object is - * {@link String } - */ - public String getOverrideReleaseId() { - return overrideReleaseId; - } - - /** - * Imposta il valore della proprietà overrideReleaseId. - * - * @param value allowed object is - * {@link String } - */ - public void setOverrideReleaseId(String value) { - this.overrideReleaseId = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/HeightRecommendation.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/HeightRecommendation.java deleted file mode 100644 index 34b9bc7fb0..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/HeightRecommendation.java +++ /dev/null @@ -1,85 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="MinimumHeightRecommended" type="{}LengthDimension" minOccurs="0"/>
- *         <element name="MaximumHeightRecommended" type="{}LengthDimension" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "minimumHeightRecommended", - "maximumHeightRecommended" -}) -@XmlRootElement(name = "HeightRecommendation") -public class HeightRecommendation { - - @XmlElement(name = "MinimumHeightRecommended") - protected LengthDimension minimumHeightRecommended; - @XmlElement(name = "MaximumHeightRecommended") - protected LengthDimension maximumHeightRecommended; - - /** - * Recupera il valore della proprietà minimumHeightRecommended. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getMinimumHeightRecommended() { - return minimumHeightRecommended; - } - - /** - * Imposta il valore della proprietà minimumHeightRecommended. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setMinimumHeightRecommended(LengthDimension value) { - this.minimumHeightRecommended = value; - } - - /** - * Recupera il valore della proprietà maximumHeightRecommended. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getMaximumHeightRecommended() { - return maximumHeightRecommended; - } - - /** - * Imposta il valore della proprietà maximumHeightRecommended. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setMaximumHeightRecommended(LengthDimension value) { - this.maximumHeightRecommended = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/HumanInterfaceInputType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/HumanInterfaceInputType.java deleted file mode 100644 index 6286212725..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/HumanInterfaceInputType.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per HumanInterfaceInputType. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="HumanInterfaceInputType">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="buttons"/>
- *     <enumeration value="dial"/>
- *     <enumeration value="handwriting_recognition"/>
- *     <enumeration value="keyboard"/>
- *     <enumeration value="keypad"/>
- *     <enumeration value="keypad_stroke"/>
- *     <enumeration value="keypad_stroke"/>
- *     <enumeration value="microphone"/>
- *     <enumeration value="touch_screen"/>
- *     <enumeration value="touch_screen_stylus_pen"/>
- *     <enumeration value="trackpoint_pointing_device"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "HumanInterfaceInputType") -@XmlEnum -public enum HumanInterfaceInputType { - - @XmlEnumValue("buttons") - BUTTONS("buttons"), - @XmlEnumValue("dial") - DIAL("dial"), - @XmlEnumValue("handwriting_recognition") - HANDWRITING_RECOGNITION("handwriting_recognition"), - @XmlEnumValue("keyboard") - KEYBOARD("keyboard"), - @XmlEnumValue("keypad") - KEYPAD("keypad"), - @XmlEnumValue("keypad_stroke") - KEYPAD_STROKE("keypad_stroke"), - @XmlEnumValue("microphone") - MICROPHONE("microphone"), - @XmlEnumValue("touch_screen") - TOUCH_SCREEN("touch_screen"), - @XmlEnumValue("touch_screen_stylus_pen") - TOUCH_SCREEN_STYLUS_PEN("touch_screen_stylus_pen"), - @XmlEnumValue("trackpoint_pointing_device") - TRACKPOINT_POINTING_DEVICE("trackpoint_pointing_device"); - private final String value; - - HumanInterfaceInputType(String v) { - value = v; - } - - public static HumanInterfaceInputType fromValue(String v) { - for (HumanInterfaceInputType c : HumanInterfaceInputType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/HumanInterfaceOutputType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/HumanInterfaceOutputType.java deleted file mode 100644 index 7bd6b4cc4e..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/HumanInterfaceOutputType.java +++ /dev/null @@ -1,57 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per HumanInterfaceOutputType. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="HumanInterfaceOutputType">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="screen"/>
- *     <enumeration value="speaker"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "HumanInterfaceOutputType") -@XmlEnum -public enum HumanInterfaceOutputType { - - @XmlEnumValue("screen") - SCREEN("screen"), - @XmlEnumValue("speaker") - SPEAKER("speaker"); - private final String value; - - HumanInterfaceOutputType(String v) { - value = v; - } - - public static HumanInterfaceOutputType fromValue(String v) { - for (HumanInterfaceOutputType c : HumanInterfaceOutputType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/IdentityPackageType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/IdentityPackageType.java deleted file mode 100644 index 2a97d7f41e..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/IdentityPackageType.java +++ /dev/null @@ -1,60 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per IdentityPackageType. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="IdentityPackageType">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="bulk"/>
- *     <enumeration value="frustration_free"/>
- *     <enumeration value="traditional"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "IdentityPackageType") -@XmlEnum -public enum IdentityPackageType { - - @XmlEnumValue("bulk") - BULK("bulk"), - @XmlEnumValue("frustration_free") - FRUSTRATION_FREE("frustration_free"), - @XmlEnumValue("traditional") - TRADITIONAL("traditional"); - private final String value; - - IdentityPackageType(String v) { - value = v; - } - - public static IdentityPackageType fromValue(String v) { - for (IdentityPackageType c : IdentityPackageType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Inventory.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Inventory.java deleted file mode 100644 index aa03a5f6d9..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Inventory.java +++ /dev/null @@ -1,253 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import javax.xml.datatype.XMLGregorianCalendar; -import java.math.BigInteger; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element ref="{}SKU"/>
- *         <element ref="{}FulfillmentCenterID" minOccurs="0"/>
- *         <choice>
- *           <element name="Available" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
- *           <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}nonNegativeInteger"/>
- *           <element name="Lookup">
- *             <simpleType>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                 <enumeration value="FulfillmentNetwork"/>
- *               </restriction>
- *             </simpleType>
- *           </element>
- *         </choice>
- *         <element name="RestockDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
- *         <element name="FulfillmentLatency" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *         <element name="SwitchFulfillmentTo" minOccurs="0">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <enumeration value="MFN"/>
- *               <enumeration value="AFN"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "sku", - "fulfillmentCenterID", - "available", - "quantity", - "lookup", - "restockDate", - "fulfillmentLatency", - "switchFulfillmentTo" -}) -@XmlRootElement(name = "Inventory") -public class Inventory { - - @XmlElement(name = "SKU", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String sku; - @XmlElement(name = "FulfillmentCenterID") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String fulfillmentCenterID; - @XmlElement(name = "Available") - protected Boolean available; - @XmlElement(name = "Quantity") - @XmlSchemaType(name = "nonNegativeInteger") - protected BigInteger quantity; - @XmlElement(name = "Lookup") - protected String lookup; - @XmlElement(name = "RestockDate") - @XmlSchemaType(name = "date") - protected XMLGregorianCalendar restockDate; - @XmlElement(name = "FulfillmentLatency") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger fulfillmentLatency; - @XmlElement(name = "SwitchFulfillmentTo") - protected String switchFulfillmentTo; - - /** - * Recupera il valore della proprietà sku. - * - * @return possible object is - * {@link String } - */ - public String getSKU() { - return sku; - } - - /** - * Imposta il valore della proprietà sku. - * - * @param value allowed object is - * {@link String } - */ - public void setSKU(String value) { - this.sku = value; - } - - /** - * Recupera il valore della proprietà fulfillmentCenterID. - * - * @return possible object is - * {@link String } - */ - public String getFulfillmentCenterID() { - return fulfillmentCenterID; - } - - /** - * Imposta il valore della proprietà fulfillmentCenterID. - * - * @param value allowed object is - * {@link String } - */ - public void setFulfillmentCenterID(String value) { - this.fulfillmentCenterID = value; - } - - /** - * Recupera il valore della proprietà available. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isAvailable() { - return available; - } - - /** - * Imposta il valore della proprietà available. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setAvailable(Boolean value) { - this.available = value; - } - - /** - * Recupera il valore della proprietà quantity. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getQuantity() { - return quantity; - } - - /** - * Imposta il valore della proprietà quantity. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setQuantity(BigInteger value) { - this.quantity = value; - } - - /** - * Recupera il valore della proprietà lookup. - * - * @return possible object is - * {@link String } - */ - public String getLookup() { - return lookup; - } - - /** - * Imposta il valore della proprietà lookup. - * - * @param value allowed object is - * {@link String } - */ - public void setLookup(String value) { - this.lookup = value; - } - - /** - * Recupera il valore della proprietà restockDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getRestockDate() { - return restockDate; - } - - /** - * Imposta il valore della proprietà restockDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setRestockDate(XMLGregorianCalendar value) { - this.restockDate = value; - } - - /** - * Recupera il valore della proprietà fulfillmentLatency. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getFulfillmentLatency() { - return fulfillmentLatency; - } - - /** - * Imposta il valore della proprietà fulfillmentLatency. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setFulfillmentLatency(BigInteger value) { - this.fulfillmentLatency = value; - } - - /** - * Recupera il valore della proprietà switchFulfillmentTo. - * - * @return possible object is - * {@link String } - */ - public String getSwitchFulfillmentTo() { - return switchFulfillmentTo; - } - - /** - * Imposta il valore della proprietà switchFulfillmentTo. - * - * @param value allowed object is - * {@link String } - */ - public void setSwitchFulfillmentTo(String value) { - this.switchFulfillmentTo = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/JewelryLengthDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/JewelryLengthDimension.java deleted file mode 100644 index 8cdba42a11..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/JewelryLengthDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per JewelryLengthDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="JewelryLengthDimension">
- *   <simpleContent>
- *     <extension base="<>FourDecimal">
- *       <attribute name="unitOfMeasure" use="required" type="{}JewelryLengthUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "JewelryLengthDimension", propOrder = { - "value" -}) -public class JewelryLengthDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected JewelryLengthUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link JewelryLengthUnitOfMeasure } - */ - public JewelryLengthUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link JewelryLengthUnitOfMeasure } - */ - public void setUnitOfMeasure(JewelryLengthUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/JewelryLengthUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/JewelryLengthUnitOfMeasure.java deleted file mode 100644 index 6d4c115bbd..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/JewelryLengthUnitOfMeasure.java +++ /dev/null @@ -1,46 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per JewelryLengthUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="JewelryLengthUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="MM"/>
- *     <enumeration value="CM"/>
- *     <enumeration value="IN"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "JewelryLengthUnitOfMeasure") -@XmlEnum -public enum JewelryLengthUnitOfMeasure { - - MM, - CM, - IN; - - public static JewelryLengthUnitOfMeasure fromValue(String v) { - return valueOf(v); - } - - public String value() { - return name(); - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/JewelryWeightDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/JewelryWeightDimension.java deleted file mode 100644 index 860c9e06fd..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/JewelryWeightDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per JewelryWeightDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="JewelryWeightDimension">
- *   <simpleContent>
- *     <extension base="<>FourDecimal">
- *       <attribute name="unitOfMeasure" use="required" type="{}JewelryWeightUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "JewelryWeightDimension", propOrder = { - "value" -}) -public class JewelryWeightDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected JewelryWeightUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link JewelryWeightUnitOfMeasure } - */ - public JewelryWeightUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link JewelryWeightUnitOfMeasure } - */ - public void setUnitOfMeasure(JewelryWeightUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/JewelryWeightUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/JewelryWeightUnitOfMeasure.java deleted file mode 100644 index 3d32f2b5e5..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/JewelryWeightUnitOfMeasure.java +++ /dev/null @@ -1,52 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per JewelryWeightUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="JewelryWeightUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="GR"/>
- *     <enumeration value="KG"/>
- *     <enumeration value="OZ"/>
- *     <enumeration value="LB"/>
- *     <enumeration value="CARATS"/>
- *     <enumeration value="DWT"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "JewelryWeightUnitOfMeasure") -@XmlEnum -public enum JewelryWeightUnitOfMeasure { - - GR, - KG, - OZ, - LB, - CARATS, - DWT; - - public static JewelryWeightUnitOfMeasure fromValue(String v) { - return valueOf(v); - } - - public String value() { - return name(); - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LanguageSWVG.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LanguageSWVG.java deleted file mode 100644 index a2a6b18b33..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LanguageSWVG.java +++ /dev/null @@ -1,459 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per LanguageSWVG. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="LanguageSWVG">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="adygei"/>
- *     <enumeration value="afrikaans"/>
- *     <enumeration value="albanian"/>
- *     <enumeration value="alsatian"/>
- *     <enumeration value="amharic"/>
- *     <enumeration value="arabic"/>
- *     <enumeration value="armenian"/>
- *     <enumeration value="assamese"/>
- *     <enumeration value="bambara"/>
- *     <enumeration value="basque"/>
- *     <enumeration value="bengali"/>
- *     <enumeration value="berber"/>
- *     <enumeration value="breton"/>
- *     <enumeration value="bulgarian"/>
- *     <enumeration value="buryat"/>
- *     <enumeration value="cantonese_chinese"/>
- *     <enumeration value="castillian"/>
- *     <enumeration value="catalan"/>
- *     <enumeration value="cayuga"/>
- *     <enumeration value="cheyenne"/>
- *     <enumeration value="chinese"/>
- *     <enumeration value="classical_newari"/>
- *     <enumeration value="cornish"/>
- *     <enumeration value="corsican"/>
- *     <enumeration value="creole"/>
- *     <enumeration value="crimean_tatar"/>
- *     <enumeration value="croatian"/>
- *     <enumeration value="czech"/>
- *     <enumeration value="danish"/>
- *     <enumeration value="dargwa"/>
- *     <enumeration value="dutch"/>
- *     <enumeration value="english"/>
- *     <enumeration value="esperanto"/>
- *     <enumeration value="estonian"/>
- *     <enumeration value="farsi"/>
- *     <enumeration value="filipino"/>
- *     <enumeration value="finnish"/>
- *     <enumeration value="flemish"/>
- *     <enumeration value="french"/>
- *     <enumeration value="french_canadian"/>
- *     <enumeration value="georgian"/>
- *     <enumeration value="german"/>
- *     <enumeration value="gibberish"/>
- *     <enumeration value="greek"/>
- *     <enumeration value="gujarati"/>
- *     <enumeration value="gullah"/>
- *     <enumeration value="hausa"/>
- *     <enumeration value="hawaiian"/>
- *     <enumeration value="hebrew"/>
- *     <enumeration value="hindi"/>
- *     <enumeration value="hmong"/>
- *     <enumeration value="hungarian"/>
- *     <enumeration value="icelandic"/>
- *     <enumeration value="indo_european"/>
- *     <enumeration value="indonesian"/>
- *     <enumeration value="ingush"/>
- *     <enumeration value="inuktitun"/>
- *     <enumeration value="inuktitut"/>
- *     <enumeration value="inupiaq"/>
- *     <enumeration value="irish"/>
- *     <enumeration value="italian"/>
- *     <enumeration value="japanese"/>
- *     <enumeration value="kalaallisut"/>
- *     <enumeration value="kalmyk"/>
- *     <enumeration value="karachay_balkar"/>
- *     <enumeration value="kashubian"/>
- *     <enumeration value="kazakh"/>
- *     <enumeration value="khmer"/>
- *     <enumeration value="klingon"/>
- *     <enumeration value="korean"/>
- *     <enumeration value="kurdish"/>
- *     <enumeration value="ladino"/>
- *     <enumeration value="lao"/>
- *     <enumeration value="lapp"/>
- *     <enumeration value="latin"/>
- *     <enumeration value="lithuanian"/>
- *     <enumeration value="lojban"/>
- *     <enumeration value="lower_sorbian"/>
- *     <enumeration value="macedonian"/>
- *     <enumeration value="malagasy"/>
- *     <enumeration value="malay"/>
- *     <enumeration value="malayalam"/>
- *     <enumeration value="maltese"/>
- *     <enumeration value="mandarin_chinese"/>
- *     <enumeration value="maori"/>
- *     <enumeration value="mende"/>
- *     <enumeration value="middle_english"/>
- *     <enumeration value="mirandese"/>
- *     <enumeration value="moksha"/>
- *     <enumeration value="mongo"/>
- *     <enumeration value="mongolian"/>
- *     <enumeration value="multilingual"/>
- *     <enumeration value="navaho"/>
- *     <enumeration value="nogai"/>
- *     <enumeration value="norwegian"/>
- *     <enumeration value="old_english"/>
- *     <enumeration value="persian"/>
- *     <enumeration value="pig_latin"/>
- *     <enumeration value="polish"/>
- *     <enumeration value="portuguese"/>
- *     <enumeration value="romance"/>
- *     <enumeration value="romanian"/>
- *     <enumeration value="romany"/>
- *     <enumeration value="russian"/>
- *     <enumeration value="samaritan"/>
- *     <enumeration value="sanskrit"/>
- *     <enumeration value="serbian"/>
- *     <enumeration value="serbo-croatian"/>
- *     <enumeration value="sichuan_yi"/>
- *     <enumeration value="sicilian"/>
- *     <enumeration value="sign_language"/>
- *     <enumeration value="slavic"/>
- *     <enumeration value="slovak"/>
- *     <enumeration value="slovene"/>
- *     <enumeration value="somali"/>
- *     <enumeration value="spanish"/>
- *     <enumeration value="sumerian"/>
- *     <enumeration value="swahili"/>
- *     <enumeration value="swedish"/>
- *     <enumeration value="swiss_german"/>
- *     <enumeration value="tagalog"/>
- *     <enumeration value="taiwanese_chinese"/>
- *     <enumeration value="tamil"/>
- *     <enumeration value="thai"/>
- *     <enumeration value="tibetan"/>
- *     <enumeration value="turkish"/>
- *     <enumeration value="udmurt"/>
- *     <enumeration value="ukrainian"/>
- *     <enumeration value="unknown"/>
- *     <enumeration value="urdu"/>
- *     <enumeration value="vietnamese"/>
- *     <enumeration value="welsh"/>
- *     <enumeration value="wolof"/>
- *     <enumeration value="xhosa"/>
- *     <enumeration value="yiddish"/>
- *     <enumeration value="zulu"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "LanguageSWVG") -@XmlEnum -public enum LanguageSWVG { - - @XmlEnumValue("adygei") - ADYGEI("adygei"), - @XmlEnumValue("afrikaans") - AFRIKAANS("afrikaans"), - @XmlEnumValue("albanian") - ALBANIAN("albanian"), - @XmlEnumValue("alsatian") - ALSATIAN("alsatian"), - @XmlEnumValue("amharic") - AMHARIC("amharic"), - @XmlEnumValue("arabic") - ARABIC("arabic"), - @XmlEnumValue("armenian") - ARMENIAN("armenian"), - @XmlEnumValue("assamese") - ASSAMESE("assamese"), - @XmlEnumValue("bambara") - BAMBARA("bambara"), - @XmlEnumValue("basque") - BASQUE("basque"), - @XmlEnumValue("bengali") - BENGALI("bengali"), - @XmlEnumValue("berber") - BERBER("berber"), - @XmlEnumValue("breton") - BRETON("breton"), - @XmlEnumValue("bulgarian") - BULGARIAN("bulgarian"), - @XmlEnumValue("buryat") - BURYAT("buryat"), - @XmlEnumValue("cantonese_chinese") - CANTONESE_CHINESE("cantonese_chinese"), - @XmlEnumValue("castillian") - CASTILLIAN("castillian"), - @XmlEnumValue("catalan") - CATALAN("catalan"), - @XmlEnumValue("cayuga") - CAYUGA("cayuga"), - @XmlEnumValue("cheyenne") - CHEYENNE("cheyenne"), - @XmlEnumValue("chinese") - CHINESE("chinese"), - @XmlEnumValue("classical_newari") - CLASSICAL_NEWARI("classical_newari"), - @XmlEnumValue("cornish") - CORNISH("cornish"), - @XmlEnumValue("corsican") - CORSICAN("corsican"), - @XmlEnumValue("creole") - CREOLE("creole"), - @XmlEnumValue("crimean_tatar") - CRIMEAN_TATAR("crimean_tatar"), - @XmlEnumValue("croatian") - CROATIAN("croatian"), - @XmlEnumValue("czech") - CZECH("czech"), - @XmlEnumValue("danish") - DANISH("danish"), - @XmlEnumValue("dargwa") - DARGWA("dargwa"), - @XmlEnumValue("dutch") - DUTCH("dutch"), - @XmlEnumValue("english") - ENGLISH("english"), - @XmlEnumValue("esperanto") - ESPERANTO("esperanto"), - @XmlEnumValue("estonian") - ESTONIAN("estonian"), - @XmlEnumValue("farsi") - FARSI("farsi"), - @XmlEnumValue("filipino") - FILIPINO("filipino"), - @XmlEnumValue("finnish") - FINNISH("finnish"), - @XmlEnumValue("flemish") - FLEMISH("flemish"), - @XmlEnumValue("french") - FRENCH("french"), - @XmlEnumValue("french_canadian") - FRENCH_CANADIAN("french_canadian"), - @XmlEnumValue("georgian") - GEORGIAN("georgian"), - @XmlEnumValue("german") - GERMAN("german"), - @XmlEnumValue("gibberish") - GIBBERISH("gibberish"), - @XmlEnumValue("greek") - GREEK("greek"), - @XmlEnumValue("gujarati") - GUJARATI("gujarati"), - @XmlEnumValue("gullah") - GULLAH("gullah"), - @XmlEnumValue("hausa") - HAUSA("hausa"), - @XmlEnumValue("hawaiian") - HAWAIIAN("hawaiian"), - @XmlEnumValue("hebrew") - HEBREW("hebrew"), - @XmlEnumValue("hindi") - HINDI("hindi"), - @XmlEnumValue("hmong") - HMONG("hmong"), - @XmlEnumValue("hungarian") - HUNGARIAN("hungarian"), - @XmlEnumValue("icelandic") - ICELANDIC("icelandic"), - @XmlEnumValue("indo_european") - INDO_EUROPEAN("indo_european"), - @XmlEnumValue("indonesian") - INDONESIAN("indonesian"), - @XmlEnumValue("ingush") - INGUSH("ingush"), - @XmlEnumValue("inuktitun") - INUKTITUN("inuktitun"), - @XmlEnumValue("inuktitut") - INUKTITUT("inuktitut"), - @XmlEnumValue("inupiaq") - INUPIAQ("inupiaq"), - @XmlEnumValue("irish") - IRISH("irish"), - @XmlEnumValue("italian") - ITALIAN("italian"), - @XmlEnumValue("japanese") - JAPANESE("japanese"), - @XmlEnumValue("kalaallisut") - KALAALLISUT("kalaallisut"), - @XmlEnumValue("kalmyk") - KALMYK("kalmyk"), - @XmlEnumValue("karachay_balkar") - KARACHAY_BALKAR("karachay_balkar"), - @XmlEnumValue("kashubian") - KASHUBIAN("kashubian"), - @XmlEnumValue("kazakh") - KAZAKH("kazakh"), - @XmlEnumValue("khmer") - KHMER("khmer"), - @XmlEnumValue("klingon") - KLINGON("klingon"), - @XmlEnumValue("korean") - KOREAN("korean"), - @XmlEnumValue("kurdish") - KURDISH("kurdish"), - @XmlEnumValue("ladino") - LADINO("ladino"), - @XmlEnumValue("lao") - LAO("lao"), - @XmlEnumValue("lapp") - LAPP("lapp"), - @XmlEnumValue("latin") - LATIN("latin"), - @XmlEnumValue("lithuanian") - LITHUANIAN("lithuanian"), - @XmlEnumValue("lojban") - LOJBAN("lojban"), - @XmlEnumValue("lower_sorbian") - LOWER_SORBIAN("lower_sorbian"), - @XmlEnumValue("macedonian") - MACEDONIAN("macedonian"), - @XmlEnumValue("malagasy") - MALAGASY("malagasy"), - @XmlEnumValue("malay") - MALAY("malay"), - @XmlEnumValue("malayalam") - MALAYALAM("malayalam"), - @XmlEnumValue("maltese") - MALTESE("maltese"), - @XmlEnumValue("mandarin_chinese") - MANDARIN_CHINESE("mandarin_chinese"), - @XmlEnumValue("maori") - MAORI("maori"), - @XmlEnumValue("mende") - MENDE("mende"), - @XmlEnumValue("middle_english") - MIDDLE_ENGLISH("middle_english"), - @XmlEnumValue("mirandese") - MIRANDESE("mirandese"), - @XmlEnumValue("moksha") - MOKSHA("moksha"), - @XmlEnumValue("mongo") - MONGO("mongo"), - @XmlEnumValue("mongolian") - MONGOLIAN("mongolian"), - @XmlEnumValue("multilingual") - MULTILINGUAL("multilingual"), - @XmlEnumValue("navaho") - NAVAHO("navaho"), - @XmlEnumValue("nogai") - NOGAI("nogai"), - @XmlEnumValue("norwegian") - NORWEGIAN("norwegian"), - @XmlEnumValue("old_english") - OLD_ENGLISH("old_english"), - @XmlEnumValue("persian") - PERSIAN("persian"), - @XmlEnumValue("pig_latin") - PIG_LATIN("pig_latin"), - @XmlEnumValue("polish") - POLISH("polish"), - @XmlEnumValue("portuguese") - PORTUGUESE("portuguese"), - @XmlEnumValue("romance") - ROMANCE("romance"), - @XmlEnumValue("romanian") - ROMANIAN("romanian"), - @XmlEnumValue("romany") - ROMANY("romany"), - @XmlEnumValue("russian") - RUSSIAN("russian"), - @XmlEnumValue("samaritan") - SAMARITAN("samaritan"), - @XmlEnumValue("sanskrit") - SANSKRIT("sanskrit"), - @XmlEnumValue("serbian") - SERBIAN("serbian"), - @XmlEnumValue("serbo-croatian") - SERBO_CROATIAN("serbo-croatian"), - @XmlEnumValue("sichuan_yi") - SICHUAN_YI("sichuan_yi"), - @XmlEnumValue("sicilian") - SICILIAN("sicilian"), - @XmlEnumValue("sign_language") - SIGN_LANGUAGE("sign_language"), - @XmlEnumValue("slavic") - SLAVIC("slavic"), - @XmlEnumValue("slovak") - SLOVAK("slovak"), - @XmlEnumValue("slovene") - SLOVENE("slovene"), - @XmlEnumValue("somali") - SOMALI("somali"), - @XmlEnumValue("spanish") - SPANISH("spanish"), - @XmlEnumValue("sumerian") - SUMERIAN("sumerian"), - @XmlEnumValue("swahili") - SWAHILI("swahili"), - @XmlEnumValue("swedish") - SWEDISH("swedish"), - @XmlEnumValue("swiss_german") - SWISS_GERMAN("swiss_german"), - @XmlEnumValue("tagalog") - TAGALOG("tagalog"), - @XmlEnumValue("taiwanese_chinese") - TAIWANESE_CHINESE("taiwanese_chinese"), - @XmlEnumValue("tamil") - TAMIL("tamil"), - @XmlEnumValue("thai") - THAI("thai"), - @XmlEnumValue("tibetan") - TIBETAN("tibetan"), - @XmlEnumValue("turkish") - TURKISH("turkish"), - @XmlEnumValue("udmurt") - UDMURT("udmurt"), - @XmlEnumValue("ukrainian") - UKRAINIAN("ukrainian"), - @XmlEnumValue("unknown") - UNKNOWN("unknown"), - @XmlEnumValue("urdu") - URDU("urdu"), - @XmlEnumValue("vietnamese") - VIETNAMESE("vietnamese"), - @XmlEnumValue("welsh") - WELSH("welsh"), - @XmlEnumValue("wolof") - WOLOF("wolof"), - @XmlEnumValue("xhosa") - XHOSA("xhosa"), - @XmlEnumValue("yiddish") - YIDDISH("yiddish"), - @XmlEnumValue("zulu") - ZULU("zulu"); - private final String value; - - LanguageSWVG(String v) { - value = v; - } - - public static LanguageSWVG fromValue(String v) { - for (LanguageSWVG c : LanguageSWVG.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LanguageStringType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LanguageStringType.java deleted file mode 100644 index 97edab35b3..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LanguageStringType.java +++ /dev/null @@ -1,648 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per LanguageStringType. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="LanguageStringType">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="Abkhazian"/>
- *     <enumeration value="Adygei"/>
- *     <enumeration value="Afar"/>
- *     <enumeration value="Afrikaans"/>
- *     <enumeration value="Albanian"/>
- *     <enumeration value="Alsatian"/>
- *     <enumeration value="Amharic"/>
- *     <enumeration value="Arabic"/>
- *     <enumeration value="Aramaic"/>
- *     <enumeration value="Armenian"/>
- *     <enumeration value="Assamese"/>
- *     <enumeration value="Aymara"/>
- *     <enumeration value="Azerbaijani"/>
- *     <enumeration value="Bambara"/>
- *     <enumeration value="Bashkir"/>
- *     <enumeration value="Basque"/>
- *     <enumeration value="Bengali"/>
- *     <enumeration value="Berber"/>
- *     <enumeration value="Bhutani"/>
- *     <enumeration value="Bihari"/>
- *     <enumeration value="Bislama"/>
- *     <enumeration value="Breton"/>
- *     <enumeration value="Bulgarian"/>
- *     <enumeration value="Burmese"/>
- *     <enumeration value="Buryat"/>
- *     <enumeration value="Byelorussian"/>
- *     <enumeration value="CantoneseChinese"/>
- *     <enumeration value="Castillian"/>
- *     <enumeration value="Catalan"/>
- *     <enumeration value="Cayuga"/>
- *     <enumeration value="Cheyenne"/>
- *     <enumeration value="Chinese"/>
- *     <enumeration value="ClassicalNewari"/>
- *     <enumeration value="Cornish"/>
- *     <enumeration value="Corsican"/>
- *     <enumeration value="Creole"/>
- *     <enumeration value="CrimeanTatar"/>
- *     <enumeration value="Croatian"/>
- *     <enumeration value="Czech"/>
- *     <enumeration value="Danish"/>
- *     <enumeration value="Dargwa"/>
- *     <enumeration value="Dutch"/>
- *     <enumeration value="English"/>
- *     <enumeration value="Esperanto"/>
- *     <enumeration value="Estonian"/>
- *     <enumeration value="Faroese"/>
- *     <enumeration value="Farsi"/>
- *     <enumeration value="Fiji"/>
- *     <enumeration value="Filipino"/>
- *     <enumeration value="Finnish"/>
- *     <enumeration value="Flemish"/>
- *     <enumeration value="French"/>
- *     <enumeration value="FrenchCanadian"/>
- *     <enumeration value="Frisian"/>
- *     <enumeration value="Galician"/>
- *     <enumeration value="Georgian"/>
- *     <enumeration value="German"/>
- *     <enumeration value="Gibberish"/>
- *     <enumeration value="Greek"/>
- *     <enumeration value="Greenlandic"/>
- *     <enumeration value="Guarani"/>
- *     <enumeration value="Gujarati"/>
- *     <enumeration value="Gullah"/>
- *     <enumeration value="Hausa"/>
- *     <enumeration value="Hawaiian"/>
- *     <enumeration value="Hebrew"/>
- *     <enumeration value="Hindi"/>
- *     <enumeration value="Hmong"/>
- *     <enumeration value="Hungarian"/>
- *     <enumeration value="Icelandic"/>
- *     <enumeration value="IndoEuropean"/>
- *     <enumeration value="Indonesian"/>
- *     <enumeration value="Ingush"/>
- *     <enumeration value="Interlingua"/>
- *     <enumeration value="Interlingue"/>
- *     <enumeration value="Inuktitun"/>
- *     <enumeration value="Inuktitut"/>
- *     <enumeration value="Inupiak"/>
- *     <enumeration value="Inupiaq"/>
- *     <enumeration value="Irish"/>
- *     <enumeration value="Italian"/>
- *     <enumeration value="Japanese"/>
- *     <enumeration value="Javanese"/>
- *     <enumeration value="Kalaallisut"/>
- *     <enumeration value="Kalmyk"/>
- *     <enumeration value="Kannada"/>
- *     <enumeration value="KarachayBalkar"/>
- *     <enumeration value="Kashmiri"/>
- *     <enumeration value="Kashubian"/>
- *     <enumeration value="Kazakh"/>
- *     <enumeration value="Khmer"/>
- *     <enumeration value="Kinyarwanda"/>
- *     <enumeration value="Kirghiz"/>
- *     <enumeration value="Kirundi"/>
- *     <enumeration value="Klingon"/>
- *     <enumeration value="Korean"/>
- *     <enumeration value="Kurdish"/>
- *     <enumeration value="Ladino"/>
- *     <enumeration value="Lao"/>
- *     <enumeration value="Lapp"/>
- *     <enumeration value="Latin"/>
- *     <enumeration value="Latvian"/>
- *     <enumeration value="Lingala"/>
- *     <enumeration value="Lithuanian"/>
- *     <enumeration value="Lojban"/>
- *     <enumeration value="LowerSorbian"/>
- *     <enumeration value="Macedonian"/>
- *     <enumeration value="Malagasy"/>
- *     <enumeration value="Malay"/>
- *     <enumeration value="Malayalam"/>
- *     <enumeration value="Maltese"/>
- *     <enumeration value="MandarinChinese"/>
- *     <enumeration value="Maori"/>
- *     <enumeration value="Marathi"/>
- *     <enumeration value="Mende"/>
- *     <enumeration value="MiddleEnglish"/>
- *     <enumeration value="Mirandese"/>
- *     <enumeration value="Moksha"/>
- *     <enumeration value="Moldavian"/>
- *     <enumeration value="Mongo"/>
- *     <enumeration value="Mongolian"/>
- *     <enumeration value="Multilingual"/>
- *     <enumeration value="Nauru"/>
- *     <enumeration value="Navaho"/>
- *     <enumeration value="Nepali"/>
- *     <enumeration value="Nogai"/>
- *     <enumeration value="Norwegian"/>
- *     <enumeration value="Occitan"/>
- *     <enumeration value="OldEnglish"/>
- *     <enumeration value="Oriya"/>
- *     <enumeration value="Oromo"/>
- *     <enumeration value="Pashto"/>
- *     <enumeration value="Persian"/>
- *     <enumeration value="PigLatin"/>
- *     <enumeration value="Polish"/>
- *     <enumeration value="Portuguese"/>
- *     <enumeration value="Punjabi"/>
- *     <enumeration value="Quechua"/>
- *     <enumeration value="Romance"/>
- *     <enumeration value="Romanian"/>
- *     <enumeration value="Romany"/>
- *     <enumeration value="Russian"/>
- *     <enumeration value="Samaritan"/>
- *     <enumeration value="Samoan"/>
- *     <enumeration value="Sangho"/>
- *     <enumeration value="Sanskrit"/>
- *     <enumeration value="Serbian"/>
- *     <enumeration value="Serbo-Croatian"/>
- *     <enumeration value="Sesotho"/>
- *     <enumeration value="Setswana"/>
- *     <enumeration value="Shona"/>
- *     <enumeration value="SichuanYi"/>
- *     <enumeration value="Sicilian"/>
- *     <enumeration value="SignLanguage"/>
- *     <enumeration value="Sindhi"/>
- *     <enumeration value="Sinhalese"/>
- *     <enumeration value="Siswati"/>
- *     <enumeration value="Slavic"/>
- *     <enumeration value="Slovak"/>
- *     <enumeration value="Slovakian"/>
- *     <enumeration value="Slovene"/>
- *     <enumeration value="Somali"/>
- *     <enumeration value="Spanish"/>
- *     <enumeration value="Sumerian"/>
- *     <enumeration value="Sundanese"/>
- *     <enumeration value="Swahili"/>
- *     <enumeration value="Swedish"/>
- *     <enumeration value="SwissGerman"/>
- *     <enumeration value="Syriac"/>
- *     <enumeration value="Tagalog"/>
- *     <enumeration value="TaiwaneseChinese"/>
- *     <enumeration value="Tajik"/>
- *     <enumeration value="Tamil"/>
- *     <enumeration value="Tatar"/>
- *     <enumeration value="Telugu"/>
- *     <enumeration value="Thai"/>
- *     <enumeration value="Tibetan"/>
- *     <enumeration value="Tigrinya"/>
- *     <enumeration value="Tonga"/>
- *     <enumeration value="Tsonga"/>
- *     <enumeration value="Turkish"/>
- *     <enumeration value="Turkmen"/>
- *     <enumeration value="Twi"/>
- *     <enumeration value="Udmurt"/>
- *     <enumeration value="Uighur"/>
- *     <enumeration value="Ukrainian"/>
- *     <enumeration value="Ukranian"/>
- *     <enumeration value="Unknown"/>
- *     <enumeration value="Urdu"/>
- *     <enumeration value="Uzbek"/>
- *     <enumeration value="Vietnamese"/>
- *     <enumeration value="Volapuk"/>
- *     <enumeration value="Welsh"/>
- *     <enumeration value="Wolof"/>
- *     <enumeration value="Xhosa"/>
- *     <enumeration value="Yiddish"/>
- *     <enumeration value="Yoruba"/>
- *     <enumeration value="Zhuang"/>
- *     <enumeration value="Zulu"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "LanguageStringType") -@XmlEnum -public enum LanguageStringType { - - @XmlEnumValue("Abkhazian") - ABKHAZIAN("Abkhazian"), - @XmlEnumValue("Adygei") - ADYGEI("Adygei"), - @XmlEnumValue("Afar") - AFAR("Afar"), - @XmlEnumValue("Afrikaans") - AFRIKAANS("Afrikaans"), - @XmlEnumValue("Albanian") - ALBANIAN("Albanian"), - @XmlEnumValue("Alsatian") - ALSATIAN("Alsatian"), - @XmlEnumValue("Amharic") - AMHARIC("Amharic"), - @XmlEnumValue("Arabic") - ARABIC("Arabic"), - @XmlEnumValue("Aramaic") - ARAMAIC("Aramaic"), - @XmlEnumValue("Armenian") - ARMENIAN("Armenian"), - @XmlEnumValue("Assamese") - ASSAMESE("Assamese"), - @XmlEnumValue("Aymara") - AYMARA("Aymara"), - @XmlEnumValue("Azerbaijani") - AZERBAIJANI("Azerbaijani"), - @XmlEnumValue("Bambara") - BAMBARA("Bambara"), - @XmlEnumValue("Bashkir") - BASHKIR("Bashkir"), - @XmlEnumValue("Basque") - BASQUE("Basque"), - @XmlEnumValue("Bengali") - BENGALI("Bengali"), - @XmlEnumValue("Berber") - BERBER("Berber"), - @XmlEnumValue("Bhutani") - BHUTANI("Bhutani"), - @XmlEnumValue("Bihari") - BIHARI("Bihari"), - @XmlEnumValue("Bislama") - BISLAMA("Bislama"), - @XmlEnumValue("Breton") - BRETON("Breton"), - @XmlEnumValue("Bulgarian") - BULGARIAN("Bulgarian"), - @XmlEnumValue("Burmese") - BURMESE("Burmese"), - @XmlEnumValue("Buryat") - BURYAT("Buryat"), - @XmlEnumValue("Byelorussian") - BYELORUSSIAN("Byelorussian"), - @XmlEnumValue("CantoneseChinese") - CANTONESE_CHINESE("CantoneseChinese"), - @XmlEnumValue("Castillian") - CASTILLIAN("Castillian"), - @XmlEnumValue("Catalan") - CATALAN("Catalan"), - @XmlEnumValue("Cayuga") - CAYUGA("Cayuga"), - @XmlEnumValue("Cheyenne") - CHEYENNE("Cheyenne"), - @XmlEnumValue("Chinese") - CHINESE("Chinese"), - @XmlEnumValue("ClassicalNewari") - CLASSICAL_NEWARI("ClassicalNewari"), - @XmlEnumValue("Cornish") - CORNISH("Cornish"), - @XmlEnumValue("Corsican") - CORSICAN("Corsican"), - @XmlEnumValue("Creole") - CREOLE("Creole"), - @XmlEnumValue("CrimeanTatar") - CRIMEAN_TATAR("CrimeanTatar"), - @XmlEnumValue("Croatian") - CROATIAN("Croatian"), - @XmlEnumValue("Czech") - CZECH("Czech"), - @XmlEnumValue("Danish") - DANISH("Danish"), - @XmlEnumValue("Dargwa") - DARGWA("Dargwa"), - @XmlEnumValue("Dutch") - DUTCH("Dutch"), - @XmlEnumValue("English") - ENGLISH("English"), - @XmlEnumValue("Esperanto") - ESPERANTO("Esperanto"), - @XmlEnumValue("Estonian") - ESTONIAN("Estonian"), - @XmlEnumValue("Faroese") - FAROESE("Faroese"), - @XmlEnumValue("Farsi") - FARSI("Farsi"), - @XmlEnumValue("Fiji") - FIJI("Fiji"), - @XmlEnumValue("Filipino") - FILIPINO("Filipino"), - @XmlEnumValue("Finnish") - FINNISH("Finnish"), - @XmlEnumValue("Flemish") - FLEMISH("Flemish"), - @XmlEnumValue("French") - FRENCH("French"), - @XmlEnumValue("FrenchCanadian") - FRENCH_CANADIAN("FrenchCanadian"), - @XmlEnumValue("Frisian") - FRISIAN("Frisian"), - @XmlEnumValue("Galician") - GALICIAN("Galician"), - @XmlEnumValue("Georgian") - GEORGIAN("Georgian"), - @XmlEnumValue("German") - GERMAN("German"), - @XmlEnumValue("Gibberish") - GIBBERISH("Gibberish"), - @XmlEnumValue("Greek") - GREEK("Greek"), - @XmlEnumValue("Greenlandic") - GREENLANDIC("Greenlandic"), - @XmlEnumValue("Guarani") - GUARANI("Guarani"), - @XmlEnumValue("Gujarati") - GUJARATI("Gujarati"), - @XmlEnumValue("Gullah") - GULLAH("Gullah"), - @XmlEnumValue("Hausa") - HAUSA("Hausa"), - @XmlEnumValue("Hawaiian") - HAWAIIAN("Hawaiian"), - @XmlEnumValue("Hebrew") - HEBREW("Hebrew"), - @XmlEnumValue("Hindi") - HINDI("Hindi"), - @XmlEnumValue("Hmong") - HMONG("Hmong"), - @XmlEnumValue("Hungarian") - HUNGARIAN("Hungarian"), - @XmlEnumValue("Icelandic") - ICELANDIC("Icelandic"), - @XmlEnumValue("IndoEuropean") - INDO_EUROPEAN("IndoEuropean"), - @XmlEnumValue("Indonesian") - INDONESIAN("Indonesian"), - @XmlEnumValue("Ingush") - INGUSH("Ingush"), - @XmlEnumValue("Interlingua") - INTERLINGUA("Interlingua"), - @XmlEnumValue("Interlingue") - INTERLINGUE("Interlingue"), - @XmlEnumValue("Inuktitun") - INUKTITUN("Inuktitun"), - @XmlEnumValue("Inuktitut") - INUKTITUT("Inuktitut"), - @XmlEnumValue("Inupiak") - INUPIAK("Inupiak"), - @XmlEnumValue("Inupiaq") - INUPIAQ("Inupiaq"), - @XmlEnumValue("Irish") - IRISH("Irish"), - @XmlEnumValue("Italian") - ITALIAN("Italian"), - @XmlEnumValue("Japanese") - JAPANESE("Japanese"), - @XmlEnumValue("Javanese") - JAVANESE("Javanese"), - @XmlEnumValue("Kalaallisut") - KALAALLISUT("Kalaallisut"), - @XmlEnumValue("Kalmyk") - KALMYK("Kalmyk"), - @XmlEnumValue("Kannada") - KANNADA("Kannada"), - @XmlEnumValue("KarachayBalkar") - KARACHAY_BALKAR("KarachayBalkar"), - @XmlEnumValue("Kashmiri") - KASHMIRI("Kashmiri"), - @XmlEnumValue("Kashubian") - KASHUBIAN("Kashubian"), - @XmlEnumValue("Kazakh") - KAZAKH("Kazakh"), - @XmlEnumValue("Khmer") - KHMER("Khmer"), - @XmlEnumValue("Kinyarwanda") - KINYARWANDA("Kinyarwanda"), - @XmlEnumValue("Kirghiz") - KIRGHIZ("Kirghiz"), - @XmlEnumValue("Kirundi") - KIRUNDI("Kirundi"), - @XmlEnumValue("Klingon") - KLINGON("Klingon"), - @XmlEnumValue("Korean") - KOREAN("Korean"), - @XmlEnumValue("Kurdish") - KURDISH("Kurdish"), - @XmlEnumValue("Ladino") - LADINO("Ladino"), - @XmlEnumValue("Lao") - LAO("Lao"), - @XmlEnumValue("Lapp") - LAPP("Lapp"), - @XmlEnumValue("Latin") - LATIN("Latin"), - @XmlEnumValue("Latvian") - LATVIAN("Latvian"), - @XmlEnumValue("Lingala") - LINGALA("Lingala"), - @XmlEnumValue("Lithuanian") - LITHUANIAN("Lithuanian"), - @XmlEnumValue("Lojban") - LOJBAN("Lojban"), - @XmlEnumValue("LowerSorbian") - LOWER_SORBIAN("LowerSorbian"), - @XmlEnumValue("Macedonian") - MACEDONIAN("Macedonian"), - @XmlEnumValue("Malagasy") - MALAGASY("Malagasy"), - @XmlEnumValue("Malay") - MALAY("Malay"), - @XmlEnumValue("Malayalam") - MALAYALAM("Malayalam"), - @XmlEnumValue("Maltese") - MALTESE("Maltese"), - @XmlEnumValue("MandarinChinese") - MANDARIN_CHINESE("MandarinChinese"), - @XmlEnumValue("Maori") - MAORI("Maori"), - @XmlEnumValue("Marathi") - MARATHI("Marathi"), - @XmlEnumValue("Mende") - MENDE("Mende"), - @XmlEnumValue("MiddleEnglish") - MIDDLE_ENGLISH("MiddleEnglish"), - @XmlEnumValue("Mirandese") - MIRANDESE("Mirandese"), - @XmlEnumValue("Moksha") - MOKSHA("Moksha"), - @XmlEnumValue("Moldavian") - MOLDAVIAN("Moldavian"), - @XmlEnumValue("Mongo") - MONGO("Mongo"), - @XmlEnumValue("Mongolian") - MONGOLIAN("Mongolian"), - @XmlEnumValue("Multilingual") - MULTILINGUAL("Multilingual"), - @XmlEnumValue("Nauru") - NAURU("Nauru"), - @XmlEnumValue("Navaho") - NAVAHO("Navaho"), - @XmlEnumValue("Nepali") - NEPALI("Nepali"), - @XmlEnumValue("Nogai") - NOGAI("Nogai"), - @XmlEnumValue("Norwegian") - NORWEGIAN("Norwegian"), - @XmlEnumValue("Occitan") - OCCITAN("Occitan"), - @XmlEnumValue("OldEnglish") - OLD_ENGLISH("OldEnglish"), - @XmlEnumValue("Oriya") - ORIYA("Oriya"), - @XmlEnumValue("Oromo") - OROMO("Oromo"), - @XmlEnumValue("Pashto") - PASHTO("Pashto"), - @XmlEnumValue("Persian") - PERSIAN("Persian"), - @XmlEnumValue("PigLatin") - PIG_LATIN("PigLatin"), - @XmlEnumValue("Polish") - POLISH("Polish"), - @XmlEnumValue("Portuguese") - PORTUGUESE("Portuguese"), - @XmlEnumValue("Punjabi") - PUNJABI("Punjabi"), - @XmlEnumValue("Quechua") - QUECHUA("Quechua"), - @XmlEnumValue("Romance") - ROMANCE("Romance"), - @XmlEnumValue("Romanian") - ROMANIAN("Romanian"), - @XmlEnumValue("Romany") - ROMANY("Romany"), - @XmlEnumValue("Russian") - RUSSIAN("Russian"), - @XmlEnumValue("Samaritan") - SAMARITAN("Samaritan"), - @XmlEnumValue("Samoan") - SAMOAN("Samoan"), - @XmlEnumValue("Sangho") - SANGHO("Sangho"), - @XmlEnumValue("Sanskrit") - SANSKRIT("Sanskrit"), - @XmlEnumValue("Serbian") - SERBIAN("Serbian"), - @XmlEnumValue("Serbo-Croatian") - SERBO_CROATIAN("Serbo-Croatian"), - @XmlEnumValue("Sesotho") - SESOTHO("Sesotho"), - @XmlEnumValue("Setswana") - SETSWANA("Setswana"), - @XmlEnumValue("Shona") - SHONA("Shona"), - @XmlEnumValue("SichuanYi") - SICHUAN_YI("SichuanYi"), - @XmlEnumValue("Sicilian") - SICILIAN("Sicilian"), - @XmlEnumValue("SignLanguage") - SIGN_LANGUAGE("SignLanguage"), - @XmlEnumValue("Sindhi") - SINDHI("Sindhi"), - @XmlEnumValue("Sinhalese") - SINHALESE("Sinhalese"), - @XmlEnumValue("Siswati") - SISWATI("Siswati"), - @XmlEnumValue("Slavic") - SLAVIC("Slavic"), - @XmlEnumValue("Slovak") - SLOVAK("Slovak"), - @XmlEnumValue("Slovakian") - SLOVAKIAN("Slovakian"), - @XmlEnumValue("Slovene") - SLOVENE("Slovene"), - @XmlEnumValue("Somali") - SOMALI("Somali"), - @XmlEnumValue("Spanish") - SPANISH("Spanish"), - @XmlEnumValue("Sumerian") - SUMERIAN("Sumerian"), - @XmlEnumValue("Sundanese") - SUNDANESE("Sundanese"), - @XmlEnumValue("Swahili") - SWAHILI("Swahili"), - @XmlEnumValue("Swedish") - SWEDISH("Swedish"), - @XmlEnumValue("SwissGerman") - SWISS_GERMAN("SwissGerman"), - @XmlEnumValue("Syriac") - SYRIAC("Syriac"), - @XmlEnumValue("Tagalog") - TAGALOG("Tagalog"), - @XmlEnumValue("TaiwaneseChinese") - TAIWANESE_CHINESE("TaiwaneseChinese"), - @XmlEnumValue("Tajik") - TAJIK("Tajik"), - @XmlEnumValue("Tamil") - TAMIL("Tamil"), - @XmlEnumValue("Tatar") - TATAR("Tatar"), - @XmlEnumValue("Telugu") - TELUGU("Telugu"), - @XmlEnumValue("Thai") - THAI("Thai"), - @XmlEnumValue("Tibetan") - TIBETAN("Tibetan"), - @XmlEnumValue("Tigrinya") - TIGRINYA("Tigrinya"), - @XmlEnumValue("Tonga") - TONGA("Tonga"), - @XmlEnumValue("Tsonga") - TSONGA("Tsonga"), - @XmlEnumValue("Turkish") - TURKISH("Turkish"), - @XmlEnumValue("Turkmen") - TURKMEN("Turkmen"), - @XmlEnumValue("Twi") - TWI("Twi"), - @XmlEnumValue("Udmurt") - UDMURT("Udmurt"), - @XmlEnumValue("Uighur") - UIGHUR("Uighur"), - @XmlEnumValue("Ukrainian") - UKRAINIAN("Ukrainian"), - @XmlEnumValue("Ukranian") - UKRANIAN("Ukranian"), - @XmlEnumValue("Unknown") - UNKNOWN("Unknown"), - @XmlEnumValue("Urdu") - URDU("Urdu"), - @XmlEnumValue("Uzbek") - UZBEK("Uzbek"), - @XmlEnumValue("Vietnamese") - VIETNAMESE("Vietnamese"), - @XmlEnumValue("Volapuk") - VOLAPUK("Volapuk"), - @XmlEnumValue("Welsh") - WELSH("Welsh"), - @XmlEnumValue("Wolof") - WOLOF("Wolof"), - @XmlEnumValue("Xhosa") - XHOSA("Xhosa"), - @XmlEnumValue("Yiddish") - YIDDISH("Yiddish"), - @XmlEnumValue("Yoruba") - YORUBA("Yoruba"), - @XmlEnumValue("Zhuang") - ZHUANG("Zhuang"), - @XmlEnumValue("Zulu") - ZULU("Zulu"); - private final String value; - - LanguageStringType(String v) { - value = v; - } - - public static LanguageStringType fromValue(String v) { - for (LanguageStringType c : LanguageStringType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LengthDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LengthDimension.java deleted file mode 100644 index 66fe1bb2e7..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LengthDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per LengthDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="LengthDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}LengthUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "LengthDimension", propOrder = { - "value" -}) -public class LengthDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected LengthUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link LengthUnitOfMeasure } - */ - public LengthUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link LengthUnitOfMeasure } - */ - public void setUnitOfMeasure(LengthUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LengthDimensionOptionalUnit.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LengthDimensionOptionalUnit.java deleted file mode 100644 index c2cbb4670d..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LengthDimensionOptionalUnit.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per LengthDimensionOptionalUnit complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="LengthDimensionOptionalUnit">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" type="{}LengthUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "LengthDimensionOptionalUnit", propOrder = { - "value" -}) -public class LengthDimensionOptionalUnit { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure") - protected LengthUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link LengthUnitOfMeasure } - */ - public LengthUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link LengthUnitOfMeasure } - */ - public void setUnitOfMeasure(LengthUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LengthIntegerDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LengthIntegerDimension.java deleted file mode 100644 index 6afbca767f..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LengthIntegerDimension.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per LengthIntegerDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="LengthIntegerDimension">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
- *       <attribute name="unitOfMeasure" use="required" type="{}LengthUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "LengthIntegerDimension", propOrder = { - "value" -}) -public class LengthIntegerDimension { - - @XmlValue - @XmlSchemaType(name = "positiveInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected LengthUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link LengthUnitOfMeasure } - */ - public LengthUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link LengthUnitOfMeasure } - */ - public void setUnitOfMeasure(LengthUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LengthUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LengthUnitOfMeasure.java deleted file mode 100644 index a35e871631..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LengthUnitOfMeasure.java +++ /dev/null @@ -1,88 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per LengthUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="LengthUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="MM"/>
- *     <enumeration value="CM"/>
- *     <enumeration value="M"/>
- *     <enumeration value="IN"/>
- *     <enumeration value="FT"/>
- *     <enumeration value="inches"/>
- *     <enumeration value="feet"/>
- *     <enumeration value="meters"/>
- *     <enumeration value="decimeters"/>
- *     <enumeration value="centimeters"/>
- *     <enumeration value="millimeters"/>
- *     <enumeration value="micrometers"/>
- *     <enumeration value="nanometers"/>
- *     <enumeration value="picometers"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "LengthUnitOfMeasure") -@XmlEnum -public enum LengthUnitOfMeasure { - - MM("MM"), - CM("CM"), - M("M"), - IN("IN"), - FT("FT"), - @XmlEnumValue("inches") - INCHES("inches"), - @XmlEnumValue("feet") - FEET("feet"), - @XmlEnumValue("meters") - METERS("meters"), - @XmlEnumValue("decimeters") - DECIMETERS("decimeters"), - @XmlEnumValue("centimeters") - CENTIMETERS("centimeters"), - @XmlEnumValue("millimeters") - MILLIMETERS("millimeters"), - @XmlEnumValue("micrometers") - MICROMETERS("micrometers"), - @XmlEnumValue("nanometers") - NANOMETERS("nanometers"), - @XmlEnumValue("picometers") - PICOMETERS("picometers"); - private final String value; - - LengthUnitOfMeasure(String v) { - value = v; - } - - public static LengthUnitOfMeasure fromValue(String v) { - for (LengthUnitOfMeasure c : LengthUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LithiumBatteryPackagingType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LithiumBatteryPackagingType.java deleted file mode 100644 index 14d71bb6f8..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LithiumBatteryPackagingType.java +++ /dev/null @@ -1,60 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per LithiumBatteryPackagingType. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="LithiumBatteryPackagingType">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="batteries_contained_in_equipment"/>
- *     <enumeration value="batteries_only"/>
- *     <enumeration value="batteries_packed_with_equipment"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "LithiumBatteryPackagingType") -@XmlEnum -public enum LithiumBatteryPackagingType { - - @XmlEnumValue("batteries_contained_in_equipment") - BATTERIES_CONTAINED_IN_EQUIPMENT("batteries_contained_in_equipment"), - @XmlEnumValue("batteries_only") - BATTERIES_ONLY("batteries_only"), - @XmlEnumValue("batteries_packed_with_equipment") - BATTERIES_PACKED_WITH_EQUIPMENT("batteries_packed_with_equipment"); - private final String value; - - LithiumBatteryPackagingType(String v) { - value = v; - } - - public static LithiumBatteryPackagingType fromValue(String v) { - for (LithiumBatteryPackagingType c : LithiumBatteryPackagingType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LoyaltyCustomAttribute.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LoyaltyCustomAttribute.java deleted file mode 100644 index 3ce527c452..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LoyaltyCustomAttribute.java +++ /dev/null @@ -1,84 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Classe Java per LoyaltyCustomAttribute complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="LoyaltyCustomAttribute">
- *   <simpleContent>
- *     <extension base="<>String">
- *       <attribute name="attributeName" type="{}String" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "LoyaltyCustomAttribute", propOrder = { - "value" -}) -public class LoyaltyCustomAttribute { - - @XmlValue - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String value; - @XmlAttribute(name = "attributeName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String attributeName; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link String } - */ - public String getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link String } - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà attributeName. - * - * @return possible object is - * {@link String } - */ - public String getAttributeName() { - return attributeName; - } - - /** - * Imposta il valore della proprietà attributeName. - * - * @param value allowed object is - * {@link String } - */ - public void setAttributeName(String value) { - this.attributeName = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LuminanceDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LuminanceDimension.java deleted file mode 100644 index 2ed9975140..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LuminanceDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per LuminanceDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="LuminanceDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}LuminanceUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "LuminanceDimension", propOrder = { - "value" -}) -public class LuminanceDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected LuminanceUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link LuminanceUnitOfMeasure } - */ - public LuminanceUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link LuminanceUnitOfMeasure } - */ - public void setUnitOfMeasure(LuminanceUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LuminanceIntegerDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LuminanceIntegerDimension.java deleted file mode 100644 index 1c492be9ad..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LuminanceIntegerDimension.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per LuminanceIntegerDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="LuminanceIntegerDimension">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>nonNegativeInteger">
- *       <attribute name="unitOfMeasure" use="required" type="{}LuminanceUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "LuminanceIntegerDimension", propOrder = { - "value" -}) -public class LuminanceIntegerDimension { - - @XmlValue - @XmlSchemaType(name = "nonNegativeInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected LuminanceUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link LuminanceUnitOfMeasure } - */ - public LuminanceUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link LuminanceUnitOfMeasure } - */ - public void setUnitOfMeasure(LuminanceUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LuminancePositiveIntegerDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LuminancePositiveIntegerDimension.java deleted file mode 100644 index e8cabfe70c..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LuminancePositiveIntegerDimension.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per LuminancePositiveIntegerDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="LuminancePositiveIntegerDimension">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
- *       <attribute name="unitOfMeasure" use="required" type="{}LuminanceUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "LuminancePositiveIntegerDimension", propOrder = { - "value" -}) -public class LuminancePositiveIntegerDimension { - - @XmlValue - @XmlSchemaType(name = "positiveInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected LuminanceUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link LuminanceUnitOfMeasure } - */ - public LuminanceUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link LuminanceUnitOfMeasure } - */ - public void setUnitOfMeasure(LuminanceUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LuminanceUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LuminanceUnitOfMeasure.java deleted file mode 100644 index 7a99b536be..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LuminanceUnitOfMeasure.java +++ /dev/null @@ -1,54 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per LuminanceUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="LuminanceUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="lumens"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "LuminanceUnitOfMeasure") -@XmlEnum -public enum LuminanceUnitOfMeasure { - - @XmlEnumValue("lumens") - LUMENS("lumens"); - private final String value; - - LuminanceUnitOfMeasure(String v) { - value = v; - } - - public static LuminanceUnitOfMeasure fromValue(String v) { - for (LuminanceUnitOfMeasure c : LuminanceUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LuminiousIntensityDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LuminiousIntensityDimension.java deleted file mode 100644 index c1c592fdf9..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LuminiousIntensityDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per LuminiousIntensityDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="LuminiousIntensityDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}LuminousIntensityUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "LuminiousIntensityDimension", propOrder = { - "value" -}) -public class LuminiousIntensityDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected LuminousIntensityUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link LuminousIntensityUnitOfMeasure } - */ - public LuminousIntensityUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link LuminousIntensityUnitOfMeasure } - */ - public void setUnitOfMeasure(LuminousIntensityUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LuminousIntensityUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LuminousIntensityUnitOfMeasure.java deleted file mode 100644 index 6261ae083d..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/LuminousIntensityUnitOfMeasure.java +++ /dev/null @@ -1,54 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per LuminousIntensityUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="LuminousIntensityUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="candela"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "LuminousIntensityUnitOfMeasure") -@XmlEnum -public enum LuminousIntensityUnitOfMeasure { - - @XmlEnumValue("candela") - CANDELA("candela"); - private final String value; - - LuminousIntensityUnitOfMeasure(String v) { - value = v; - } - - public static LuminousIntensityUnitOfMeasure fromValue(String v) { - for (LuminousIntensityUnitOfMeasure c : LuminousIntensityUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MagnificationDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MagnificationDimension.java deleted file mode 100644 index 82b32b66f4..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MagnificationDimension.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per MagnificationDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="MagnificationDimension">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
- *       <attribute name="unitOfMeasure" use="required" type="{}MagnificationUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "MagnificationDimension", propOrder = { - "value" -}) -public class MagnificationDimension { - - @XmlValue - @XmlSchemaType(name = "positiveInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected MagnificationUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link MagnificationUnitOfMeasure } - */ - public MagnificationUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link MagnificationUnitOfMeasure } - */ - public void setUnitOfMeasure(MagnificationUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MagnificationUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MagnificationUnitOfMeasure.java deleted file mode 100644 index c608abe746..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MagnificationUnitOfMeasure.java +++ /dev/null @@ -1,57 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per MagnificationUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="MagnificationUnitOfMeasure">
- *   <restriction base="{}String">
- *     <enumeration value="multiplier_x"/>
- *     <enumeration value="diopters"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "MagnificationUnitOfMeasure") -@XmlEnum -public enum MagnificationUnitOfMeasure { - - @XmlEnumValue("multiplier_x") - MULTIPLIER_X("multiplier_x"), - @XmlEnumValue("diopters") - DIOPTERS("diopters"); - private final String value; - - MagnificationUnitOfMeasure(String v) { - value = v; - } - - public static MagnificationUnitOfMeasure fromValue(String v) { - for (MagnificationUnitOfMeasure c : MagnificationUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MemorySizeDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MemorySizeDimension.java deleted file mode 100644 index d4ff7e889e..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MemorySizeDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per MemorySizeDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="MemorySizeDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}MemorySizeUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "MemorySizeDimension", propOrder = { - "value" -}) -public class MemorySizeDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected MemorySizeUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link MemorySizeUnitOfMeasure } - */ - public MemorySizeUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link MemorySizeUnitOfMeasure } - */ - public void setUnitOfMeasure(MemorySizeUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MemorySizeIntegerDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MemorySizeIntegerDimension.java deleted file mode 100644 index 2d5e414f7a..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MemorySizeIntegerDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per MemorySizeIntegerDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="MemorySizeIntegerDimension">
- *   <simpleContent>
- *     <extension base="<>PositiveInteger">
- *       <attribute name="unitOfMeasure" use="required" type="{}MemorySizeUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "MemorySizeIntegerDimension", propOrder = { - "value" -}) -public class MemorySizeIntegerDimension { - - @XmlValue - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected MemorySizeUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link MemorySizeUnitOfMeasure } - */ - public MemorySizeUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link MemorySizeUnitOfMeasure } - */ - public void setUnitOfMeasure(MemorySizeUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MemorySizeUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MemorySizeUnitOfMeasure.java deleted file mode 100644 index de7c79cff5..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MemorySizeUnitOfMeasure.java +++ /dev/null @@ -1,70 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per MemorySizeUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="MemorySizeUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="TB"/>
- *     <enumeration value="GB"/>
- *     <enumeration value="MB"/>
- *     <enumeration value="KB"/>
- *     <enumeration value="KO"/>
- *     <enumeration value="MO"/>
- *     <enumeration value="GO"/>
- *     <enumeration value="TO"/>
- *     <enumeration value="bytes"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "MemorySizeUnitOfMeasure") -@XmlEnum -public enum MemorySizeUnitOfMeasure { - - TB("TB"), - GB("GB"), - MB("MB"), - KB("KB"), - KO("KO"), - MO("MO"), - GO("GO"), - TO("TO"), - @XmlEnumValue("bytes") - BYTES("bytes"); - private final String value; - - MemorySizeUnitOfMeasure(String v) { - value = v; - } - - public static MemorySizeUnitOfMeasure fromValue(String v) { - for (MemorySizeUnitOfMeasure c : MemorySizeUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MillimeterDecimalDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MillimeterDecimalDimension.java deleted file mode 100644 index 74f22bda6e..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MillimeterDecimalDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per MillimeterDecimalDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="MillimeterDecimalDimension">
- *   <simpleContent>
- *     <extension base="<>PositiveDimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}MillimeterUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "MillimeterDecimalDimension", propOrder = { - "value" -}) -public class MillimeterDecimalDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected MillimeterUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link MillimeterUnitOfMeasure } - */ - public MillimeterUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link MillimeterUnitOfMeasure } - */ - public void setUnitOfMeasure(MillimeterUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MillimeterUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MillimeterUnitOfMeasure.java deleted file mode 100644 index 271fcc88cb..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MillimeterUnitOfMeasure.java +++ /dev/null @@ -1,54 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per MillimeterUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="MillimeterUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="millimeters"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "MillimeterUnitOfMeasure") -@XmlEnum -public enum MillimeterUnitOfMeasure { - - @XmlEnumValue("millimeters") - MILLIMETERS("millimeters"); - private final String value; - - MillimeterUnitOfMeasure(String v) { - value = v; - } - - public static MillimeterUnitOfMeasure fromValue(String v) { - for (MillimeterUnitOfMeasure c : MillimeterUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MinimumAgeRecommendedDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MinimumAgeRecommendedDimension.java deleted file mode 100644 index 301f2825c9..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MinimumAgeRecommendedDimension.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per MinimumAgeRecommendedDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="MinimumAgeRecommendedDimension">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>nonNegativeInteger">
- *       <attribute name="unitOfMeasure" use="required" type="{}AgeRecommendedUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "MinimumAgeRecommendedDimension", propOrder = { - "value" -}) -public class MinimumAgeRecommendedDimension { - - @XmlValue - @XmlSchemaType(name = "nonNegativeInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected AgeRecommendedUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link AgeRecommendedUnitOfMeasure } - */ - public AgeRecommendedUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link AgeRecommendedUnitOfMeasure } - */ - public void setUnitOfMeasure(AgeRecommendedUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ModemTypeValues.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ModemTypeValues.java deleted file mode 100644 index e33b60d6b9..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ModemTypeValues.java +++ /dev/null @@ -1,96 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per ModemTypeValues. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="ModemTypeValues">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="analog_modem"/>
- *     <enumeration value="data_fax_voice"/>
- *     <enumeration value="isdn_modem"/>
- *     <enumeration value="cable"/>
- *     <enumeration value="data_modem"/>
- *     <enumeration value="network_modem"/>
- *     <enumeration value="cellular"/>
- *     <enumeration value="digital"/>
- *     <enumeration value="unknown_modem_type"/>
- *     <enumeration value="csu"/>
- *     <enumeration value="dsl"/>
- *     <enumeration value="voice"/>
- *     <enumeration value="data_fax"/>
- *     <enumeration value="dsu"/>
- *     <enumeration value="winmodem"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "ModemTypeValues") -@XmlEnum -public enum ModemTypeValues { - - @XmlEnumValue("analog_modem") - ANALOG_MODEM("analog_modem"), - @XmlEnumValue("data_fax_voice") - DATA_FAX_VOICE("data_fax_voice"), - @XmlEnumValue("isdn_modem") - ISDN_MODEM("isdn_modem"), - @XmlEnumValue("cable") - CABLE("cable"), - @XmlEnumValue("data_modem") - DATA_MODEM("data_modem"), - @XmlEnumValue("network_modem") - NETWORK_MODEM("network_modem"), - @XmlEnumValue("cellular") - CELLULAR("cellular"), - @XmlEnumValue("digital") - DIGITAL("digital"), - @XmlEnumValue("unknown_modem_type") - UNKNOWN_MODEM_TYPE("unknown_modem_type"), - @XmlEnumValue("csu") - CSU("csu"), - @XmlEnumValue("dsl") - DSL("dsl"), - @XmlEnumValue("voice") - VOICE("voice"), - @XmlEnumValue("data_fax") - DATA_FAX("data_fax"), - @XmlEnumValue("dsu") - DSU("dsu"), - @XmlEnumValue("winmodem") - WINMODEM("winmodem"); - private final String value; - - ModemTypeValues(String v) { - value = v; - } - - public static ModemTypeValues fromValue(String v) { - for (ModemTypeValues c : ModemTypeValues.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MusicFormatType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MusicFormatType.java deleted file mode 100644 index 1e13bfba3a..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/MusicFormatType.java +++ /dev/null @@ -1,185 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per MusicFormatType. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="MusicFormatType">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="authorized_bootleg"/>
- *     <enumeration value="bsides"/>
- *     <enumeration value="best_of"/>
- *     <enumeration value="box_set"/>
- *     <enumeration value="original_recording"/>
- *     <enumeration value="reissued"/>
- *     <enumeration value="remastered"/>
- *     <enumeration value="soundtrack"/>
- *     <enumeration value="special_edition"/>
- *     <enumeration value="special_limited_edition"/>
- *     <enumeration value="cast_recording"/>
- *     <enumeration value="compilation"/>
- *     <enumeration value="deluxe_edition"/>
- *     <enumeration value="digital_sound"/>
- *     <enumeration value="double_lp"/>
- *     <enumeration value="explicit_lyrics"/>
- *     <enumeration value="hi-fidelity"/>
- *     <enumeration value="import"/>
- *     <enumeration value="limited_collectors_edition"/>
- *     <enumeration value="limited_edition"/>
- *     <enumeration value="remixes"/>
- *     <enumeration value="live"/>
- *     <enumeration value="extra_tracks"/>
- *     <enumeration value="cutout"/>
- *     <enumeration value="cd_and_dvd"/>
- *     <enumeration value="dual_disc"/>
- *     <enumeration value="hybrid_sacd"/>
- *     <enumeration value="cd-single"/>
- *     <enumeration value="maxi_single"/>
- *     <enumeration value="sacd"/>
- *     <enumeration value="minidisc"/>
- *     <enumeration value="uk_import"/>
- *     <enumeration value="us_import"/>
- *     <enumeration value="jp_import"/>
- *     <enumeration value="enhanced"/>
- *     <enumeration value="clean"/>
- *     <enumeration value="copy_protected_cd"/>
- *     <enumeration value="double_lp"/>
- *     <enumeration value="soundtrack"/>
- *     <enumeration value="cd-single"/>
- *     <enumeration value="remastered"/>
- *     <enumeration value="box_set"/>
- *     <enumeration value="double_cd"/>
- *     <enumeration value="karaoke"/>
- *     <enumeration value="limited_edition"/>
- *     <enumeration value="maxi_single"/>
- *     <enumeration value="mp3_audio"/>
- *     <enumeration value="ringle"/>
- *     <enumeration value="cd_and_dvd"/>
- *     <enumeration value="shm_cd"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "MusicFormatType") -@XmlEnum -public enum MusicFormatType { - - @XmlEnumValue("authorized_bootleg") - AUTHORIZED_BOOTLEG("authorized_bootleg"), - @XmlEnumValue("bsides") - BSIDES("bsides"), - @XmlEnumValue("best_of") - BEST_OF("best_of"), - @XmlEnumValue("box_set") - BOX_SET("box_set"), - @XmlEnumValue("original_recording") - ORIGINAL_RECORDING("original_recording"), - @XmlEnumValue("reissued") - REISSUED("reissued"), - @XmlEnumValue("remastered") - REMASTERED("remastered"), - @XmlEnumValue("soundtrack") - SOUNDTRACK("soundtrack"), - @XmlEnumValue("special_edition") - SPECIAL_EDITION("special_edition"), - @XmlEnumValue("special_limited_edition") - SPECIAL_LIMITED_EDITION("special_limited_edition"), - @XmlEnumValue("cast_recording") - CAST_RECORDING("cast_recording"), - @XmlEnumValue("compilation") - COMPILATION("compilation"), - @XmlEnumValue("deluxe_edition") - DELUXE_EDITION("deluxe_edition"), - @XmlEnumValue("digital_sound") - DIGITAL_SOUND("digital_sound"), - @XmlEnumValue("double_lp") - DOUBLE_LP("double_lp"), - @XmlEnumValue("explicit_lyrics") - EXPLICIT_LYRICS("explicit_lyrics"), - @XmlEnumValue("hi-fidelity") - HI_FIDELITY("hi-fidelity"), - @XmlEnumValue("import") - IMPORT("import"), - @XmlEnumValue("limited_collectors_edition") - LIMITED_COLLECTORS_EDITION("limited_collectors_edition"), - @XmlEnumValue("limited_edition") - LIMITED_EDITION("limited_edition"), - @XmlEnumValue("remixes") - REMIXES("remixes"), - @XmlEnumValue("live") - LIVE("live"), - @XmlEnumValue("extra_tracks") - EXTRA_TRACKS("extra_tracks"), - @XmlEnumValue("cutout") - CUTOUT("cutout"), - @XmlEnumValue("cd_and_dvd") - CD_AND_DVD("cd_and_dvd"), - @XmlEnumValue("dual_disc") - DUAL_DISC("dual_disc"), - @XmlEnumValue("hybrid_sacd") - HYBRID_SACD("hybrid_sacd"), - @XmlEnumValue("cd-single") - CD_SINGLE("cd-single"), - @XmlEnumValue("maxi_single") - MAXI_SINGLE("maxi_single"), - @XmlEnumValue("sacd") - SACD("sacd"), - @XmlEnumValue("minidisc") - MINIDISC("minidisc"), - @XmlEnumValue("uk_import") - UK_IMPORT("uk_import"), - @XmlEnumValue("us_import") - US_IMPORT("us_import"), - @XmlEnumValue("jp_import") - JP_IMPORT("jp_import"), - @XmlEnumValue("enhanced") - ENHANCED("enhanced"), - @XmlEnumValue("clean") - CLEAN("clean"), - @XmlEnumValue("copy_protected_cd") - COPY_PROTECTED_CD("copy_protected_cd"), - @XmlEnumValue("double_cd") - DOUBLE_CD("double_cd"), - @XmlEnumValue("karaoke") - KARAOKE("karaoke"), - @XmlEnumValue("mp3_audio") - MP_3_AUDIO("mp3_audio"), - @XmlEnumValue("ringle") - RINGLE("ringle"), - @XmlEnumValue("shm_cd") - SHM_CD("shm_cd"); - private final String value; - - MusicFormatType(String v) { - value = v; - } - - public static MusicFormatType fromValue(String v) { - for (MusicFormatType c : MusicFormatType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/NameValuePair.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/NameValuePair.java deleted file mode 100644 index c20f634234..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/NameValuePair.java +++ /dev/null @@ -1,91 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Classe Java per NameValuePair complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="NameValuePair">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="Name" type="{}StringNotNull"/>
- *         <element name="Value" type="{}LongString"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NameValuePair", propOrder = { - "name", - "value" -}) -public class NameValuePair { - - @XmlElement(name = "Name", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String name; - @XmlElement(name = "Value", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String value; - - /** - * Recupera il valore della proprietà name. - * - * @return possible object is - * {@link String } - */ - public String getName() { - return name; - } - - /** - * Imposta il valore della proprietà name. - * - * @param value allowed object is - * {@link String } - */ - public void setName(String value) { - this.name = value; - } - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link String } - */ - public String getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link String } - */ - public void setValue(String value) { - this.value = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/NeckSizeDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/NeckSizeDimension.java deleted file mode 100644 index 02c49660f7..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/NeckSizeDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per NeckSizeDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="NeckSizeDimension">
- *   <simpleContent>
- *     <extension base="<>PositiveDimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}NeckSizeUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NeckSizeDimension", propOrder = { - "value" -}) -public class NeckSizeDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected NeckSizeUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link NeckSizeUnitOfMeasure } - */ - public NeckSizeUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link NeckSizeUnitOfMeasure } - */ - public void setUnitOfMeasure(NeckSizeUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/NeckSizeUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/NeckSizeUnitOfMeasure.java deleted file mode 100644 index 13bc9ccd9c..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/NeckSizeUnitOfMeasure.java +++ /dev/null @@ -1,50 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per NeckSizeUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="NeckSizeUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="CM"/>
- *     <enumeration value="IN"/>
- *     <enumeration value="MM"/>
- *     <enumeration value="M"/>
- *     <enumeration value="FT"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "NeckSizeUnitOfMeasure") -@XmlEnum -public enum NeckSizeUnitOfMeasure { - - CM, - IN, - MM, - M, - FT; - - public static NeckSizeUnitOfMeasure fromValue(String v) { - return valueOf(v); - } - - public String value() { - return name(); - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/NoiseLevelDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/NoiseLevelDimension.java deleted file mode 100644 index 5985445c1f..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/NoiseLevelDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per NoiseLevelDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="NoiseLevelDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}NoiseLevelUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "NoiseLevelDimension", propOrder = { - "value" -}) -public class NoiseLevelDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected NoiseLevelUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link NoiseLevelUnitOfMeasure } - */ - public NoiseLevelUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link NoiseLevelUnitOfMeasure } - */ - public void setUnitOfMeasure(NoiseLevelUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/NoiseLevelUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/NoiseLevelUnitOfMeasure.java deleted file mode 100644 index 43eaf1a2dc..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/NoiseLevelUnitOfMeasure.java +++ /dev/null @@ -1,57 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per NoiseLevelUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="NoiseLevelUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="dBA"/>
- *     <enumeration value="decibels"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "NoiseLevelUnitOfMeasure") -@XmlEnum -public enum NoiseLevelUnitOfMeasure { - - @XmlEnumValue("dBA") - D_BA("dBA"), - @XmlEnumValue("decibels") - DECIBELS("decibels"); - private final String value; - - NoiseLevelUnitOfMeasure(String v) { - value = v; - } - - public static NoiseLevelUnitOfMeasure fromValue(String v) { - for (NoiseLevelUnitOfMeasure c : NoiseLevelUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ObjectFactory.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ObjectFactory.java deleted file mode 100644 index 9e1a4eeadd..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ObjectFactory.java +++ /dev/null @@ -1,1566 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.JAXBElement; -import javax.xml.bind.annotation.XmlElementDecl; -import javax.xml.bind.annotation.XmlRegistry; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import javax.xml.namespace.QName; -import java.math.BigDecimal; - - -/** - * This object contains factory methods for each - * Java content interface and Java element interface - * it.integry.ems.order.amazon.dto in the it.integry.ems.order.amazon.dto package. - *

An ObjectFactory allows you to programatically - * construct new instances of the Java representation - * for XML content. The Java representation of XML - * content can consist of schema derived interfaces - * and classes representing the binding of schema - * type definitions, element declarations and model - * groups. Factory methods for each of these are - * provided in this class. - */ -@XmlRegistry -public class ObjectFactory { - - private final static QName _ConditionType_QNAME = new QName("", "ConditionType"); - private final static QName _AmazonOrderItemCode_QNAME = new QName("", "AmazonOrderItemCode"); - private final static QName _ProductTaxCode_QNAME = new QName("", "ProductTaxCode"); - private final static QName _CharacterData_QNAME = new QName("", "CharacterData"); - private final static QName _AmazonOrderID_QNAME = new QName("", "AmazonOrderID"); - private final static QName _MerchantOrderItemID_QNAME = new QName("", "MerchantOrderItemID"); - private final static QName _Denomination_QNAME = new QName("", "Denomination"); - private final static QName _MerchantPromotionID_QNAME = new QName("", "MerchantPromotionID"); - private final static QName _SKU_QNAME = new QName("", "SKU"); - private final static QName _AmazonCustomerID_QNAME = new QName("", "AmazonCustomerID"); - private final static QName _ColorMap_QNAME = new QName("", "ColorMap"); - private final static QName _ShipmentID_QNAME = new QName("", "ShipmentID"); - private final static QName _MerchantFulfillmentID_QNAME = new QName("", "MerchantFulfillmentID"); - private final static QName _CarrierCode_QNAME = new QName("", "CarrierCode"); - private final static QName _FulfillmentMethod_QNAME = new QName("", "FulfillmentMethod"); - private final static QName _FulfillmentCenterID_QNAME = new QName("", "FulfillmentCenterID"); - private final static QName _PromotionClaimCode_QNAME = new QName("", "PromotionClaimCode"); - private final static QName _ShipOption_QNAME = new QName("", "ShipOption"); - private final static QName _ExternalCustomerID_QNAME = new QName("", "ExternalCustomerID"); - private final static QName _Address_QNAME = new QName("", "Address"); - private final static QName _MarketplaceName_QNAME = new QName("", "MarketplaceName"); - private final static QName _MerchantOrderID_QNAME = new QName("", "MerchantOrderID"); - private final static QName _FulfillmentServiceLevel_QNAME = new QName("", "FulfillmentServiceLevel"); - private final static QName _DeliveryChannel_QNAME = new QName("", "DeliveryChannel"); - - /** - * Create a new ObjectFactory that can be used to create new instances of schema derived classes for package: it.integry.ems.order.amazon.dto - */ - public ObjectFactory() { - } - - /** - * Create an instance of {@link TestOrderRequest } - */ - public TestOrderRequest createTestOrderRequest() { - return new TestOrderRequest(); - } - - /** - * Create an instance of {@link Product } - */ - public Product createProduct() { - return new Product(); - } - - /** - * Create an instance of {@link AmazonEnvelope } - */ - public AmazonEnvelope createAmazonEnvelope() { - return new AmazonEnvelope(); - } - - /** - * Create an instance of {@link Price } - */ - public Price createPrice() { - return new Price(); - } - - /** - * Create an instance of {@link Relationship } - */ - public Relationship createRelationship() { - return new Relationship(); - } - - /** - * Create an instance of {@link Battery } - */ - public Battery createBattery() { - return new Battery(); - } - - /** - * Create an instance of {@link ToysBaby } - */ - public ToysBaby createToysBaby() { - return new ToysBaby(); - } - - /** - * Create an instance of {@link OrderFulfillment } - */ - public OrderFulfillment createOrderFulfillment() { - return new OrderFulfillment(); - } - - /** - * Create an instance of {@link OrderAcknowledgement } - */ - public OrderAcknowledgement createOrderAcknowledgement() { - return new OrderAcknowledgement(); - } - - /** - * Create an instance of {@link Clothing } - */ - public Clothing createClothing() { - return new Clothing(); - } - - /** - * Create an instance of {@link Override } - */ - public Override createOverride() { - return new Override(); - } - - /** - * Create an instance of {@link Shoes } - */ - public Shoes createShoes() { - return new Shoes(); - } - - /** - * Create an instance of {@link OrderAdjustment } - */ - public OrderAdjustment createOrderAdjustment() { - return new OrderAdjustment(); - } - - /** - * Create an instance of {@link BuyerPrice } - */ - public BuyerPrice createBuyerPrice() { - return new BuyerPrice(); - } - - /** - * Create an instance of {@link DirectPaymentType } - */ - public DirectPaymentType createDirectPaymentType() { - return new DirectPaymentType(); - } - - /** - * Create an instance of {@link AmazonFees } - */ - public AmazonFees createAmazonFees() { - return new AmazonFees(); - } - - /** - * Create an instance of {@link AdjustmentDirectPaymentType } - */ - public AdjustmentDirectPaymentType createAdjustmentDirectPaymentType() { - return new AdjustmentDirectPaymentType(); - } - - /** - * Create an instance of {@link PromotionDataType } - */ - public PromotionDataType createPromotionDataType() { - return new PromotionDataType(); - } - - /** - * Create an instance of {@link AdjustmentBuyerPrice } - */ - public AdjustmentBuyerPrice createAdjustmentBuyerPrice() { - return new AdjustmentBuyerPrice(); - } - - /** - * Create an instance of {@link OrderAdjustment.AdjustedItem } - */ - public OrderAdjustment.AdjustedItem createOrderAdjustmentAdjustedItem() { - return new OrderAdjustment.AdjustedItem(); - } - - /** - * Create an instance of {@link OrderAdjustment.AdjustedItem.PromotionAdjustments } - */ - public OrderAdjustment.AdjustedItem.PromotionAdjustments createOrderAdjustmentAdjustedItemPromotionAdjustments() { - return new OrderAdjustment.AdjustedItem.PromotionAdjustments(); - } - - /** - * Create an instance of {@link TestOrderRequest.BillingData } - */ - public TestOrderRequest.BillingData createTestOrderRequestBillingData() { - return new TestOrderRequest.BillingData(); - } - - /** - * Create an instance of {@link AgeRecommendation } - */ - public AgeRecommendation createAgeRecommendation() { - return new AgeRecommendation(); - } - - /** - * Create an instance of {@link MinimumAgeRecommendedDimension } - */ - public MinimumAgeRecommendedDimension createMinimumAgeRecommendedDimension() { - return new MinimumAgeRecommendedDimension(); - } - - /** - * Create an instance of {@link AgeRecommendedDimension } - */ - public AgeRecommendedDimension createAgeRecommendedDimension() { - return new AgeRecommendedDimension(); - } - - /** - * Create an instance of {@link ForwardFacingWeight } - */ - public ForwardFacingWeight createForwardFacingWeight() { - return new ForwardFacingWeight(); - } - - /** - * Create an instance of {@link WeightDimension } - */ - public WeightDimension createWeightDimension() { - return new WeightDimension(); - } - - /** - * Create an instance of {@link Inventory } - */ - public Inventory createInventory() { - return new Inventory(); - } - - /** - * Create an instance of {@link ColorSpecification } - */ - public ColorSpecification createColorSpecification() { - return new ColorSpecification(); - } - - /** - * Create an instance of {@link TestOrderRequest.FulfillmentData } - */ - public TestOrderRequest.FulfillmentData createTestOrderRequestFulfillmentData() { - return new TestOrderRequest.FulfillmentData(); - } - - /** - * Create an instance of {@link TestOrderRequest.Item } - */ - public TestOrderRequest.Item createTestOrderRequestItem() { - return new TestOrderRequest.Item(); - } - - /** - * Create an instance of {@link ComputerPlatform } - */ - public ComputerPlatform createComputerPlatform() { - return new ComputerPlatform(); - } - - /** - * Create an instance of {@link StandardProductID } - */ - public StandardProductID createStandardProductID() { - return new StandardProductID(); - } - - /** - * Create an instance of {@link RelatedProductID } - */ - public RelatedProductID createRelatedProductID() { - return new RelatedProductID(); - } - - /** - * Create an instance of {@link ConditionInfo } - */ - public ConditionInfo createConditionInfo() { - return new ConditionInfo(); - } - - /** - * Create an instance of {@link RebateType } - */ - public RebateType createRebateType() { - return new RebateType(); - } - - /** - * Create an instance of {@link VolumeDimension } - */ - public VolumeDimension createVolumeDimension() { - return new VolumeDimension(); - } - - /** - * Create an instance of {@link Product.DescriptionData } - */ - public Product.DescriptionData createProductDescriptionData() { - return new Product.DescriptionData(); - } - - /** - * Create an instance of {@link Product.PromoTag } - */ - public Product.PromoTag createProductPromoTag() { - return new Product.PromoTag(); - } - - /** - * Create an instance of {@link Product.DiscoveryData } - */ - public Product.DiscoveryData createProductDiscoveryData() { - return new Product.DiscoveryData(); - } - - /** - * Create an instance of {@link Product.ProductData } - */ - public Product.ProductData createProductProductData() { - return new Product.ProductData(); - } - - /** - * Create an instance of {@link Header } - */ - public Header createHeader() { - return new Header(); - } - - /** - * Create an instance of {@link AmazonEnvelope.Message } - */ - public AmazonEnvelope.Message createAmazonEnvelopeMessage() { - return new AmazonEnvelope.Message(); - } - - /** - * Create an instance of {@link OverrideCurrencyAmount } - */ - public OverrideCurrencyAmount createOverrideCurrencyAmount() { - return new OverrideCurrencyAmount(); - } - - /** - * Create an instance of {@link Price.QuantityPrice } - */ - public Price.QuantityPrice createPriceQuantityPrice() { - return new Price.QuantityPrice(); - } - - /** - * Create an instance of {@link StringOverrideCurrencyAmount } - */ - public StringOverrideCurrencyAmount createStringOverrideCurrencyAmount() { - return new StringOverrideCurrencyAmount(); - } - - /** - * Create an instance of {@link CurrencyAmountWithDefault } - */ - public CurrencyAmountWithDefault createCurrencyAmountWithDefault() { - return new CurrencyAmountWithDefault(); - } - - /** - * Create an instance of {@link Price.Sale } - */ - public Price.Sale createPriceSale() { - return new Price.Sale(); - } - - /** - * Create an instance of {@link DatedCompareAtPrice } - */ - public DatedCompareAtPrice createDatedCompareAtPrice() { - return new DatedCompareAtPrice(); - } - - /** - * Create an instance of {@link DatedPrice } - */ - public DatedPrice createDatedPrice() { - return new DatedPrice(); - } - - /** - * Create an instance of {@link Price.Rental0 } - */ - public Price.Rental0 createPriceRental0() { - return new Price.Rental0(); - } - - /** - * Create an instance of {@link Price.Rental1 } - */ - public Price.Rental1 createPriceRental1() { - return new Price.Rental1(); - } - - /** - * Create an instance of {@link Price.Rental2 } - */ - public Price.Rental2 createPriceRental2() { - return new Price.Rental2(); - } - - /** - * Create an instance of {@link Price.Rental3 } - */ - public Price.Rental3 createPriceRental3() { - return new Price.Rental3(); - } - - /** - * Create an instance of {@link Price.Rental4 } - */ - public Price.Rental4 createPriceRental4() { - return new Price.Rental4(); - } - - /** - * Create an instance of {@link Price.Rental5 } - */ - public Price.Rental5 createPriceRental5() { - return new Price.Rental5(); - } - - /** - * Create an instance of {@link Price.Rental6 } - */ - public Price.Rental6 createPriceRental6() { - return new Price.Rental6(); - } - - /** - * Create an instance of {@link Price.Rental7 } - */ - public Price.Rental7 createPriceRental7() { - return new Price.Rental7(); - } - - /** - * Create an instance of {@link Price.Rental8 } - */ - public Price.Rental8 createPriceRental8() { - return new Price.Rental8(); - } - - /** - * Create an instance of {@link Price.Rental9 } - */ - public Price.Rental9 createPriceRental9() { - return new Price.Rental9(); - } - - /** - * Create an instance of {@link Relationship.Relation } - */ - public Relationship.Relation createRelationshipRelation() { - return new Relationship.Relation(); - } - - /** - * Create an instance of {@link Battery.BatterySubgroup } - */ - public Battery.BatterySubgroup createBatteryBatterySubgroup() { - return new Battery.BatterySubgroup(); - } - - /** - * Create an instance of {@link AssemblyTimeDimension } - */ - public AssemblyTimeDimension createAssemblyTimeDimension() { - return new AssemblyTimeDimension(); - } - - /** - * Create an instance of {@link LengthDimension } - */ - public LengthDimension createLengthDimension() { - return new LengthDimension(); - } - - /** - * Create an instance of {@link BatteryLifeDimension } - */ - public BatteryLifeDimension createBatteryLifeDimension() { - return new BatteryLifeDimension(); - } - - /** - * Create an instance of {@link FrequencyDimension } - */ - public FrequencyDimension createFrequencyDimension() { - return new FrequencyDimension(); - } - - /** - * Create an instance of {@link StringLengthOptionalDimension } - */ - public StringLengthOptionalDimension createStringLengthOptionalDimension() { - return new StringLengthOptionalDimension(); - } - - /** - * Create an instance of {@link Recall } - */ - public Recall createRecall() { - return new Recall(); - } - - /** - * Create an instance of {@link WeightRecommendation } - */ - public WeightRecommendation createWeightRecommendation() { - return new WeightRecommendation(); - } - - /** - * Create an instance of {@link WeightIntegerDimension } - */ - public WeightIntegerDimension createWeightIntegerDimension() { - return new WeightIntegerDimension(); - } - - /** - * Create an instance of {@link HeightRecommendation } - */ - public HeightRecommendation createHeightRecommendation() { - return new HeightRecommendation(); - } - - /** - * Create an instance of {@link RearFacingWeight } - */ - public RearFacingWeight createRearFacingWeight() { - return new RearFacingWeight(); - } - - /** - * Create an instance of {@link ShoulderHarnessHeight } - */ - public ShoulderHarnessHeight createShoulderHarnessHeight() { - return new ShoulderHarnessHeight(); - } - - /** - * Create an instance of {@link ToysBaby.SeatLength } - */ - public ToysBaby.SeatLength createToysBabySeatLength() { - return new ToysBaby.SeatLength(); - } - - /** - * Create an instance of {@link ToysBaby.SeatWidth } - */ - public ToysBaby.SeatWidth createToysBabySeatWidth() { - return new ToysBaby.SeatWidth(); - } - - /** - * Create an instance of {@link ToysBaby.TireDiameter } - */ - public ToysBaby.TireDiameter createToysBabyTireDiameter() { - return new ToysBaby.TireDiameter(); - } - - /** - * Create an instance of {@link ToysBaby.UnitCount } - */ - public ToysBaby.UnitCount createToysBabyUnitCount() { - return new ToysBaby.UnitCount(); - } - - /** - * Create an instance of {@link ToysBaby.VariationData } - */ - public ToysBaby.VariationData createToysBabyVariationData() { - return new ToysBaby.VariationData(); - } - - /** - * Create an instance of {@link CharacterDataType } - */ - public CharacterDataType createCharacterDataType() { - return new CharacterDataType(); - } - - /** - * Create an instance of {@link OrderFulfillment.FulfillmentData } - */ - public OrderFulfillment.FulfillmentData createOrderFulfillmentFulfillmentData() { - return new OrderFulfillment.FulfillmentData(); - } - - /** - * Create an instance of {@link OrderFulfillment.Item } - */ - public OrderFulfillment.Item createOrderFulfillmentItem() { - return new OrderFulfillment.Item(); - } - - /** - * Create an instance of {@link OrderAcknowledgement.Item } - */ - public OrderAcknowledgement.Item createOrderAcknowledgementItem() { - return new OrderAcknowledgement.Item(); - } - - /** - * Create an instance of {@link Clothing.VariationData } - */ - public Clothing.VariationData createClothingVariationData() { - return new Clothing.VariationData(); - } - - /** - * Create an instance of {@link Clothing.ClassificationData } - */ - public Clothing.ClassificationData createClothingClassificationData() { - return new Clothing.ClassificationData(); - } - - /** - * Create an instance of {@link ProductImage } - */ - public ProductImage createProductImage() { - return new ProductImage(); - } - - /** - * Create an instance of {@link Override.ShippingOverride } - */ - public Override.ShippingOverride createOverrideShippingOverride() { - return new Override.ShippingOverride(); - } - - /** - * Create an instance of {@link AddressType } - */ - public AddressType createAddressType() { - return new AddressType(); - } - - /** - * Create an instance of {@link Shoes.VariationData } - */ - public Shoes.VariationData createShoesVariationData() { - return new Shoes.VariationData(); - } - - /** - * Create an instance of {@link Shoes.ClassificationData } - */ - public Shoes.ClassificationData createShoesClassificationData() { - return new Shoes.ClassificationData(); - } - - /** - * Create an instance of {@link ResolutionDimension } - */ - public ResolutionDimension createResolutionDimension() { - return new ResolutionDimension(); - } - - /** - * Create an instance of {@link LoyaltyCustomAttribute } - */ - public LoyaltyCustomAttribute createLoyaltyCustomAttribute() { - return new LoyaltyCustomAttribute(); - } - - /** - * Create an instance of {@link DensityDimension } - */ - public DensityDimension createDensityDimension() { - return new DensityDimension(); - } - - /** - * Create an instance of {@link VoltageDecimalDimension } - */ - public VoltageDecimalDimension createVoltageDecimalDimension() { - return new VoltageDecimalDimension(); - } - - /** - * Create an instance of {@link CapacityUnit } - */ - public CapacityUnit createCapacityUnit() { - return new CapacityUnit(); - } - - /** - * Create an instance of {@link CycleLengthDimension } - */ - public CycleLengthDimension createCycleLengthDimension() { - return new CycleLengthDimension(); - } - - /** - * Create an instance of {@link NoiseLevelDimension } - */ - public NoiseLevelDimension createNoiseLevelDimension() { - return new NoiseLevelDimension(); - } - - /** - * Create an instance of {@link MemorySizeDimension } - */ - public MemorySizeDimension createMemorySizeDimension() { - return new MemorySizeDimension(); - } - - /** - * Create an instance of {@link HardnessDimension } - */ - public HardnessDimension createHardnessDimension() { - return new HardnessDimension(); - } - - /** - * Create an instance of {@link AmperageDimension } - */ - public AmperageDimension createAmperageDimension() { - return new AmperageDimension(); - } - - /** - * Create an instance of {@link AlcoholContentDimension } - */ - public AlcoholContentDimension createAlcoholContentDimension() { - return new AlcoholContentDimension(); - } - - /** - * Create an instance of {@link BatteryPowerDimension } - */ - public BatteryPowerDimension createBatteryPowerDimension() { - return new BatteryPowerDimension(); - } - - /** - * Create an instance of {@link TemperatureRatingDimension } - */ - public TemperatureRatingDimension createTemperatureRatingDimension() { - return new TemperatureRatingDimension(); - } - - /** - * Create an instance of {@link WattageDimensionOptionalUnit } - */ - public WattageDimensionOptionalUnit createWattageDimensionOptionalUnit() { - return new WattageDimensionOptionalUnit(); - } - - /** - * Create an instance of {@link PressureDimension } - */ - public PressureDimension createPressureDimension() { - return new PressureDimension(); - } - - /** - * Create an instance of {@link LuminiousIntensityDimension } - */ - public LuminiousIntensityDimension createLuminiousIntensityDimension() { - return new LuminiousIntensityDimension(); - } - - /** - * Create an instance of {@link Dimensions } - */ - public Dimensions createDimensions() { - return new Dimensions(); - } - - /** - * Create an instance of {@link SpeedDimension } - */ - public SpeedDimension createSpeedDimension() { - return new SpeedDimension(); - } - - /** - * Create an instance of {@link MemorySizeIntegerDimension } - */ - public MemorySizeIntegerDimension createMemorySizeIntegerDimension() { - return new MemorySizeIntegerDimension(); - } - - /** - * Create an instance of {@link SunProtectionDimension } - */ - public SunProtectionDimension createSunProtectionDimension() { - return new SunProtectionDimension(); - } - - /** - * Create an instance of {@link WattageDimension } - */ - public WattageDimension createWattageDimension() { - return new WattageDimension(); - } - - /** - * Create an instance of {@link ZoomDimension } - */ - public ZoomDimension createZoomDimension() { - return new ZoomDimension(); - } - - /** - * Create an instance of {@link FrequencyIntegerDimension } - */ - public FrequencyIntegerDimension createFrequencyIntegerDimension() { - return new FrequencyIntegerDimension(); - } - - /** - * Create an instance of {@link ClothingSizeDimension } - */ - public ClothingSizeDimension createClothingSizeDimension() { - return new ClothingSizeDimension(); - } - - /** - * Create an instance of {@link OptionalResolutionDimension } - */ - public OptionalResolutionDimension createOptionalResolutionDimension() { - return new OptionalResolutionDimension(); - } - - /** - * Create an instance of {@link VolumeRateDimension } - */ - public VolumeRateDimension createVolumeRateDimension() { - return new VolumeRateDimension(); - } - - /** - * Create an instance of {@link BootSizeDimension } - */ - public BootSizeDimension createBootSizeDimension() { - return new BootSizeDimension(); - } - - /** - * Create an instance of {@link CurencyDimension } - */ - public CurencyDimension createCurencyDimension() { - return new CurencyDimension(); - } - - /** - * Create an instance of {@link OverrideCurrencyAmountWithTax } - */ - public OverrideCurrencyAmountWithTax createOverrideCurrencyAmountWithTax() { - return new OverrideCurrencyAmountWithTax(); - } - - /** - * Create an instance of {@link TorqueType } - */ - public TorqueType createTorqueType() { - return new TorqueType(); - } - - /** - * Create an instance of {@link BatteryPowerIntegerDimension } - */ - public BatteryPowerIntegerDimension createBatteryPowerIntegerDimension() { - return new BatteryPowerIntegerDimension(); - } - - /** - * Create an instance of {@link JewelryWeightDimension } - */ - public JewelryWeightDimension createJewelryWeightDimension() { - return new JewelryWeightDimension(); - } - - /** - * Create an instance of {@link AirFlowDisplacementDimension } - */ - public AirFlowDisplacementDimension createAirFlowDisplacementDimension() { - return new AirFlowDisplacementDimension(); - } - - /** - * Create an instance of {@link OptionalMagnificationDimension } - */ - public OptionalMagnificationDimension createOptionalMagnificationDimension() { - return new OptionalMagnificationDimension(); - } - - /** - * Create an instance of {@link StringCurrencyAmountWithDefault } - */ - public StringCurrencyAmountWithDefault createStringCurrencyAmountWithDefault() { - return new StringCurrencyAmountWithDefault(); - } - - /** - * Create an instance of {@link PhoneNumberType } - */ - public PhoneNumberType createPhoneNumberType() { - return new PhoneNumberType(); - } - - /** - * Create an instance of {@link SpatialDimensions } - */ - public SpatialDimensions createSpatialDimensions() { - return new SpatialDimensions(); - } - - /** - * Create an instance of {@link StringTimeDimension } - */ - public StringTimeDimension createStringTimeDimension() { - return new StringTimeDimension(); - } - - /** - * Create an instance of {@link TimeIntegerDimension } - */ - public TimeIntegerDimension createTimeIntegerDimension() { - return new TimeIntegerDimension(); - } - - /** - * Create an instance of {@link CustomizationInfoType } - */ - public CustomizationInfoType createCustomizationInfoType() { - return new CustomizationInfoType(); - } - - /** - * Create an instance of {@link DegreeDimension } - */ - public DegreeDimension createDegreeDimension() { - return new DegreeDimension(); - } - - /** - * Create an instance of {@link JewelryLengthDimension } - */ - public JewelryLengthDimension createJewelryLengthDimension() { - return new JewelryLengthDimension(); - } - - /** - * Create an instance of {@link Customer } - */ - public Customer createCustomer() { - return new Customer(); - } - - /** - * Create an instance of {@link PositiveWeightDimension } - */ - public PositiveWeightDimension createPositiveWeightDimension() { - return new PositiveWeightDimension(); - } - - /** - * Create an instance of {@link LuminancePositiveIntegerDimension } - */ - public LuminancePositiveIntegerDimension createLuminancePositiveIntegerDimension() { - return new LuminancePositiveIntegerDimension(); - } - - /** - * Create an instance of {@link NameValuePair } - */ - public NameValuePair createNameValuePair() { - return new NameValuePair(); - } - - /** - * Create an instance of {@link MillimeterDecimalDimension } - */ - public MillimeterDecimalDimension createMillimeterDecimalDimension() { - return new MillimeterDecimalDimension(); - } - - /** - * Create an instance of {@link VolumeAndVolumeRateDimension } - */ - public VolumeAndVolumeRateDimension createVolumeAndVolumeRateDimension() { - return new VolumeAndVolumeRateDimension(); - } - - /** - * Create an instance of {@link SweetnessAtHarvestDimension } - */ - public SweetnessAtHarvestDimension createSweetnessAtHarvestDimension() { - return new SweetnessAtHarvestDimension(); - } - - /** - * Create an instance of {@link DateIntegerDimension } - */ - public DateIntegerDimension createDateIntegerDimension() { - return new DateIntegerDimension(); - } - - /** - * Create an instance of {@link VoltageIntegerDimensionOptionalUnit } - */ - public VoltageIntegerDimensionOptionalUnit createVoltageIntegerDimensionOptionalUnit() { - return new VoltageIntegerDimensionOptionalUnit(); - } - - /** - * Create an instance of {@link StringTemperatureDimension } - */ - public StringTemperatureDimension createStringTemperatureDimension() { - return new StringTemperatureDimension(); - } - - /** - * Create an instance of {@link VoltageIntegerDimension } - */ - public VoltageIntegerDimension createVoltageIntegerDimension() { - return new VoltageIntegerDimension(); - } - - /** - * Create an instance of {@link MagnificationDimension } - */ - public MagnificationDimension createMagnificationDimension() { - return new MagnificationDimension(); - } - - /** - * Create an instance of {@link CurrentDimension } - */ - public CurrentDimension createCurrentDimension() { - return new CurrentDimension(); - } - - /** - * Create an instance of {@link AreaDimension } - */ - public AreaDimension createAreaDimension() { - return new AreaDimension(); - } - - /** - * Create an instance of {@link SubscriptionTermDimension } - */ - public SubscriptionTermDimension createSubscriptionTermDimension() { - return new SubscriptionTermDimension(); - } - - /** - * Create an instance of {@link WeightRecommendationType } - */ - public WeightRecommendationType createWeightRecommendationType() { - return new WeightRecommendationType(); - } - - /** - * Create an instance of {@link EnergyRatingType } - */ - public EnergyRatingType createEnergyRatingType() { - return new EnergyRatingType(); - } - - /** - * Create an instance of {@link OpticalPowerDimension } - */ - public OpticalPowerDimension createOpticalPowerDimension() { - return new OpticalPowerDimension(); - } - - /** - * Create an instance of {@link WattageIntegerDimension } - */ - public WattageIntegerDimension createWattageIntegerDimension() { - return new WattageIntegerDimension(); - } - - /** - * Create an instance of {@link LuminanceDimension } - */ - public LuminanceDimension createLuminanceDimension() { - return new LuminanceDimension(); - } - - /** - * Create an instance of {@link AddressTypeSupportNonCity } - */ - public AddressTypeSupportNonCity createAddressTypeSupportNonCity() { - return new AddressTypeSupportNonCity(); - } - - /** - * Create an instance of {@link PowerDimension } - */ - public PowerDimension createPowerDimension() { - return new PowerDimension(); - } - - /** - * Create an instance of {@link BurnTimeDimension } - */ - public BurnTimeDimension createBurnTimeDimension() { - return new BurnTimeDimension(); - } - - /** - * Create an instance of {@link ApertureDimension } - */ - public ApertureDimension createApertureDimension() { - return new ApertureDimension(); - } - - /** - * Create an instance of {@link LengthIntegerDimension } - */ - public LengthIntegerDimension createLengthIntegerDimension() { - return new LengthIntegerDimension(); - } - - /** - * Create an instance of {@link PositiveNonZeroWeightDimension } - */ - public PositiveNonZeroWeightDimension createPositiveNonZeroWeightDimension() { - return new PositiveNonZeroWeightDimension(); - } - - /** - * Create an instance of {@link VolumeIntegerDimension } - */ - public VolumeIntegerDimension createVolumeIntegerDimension() { - return new VolumeIntegerDimension(); - } - - /** - * Create an instance of {@link LengthDimensionOptionalUnit } - */ - public LengthDimensionOptionalUnit createLengthDimensionOptionalUnit() { - return new LengthDimensionOptionalUnit(); - } - - /** - * Create an instance of {@link ResistanceDimension } - */ - public ResistanceDimension createResistanceDimension() { - return new ResistanceDimension(); - } - - /** - * Create an instance of {@link GraduationInterval } - */ - public GraduationInterval createGraduationInterval() { - return new GraduationInterval(); - } - - /** - * Create an instance of {@link EnergyConsumptionDimension } - */ - public EnergyConsumptionDimension createEnergyConsumptionDimension() { - return new EnergyConsumptionDimension(); - } - - /** - * Create an instance of {@link NeckSizeDimension } - */ - public NeckSizeDimension createNeckSizeDimension() { - return new NeckSizeDimension(); - } - - /** - * Create an instance of {@link CurrencyAmount } - */ - public CurrencyAmount createCurrencyAmount() { - return new CurrencyAmount(); - } - - /** - * Create an instance of {@link ForceDimension } - */ - public ForceDimension createForceDimension() { - return new ForceDimension(); - } - - /** - * Create an instance of {@link StringLengthDimension } - */ - public StringLengthDimension createStringLengthDimension() { - return new StringLengthDimension(); - } - - /** - * Create an instance of {@link TimeDimension } - */ - public TimeDimension createTimeDimension() { - return new TimeDimension(); - } - - /** - * Create an instance of {@link AdjustmentCurrencyAmount } - */ - public AdjustmentCurrencyAmount createAdjustmentCurrencyAmount() { - return new AdjustmentCurrencyAmount(); - } - - /** - * Create an instance of {@link AreaDimensionOptionalUnit } - */ - public AreaDimensionOptionalUnit createAreaDimensionOptionalUnit() { - return new AreaDimensionOptionalUnit(); - } - - /** - * Create an instance of {@link ContinuousShootingDimension } - */ - public ContinuousShootingDimension createContinuousShootingDimension() { - return new ContinuousShootingDimension(); - } - - /** - * Create an instance of {@link TemperatureDimension } - */ - public TemperatureDimension createTemperatureDimension() { - return new TemperatureDimension(); - } - - /** - * Create an instance of {@link LuminanceIntegerDimension } - */ - public LuminanceIntegerDimension createLuminanceIntegerDimension() { - return new LuminanceIntegerDimension(); - } - - /** - * Create an instance of {@link PixelDimension } - */ - public PixelDimension createPixelDimension() { - return new PixelDimension(); - } - - /** - * Create an instance of {@link VineyardYieldDimension } - */ - public VineyardYieldDimension createVineyardYieldDimension() { - return new VineyardYieldDimension(); - } - - /** - * Create an instance of {@link OptionalLengthIntegerDimension } - */ - public OptionalLengthIntegerDimension createOptionalLengthIntegerDimension() { - return new OptionalLengthIntegerDimension(); - } - - /** - * Create an instance of {@link EmailAddressType } - */ - public EmailAddressType createEmailAddressType() { - return new EmailAddressType(); - } - - /** - * Create an instance of {@link PositiveCurrencyAmount } - */ - public PositiveCurrencyAmount createPositiveCurrencyAmount() { - return new PositiveCurrencyAmount(); - } - - /** - * Create an instance of {@link BuyerPrice.Component } - */ - public BuyerPrice.Component createBuyerPriceComponent() { - return new BuyerPrice.Component(); - } - - /** - * Create an instance of {@link DirectPaymentType.Component } - */ - public DirectPaymentType.Component createDirectPaymentTypeComponent() { - return new DirectPaymentType.Component(); - } - - /** - * Create an instance of {@link AmazonFees.Fee } - */ - public AmazonFees.Fee createAmazonFeesFee() { - return new AmazonFees.Fee(); - } - - /** - * Create an instance of {@link AdjustmentDirectPaymentType.Component } - */ - public AdjustmentDirectPaymentType.Component createAdjustmentDirectPaymentTypeComponent() { - return new AdjustmentDirectPaymentType.Component(); - } - - /** - * Create an instance of {@link PromotionDataType.Component } - */ - public PromotionDataType.Component createPromotionDataTypeComponent() { - return new PromotionDataType.Component(); - } - - /** - * Create an instance of {@link AdjustmentBuyerPrice.Component } - */ - public AdjustmentBuyerPrice.Component createAdjustmentBuyerPriceComponent() { - return new AdjustmentBuyerPrice.Component(); - } - - /** - * Create an instance of {@link OrderAdjustment.AdjustedItem.PromotionAdjustments.Component } - */ - public OrderAdjustment.AdjustedItem.PromotionAdjustments.Component createOrderAdjustmentAdjustedItemPromotionAdjustmentsComponent() { - return new OrderAdjustment.AdjustedItem.PromotionAdjustments.Component(); - } - - /** - * Create an instance of {@link TestOrderRequest.BillingData.CreditCard } - */ - public TestOrderRequest.BillingData.CreditCard createTestOrderRequestBillingDataCreditCard() { - return new TestOrderRequest.BillingData.CreditCard(); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "ConditionType") - public JAXBElement createConditionType(String value) { - return new JAXBElement(_ConditionType_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "AmazonOrderItemCode") - public JAXBElement createAmazonOrderItemCode(String value) { - return new JAXBElement(_AmazonOrderItemCode_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "ProductTaxCode") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - public JAXBElement createProductTaxCode(String value) { - return new JAXBElement(_ProductTaxCode_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link CharacterDataType }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "CharacterData") - public JAXBElement createCharacterData(CharacterDataType value) { - return new JAXBElement(_CharacterData_QNAME, CharacterDataType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "AmazonOrderID") - public JAXBElement createAmazonOrderID(String value) { - return new JAXBElement(_AmazonOrderID_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "MerchantOrderItemID") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - public JAXBElement createMerchantOrderItemID(String value) { - return new JAXBElement(_MerchantOrderItemID_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link BigDecimal }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "Denomination") - public JAXBElement createDenomination(BigDecimal value) { - return new JAXBElement(_Denomination_QNAME, BigDecimal.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "MerchantPromotionID") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - public JAXBElement createMerchantPromotionID(String value) { - return new JAXBElement(_MerchantPromotionID_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "SKU") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - public JAXBElement createSKU(String value) { - return new JAXBElement(_SKU_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "AmazonCustomerID") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - public JAXBElement createAmazonCustomerID(String value) { - return new JAXBElement(_AmazonCustomerID_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "ColorMap") - public JAXBElement createColorMap(String value) { - return new JAXBElement(_ColorMap_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "ShipmentID") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - public JAXBElement createShipmentID(String value) { - return new JAXBElement(_ShipmentID_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "MerchantFulfillmentID") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - public JAXBElement createMerchantFulfillmentID(String value) { - return new JAXBElement(_MerchantFulfillmentID_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "CarrierCode") - public JAXBElement createCarrierCode(String value) { - return new JAXBElement(_CarrierCode_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "FulfillmentMethod") - public JAXBElement createFulfillmentMethod(String value) { - return new JAXBElement(_FulfillmentMethod_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "FulfillmentCenterID") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - public JAXBElement createFulfillmentCenterID(String value) { - return new JAXBElement(_FulfillmentCenterID_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "PromotionClaimCode") - public JAXBElement createPromotionClaimCode(String value) { - return new JAXBElement(_PromotionClaimCode_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "ShipOption") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - public JAXBElement createShipOption(String value) { - return new JAXBElement(_ShipOption_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "ExternalCustomerID") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - public JAXBElement createExternalCustomerID(String value) { - return new JAXBElement(_ExternalCustomerID_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link AddressType }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "Address") - public JAXBElement createAddress(AddressType value) { - return new JAXBElement(_Address_QNAME, AddressType.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "MarketplaceName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - public JAXBElement createMarketplaceName(String value) { - return new JAXBElement(_MarketplaceName_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "MerchantOrderID") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - public JAXBElement createMerchantOrderID(String value) { - return new JAXBElement(_MerchantOrderID_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "FulfillmentServiceLevel") - public JAXBElement createFulfillmentServiceLevel(String value) { - return new JAXBElement(_FulfillmentServiceLevel_QNAME, String.class, null, value); - } - - /** - * Create an instance of {@link JAXBElement }{@code <}{@link String }{@code >}} - */ - @XmlElementDecl(namespace = "", name = "DeliveryChannel") - public JAXBElement createDeliveryChannel(String value) { - return new JAXBElement(_DeliveryChannel_QNAME, String.class, null, value); - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OpticalPowerDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OpticalPowerDimension.java deleted file mode 100644 index 76fd796374..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OpticalPowerDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per OpticalPowerDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="OpticalPowerDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}OpticalPowerUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OpticalPowerDimension", propOrder = { - "value" -}) -public class OpticalPowerDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected OpticalPowerUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link OpticalPowerUnitOfMeasure } - */ - public OpticalPowerUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link OpticalPowerUnitOfMeasure } - */ - public void setUnitOfMeasure(OpticalPowerUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OpticalPowerUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OpticalPowerUnitOfMeasure.java deleted file mode 100644 index 9fa0b5ba93..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OpticalPowerUnitOfMeasure.java +++ /dev/null @@ -1,54 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per OpticalPowerUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="OpticalPowerUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="diopters"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "OpticalPowerUnitOfMeasure") -@XmlEnum -public enum OpticalPowerUnitOfMeasure { - - @XmlEnumValue("diopters") - DIOPTERS("diopters"); - private final String value; - - OpticalPowerUnitOfMeasure(String v) { - value = v; - } - - public static OpticalPowerUnitOfMeasure fromValue(String v) { - for (OpticalPowerUnitOfMeasure c : OpticalPowerUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OptionalLengthIntegerDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OptionalLengthIntegerDimension.java deleted file mode 100644 index f2bd073be4..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OptionalLengthIntegerDimension.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per OptionalLengthIntegerDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="OptionalLengthIntegerDimension">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
- *       <attribute name="unitOfMeasure" type="{}LengthUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OptionalLengthIntegerDimension", propOrder = { - "value" -}) -public class OptionalLengthIntegerDimension { - - @XmlValue - @XmlSchemaType(name = "positiveInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure") - protected LengthUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link LengthUnitOfMeasure } - */ - public LengthUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link LengthUnitOfMeasure } - */ - public void setUnitOfMeasure(LengthUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OptionalMagnificationDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OptionalMagnificationDimension.java deleted file mode 100644 index b870eaab84..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OptionalMagnificationDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per OptionalMagnificationDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="OptionalMagnificationDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" type="{}MagnificationUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OptionalMagnificationDimension", propOrder = { - "value" -}) -public class OptionalMagnificationDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure") - protected MagnificationUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link MagnificationUnitOfMeasure } - */ - public MagnificationUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link MagnificationUnitOfMeasure } - */ - public void setUnitOfMeasure(MagnificationUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OptionalResolutionDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OptionalResolutionDimension.java deleted file mode 100644 index 30fcf34e32..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OptionalResolutionDimension.java +++ /dev/null @@ -1,83 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Classe Java per OptionalResolutionDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="OptionalResolutionDimension">
- *   <simpleContent>
- *     <extension base="<>StringNotNull">
- *       <attribute name="unitOfMeasure" type="{}ResolutionUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OptionalResolutionDimension", propOrder = { - "value" -}) -public class OptionalResolutionDimension { - - @XmlValue - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String value; - @XmlAttribute(name = "unitOfMeasure") - protected ResolutionUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link String } - */ - public String getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link String } - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link ResolutionUnitOfMeasure } - */ - public ResolutionUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link ResolutionUnitOfMeasure } - */ - public void setUnitOfMeasure(ResolutionUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OrderAcknowledgement.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OrderAcknowledgement.java deleted file mode 100644 index 6dfa1ede57..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OrderAcknowledgement.java +++ /dev/null @@ -1,292 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import java.util.ArrayList; -import java.util.List; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element ref="{}AmazonOrderID"/>
- *         <element ref="{}MerchantOrderID" minOccurs="0"/>
- *         <element name="StatusCode">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <enumeration value="Success"/>
- *               <enumeration value="Failure"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="Item" maxOccurs="unbounded" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element ref="{}AmazonOrderItemCode"/>
- *                   <element ref="{}MerchantOrderItemID" minOccurs="0"/>
- *                   <element name="CancelReason" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="NoInventory"/>
- *                         <enumeration value="ShippingAddressUndeliverable"/>
- *                         <enumeration value="CustomerExchange"/>
- *                         <enumeration value="BuyerCanceled"/>
- *                         <enumeration value="GeneralAdjustment"/>
- *                         <enumeration value="CarrierCreditDecision"/>
- *                         <enumeration value="RiskAssessmentInformationNotValid"/>
- *                         <enumeration value="CarrierCoverageFailure"/>
- *                         <enumeration value="CustomerReturn"/>
- *                         <enumeration value="MerchandiseNotReceived"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "amazonOrderID", - "merchantOrderID", - "statusCode", - "item" -}) -@XmlRootElement(name = "OrderAcknowledgement") -public class OrderAcknowledgement { - - @XmlElement(name = "AmazonOrderID", required = true) - protected String amazonOrderID; - @XmlElement(name = "MerchantOrderID") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String merchantOrderID; - @XmlElement(name = "StatusCode", required = true) - protected String statusCode; - @XmlElement(name = "Item") - protected List item; - - /** - * Recupera il valore della proprietà amazonOrderID. - * - * @return possible object is - * {@link String } - */ - public String getAmazonOrderID() { - return amazonOrderID; - } - - /** - * Imposta il valore della proprietà amazonOrderID. - * - * @param value allowed object is - * {@link String } - */ - public void setAmazonOrderID(String value) { - this.amazonOrderID = value; - } - - /** - * Recupera il valore della proprietà merchantOrderID. - * - * @return possible object is - * {@link String } - */ - public String getMerchantOrderID() { - return merchantOrderID; - } - - /** - * Imposta il valore della proprietà merchantOrderID. - * - * @param value allowed object is - * {@link String } - */ - public void setMerchantOrderID(String value) { - this.merchantOrderID = value; - } - - /** - * Recupera il valore della proprietà statusCode. - * - * @return possible object is - * {@link String } - */ - public String getStatusCode() { - return statusCode; - } - - /** - * Imposta il valore della proprietà statusCode. - * - * @param value allowed object is - * {@link String } - */ - public void setStatusCode(String value) { - this.statusCode = value; - } - - /** - * Gets the value of the item property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getItem().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link OrderAcknowledgement.Item } - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element ref="{}AmazonOrderItemCode"/>
-     *         <element ref="{}MerchantOrderItemID" minOccurs="0"/>
-     *         <element name="CancelReason" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="NoInventory"/>
-     *               <enumeration value="ShippingAddressUndeliverable"/>
-     *               <enumeration value="CustomerExchange"/>
-     *               <enumeration value="BuyerCanceled"/>
-     *               <enumeration value="GeneralAdjustment"/>
-     *               <enumeration value="CarrierCreditDecision"/>
-     *               <enumeration value="RiskAssessmentInformationNotValid"/>
-     *               <enumeration value="CarrierCoverageFailure"/>
-     *               <enumeration value="CustomerReturn"/>
-     *               <enumeration value="MerchandiseNotReceived"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "amazonOrderItemCode", - "merchantOrderItemID", - "cancelReason" - }) - public static class Item { - - @XmlElement(name = "AmazonOrderItemCode", required = true) - protected String amazonOrderItemCode; - @XmlElement(name = "MerchantOrderItemID") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String merchantOrderItemID; - @XmlElement(name = "CancelReason") - protected String cancelReason; - - /** - * Recupera il valore della proprietà amazonOrderItemCode. - * - * @return possible object is - * {@link String } - */ - public String getAmazonOrderItemCode() { - return amazonOrderItemCode; - } - - /** - * Imposta il valore della proprietà amazonOrderItemCode. - * - * @param value allowed object is - * {@link String } - */ - public void setAmazonOrderItemCode(String value) { - this.amazonOrderItemCode = value; - } - - /** - * Recupera il valore della proprietà merchantOrderItemID. - * - * @return possible object is - * {@link String } - */ - public String getMerchantOrderItemID() { - return merchantOrderItemID; - } - - /** - * Imposta il valore della proprietà merchantOrderItemID. - * - * @param value allowed object is - * {@link String } - */ - public void setMerchantOrderItemID(String value) { - this.merchantOrderItemID = value; - } - - /** - * Recupera il valore della proprietà cancelReason. - * - * @return possible object is - * {@link String } - */ - public String getCancelReason() { - return cancelReason; - } - - /** - * Imposta il valore della proprietà cancelReason. - * - * @param value allowed object is - * {@link String } - */ - public void setCancelReason(String value) { - this.cancelReason = value; - } - - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OrderAdjustment.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OrderAdjustment.java deleted file mode 100644 index 8e6da25636..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OrderAdjustment.java +++ /dev/null @@ -1,740 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.List; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <choice>
- *           <element ref="{}AmazonOrderID"/>
- *           <element ref="{}MerchantOrderID"/>
- *         </choice>
- *         <element name="ActionType" minOccurs="0">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <enumeration value="Refund"/>
- *               <enumeration value="Cancel"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="CODCollectionMethod" minOccurs="0">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <enumeration value="DirectPayment"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="AdjustedItem" maxOccurs="unbounded">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <choice>
- *                     <element ref="{}AmazonOrderItemCode"/>
- *                     <element ref="{}MerchantOrderItemID"/>
- *                   </choice>
- *                   <element name="MerchantAdjustmentItemID" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="AdjustmentReason">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="NoInventory"/>
- *                         <enumeration value="CustomerReturn"/>
- *                         <enumeration value="GeneralAdjustment"/>
- *                         <enumeration value="CouldNotShip"/>
- *                         <enumeration value="DifferentItem"/>
- *                         <enumeration value="Abandoned"/>
- *                         <enumeration value="CustomerCancel"/>
- *                         <enumeration value="PriceError"/>
- *                         <enumeration value="ProductOutofStock"/>
- *                         <enumeration value="CustomerAddressIncorrect"/>
- *                         <enumeration value="Exchange"/>
- *                         <enumeration value="Other"/>
- *                         <enumeration value="CarrierCreditDecision"/>
- *                         <enumeration value="RiskAssessmentInformationNotValid"/>
- *                         <enumeration value="CarrierCoverageFailure"/>
- *                         <enumeration value="TransactionRecord"/>
- *                         <enumeration value="Undeliverable"/>
- *                         <enumeration value="RefusedDelivery"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="ItemPriceAdjustments" type="{}AdjustmentBuyerPrice" minOccurs="0"/>
- *                   <element name="PromotionAdjustments" maxOccurs="unbounded" minOccurs="0">
- *                     <complexType>
- *                       <complexContent>
- *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                           <sequence>
- *                             <element ref="{}PromotionClaimCode" minOccurs="0"/>
- *                             <element ref="{}MerchantPromotionID" minOccurs="0"/>
- *                             <element name="Component" maxOccurs="unbounded">
- *                               <complexType>
- *                                 <complexContent>
- *                                   <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                                     <sequence>
- *                                       <element name="Type" type="{}PromotionApplicationType"/>
- *                                       <element name="Amount" type="{}AdjustmentCurrencyAmount"/>
- *                                     </sequence>
- *                                   </restriction>
- *                                 </complexContent>
- *                               </complexType>
- *                             </element>
- *                           </sequence>
- *                         </restriction>
- *                       </complexContent>
- *                     </complexType>
- *                   </element>
- *                   <element name="DirectPaymentAdjustments" type="{}AdjustmentDirectPaymentType" minOccurs="0"/>
- *                   <element name="QuantityCancelled" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *                   <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "amazonOrderID", - "merchantOrderID", - "actionType", - "codCollectionMethod", - "adjustedItem" -}) -@XmlRootElement(name = "OrderAdjustment") -public class OrderAdjustment { - - @XmlElement(name = "AmazonOrderID") - protected String amazonOrderID; - @XmlElement(name = "MerchantOrderID") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String merchantOrderID; - @XmlElement(name = "ActionType") - protected String actionType; - @XmlElement(name = "CODCollectionMethod") - protected String codCollectionMethod; - @XmlElement(name = "AdjustedItem", required = true) - protected List adjustedItem; - - /** - * Recupera il valore della proprietà amazonOrderID. - * - * @return possible object is - * {@link String } - */ - public String getAmazonOrderID() { - return amazonOrderID; - } - - /** - * Imposta il valore della proprietà amazonOrderID. - * - * @param value allowed object is - * {@link String } - */ - public void setAmazonOrderID(String value) { - this.amazonOrderID = value; - } - - /** - * Recupera il valore della proprietà merchantOrderID. - * - * @return possible object is - * {@link String } - */ - public String getMerchantOrderID() { - return merchantOrderID; - } - - /** - * Imposta il valore della proprietà merchantOrderID. - * - * @param value allowed object is - * {@link String } - */ - public void setMerchantOrderID(String value) { - this.merchantOrderID = value; - } - - /** - * Recupera il valore della proprietà actionType. - * - * @return possible object is - * {@link String } - */ - public String getActionType() { - return actionType; - } - - /** - * Imposta il valore della proprietà actionType. - * - * @param value allowed object is - * {@link String } - */ - public void setActionType(String value) { - this.actionType = value; - } - - /** - * Recupera il valore della proprietà codCollectionMethod. - * - * @return possible object is - * {@link String } - */ - public String getCODCollectionMethod() { - return codCollectionMethod; - } - - /** - * Imposta il valore della proprietà codCollectionMethod. - * - * @param value allowed object is - * {@link String } - */ - public void setCODCollectionMethod(String value) { - this.codCollectionMethod = value; - } - - /** - * Gets the value of the adjustedItem property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the adjustedItem property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getAdjustedItem().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link OrderAdjustment.AdjustedItem } - */ - public List getAdjustedItem() { - if (adjustedItem == null) { - adjustedItem = new ArrayList(); - } - return this.adjustedItem; - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <choice>
-     *           <element ref="{}AmazonOrderItemCode"/>
-     *           <element ref="{}MerchantOrderItemID"/>
-     *         </choice>
-     *         <element name="MerchantAdjustmentItemID" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="AdjustmentReason">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="NoInventory"/>
-     *               <enumeration value="CustomerReturn"/>
-     *               <enumeration value="GeneralAdjustment"/>
-     *               <enumeration value="CouldNotShip"/>
-     *               <enumeration value="DifferentItem"/>
-     *               <enumeration value="Abandoned"/>
-     *               <enumeration value="CustomerCancel"/>
-     *               <enumeration value="PriceError"/>
-     *               <enumeration value="ProductOutofStock"/>
-     *               <enumeration value="CustomerAddressIncorrect"/>
-     *               <enumeration value="Exchange"/>
-     *               <enumeration value="Other"/>
-     *               <enumeration value="CarrierCreditDecision"/>
-     *               <enumeration value="RiskAssessmentInformationNotValid"/>
-     *               <enumeration value="CarrierCoverageFailure"/>
-     *               <enumeration value="TransactionRecord"/>
-     *               <enumeration value="Undeliverable"/>
-     *               <enumeration value="RefusedDelivery"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="ItemPriceAdjustments" type="{}AdjustmentBuyerPrice" minOccurs="0"/>
-     *         <element name="PromotionAdjustments" maxOccurs="unbounded" minOccurs="0">
-     *           <complexType>
-     *             <complexContent>
-     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 <sequence>
-     *                   <element ref="{}PromotionClaimCode" minOccurs="0"/>
-     *                   <element ref="{}MerchantPromotionID" minOccurs="0"/>
-     *                   <element name="Component" maxOccurs="unbounded">
-     *                     <complexType>
-     *                       <complexContent>
-     *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                           <sequence>
-     *                             <element name="Type" type="{}PromotionApplicationType"/>
-     *                             <element name="Amount" type="{}AdjustmentCurrencyAmount"/>
-     *                           </sequence>
-     *                         </restriction>
-     *                       </complexContent>
-     *                     </complexType>
-     *                   </element>
-     *                 </sequence>
-     *               </restriction>
-     *             </complexContent>
-     *           </complexType>
-     *         </element>
-     *         <element name="DirectPaymentAdjustments" type="{}AdjustmentDirectPaymentType" minOccurs="0"/>
-     *         <element name="QuantityCancelled" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
-     *         <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "amazonOrderItemCode", - "merchantOrderItemID", - "merchantAdjustmentItemID", - "adjustmentReason", - "itemPriceAdjustments", - "promotionAdjustments", - "directPaymentAdjustments", - "quantityCancelled", - "quantity" - }) - public static class AdjustedItem { - - @XmlElement(name = "AmazonOrderItemCode") - protected String amazonOrderItemCode; - @XmlElement(name = "MerchantOrderItemID") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String merchantOrderItemID; - @XmlElement(name = "MerchantAdjustmentItemID") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String merchantAdjustmentItemID; - @XmlElement(name = "AdjustmentReason", required = true) - protected String adjustmentReason; - @XmlElement(name = "ItemPriceAdjustments") - protected AdjustmentBuyerPrice itemPriceAdjustments; - @XmlElement(name = "PromotionAdjustments") - protected List promotionAdjustments; - @XmlElement(name = "DirectPaymentAdjustments") - protected AdjustmentDirectPaymentType directPaymentAdjustments; - @XmlElement(name = "QuantityCancelled") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger quantityCancelled; - @XmlElement(name = "Quantity") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger quantity; - - /** - * Recupera il valore della proprietà amazonOrderItemCode. - * - * @return possible object is - * {@link String } - */ - public String getAmazonOrderItemCode() { - return amazonOrderItemCode; - } - - /** - * Imposta il valore della proprietà amazonOrderItemCode. - * - * @param value allowed object is - * {@link String } - */ - public void setAmazonOrderItemCode(String value) { - this.amazonOrderItemCode = value; - } - - /** - * Recupera il valore della proprietà merchantOrderItemID. - * - * @return possible object is - * {@link String } - */ - public String getMerchantOrderItemID() { - return merchantOrderItemID; - } - - /** - * Imposta il valore della proprietà merchantOrderItemID. - * - * @param value allowed object is - * {@link String } - */ - public void setMerchantOrderItemID(String value) { - this.merchantOrderItemID = value; - } - - /** - * Recupera il valore della proprietà merchantAdjustmentItemID. - * - * @return possible object is - * {@link String } - */ - public String getMerchantAdjustmentItemID() { - return merchantAdjustmentItemID; - } - - /** - * Imposta il valore della proprietà merchantAdjustmentItemID. - * - * @param value allowed object is - * {@link String } - */ - public void setMerchantAdjustmentItemID(String value) { - this.merchantAdjustmentItemID = value; - } - - /** - * Recupera il valore della proprietà adjustmentReason. - * - * @return possible object is - * {@link String } - */ - public String getAdjustmentReason() { - return adjustmentReason; - } - - /** - * Imposta il valore della proprietà adjustmentReason. - * - * @param value allowed object is - * {@link String } - */ - public void setAdjustmentReason(String value) { - this.adjustmentReason = value; - } - - /** - * Recupera il valore della proprietà itemPriceAdjustments. - * - * @return possible object is - * {@link AdjustmentBuyerPrice } - */ - public AdjustmentBuyerPrice getItemPriceAdjustments() { - return itemPriceAdjustments; - } - - /** - * Imposta il valore della proprietà itemPriceAdjustments. - * - * @param value allowed object is - * {@link AdjustmentBuyerPrice } - */ - public void setItemPriceAdjustments(AdjustmentBuyerPrice value) { - this.itemPriceAdjustments = value; - } - - /** - * Gets the value of the promotionAdjustments property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the promotionAdjustments property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getPromotionAdjustments().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link OrderAdjustment.AdjustedItem.PromotionAdjustments } - */ - public List getPromotionAdjustments() { - if (promotionAdjustments == null) { - promotionAdjustments = new ArrayList(); - } - return this.promotionAdjustments; - } - - /** - * Recupera il valore della proprietà directPaymentAdjustments. - * - * @return possible object is - * {@link AdjustmentDirectPaymentType } - */ - public AdjustmentDirectPaymentType getDirectPaymentAdjustments() { - return directPaymentAdjustments; - } - - /** - * Imposta il valore della proprietà directPaymentAdjustments. - * - * @param value allowed object is - * {@link AdjustmentDirectPaymentType } - */ - public void setDirectPaymentAdjustments(AdjustmentDirectPaymentType value) { - this.directPaymentAdjustments = value; - } - - /** - * Recupera il valore della proprietà quantityCancelled. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getQuantityCancelled() { - return quantityCancelled; - } - - /** - * Imposta il valore della proprietà quantityCancelled. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setQuantityCancelled(BigInteger value) { - this.quantityCancelled = value; - } - - /** - * Recupera il valore della proprietà quantity. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getQuantity() { - return quantity; - } - - /** - * Imposta il valore della proprietà quantity. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setQuantity(BigInteger value) { - this.quantity = value; - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-         * <complexType>
-         *   <complexContent>
-         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       <sequence>
-         *         <element ref="{}PromotionClaimCode" minOccurs="0"/>
-         *         <element ref="{}MerchantPromotionID" minOccurs="0"/>
-         *         <element name="Component" maxOccurs="unbounded">
-         *           <complexType>
-         *             <complexContent>
-         *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *                 <sequence>
-         *                   <element name="Type" type="{}PromotionApplicationType"/>
-         *                   <element name="Amount" type="{}AdjustmentCurrencyAmount"/>
-         *                 </sequence>
-         *               </restriction>
-         *             </complexContent>
-         *           </complexType>
-         *         </element>
-         *       </sequence>
-         *     </restriction>
-         *   </complexContent>
-         * </complexType>
-         * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "promotionClaimCode", - "merchantPromotionID", - "component" - }) - public static class PromotionAdjustments { - - @XmlElement(name = "PromotionClaimCode") - protected String promotionClaimCode; - @XmlElement(name = "MerchantPromotionID") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String merchantPromotionID; - @XmlElement(name = "Component", required = true) - protected List component; - - /** - * Recupera il valore della proprietà promotionClaimCode. - * - * @return possible object is - * {@link String } - */ - public String getPromotionClaimCode() { - return promotionClaimCode; - } - - /** - * Imposta il valore della proprietà promotionClaimCode. - * - * @param value allowed object is - * {@link String } - */ - public void setPromotionClaimCode(String value) { - this.promotionClaimCode = value; - } - - /** - * Recupera il valore della proprietà merchantPromotionID. - * - * @return possible object is - * {@link String } - */ - public String getMerchantPromotionID() { - return merchantPromotionID; - } - - /** - * Imposta il valore della proprietà merchantPromotionID. - * - * @param value allowed object is - * {@link String } - */ - public void setMerchantPromotionID(String value) { - this.merchantPromotionID = value; - } - - /** - * Gets the value of the component property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the component property. - * - *

- * For example, to add a new item, do as follows: - *

-             *    getComponent().add(newItem);
-             * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link OrderAdjustment.AdjustedItem.PromotionAdjustments.Component } - */ - public List getComponent() { - if (component == null) { - component = new ArrayList(); - } - return this.component; - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-             * <complexType>
-             *   <complexContent>
-             *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-             *       <sequence>
-             *         <element name="Type" type="{}PromotionApplicationType"/>
-             *         <element name="Amount" type="{}AdjustmentCurrencyAmount"/>
-             *       </sequence>
-             *     </restriction>
-             *   </complexContent>
-             * </complexType>
-             * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "type", - "amount" - }) - public static class Component { - - @XmlElement(name = "Type", required = true) - protected PromotionApplicationType type; - @XmlElement(name = "Amount", required = true) - protected AdjustmentCurrencyAmount amount; - - /** - * Recupera il valore della proprietà type. - * - * @return possible object is - * {@link PromotionApplicationType } - */ - public PromotionApplicationType getType() { - return type; - } - - /** - * Imposta il valore della proprietà type. - * - * @param value allowed object is - * {@link PromotionApplicationType } - */ - public void setType(PromotionApplicationType value) { - this.type = value; - } - - /** - * Recupera il valore della proprietà amount. - * - * @return possible object is - * {@link AdjustmentCurrencyAmount } - */ - public AdjustmentCurrencyAmount getAmount() { - return amount; - } - - /** - * Imposta il valore della proprietà amount. - * - * @param value allowed object is - * {@link AdjustmentCurrencyAmount } - */ - public void setAmount(AdjustmentCurrencyAmount value) { - this.amount = value; - } - - } - - } - - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OrderFulfillment.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OrderFulfillment.java deleted file mode 100644 index dd1b3bc044..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OrderFulfillment.java +++ /dev/null @@ -1,509 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import javax.xml.datatype.XMLGregorianCalendar; -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.List; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <choice>
- *           <element ref="{}AmazonOrderID"/>
- *           <element ref="{}MerchantOrderID"/>
- *         </choice>
- *         <element name="MerchantFulfillmentID" type="{}IDNumber" minOccurs="0"/>
- *         <element name="FulfillmentDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *         <element name="FulfillmentData" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <choice>
- *                     <element ref="{}CarrierCode"/>
- *                     <element name="CarrierName" type="{}String"/>
- *                   </choice>
- *                   <element name="ShippingMethod" type="{}String" minOccurs="0"/>
- *                   <element name="ShipperTrackingNumber" type="{}String" minOccurs="0"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="CODCollectionMethod" minOccurs="0">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <enumeration value="DirectPayment"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="Item" maxOccurs="unbounded" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <choice>
- *                     <element ref="{}AmazonOrderItemCode"/>
- *                     <element ref="{}MerchantOrderItemID"/>
- *                   </choice>
- *                   <element name="MerchantFulfillmentItemID" type="{}IDNumber" minOccurs="0"/>
- *                   <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "amazonOrderID", - "merchantOrderID", - "merchantFulfillmentID", - "fulfillmentDate", - "fulfillmentData", - "codCollectionMethod", - "item" -}) -@XmlRootElement(name = "OrderFulfillment") -public class OrderFulfillment { - - @XmlElement(name = "AmazonOrderID") - protected String amazonOrderID; - @XmlElement(name = "MerchantOrderID") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String merchantOrderID; - @XmlElement(name = "MerchantFulfillmentID") - protected BigInteger merchantFulfillmentID; - @XmlElement(name = "FulfillmentDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar fulfillmentDate; - @XmlElement(name = "FulfillmentData") - protected OrderFulfillment.FulfillmentData fulfillmentData; - @XmlElement(name = "CODCollectionMethod") - protected String codCollectionMethod; - @XmlElement(name = "Item") - protected List item; - - /** - * Recupera il valore della proprietà amazonOrderID. - * - * @return possible object is - * {@link String } - */ - public String getAmazonOrderID() { - return amazonOrderID; - } - - /** - * Imposta il valore della proprietà amazonOrderID. - * - * @param value allowed object is - * {@link String } - */ - public void setAmazonOrderID(String value) { - this.amazonOrderID = value; - } - - /** - * Recupera il valore della proprietà merchantOrderID. - * - * @return possible object is - * {@link String } - */ - public String getMerchantOrderID() { - return merchantOrderID; - } - - /** - * Imposta il valore della proprietà merchantOrderID. - * - * @param value allowed object is - * {@link String } - */ - public void setMerchantOrderID(String value) { - this.merchantOrderID = value; - } - - /** - * Recupera il valore della proprietà merchantFulfillmentID. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getMerchantFulfillmentID() { - return merchantFulfillmentID; - } - - /** - * Imposta il valore della proprietà merchantFulfillmentID. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setMerchantFulfillmentID(BigInteger value) { - this.merchantFulfillmentID = value; - } - - /** - * Recupera il valore della proprietà fulfillmentDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getFulfillmentDate() { - return fulfillmentDate; - } - - /** - * Imposta il valore della proprietà fulfillmentDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setFulfillmentDate(XMLGregorianCalendar value) { - this.fulfillmentDate = value; - } - - /** - * Recupera il valore della proprietà fulfillmentData. - * - * @return possible object is - * {@link OrderFulfillment.FulfillmentData } - */ - public OrderFulfillment.FulfillmentData getFulfillmentData() { - return fulfillmentData; - } - - /** - * Imposta il valore della proprietà fulfillmentData. - * - * @param value allowed object is - * {@link OrderFulfillment.FulfillmentData } - */ - public void setFulfillmentData(OrderFulfillment.FulfillmentData value) { - this.fulfillmentData = value; - } - - /** - * Recupera il valore della proprietà codCollectionMethod. - * - * @return possible object is - * {@link String } - */ - public String getCODCollectionMethod() { - return codCollectionMethod; - } - - /** - * Imposta il valore della proprietà codCollectionMethod. - * - * @param value allowed object is - * {@link String } - */ - public void setCODCollectionMethod(String value) { - this.codCollectionMethod = value; - } - - /** - * Gets the value of the item property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getItem().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link OrderFulfillment.Item } - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <choice>
-     *           <element ref="{}CarrierCode"/>
-     *           <element name="CarrierName" type="{}String"/>
-     *         </choice>
-     *         <element name="ShippingMethod" type="{}String" minOccurs="0"/>
-     *         <element name="ShipperTrackingNumber" type="{}String" minOccurs="0"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "carrierCode", - "carrierName", - "shippingMethod", - "shipperTrackingNumber" - }) - public static class FulfillmentData { - - @XmlElement(name = "CarrierCode") - protected String carrierCode; - @XmlElement(name = "CarrierName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String carrierName; - @XmlElement(name = "ShippingMethod") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String shippingMethod; - @XmlElement(name = "ShipperTrackingNumber") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String shipperTrackingNumber; - - /** - * Recupera il valore della proprietà carrierCode. - * - * @return possible object is - * {@link String } - */ - public String getCarrierCode() { - return carrierCode; - } - - /** - * Imposta il valore della proprietà carrierCode. - * - * @param value allowed object is - * {@link String } - */ - public void setCarrierCode(String value) { - this.carrierCode = value; - } - - /** - * Recupera il valore della proprietà carrierName. - * - * @return possible object is - * {@link String } - */ - public String getCarrierName() { - return carrierName; - } - - /** - * Imposta il valore della proprietà carrierName. - * - * @param value allowed object is - * {@link String } - */ - public void setCarrierName(String value) { - this.carrierName = value; - } - - /** - * Recupera il valore della proprietà shippingMethod. - * - * @return possible object is - * {@link String } - */ - public String getShippingMethod() { - return shippingMethod; - } - - /** - * Imposta il valore della proprietà shippingMethod. - * - * @param value allowed object is - * {@link String } - */ - public void setShippingMethod(String value) { - this.shippingMethod = value; - } - - /** - * Recupera il valore della proprietà shipperTrackingNumber. - * - * @return possible object is - * {@link String } - */ - public String getShipperTrackingNumber() { - return shipperTrackingNumber; - } - - /** - * Imposta il valore della proprietà shipperTrackingNumber. - * - * @param value allowed object is - * {@link String } - */ - public void setShipperTrackingNumber(String value) { - this.shipperTrackingNumber = value; - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <choice>
-     *           <element ref="{}AmazonOrderItemCode"/>
-     *           <element ref="{}MerchantOrderItemID"/>
-     *         </choice>
-     *         <element name="MerchantFulfillmentItemID" type="{}IDNumber" minOccurs="0"/>
-     *         <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "amazonOrderItemCode", - "merchantOrderItemID", - "merchantFulfillmentItemID", - "quantity" - }) - public static class Item { - - @XmlElement(name = "AmazonOrderItemCode") - protected String amazonOrderItemCode; - @XmlElement(name = "MerchantOrderItemID") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String merchantOrderItemID; - @XmlElement(name = "MerchantFulfillmentItemID") - protected BigInteger merchantFulfillmentItemID; - @XmlElement(name = "Quantity") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger quantity; - - /** - * Recupera il valore della proprietà amazonOrderItemCode. - * - * @return possible object is - * {@link String } - */ - public String getAmazonOrderItemCode() { - return amazonOrderItemCode; - } - - /** - * Imposta il valore della proprietà amazonOrderItemCode. - * - * @param value allowed object is - * {@link String } - */ - public void setAmazonOrderItemCode(String value) { - this.amazonOrderItemCode = value; - } - - /** - * Recupera il valore della proprietà merchantOrderItemID. - * - * @return possible object is - * {@link String } - */ - public String getMerchantOrderItemID() { - return merchantOrderItemID; - } - - /** - * Imposta il valore della proprietà merchantOrderItemID. - * - * @param value allowed object is - * {@link String } - */ - public void setMerchantOrderItemID(String value) { - this.merchantOrderItemID = value; - } - - /** - * Recupera il valore della proprietà merchantFulfillmentItemID. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getMerchantFulfillmentItemID() { - return merchantFulfillmentItemID; - } - - /** - * Imposta il valore della proprietà merchantFulfillmentItemID. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setMerchantFulfillmentItemID(BigInteger value) { - this.merchantFulfillmentItemID = value; - } - - /** - * Recupera il valore della proprietà quantity. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getQuantity() { - return quantity; - } - - /** - * Imposta il valore della proprietà quantity. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setQuantity(BigInteger value) { - this.quantity = value; - } - - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OrderTrackingDTO.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OrderTrackingDTO.java deleted file mode 100644 index d651227d95..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OrderTrackingDTO.java +++ /dev/null @@ -1,42 +0,0 @@ -package it.integry.ems.order.amazon.dto; - -public class OrderTrackingDTO { - - private String amazonOrderId; - private String trackNumberId; - private String carrierCode; - private String carrierName; - - public String getAmazonOrderId() { - return amazonOrderId; - } - - public void setAmazonOrderId(String amazonOrderId) { - this.amazonOrderId = amazonOrderId; - } - - public String getTrackNumberId() { - return trackNumberId; - } - - public void setTrackNumberId(String trackNumberId) { - this.trackNumberId = trackNumberId; - } - - public String getCarrierCode() { - return carrierCode; - } - - public void setCarrierCode(String carrierCode) { - this.carrierCode = carrierCode; - } - - public String getCarrierName() { - return carrierName; - } - - public void setCarrierName(String carrierName) { - this.carrierName = carrierName; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Originality.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Originality.java deleted file mode 100644 index 6cb59490d1..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Originality.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per Originality. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="Originality">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="Original"/>
- *     <enumeration value="Original Limited Edition"/>
- *     <enumeration value="Reproduced"/>
- *     <enumeration value="Reproduced Limited Edition"/>
- *     <enumeration value="Replica"/>
- *     <enumeration value="Replica Limited Edition"/>
- *     <enumeration value="Limited Edition"/>
- *     <enumeration value="Manufactured"/>
- *     <enumeration value="Licensed"/>
- *     <enumeration value="Vintage"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "Originality") -@XmlEnum -public enum Originality { - - @XmlEnumValue("Original") - ORIGINAL("Original"), - @XmlEnumValue("Original Limited Edition") - ORIGINAL_LIMITED_EDITION("Original Limited Edition"), - @XmlEnumValue("Reproduced") - REPRODUCED("Reproduced"), - @XmlEnumValue("Reproduced Limited Edition") - REPRODUCED_LIMITED_EDITION("Reproduced Limited Edition"), - @XmlEnumValue("Replica") - REPLICA("Replica"), - @XmlEnumValue("Replica Limited Edition") - REPLICA_LIMITED_EDITION("Replica Limited Edition"), - @XmlEnumValue("Limited Edition") - LIMITED_EDITION("Limited Edition"), - @XmlEnumValue("Manufactured") - MANUFACTURED("Manufactured"), - @XmlEnumValue("Licensed") - LICENSED("Licensed"), - @XmlEnumValue("Vintage") - VINTAGE("Vintage"); - private final String value; - - Originality(String v) { - value = v; - } - - public static Originality fromValue(String v) { - for (Originality c : Originality.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Override.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Override.java deleted file mode 100644 index c16af3f3ab..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Override.java +++ /dev/null @@ -1,254 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import java.util.ArrayList; -import java.util.List; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element ref="{}SKU"/>
- *         <element name="ShippingOverride" maxOccurs="unbounded" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element ref="{}ShipOption"/>
- *                   <choice>
- *                     <element name="IsShippingRestricted" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
- *                     <sequence>
- *                       <element name="Type">
- *                         <simpleType>
- *                           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                             <enumeration value="Additive"/>
- *                             <enumeration value="Exclusive"/>
- *                           </restriction>
- *                         </simpleType>
- *                       </element>
- *                       <element name="ShipAmount" type="{}CurrencyAmount"/>
- *                     </sequence>
- *                   </choice>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "sku", - "shippingOverride" -}) -@XmlRootElement(name = "Override") -public class Override { - - @XmlElement(name = "SKU", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String sku; - @XmlElement(name = "ShippingOverride") - protected List shippingOverride; - - /** - * Recupera il valore della proprietà sku. - * - * @return possible object is - * {@link String } - */ - public String getSKU() { - return sku; - } - - /** - * Imposta il valore della proprietà sku. - * - * @param value allowed object is - * {@link String } - */ - public void setSKU(String value) { - this.sku = value; - } - - /** - * Gets the value of the shippingOverride property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the shippingOverride property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getShippingOverride().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link Override.ShippingOverride } - */ - public List getShippingOverride() { - if (shippingOverride == null) { - shippingOverride = new ArrayList(); - } - return this.shippingOverride; - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element ref="{}ShipOption"/>
-     *         <choice>
-     *           <element name="IsShippingRestricted" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
-     *           <sequence>
-     *             <element name="Type">
-     *               <simpleType>
-     *                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *                   <enumeration value="Additive"/>
-     *                   <enumeration value="Exclusive"/>
-     *                 </restriction>
-     *               </simpleType>
-     *             </element>
-     *             <element name="ShipAmount" type="{}CurrencyAmount"/>
-     *           </sequence>
-     *         </choice>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "shipOption", - "isShippingRestricted", - "type", - "shipAmount" - }) - public static class ShippingOverride { - - @XmlElement(name = "ShipOption", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String shipOption; - @XmlElement(name = "IsShippingRestricted") - protected Boolean isShippingRestricted; - @XmlElement(name = "Type") - protected String type; - @XmlElement(name = "ShipAmount") - protected CurrencyAmount shipAmount; - - /** - * Recupera il valore della proprietà shipOption. - * - * @return possible object is - * {@link String } - */ - public String getShipOption() { - return shipOption; - } - - /** - * Imposta il valore della proprietà shipOption. - * - * @param value allowed object is - * {@link String } - */ - public void setShipOption(String value) { - this.shipOption = value; - } - - /** - * Recupera il valore della proprietà isShippingRestricted. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isIsShippingRestricted() { - return isShippingRestricted; - } - - /** - * Imposta il valore della proprietà isShippingRestricted. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setIsShippingRestricted(Boolean value) { - this.isShippingRestricted = value; - } - - /** - * Recupera il valore della proprietà type. - * - * @return possible object is - * {@link String } - */ - public String getType() { - return type; - } - - /** - * Imposta il valore della proprietà type. - * - * @param value allowed object is - * {@link String } - */ - public void setType(String value) { - this.type = value; - } - - /** - * Recupera il valore della proprietà shipAmount. - * - * @return possible object is - * {@link CurrencyAmount } - */ - public CurrencyAmount getShipAmount() { - return shipAmount; - } - - /** - * Imposta il valore della proprietà shipAmount. - * - * @param value allowed object is - * {@link CurrencyAmount } - */ - public void setShipAmount(CurrencyAmount value) { - this.shipAmount = value; - } - - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OverrideCurrencyAmount.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OverrideCurrencyAmount.java deleted file mode 100644 index 2cb88a3b94..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OverrideCurrencyAmount.java +++ /dev/null @@ -1,60 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; - - -/** - *

Classe Java per OverrideCurrencyAmount complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="OverrideCurrencyAmount">
- *   <simpleContent>
- *     <extension base="<>CurrencyAmountWithDefault">
- *       <attribute name="zero" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OverrideCurrencyAmount") -@XmlSeeAlso({ - OverrideCurrencyAmountWithTax.class -}) -public class OverrideCurrencyAmount - extends CurrencyAmountWithDefault { - - @XmlAttribute(name = "zero") - protected Boolean zero; - - /** - * Recupera il valore della proprietà zero. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isZero() { - return zero; - } - - /** - * Imposta il valore della proprietà zero. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setZero(Boolean value) { - this.zero = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OverrideCurrencyAmountWithTax.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OverrideCurrencyAmountWithTax.java deleted file mode 100644 index 12a1e2fbc2..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/OverrideCurrencyAmountWithTax.java +++ /dev/null @@ -1,61 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; -import java.math.BigDecimal; - - -/** - *

Classe Java per OverrideCurrencyAmountWithTax complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="OverrideCurrencyAmountWithTax">
- *   <simpleContent>
- *     <extension base="<>OverrideCurrencyAmount">
- *       <attribute name="valueWithoutTax" type="{}BasePriceCurrencyAmount" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "OverrideCurrencyAmountWithTax") -public class OverrideCurrencyAmountWithTax - extends OverrideCurrencyAmount { - - @XmlAttribute(name = "valueWithoutTax") - protected BigDecimal valueWithoutTax; - - /** - * Recupera il valore della proprietà valueWithoutTax. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValueWithoutTax() { - return valueWithoutTax; - } - - /** - * Imposta il valore della proprietà valueWithoutTax. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValueWithoutTax(BigDecimal value) { - this.valueWithoutTax = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PhoneNumberType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PhoneNumberType.java deleted file mode 100644 index 68453b0aec..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PhoneNumberType.java +++ /dev/null @@ -1,119 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Classe Java per PhoneNumberType complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="PhoneNumberType">
- *   <simpleContent>
- *     <extension base="<>String">
- *       <attribute name="Type">
- *         <simpleType>
- *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *             <enumeration value="Voice"/>
- *             <enumeration value="Fax"/>
- *           </restriction>
- *         </simpleType>
- *       </attribute>
- *       <attribute name="Description">
- *         <simpleType>
- *           <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *             <maxLength value="30"/>
- *           </restriction>
- *         </simpleType>
- *       </attribute>
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PhoneNumberType", propOrder = { - "value" -}) -public class PhoneNumberType { - - @XmlValue - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String value; - @XmlAttribute(name = "Type") - protected String type; - @XmlAttribute(name = "Description") - protected String description; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link String } - */ - public String getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link String } - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà type. - * - * @return possible object is - * {@link String } - */ - public String getType() { - return type; - } - - /** - * Imposta il valore della proprietà type. - * - * @param value allowed object is - * {@link String } - */ - public void setType(String value) { - this.type = value; - } - - /** - * Recupera il valore della proprietà description. - * - * @return possible object is - * {@link String } - */ - public String getDescription() { - return description; - } - - /** - * Imposta il valore della proprietà description. - * - * @param value allowed object is - * {@link String } - */ - public void setDescription(String value) { - this.description = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PixelDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PixelDimension.java deleted file mode 100644 index 8bc5a510b8..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PixelDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per PixelDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="PixelDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}PixelUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PixelDimension", propOrder = { - "value" -}) -public class PixelDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected PixelUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link PixelUnitOfMeasure } - */ - public PixelUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link PixelUnitOfMeasure } - */ - public void setUnitOfMeasure(PixelUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PixelUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PixelUnitOfMeasure.java deleted file mode 100644 index 4049eadb1a..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PixelUnitOfMeasure.java +++ /dev/null @@ -1,56 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per PixelUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="PixelUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="pixels"/>
- *     <enumeration value="MP"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "PixelUnitOfMeasure") -@XmlEnum -public enum PixelUnitOfMeasure { - - @XmlEnumValue("pixels") - PIXELS("pixels"), - MP("MP"); - private final String value; - - PixelUnitOfMeasure(String v) { - value = v; - } - - public static PixelUnitOfMeasure fromValue(String v) { - for (PixelUnitOfMeasure c : PixelUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PositiveCurrencyAmount.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PositiveCurrencyAmount.java deleted file mode 100644 index 8f9916ee11..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PositiveCurrencyAmount.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per PositiveCurrencyAmount complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="PositiveCurrencyAmount">
- *   <simpleContent>
- *     <extension base="<>BasePositiveCurrencyAmount">
- *       <attribute name="currency" use="required" type="{}BaseCurrencyCode" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PositiveCurrencyAmount", propOrder = { - "value" -}) -public class PositiveCurrencyAmount { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "currency", required = true) - protected BaseCurrencyCode currency; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà currency. - * - * @return possible object is - * {@link BaseCurrencyCode } - */ - public BaseCurrencyCode getCurrency() { - return currency; - } - - /** - * Imposta il valore della proprietà currency. - * - * @param value allowed object is - * {@link BaseCurrencyCode } - */ - public void setCurrency(BaseCurrencyCode value) { - this.currency = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PositiveNonZeroWeightDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PositiveNonZeroWeightDimension.java deleted file mode 100644 index b84a7f14d1..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PositiveNonZeroWeightDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per PositiveNonZeroWeightDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="PositiveNonZeroWeightDimension">
- *   <simpleContent>
- *     <extension base="<>PositiveNonZeroDimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}WeightUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PositiveNonZeroWeightDimension", propOrder = { - "value" -}) -public class PositiveNonZeroWeightDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected WeightUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link WeightUnitOfMeasure } - */ - public WeightUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link WeightUnitOfMeasure } - */ - public void setUnitOfMeasure(WeightUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PositiveWeightDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PositiveWeightDimension.java deleted file mode 100644 index 1877c55792..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PositiveWeightDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per PositiveWeightDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="PositiveWeightDimension">
- *   <simpleContent>
- *     <extension base="<>PositiveDimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}WeightUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PositiveWeightDimension", propOrder = { - "value" -}) -public class PositiveWeightDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected WeightUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link WeightUnitOfMeasure } - */ - public WeightUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link WeightUnitOfMeasure } - */ - public void setUnitOfMeasure(WeightUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PowerDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PowerDimension.java deleted file mode 100644 index a344887731..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PowerDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per PowerDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="PowerDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}PowerUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PowerDimension", propOrder = { - "value" -}) -public class PowerDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected PowerUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link PowerUnitOfMeasure } - */ - public PowerUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link PowerUnitOfMeasure } - */ - public void setUnitOfMeasure(PowerUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PowerPlugType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PowerPlugType.java deleted file mode 100644 index e51a2bf5fb..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PowerPlugType.java +++ /dev/null @@ -1,102 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per PowerPlugType. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="PowerPlugType">
- *   <restriction base="{}MediumStringNotNull">
- *     <enumeration value="type_a_2pin_jp"/>
- *     <enumeration value="type_e_2pin_fr"/>
- *     <enumeration value="type_j_3pin_ch"/>
- *     <enumeration value="type_a_2pin_na"/>
- *     <enumeration value="type_ef_2pin_eu"/>
- *     <enumeration value="type_k_3pin_dk"/>
- *     <enumeration value="type_b_3pin_jp"/>
- *     <enumeration value="type_f_2pin_de"/>
- *     <enumeration value="type_l_3pin_it"/>
- *     <enumeration value="type_b_3pin_na"/>
- *     <enumeration value="type_g_3pin_uk"/>
- *     <enumeration value="type_m_3pin_za"/>
- *     <enumeration value="type_c_2pin_eu"/>
- *     <enumeration value="type_h_3pin_il"/>
- *     <enumeration value="type_n_3pin_br"/>
- *     <enumeration value="type_d_3pin_in"/>
- *     <enumeration value="type_i_3pin_au"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "PowerPlugType") -@XmlEnum -public enum PowerPlugType { - - @XmlEnumValue("type_a_2pin_jp") - TYPE_A_2_PIN_JP("type_a_2pin_jp"), - @XmlEnumValue("type_e_2pin_fr") - TYPE_E_2_PIN_FR("type_e_2pin_fr"), - @XmlEnumValue("type_j_3pin_ch") - TYPE_J_3_PIN_CH("type_j_3pin_ch"), - @XmlEnumValue("type_a_2pin_na") - TYPE_A_2_PIN_NA("type_a_2pin_na"), - @XmlEnumValue("type_ef_2pin_eu") - TYPE_EF_2_PIN_EU("type_ef_2pin_eu"), - @XmlEnumValue("type_k_3pin_dk") - TYPE_K_3_PIN_DK("type_k_3pin_dk"), - @XmlEnumValue("type_b_3pin_jp") - TYPE_B_3_PIN_JP("type_b_3pin_jp"), - @XmlEnumValue("type_f_2pin_de") - TYPE_F_2_PIN_DE("type_f_2pin_de"), - @XmlEnumValue("type_l_3pin_it") - TYPE_L_3_PIN_IT("type_l_3pin_it"), - @XmlEnumValue("type_b_3pin_na") - TYPE_B_3_PIN_NA("type_b_3pin_na"), - @XmlEnumValue("type_g_3pin_uk") - TYPE_G_3_PIN_UK("type_g_3pin_uk"), - @XmlEnumValue("type_m_3pin_za") - TYPE_M_3_PIN_ZA("type_m_3pin_za"), - @XmlEnumValue("type_c_2pin_eu") - TYPE_C_2_PIN_EU("type_c_2pin_eu"), - @XmlEnumValue("type_h_3pin_il") - TYPE_H_3_PIN_IL("type_h_3pin_il"), - @XmlEnumValue("type_n_3pin_br") - TYPE_N_3_PIN_BR("type_n_3pin_br"), - @XmlEnumValue("type_d_3pin_in") - TYPE_D_3_PIN_IN("type_d_3pin_in"), - @XmlEnumValue("type_i_3pin_au") - TYPE_I_3_PIN_AU("type_i_3pin_au"); - private final String value; - - PowerPlugType(String v) { - value = v; - } - - public static PowerPlugType fromValue(String v) { - for (PowerPlugType c : PowerPlugType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PowerUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PowerUnitOfMeasure.java deleted file mode 100644 index e39203e9f7..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PowerUnitOfMeasure.java +++ /dev/null @@ -1,63 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per PowerUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="PowerUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="watts"/>
- *     <enumeration value="kilowatts"/>
- *     <enumeration value="horsepower"/>
- *     <enumeration value="watts-per-sec"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "PowerUnitOfMeasure") -@XmlEnum -public enum PowerUnitOfMeasure { - - @XmlEnumValue("watts") - WATTS("watts"), - @XmlEnumValue("kilowatts") - KILOWATTS("kilowatts"), - @XmlEnumValue("horsepower") - HORSEPOWER("horsepower"), - @XmlEnumValue("watts-per-sec") - WATTS_PER_SEC("watts-per-sec"); - private final String value; - - PowerUnitOfMeasure(String v) { - value = v; - } - - public static PowerUnitOfMeasure fromValue(String v) { - for (PowerUnitOfMeasure c : PowerUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PressureDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PressureDimension.java deleted file mode 100644 index 27348cbf5e..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PressureDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per PressureDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="PressureDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}PressureUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PressureDimension", propOrder = { - "value" -}) -public class PressureDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected PressureUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link PressureUnitOfMeasure } - */ - public PressureUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link PressureUnitOfMeasure } - */ - public void setUnitOfMeasure(PressureUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PressureUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PressureUnitOfMeasure.java deleted file mode 100644 index eb71ebb256..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PressureUnitOfMeasure.java +++ /dev/null @@ -1,60 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per PressureUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="PressureUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="bars"/>
- *     <enumeration value="psi"/>
- *     <enumeration value="pascal"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "PressureUnitOfMeasure") -@XmlEnum -public enum PressureUnitOfMeasure { - - @XmlEnumValue("bars") - BARS("bars"), - @XmlEnumValue("psi") - PSI("psi"), - @XmlEnumValue("pascal") - PASCAL("pascal"); - private final String value; - - PressureUnitOfMeasure(String v) { - value = v; - } - - public static PressureUnitOfMeasure fromValue(String v) { - for (PressureUnitOfMeasure c : PressureUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Price.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Price.java deleted file mode 100644 index 95e6565560..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Price.java +++ /dev/null @@ -1,2149 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import javax.xml.datatype.XMLGregorianCalendar; -import java.math.BigDecimal; -import java.math.BigInteger; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element ref="{}SKU"/>
- *         <element name="StandardPrice" type="{}OverrideCurrencyAmount" minOccurs="0"/>
- *         <element name="StandardPricePoints" type="{}PositiveInteger" minOccurs="0"/>
- *         <element name="BusinessPrice" type="{}BasePriceCurrencyAmount" minOccurs="0"/>
- *         <element name="QuantityPriceType" type="{}QuantityPriceTypes" minOccurs="0"/>
- *         <element name="QuantityPrice" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="QuantityPrice1" type="{}BasePriceCurrencyAmount" minOccurs="0"/>
- *                   <element name="QuantityLowerBound1" type="{}PositiveInteger" minOccurs="0"/>
- *                   <element name="QuantityPrice2" type="{}BasePriceCurrencyAmount" minOccurs="0"/>
- *                   <element name="QuantityLowerBound2" type="{}PositiveInteger" minOccurs="0"/>
- *                   <element name="QuantityPrice3" type="{}BasePriceCurrencyAmount" minOccurs="0"/>
- *                   <element name="QuantityLowerBound3" type="{}PositiveInteger" minOccurs="0"/>
- *                   <element name="QuantityPrice4" type="{}BasePriceCurrencyAmount" minOccurs="0"/>
- *                   <element name="QuantityLowerBound4" type="{}PositiveInteger" minOccurs="0"/>
- *                   <element name="QuantityPrice5" type="{}BasePriceCurrencyAmount" minOccurs="0"/>
- *                   <element name="QuantityLowerBound5" type="{}PositiveInteger" minOccurs="0"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="MinimumSellerAllowedPrice" type="{}StringOverrideCurrencyAmount" minOccurs="0"/>
- *         <element name="MaximumSellerAllowedPrice" type="{}StringOverrideCurrencyAmount" minOccurs="0"/>
- *         <element name="MAP" type="{}OverrideCurrencyAmount" minOccurs="0"/>
- *         <element name="DepositAmount" type="{}CurrencyAmountWithDefault" minOccurs="0"/>
- *         <element name="Sale" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *                   <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *                   <element name="SalePrice" type="{}OverrideCurrencyAmount"/>
- *                   <element name="SalePricePoints" type="{}PositiveInteger" minOccurs="0"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="CompareAt" type="{}DatedCompareAtPrice" minOccurs="0"/>
- *         <element name="Previous" type="{}DatedPrice" minOccurs="0"/>
- *         <element name="Rental_0" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *                   <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *                   <element name="RentalPrice" type="{}OverrideCurrencyAmountWithTax"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="Rental_1" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *                   <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *                   <element name="RentalPrice" type="{}OverrideCurrencyAmountWithTax"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="Rental_2" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *                   <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *                   <element name="RentalPrice" type="{}OverrideCurrencyAmountWithTax"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="Rental_3" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *                   <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *                   <element name="RentalPrice" type="{}OverrideCurrencyAmountWithTax"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="Rental_4" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *                   <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *                   <element name="RentalPrice" type="{}OverrideCurrencyAmountWithTax"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="Rental_5" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *                   <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *                   <element name="RentalPrice" type="{}OverrideCurrencyAmountWithTax"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="Rental_6" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *                   <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *                   <element name="RentalPrice" type="{}OverrideCurrencyAmountWithTax"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="Rental_7" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *                   <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *                   <element name="RentalPrice" type="{}OverrideCurrencyAmountWithTax"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="Rental_8" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *                   <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *                   <element name="RentalPrice" type="{}OverrideCurrencyAmountWithTax"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="Rental_9" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *                   <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *                   <element name="RentalPrice" type="{}OverrideCurrencyAmountWithTax"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="CostPerClickBidPrice" type="{}OverrideCurrencyAmount" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "sku", - "standardPrice", - "standardPricePoints", - "businessPrice", - "quantityPriceType", - "quantityPrice", - "minimumSellerAllowedPrice", - "maximumSellerAllowedPrice", - "map", - "depositAmount", - "sale", - "compareAt", - "previous", - "rental0", - "rental1", - "rental2", - "rental3", - "rental4", - "rental5", - "rental6", - "rental7", - "rental8", - "rental9", - "costPerClickBidPrice" -}) -@XmlRootElement(name = "Price") -public class Price { - - @XmlElement(name = "SKU", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String sku; - @XmlElement(name = "StandardPrice") - protected OverrideCurrencyAmount standardPrice; - @XmlElement(name = "StandardPricePoints") - protected BigInteger standardPricePoints; - @XmlElement(name = "BusinessPrice") - protected BigDecimal businessPrice; - @XmlElement(name = "QuantityPriceType") - protected QuantityPriceTypes quantityPriceType; - @XmlElement(name = "QuantityPrice") - protected Price.QuantityPrice quantityPrice; - @XmlElement(name = "MinimumSellerAllowedPrice") - protected StringOverrideCurrencyAmount minimumSellerAllowedPrice; - @XmlElement(name = "MaximumSellerAllowedPrice") - protected StringOverrideCurrencyAmount maximumSellerAllowedPrice; - @XmlElement(name = "MAP") - protected OverrideCurrencyAmount map; - @XmlElement(name = "DepositAmount") - protected CurrencyAmountWithDefault depositAmount; - @XmlElement(name = "Sale") - protected Price.Sale sale; - @XmlElement(name = "CompareAt") - protected DatedCompareAtPrice compareAt; - @XmlElement(name = "Previous") - protected DatedPrice previous; - @XmlElement(name = "Rental_0") - protected Price.Rental0 rental0; - @XmlElement(name = "Rental_1") - protected Price.Rental1 rental1; - @XmlElement(name = "Rental_2") - protected Price.Rental2 rental2; - @XmlElement(name = "Rental_3") - protected Price.Rental3 rental3; - @XmlElement(name = "Rental_4") - protected Price.Rental4 rental4; - @XmlElement(name = "Rental_5") - protected Price.Rental5 rental5; - @XmlElement(name = "Rental_6") - protected Price.Rental6 rental6; - @XmlElement(name = "Rental_7") - protected Price.Rental7 rental7; - @XmlElement(name = "Rental_8") - protected Price.Rental8 rental8; - @XmlElement(name = "Rental_9") - protected Price.Rental9 rental9; - @XmlElement(name = "CostPerClickBidPrice") - protected OverrideCurrencyAmount costPerClickBidPrice; - - /** - * Recupera il valore della proprietà sku. - * - * @return possible object is - * {@link String } - */ - public String getSKU() { - return sku; - } - - /** - * Imposta il valore della proprietà sku. - * - * @param value allowed object is - * {@link String } - */ - public void setSKU(String value) { - this.sku = value; - } - - /** - * Recupera il valore della proprietà standardPrice. - * - * @return possible object is - * {@link OverrideCurrencyAmount } - */ - public OverrideCurrencyAmount getStandardPrice() { - return standardPrice; - } - - /** - * Imposta il valore della proprietà standardPrice. - * - * @param value allowed object is - * {@link OverrideCurrencyAmount } - */ - public void setStandardPrice(OverrideCurrencyAmount value) { - this.standardPrice = value; - } - - /** - * Recupera il valore della proprietà standardPricePoints. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getStandardPricePoints() { - return standardPricePoints; - } - - /** - * Imposta il valore della proprietà standardPricePoints. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setStandardPricePoints(BigInteger value) { - this.standardPricePoints = value; - } - - /** - * Recupera il valore della proprietà businessPrice. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getBusinessPrice() { - return businessPrice; - } - - /** - * Imposta il valore della proprietà businessPrice. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setBusinessPrice(BigDecimal value) { - this.businessPrice = value; - } - - /** - * Recupera il valore della proprietà quantityPriceType. - * - * @return possible object is - * {@link QuantityPriceTypes } - */ - public QuantityPriceTypes getQuantityPriceType() { - return quantityPriceType; - } - - /** - * Imposta il valore della proprietà quantityPriceType. - * - * @param value allowed object is - * {@link QuantityPriceTypes } - */ - public void setQuantityPriceType(QuantityPriceTypes value) { - this.quantityPriceType = value; - } - - /** - * Recupera il valore della proprietà quantityPrice. - * - * @return possible object is - * {@link Price.QuantityPrice } - */ - public Price.QuantityPrice getQuantityPrice() { - return quantityPrice; - } - - /** - * Imposta il valore della proprietà quantityPrice. - * - * @param value allowed object is - * {@link Price.QuantityPrice } - */ - public void setQuantityPrice(Price.QuantityPrice value) { - this.quantityPrice = value; - } - - /** - * Recupera il valore della proprietà minimumSellerAllowedPrice. - * - * @return possible object is - * {@link StringOverrideCurrencyAmount } - */ - public StringOverrideCurrencyAmount getMinimumSellerAllowedPrice() { - return minimumSellerAllowedPrice; - } - - /** - * Imposta il valore della proprietà minimumSellerAllowedPrice. - * - * @param value allowed object is - * {@link StringOverrideCurrencyAmount } - */ - public void setMinimumSellerAllowedPrice(StringOverrideCurrencyAmount value) { - this.minimumSellerAllowedPrice = value; - } - - /** - * Recupera il valore della proprietà maximumSellerAllowedPrice. - * - * @return possible object is - * {@link StringOverrideCurrencyAmount } - */ - public StringOverrideCurrencyAmount getMaximumSellerAllowedPrice() { - return maximumSellerAllowedPrice; - } - - /** - * Imposta il valore della proprietà maximumSellerAllowedPrice. - * - * @param value allowed object is - * {@link StringOverrideCurrencyAmount } - */ - public void setMaximumSellerAllowedPrice(StringOverrideCurrencyAmount value) { - this.maximumSellerAllowedPrice = value; - } - - /** - * Recupera il valore della proprietà map. - * - * @return possible object is - * {@link OverrideCurrencyAmount } - */ - public OverrideCurrencyAmount getMAP() { - return map; - } - - /** - * Imposta il valore della proprietà map. - * - * @param value allowed object is - * {@link OverrideCurrencyAmount } - */ - public void setMAP(OverrideCurrencyAmount value) { - this.map = value; - } - - /** - * Recupera il valore della proprietà depositAmount. - * - * @return possible object is - * {@link CurrencyAmountWithDefault } - */ - public CurrencyAmountWithDefault getDepositAmount() { - return depositAmount; - } - - /** - * Imposta il valore della proprietà depositAmount. - * - * @param value allowed object is - * {@link CurrencyAmountWithDefault } - */ - public void setDepositAmount(CurrencyAmountWithDefault value) { - this.depositAmount = value; - } - - /** - * Recupera il valore della proprietà sale. - * - * @return possible object is - * {@link Price.Sale } - */ - public Price.Sale getSale() { - return sale; - } - - /** - * Imposta il valore della proprietà sale. - * - * @param value allowed object is - * {@link Price.Sale } - */ - public void setSale(Price.Sale value) { - this.sale = value; - } - - /** - * Recupera il valore della proprietà compareAt. - * - * @return possible object is - * {@link DatedCompareAtPrice } - */ - public DatedCompareAtPrice getCompareAt() { - return compareAt; - } - - /** - * Imposta il valore della proprietà compareAt. - * - * @param value allowed object is - * {@link DatedCompareAtPrice } - */ - public void setCompareAt(DatedCompareAtPrice value) { - this.compareAt = value; - } - - /** - * Recupera il valore della proprietà previous. - * - * @return possible object is - * {@link DatedPrice } - */ - public DatedPrice getPrevious() { - return previous; - } - - /** - * Imposta il valore della proprietà previous. - * - * @param value allowed object is - * {@link DatedPrice } - */ - public void setPrevious(DatedPrice value) { - this.previous = value; - } - - /** - * Recupera il valore della proprietà rental0. - * - * @return possible object is - * {@link Price.Rental0 } - */ - public Price.Rental0 getRental0() { - return rental0; - } - - /** - * Imposta il valore della proprietà rental0. - * - * @param value allowed object is - * {@link Price.Rental0 } - */ - public void setRental0(Price.Rental0 value) { - this.rental0 = value; - } - - /** - * Recupera il valore della proprietà rental1. - * - * @return possible object is - * {@link Price.Rental1 } - */ - public Price.Rental1 getRental1() { - return rental1; - } - - /** - * Imposta il valore della proprietà rental1. - * - * @param value allowed object is - * {@link Price.Rental1 } - */ - public void setRental1(Price.Rental1 value) { - this.rental1 = value; - } - - /** - * Recupera il valore della proprietà rental2. - * - * @return possible object is - * {@link Price.Rental2 } - */ - public Price.Rental2 getRental2() { - return rental2; - } - - /** - * Imposta il valore della proprietà rental2. - * - * @param value allowed object is - * {@link Price.Rental2 } - */ - public void setRental2(Price.Rental2 value) { - this.rental2 = value; - } - - /** - * Recupera il valore della proprietà rental3. - * - * @return possible object is - * {@link Price.Rental3 } - */ - public Price.Rental3 getRental3() { - return rental3; - } - - /** - * Imposta il valore della proprietà rental3. - * - * @param value allowed object is - * {@link Price.Rental3 } - */ - public void setRental3(Price.Rental3 value) { - this.rental3 = value; - } - - /** - * Recupera il valore della proprietà rental4. - * - * @return possible object is - * {@link Price.Rental4 } - */ - public Price.Rental4 getRental4() { - return rental4; - } - - /** - * Imposta il valore della proprietà rental4. - * - * @param value allowed object is - * {@link Price.Rental4 } - */ - public void setRental4(Price.Rental4 value) { - this.rental4 = value; - } - - /** - * Recupera il valore della proprietà rental5. - * - * @return possible object is - * {@link Price.Rental5 } - */ - public Price.Rental5 getRental5() { - return rental5; - } - - /** - * Imposta il valore della proprietà rental5. - * - * @param value allowed object is - * {@link Price.Rental5 } - */ - public void setRental5(Price.Rental5 value) { - this.rental5 = value; - } - - /** - * Recupera il valore della proprietà rental6. - * - * @return possible object is - * {@link Price.Rental6 } - */ - public Price.Rental6 getRental6() { - return rental6; - } - - /** - * Imposta il valore della proprietà rental6. - * - * @param value allowed object is - * {@link Price.Rental6 } - */ - public void setRental6(Price.Rental6 value) { - this.rental6 = value; - } - - /** - * Recupera il valore della proprietà rental7. - * - * @return possible object is - * {@link Price.Rental7 } - */ - public Price.Rental7 getRental7() { - return rental7; - } - - /** - * Imposta il valore della proprietà rental7. - * - * @param value allowed object is - * {@link Price.Rental7 } - */ - public void setRental7(Price.Rental7 value) { - this.rental7 = value; - } - - /** - * Recupera il valore della proprietà rental8. - * - * @return possible object is - * {@link Price.Rental8 } - */ - public Price.Rental8 getRental8() { - return rental8; - } - - /** - * Imposta il valore della proprietà rental8. - * - * @param value allowed object is - * {@link Price.Rental8 } - */ - public void setRental8(Price.Rental8 value) { - this.rental8 = value; - } - - /** - * Recupera il valore della proprietà rental9. - * - * @return possible object is - * {@link Price.Rental9 } - */ - public Price.Rental9 getRental9() { - return rental9; - } - - /** - * Imposta il valore della proprietà rental9. - * - * @param value allowed object is - * {@link Price.Rental9 } - */ - public void setRental9(Price.Rental9 value) { - this.rental9 = value; - } - - /** - * Recupera il valore della proprietà costPerClickBidPrice. - * - * @return possible object is - * {@link OverrideCurrencyAmount } - */ - public OverrideCurrencyAmount getCostPerClickBidPrice() { - return costPerClickBidPrice; - } - - /** - * Imposta il valore della proprietà costPerClickBidPrice. - * - * @param value allowed object is - * {@link OverrideCurrencyAmount } - */ - public void setCostPerClickBidPrice(OverrideCurrencyAmount value) { - this.costPerClickBidPrice = value; - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="QuantityPrice1" type="{}BasePriceCurrencyAmount" minOccurs="0"/>
-     *         <element name="QuantityLowerBound1" type="{}PositiveInteger" minOccurs="0"/>
-     *         <element name="QuantityPrice2" type="{}BasePriceCurrencyAmount" minOccurs="0"/>
-     *         <element name="QuantityLowerBound2" type="{}PositiveInteger" minOccurs="0"/>
-     *         <element name="QuantityPrice3" type="{}BasePriceCurrencyAmount" minOccurs="0"/>
-     *         <element name="QuantityLowerBound3" type="{}PositiveInteger" minOccurs="0"/>
-     *         <element name="QuantityPrice4" type="{}BasePriceCurrencyAmount" minOccurs="0"/>
-     *         <element name="QuantityLowerBound4" type="{}PositiveInteger" minOccurs="0"/>
-     *         <element name="QuantityPrice5" type="{}BasePriceCurrencyAmount" minOccurs="0"/>
-     *         <element name="QuantityLowerBound5" type="{}PositiveInteger" minOccurs="0"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "quantityPrice1", - "quantityLowerBound1", - "quantityPrice2", - "quantityLowerBound2", - "quantityPrice3", - "quantityLowerBound3", - "quantityPrice4", - "quantityLowerBound4", - "quantityPrice5", - "quantityLowerBound5" - }) - public static class QuantityPrice { - - @XmlElement(name = "QuantityPrice1") - protected BigDecimal quantityPrice1; - @XmlElement(name = "QuantityLowerBound1") - protected BigInteger quantityLowerBound1; - @XmlElement(name = "QuantityPrice2") - protected BigDecimal quantityPrice2; - @XmlElement(name = "QuantityLowerBound2") - protected BigInteger quantityLowerBound2; - @XmlElement(name = "QuantityPrice3") - protected BigDecimal quantityPrice3; - @XmlElement(name = "QuantityLowerBound3") - protected BigInteger quantityLowerBound3; - @XmlElement(name = "QuantityPrice4") - protected BigDecimal quantityPrice4; - @XmlElement(name = "QuantityLowerBound4") - protected BigInteger quantityLowerBound4; - @XmlElement(name = "QuantityPrice5") - protected BigDecimal quantityPrice5; - @XmlElement(name = "QuantityLowerBound5") - protected BigInteger quantityLowerBound5; - - /** - * Recupera il valore della proprietà quantityPrice1. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getQuantityPrice1() { - return quantityPrice1; - } - - /** - * Imposta il valore della proprietà quantityPrice1. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setQuantityPrice1(BigDecimal value) { - this.quantityPrice1 = value; - } - - /** - * Recupera il valore della proprietà quantityLowerBound1. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getQuantityLowerBound1() { - return quantityLowerBound1; - } - - /** - * Imposta il valore della proprietà quantityLowerBound1. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setQuantityLowerBound1(BigInteger value) { - this.quantityLowerBound1 = value; - } - - /** - * Recupera il valore della proprietà quantityPrice2. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getQuantityPrice2() { - return quantityPrice2; - } - - /** - * Imposta il valore della proprietà quantityPrice2. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setQuantityPrice2(BigDecimal value) { - this.quantityPrice2 = value; - } - - /** - * Recupera il valore della proprietà quantityLowerBound2. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getQuantityLowerBound2() { - return quantityLowerBound2; - } - - /** - * Imposta il valore della proprietà quantityLowerBound2. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setQuantityLowerBound2(BigInteger value) { - this.quantityLowerBound2 = value; - } - - /** - * Recupera il valore della proprietà quantityPrice3. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getQuantityPrice3() { - return quantityPrice3; - } - - /** - * Imposta il valore della proprietà quantityPrice3. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setQuantityPrice3(BigDecimal value) { - this.quantityPrice3 = value; - } - - /** - * Recupera il valore della proprietà quantityLowerBound3. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getQuantityLowerBound3() { - return quantityLowerBound3; - } - - /** - * Imposta il valore della proprietà quantityLowerBound3. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setQuantityLowerBound3(BigInteger value) { - this.quantityLowerBound3 = value; - } - - /** - * Recupera il valore della proprietà quantityPrice4. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getQuantityPrice4() { - return quantityPrice4; - } - - /** - * Imposta il valore della proprietà quantityPrice4. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setQuantityPrice4(BigDecimal value) { - this.quantityPrice4 = value; - } - - /** - * Recupera il valore della proprietà quantityLowerBound4. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getQuantityLowerBound4() { - return quantityLowerBound4; - } - - /** - * Imposta il valore della proprietà quantityLowerBound4. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setQuantityLowerBound4(BigInteger value) { - this.quantityLowerBound4 = value; - } - - /** - * Recupera il valore della proprietà quantityPrice5. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getQuantityPrice5() { - return quantityPrice5; - } - - /** - * Imposta il valore della proprietà quantityPrice5. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setQuantityPrice5(BigDecimal value) { - this.quantityPrice5 = value; - } - - /** - * Recupera il valore della proprietà quantityLowerBound5. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getQuantityLowerBound5() { - return quantityLowerBound5; - } - - /** - * Imposta il valore della proprietà quantityLowerBound5. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setQuantityLowerBound5(BigInteger value) { - this.quantityLowerBound5 = value; - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
-     *         <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
-     *         <element name="RentalPrice" type="{}OverrideCurrencyAmountWithTax"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "startDate", - "endDate", - "rentalPrice" - }) - public static class Rental0 { - - @XmlElement(name = "StartDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar startDate; - @XmlElement(name = "EndDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar endDate; - @XmlElement(name = "RentalPrice", required = true) - protected OverrideCurrencyAmountWithTax rentalPrice; - - /** - * Recupera il valore della proprietà startDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getStartDate() { - return startDate; - } - - /** - * Imposta il valore della proprietà startDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setStartDate(XMLGregorianCalendar value) { - this.startDate = value; - } - - /** - * Recupera il valore della proprietà endDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getEndDate() { - return endDate; - } - - /** - * Imposta il valore della proprietà endDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setEndDate(XMLGregorianCalendar value) { - this.endDate = value; - } - - /** - * Recupera il valore della proprietà rentalPrice. - * - * @return possible object is - * {@link OverrideCurrencyAmountWithTax } - */ - public OverrideCurrencyAmountWithTax getRentalPrice() { - return rentalPrice; - } - - /** - * Imposta il valore della proprietà rentalPrice. - * - * @param value allowed object is - * {@link OverrideCurrencyAmountWithTax } - */ - public void setRentalPrice(OverrideCurrencyAmountWithTax value) { - this.rentalPrice = value; - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
-     *         <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
-     *         <element name="RentalPrice" type="{}OverrideCurrencyAmountWithTax"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "startDate", - "endDate", - "rentalPrice" - }) - public static class Rental1 { - - @XmlElement(name = "StartDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar startDate; - @XmlElement(name = "EndDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar endDate; - @XmlElement(name = "RentalPrice", required = true) - protected OverrideCurrencyAmountWithTax rentalPrice; - - /** - * Recupera il valore della proprietà startDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getStartDate() { - return startDate; - } - - /** - * Imposta il valore della proprietà startDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setStartDate(XMLGregorianCalendar value) { - this.startDate = value; - } - - /** - * Recupera il valore della proprietà endDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getEndDate() { - return endDate; - } - - /** - * Imposta il valore della proprietà endDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setEndDate(XMLGregorianCalendar value) { - this.endDate = value; - } - - /** - * Recupera il valore della proprietà rentalPrice. - * - * @return possible object is - * {@link OverrideCurrencyAmountWithTax } - */ - public OverrideCurrencyAmountWithTax getRentalPrice() { - return rentalPrice; - } - - /** - * Imposta il valore della proprietà rentalPrice. - * - * @param value allowed object is - * {@link OverrideCurrencyAmountWithTax } - */ - public void setRentalPrice(OverrideCurrencyAmountWithTax value) { - this.rentalPrice = value; - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
-     *         <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
-     *         <element name="RentalPrice" type="{}OverrideCurrencyAmountWithTax"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "startDate", - "endDate", - "rentalPrice" - }) - public static class Rental2 { - - @XmlElement(name = "StartDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar startDate; - @XmlElement(name = "EndDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar endDate; - @XmlElement(name = "RentalPrice", required = true) - protected OverrideCurrencyAmountWithTax rentalPrice; - - /** - * Recupera il valore della proprietà startDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getStartDate() { - return startDate; - } - - /** - * Imposta il valore della proprietà startDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setStartDate(XMLGregorianCalendar value) { - this.startDate = value; - } - - /** - * Recupera il valore della proprietà endDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getEndDate() { - return endDate; - } - - /** - * Imposta il valore della proprietà endDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setEndDate(XMLGregorianCalendar value) { - this.endDate = value; - } - - /** - * Recupera il valore della proprietà rentalPrice. - * - * @return possible object is - * {@link OverrideCurrencyAmountWithTax } - */ - public OverrideCurrencyAmountWithTax getRentalPrice() { - return rentalPrice; - } - - /** - * Imposta il valore della proprietà rentalPrice. - * - * @param value allowed object is - * {@link OverrideCurrencyAmountWithTax } - */ - public void setRentalPrice(OverrideCurrencyAmountWithTax value) { - this.rentalPrice = value; - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
-     *         <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
-     *         <element name="RentalPrice" type="{}OverrideCurrencyAmountWithTax"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "startDate", - "endDate", - "rentalPrice" - }) - public static class Rental3 { - - @XmlElement(name = "StartDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar startDate; - @XmlElement(name = "EndDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar endDate; - @XmlElement(name = "RentalPrice", required = true) - protected OverrideCurrencyAmountWithTax rentalPrice; - - /** - * Recupera il valore della proprietà startDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getStartDate() { - return startDate; - } - - /** - * Imposta il valore della proprietà startDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setStartDate(XMLGregorianCalendar value) { - this.startDate = value; - } - - /** - * Recupera il valore della proprietà endDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getEndDate() { - return endDate; - } - - /** - * Imposta il valore della proprietà endDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setEndDate(XMLGregorianCalendar value) { - this.endDate = value; - } - - /** - * Recupera il valore della proprietà rentalPrice. - * - * @return possible object is - * {@link OverrideCurrencyAmountWithTax } - */ - public OverrideCurrencyAmountWithTax getRentalPrice() { - return rentalPrice; - } - - /** - * Imposta il valore della proprietà rentalPrice. - * - * @param value allowed object is - * {@link OverrideCurrencyAmountWithTax } - */ - public void setRentalPrice(OverrideCurrencyAmountWithTax value) { - this.rentalPrice = value; - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
-     *         <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
-     *         <element name="RentalPrice" type="{}OverrideCurrencyAmountWithTax"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "startDate", - "endDate", - "rentalPrice" - }) - public static class Rental4 { - - @XmlElement(name = "StartDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar startDate; - @XmlElement(name = "EndDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar endDate; - @XmlElement(name = "RentalPrice", required = true) - protected OverrideCurrencyAmountWithTax rentalPrice; - - /** - * Recupera il valore della proprietà startDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getStartDate() { - return startDate; - } - - /** - * Imposta il valore della proprietà startDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setStartDate(XMLGregorianCalendar value) { - this.startDate = value; - } - - /** - * Recupera il valore della proprietà endDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getEndDate() { - return endDate; - } - - /** - * Imposta il valore della proprietà endDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setEndDate(XMLGregorianCalendar value) { - this.endDate = value; - } - - /** - * Recupera il valore della proprietà rentalPrice. - * - * @return possible object is - * {@link OverrideCurrencyAmountWithTax } - */ - public OverrideCurrencyAmountWithTax getRentalPrice() { - return rentalPrice; - } - - /** - * Imposta il valore della proprietà rentalPrice. - * - * @param value allowed object is - * {@link OverrideCurrencyAmountWithTax } - */ - public void setRentalPrice(OverrideCurrencyAmountWithTax value) { - this.rentalPrice = value; - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
-     *         <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
-     *         <element name="RentalPrice" type="{}OverrideCurrencyAmountWithTax"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "startDate", - "endDate", - "rentalPrice" - }) - public static class Rental5 { - - @XmlElement(name = "StartDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar startDate; - @XmlElement(name = "EndDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar endDate; - @XmlElement(name = "RentalPrice", required = true) - protected OverrideCurrencyAmountWithTax rentalPrice; - - /** - * Recupera il valore della proprietà startDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getStartDate() { - return startDate; - } - - /** - * Imposta il valore della proprietà startDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setStartDate(XMLGregorianCalendar value) { - this.startDate = value; - } - - /** - * Recupera il valore della proprietà endDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getEndDate() { - return endDate; - } - - /** - * Imposta il valore della proprietà endDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setEndDate(XMLGregorianCalendar value) { - this.endDate = value; - } - - /** - * Recupera il valore della proprietà rentalPrice. - * - * @return possible object is - * {@link OverrideCurrencyAmountWithTax } - */ - public OverrideCurrencyAmountWithTax getRentalPrice() { - return rentalPrice; - } - - /** - * Imposta il valore della proprietà rentalPrice. - * - * @param value allowed object is - * {@link OverrideCurrencyAmountWithTax } - */ - public void setRentalPrice(OverrideCurrencyAmountWithTax value) { - this.rentalPrice = value; - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
-     *         <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
-     *         <element name="RentalPrice" type="{}OverrideCurrencyAmountWithTax"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "startDate", - "endDate", - "rentalPrice" - }) - public static class Rental6 { - - @XmlElement(name = "StartDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar startDate; - @XmlElement(name = "EndDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar endDate; - @XmlElement(name = "RentalPrice", required = true) - protected OverrideCurrencyAmountWithTax rentalPrice; - - /** - * Recupera il valore della proprietà startDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getStartDate() { - return startDate; - } - - /** - * Imposta il valore della proprietà startDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setStartDate(XMLGregorianCalendar value) { - this.startDate = value; - } - - /** - * Recupera il valore della proprietà endDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getEndDate() { - return endDate; - } - - /** - * Imposta il valore della proprietà endDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setEndDate(XMLGregorianCalendar value) { - this.endDate = value; - } - - /** - * Recupera il valore della proprietà rentalPrice. - * - * @return possible object is - * {@link OverrideCurrencyAmountWithTax } - */ - public OverrideCurrencyAmountWithTax getRentalPrice() { - return rentalPrice; - } - - /** - * Imposta il valore della proprietà rentalPrice. - * - * @param value allowed object is - * {@link OverrideCurrencyAmountWithTax } - */ - public void setRentalPrice(OverrideCurrencyAmountWithTax value) { - this.rentalPrice = value; - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
-     *         <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
-     *         <element name="RentalPrice" type="{}OverrideCurrencyAmountWithTax"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "startDate", - "endDate", - "rentalPrice" - }) - public static class Rental7 { - - @XmlElement(name = "StartDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar startDate; - @XmlElement(name = "EndDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar endDate; - @XmlElement(name = "RentalPrice", required = true) - protected OverrideCurrencyAmountWithTax rentalPrice; - - /** - * Recupera il valore della proprietà startDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getStartDate() { - return startDate; - } - - /** - * Imposta il valore della proprietà startDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setStartDate(XMLGregorianCalendar value) { - this.startDate = value; - } - - /** - * Recupera il valore della proprietà endDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getEndDate() { - return endDate; - } - - /** - * Imposta il valore della proprietà endDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setEndDate(XMLGregorianCalendar value) { - this.endDate = value; - } - - /** - * Recupera il valore della proprietà rentalPrice. - * - * @return possible object is - * {@link OverrideCurrencyAmountWithTax } - */ - public OverrideCurrencyAmountWithTax getRentalPrice() { - return rentalPrice; - } - - /** - * Imposta il valore della proprietà rentalPrice. - * - * @param value allowed object is - * {@link OverrideCurrencyAmountWithTax } - */ - public void setRentalPrice(OverrideCurrencyAmountWithTax value) { - this.rentalPrice = value; - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
-     *         <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
-     *         <element name="RentalPrice" type="{}OverrideCurrencyAmountWithTax"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "startDate", - "endDate", - "rentalPrice" - }) - public static class Rental8 { - - @XmlElement(name = "StartDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar startDate; - @XmlElement(name = "EndDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar endDate; - @XmlElement(name = "RentalPrice", required = true) - protected OverrideCurrencyAmountWithTax rentalPrice; - - /** - * Recupera il valore della proprietà startDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getStartDate() { - return startDate; - } - - /** - * Imposta il valore della proprietà startDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setStartDate(XMLGregorianCalendar value) { - this.startDate = value; - } - - /** - * Recupera il valore della proprietà endDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getEndDate() { - return endDate; - } - - /** - * Imposta il valore della proprietà endDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setEndDate(XMLGregorianCalendar value) { - this.endDate = value; - } - - /** - * Recupera il valore della proprietà rentalPrice. - * - * @return possible object is - * {@link OverrideCurrencyAmountWithTax } - */ - public OverrideCurrencyAmountWithTax getRentalPrice() { - return rentalPrice; - } - - /** - * Imposta il valore della proprietà rentalPrice. - * - * @param value allowed object is - * {@link OverrideCurrencyAmountWithTax } - */ - public void setRentalPrice(OverrideCurrencyAmountWithTax value) { - this.rentalPrice = value; - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
-     *         <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
-     *         <element name="RentalPrice" type="{}OverrideCurrencyAmountWithTax"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "startDate", - "endDate", - "rentalPrice" - }) - public static class Rental9 { - - @XmlElement(name = "StartDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar startDate; - @XmlElement(name = "EndDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar endDate; - @XmlElement(name = "RentalPrice", required = true) - protected OverrideCurrencyAmountWithTax rentalPrice; - - /** - * Recupera il valore della proprietà startDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getStartDate() { - return startDate; - } - - /** - * Imposta il valore della proprietà startDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setStartDate(XMLGregorianCalendar value) { - this.startDate = value; - } - - /** - * Recupera il valore della proprietà endDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getEndDate() { - return endDate; - } - - /** - * Imposta il valore della proprietà endDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setEndDate(XMLGregorianCalendar value) { - this.endDate = value; - } - - /** - * Recupera il valore della proprietà rentalPrice. - * - * @return possible object is - * {@link OverrideCurrencyAmountWithTax } - */ - public OverrideCurrencyAmountWithTax getRentalPrice() { - return rentalPrice; - } - - /** - * Imposta il valore della proprietà rentalPrice. - * - * @param value allowed object is - * {@link OverrideCurrencyAmountWithTax } - */ - public void setRentalPrice(OverrideCurrencyAmountWithTax value) { - this.rentalPrice = value; - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="StartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
-     *         <element name="EndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
-     *         <element name="SalePrice" type="{}OverrideCurrencyAmount"/>
-     *         <element name="SalePricePoints" type="{}PositiveInteger" minOccurs="0"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "startDate", - "endDate", - "salePrice", - "salePricePoints" - }) - public static class Sale { - - @XmlElement(name = "StartDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar startDate; - @XmlElement(name = "EndDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar endDate; - @XmlElement(name = "SalePrice", required = true) - protected OverrideCurrencyAmount salePrice; - @XmlElement(name = "SalePricePoints") - protected BigInteger salePricePoints; - - /** - * Recupera il valore della proprietà startDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getStartDate() { - return startDate; - } - - /** - * Imposta il valore della proprietà startDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setStartDate(XMLGregorianCalendar value) { - this.startDate = value; - } - - /** - * Recupera il valore della proprietà endDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getEndDate() { - return endDate; - } - - /** - * Imposta il valore della proprietà endDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setEndDate(XMLGregorianCalendar value) { - this.endDate = value; - } - - /** - * Recupera il valore della proprietà salePrice. - * - * @return possible object is - * {@link OverrideCurrencyAmount } - */ - public OverrideCurrencyAmount getSalePrice() { - return salePrice; - } - - /** - * Imposta il valore della proprietà salePrice. - * - * @param value allowed object is - * {@link OverrideCurrencyAmount } - */ - public void setSalePrice(OverrideCurrencyAmount value) { - this.salePrice = value; - } - - /** - * Recupera il valore della proprietà salePricePoints. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getSalePricePoints() { - return salePricePoints; - } - - /** - * Imposta il valore della proprietà salePricePoints. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setSalePricePoints(BigInteger value) { - this.salePricePoints = value; - } - - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Product.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Product.java deleted file mode 100644 index 0ffcbdcb12..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Product.java +++ /dev/null @@ -1,2574 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import javax.xml.datatype.XMLGregorianCalendar; -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.List; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element ref="{}SKU"/>
- *         <element ref="{}StandardProductID" minOccurs="0"/>
- *         <element name="GtinExemptionReason" minOccurs="0">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <enumeration value="bundle"/>
- *               <enumeration value="part"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element ref="{}RelatedProductID" minOccurs="0"/>
- *         <element ref="{}ProductTaxCode" minOccurs="0"/>
- *         <element name="LaunchDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
- *         <element name="DiscontinueDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
- *         <element name="ReleaseDate" type="{http://www.w3.org/2001/XMLSchema}dateTime" minOccurs="0"/>
- *         <element name="ExternalProductUrl" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
- *         <element name="OffAmazonChannel" minOccurs="0">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <enumeration value="advertise"/>
- *               <enumeration value="exclude"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="OnAmazonChannel" minOccurs="0">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <enumeration value="sell"/>
- *               <enumeration value="advertise"/>
- *               <enumeration value="exclude"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="Condition" type="{}ConditionInfo" minOccurs="0"/>
- *         <element name="Rebate" type="{}RebateType" maxOccurs="2" minOccurs="0"/>
- *         <element name="ItemPackageQuantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *         <element name="NumberOfItems" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *         <element name="LiquidVolume" type="{}VolumeDimension" minOccurs="0"/>
- *         <element name="DescriptionData" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="Title" type="{}LongStringNotNull"/>
- *                   <element name="Brand" type="{}HundredString" minOccurs="0"/>
- *                   <element name="Designer" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="Description" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
- *                         <maxLength value="2000"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="BulletPoint" type="{}LongStringNotNull" maxOccurs="5" minOccurs="0"/>
- *                   <element name="ItemDimensions" type="{}Dimensions" minOccurs="0"/>
- *                   <element name="PackageDimensions" type="{}Dimensions" minOccurs="0"/>
- *                   <element name="PackageWeight" type="{}PositiveWeightDimension" minOccurs="0"/>
- *                   <element name="ShippingWeight" type="{}PositiveWeightDimension" minOccurs="0"/>
- *                   <element name="MerchantCatalogNumber" type="{}FortyStringNotNull" minOccurs="0"/>
- *                   <element name="MSRP" type="{}CurrencyAmount" minOccurs="0"/>
- *                   <element name="MSRPWithTax" type="{}CurrencyAmount" minOccurs="0"/>
- *                   <element name="MaxOrderQuantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *                   <element name="SerialNumberRequired" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *                   <element name="Prop65" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *                   <element name="CPSIAWarning" maxOccurs="4" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="choking_hazard_balloon"/>
- *                         <enumeration value="choking_hazard_contains_a_marble"/>
- *                         <enumeration value="choking_hazard_contains_small_ball"/>
- *                         <enumeration value="choking_hazard_is_a_marble"/>
- *                         <enumeration value="choking_hazard_is_a_small_ball"/>
- *                         <enumeration value="choking_hazard_small_parts"/>
- *                         <enumeration value="no_warning_applicable"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="CPSIAWarningDescription" type="{}TwoFiftyStringNotNull" minOccurs="0"/>
- *                   <element name="LegalDisclaimer" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
- *                         <maxLength value="2500"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="Manufacturer" type="{}HundredString" minOccurs="0"/>
- *                   <element name="MfrPartNumber" type="{}FortyStringNotNull" minOccurs="0"/>
- *                   <element name="SearchTerms" type="{}StringNotNull" maxOccurs="5" minOccurs="0"/>
- *                   <element name="PlatinumKeywords" type="{}StringNotNull" maxOccurs="20" minOccurs="0"/>
- *                   <element name="Memorabilia" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *                   <element name="Autographed" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *                   <element name="UsedFor" type="{}StringNotNull" maxOccurs="5" minOccurs="0"/>
- *                   <element name="ItemType" type="{}LongStringNotNull" minOccurs="0"/>
- *                   <element name="OtherItemAttributes" type="{}LongStringNotNull" maxOccurs="5" minOccurs="0"/>
- *                   <element name="TargetAudience" type="{}StringNotNull" maxOccurs="4" minOccurs="0"/>
- *                   <element name="SubjectContent" type="{}StringNotNull" maxOccurs="5" minOccurs="0"/>
- *                   <element name="IsGiftWrapAvailable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *                   <element name="IsGiftMessageAvailable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *                   <element name="PromotionKeywords" type="{}StringNotNull" maxOccurs="10" minOccurs="0"/>
- *                   <element name="IsDiscontinuedByManufacturer" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *                   <element name="DeliveryScheduleGroupID" type="{}StringNotNull" minOccurs="0"/>
- *                   <element ref="{}DeliveryChannel" maxOccurs="2" minOccurs="0"/>
- *                   <element name="PurchasingChannel" maxOccurs="2" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="in_store"/>
- *                         <enumeration value="online"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="MaxAggregateShipQuantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *                   <element name="IsCustomizable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *                   <element name="CustomizableTemplateName" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="RecommendedBrowseNode" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" maxOccurs="2" minOccurs="0"/>
- *                   <element name="MerchantShippingGroupName" type="{}LongString" minOccurs="0"/>
- *                   <element name="FEDAS_ID" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
- *                         <length value="6"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="TSDAgeWarning" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="not_suitable_under_36_months"/>
- *                         <enumeration value="not_suitable_under_3_years_supervision"/>
- *                         <enumeration value="not_suitable_under_4_years_supervision"/>
- *                         <enumeration value="not_suitable_under_5_years_supervision"/>
- *                         <enumeration value="not_suitable_under_6_years_supervision"/>
- *                         <enumeration value="not_suitable_under_7_years_supervision"/>
- *                         <enumeration value="not_suitable_under_8_years_supervision"/>
- *                         <enumeration value="not_suitable_under_9_years_supervision"/>
- *                         <enumeration value="not_suitable_under_10_years_supervision"/>
- *                         <enumeration value="not_suitable_under_11_years_supervision"/>
- *                         <enumeration value="not_suitable_under_12_years_supervision"/>
- *                         <enumeration value="not_suitable_under_13_years_supervision"/>
- *                         <enumeration value="not_suitable_under_14_years_supervision"/>
- *                         <enumeration value="no_warning_applicable"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="TSDWarning" maxOccurs="8" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="only_domestic_use"/>
- *                         <enumeration value="adult_supervision_required"/>
- *                         <enumeration value="protective_equipment_required"/>
- *                         <enumeration value="water_adult_supervision_required"/>
- *                         <enumeration value="toy_inside"/>
- *                         <enumeration value="no_protective_equipment"/>
- *                         <enumeration value="risk_of_entanglement"/>
- *                         <enumeration value="fragrances_allergy_risk"/>
- *                         <enumeration value="no_warning_applicable"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="TSDLanguage" maxOccurs="21" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="English"/>
- *                         <enumeration value="French"/>
- *                         <enumeration value="German"/>
- *                         <enumeration value="Italian"/>
- *                         <enumeration value="Spanish"/>
- *                         <enumeration value="Dutch"/>
- *                         <enumeration value="Polish"/>
- *                         <enumeration value="Bulgarian"/>
- *                         <enumeration value="Czech"/>
- *                         <enumeration value="Danish"/>
- *                         <enumeration value="Estonian"/>
- *                         <enumeration value="Finnish"/>
- *                         <enumeration value="Greek"/>
- *                         <enumeration value="Hungarian"/>
- *                         <enumeration value="Latvian"/>
- *                         <enumeration value="Lithuanian"/>
- *                         <enumeration value="Portuguese"/>
- *                         <enumeration value="Romanian"/>
- *                         <enumeration value="Slovak"/>
- *                         <enumeration value="Slovene"/>
- *                         <enumeration value="Swedish"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="OptionalPaymentTypeExclusion" maxOccurs="2" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="cash_on_delivery"/>
- *                         <enumeration value="cvs"/>
- *                         <enumeration value="exclude_none"/>
- *                         <enumeration value="exclude cod"/>
- *                         <enumeration value="exclude cvs"/>
- *                         <enumeration value="exclude cod and cvs"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="DistributionDesignation" type="{}DistributionDesignationValues" minOccurs="0"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="PromoTag" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="PromoTagType">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
- *                         <enumeration value="Sale"/>
- *                         <enumeration value="New"/>
- *                         <enumeration value="NewArrival"/>
- *                         <enumeration value="WebOnly"/>
- *                         <enumeration value="Clearance"/>
- *                         <enumeration value="LimitedOffer"/>
- *                         <enumeration value="SpecialOffer"/>
- *                         <enumeration value="SpecialPurchase"/>
- *                         <enumeration value="OnlyInStores"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="EffectiveFromDate" type="{http://www.w3.org/2001/XMLSchema}date"/>
- *                   <element name="EffectiveThroughDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="DiscoveryData" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="Priority" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}positiveInteger">
- *                         <minInclusive value="1"/>
- *                         <maxInclusive value="10"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="BrowseExclusion" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *                   <element name="RecommendationExclusion" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="ProductData" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <choice>
- *                   <element ref="{}Clothing"/>
- *                   <element ref="{}ToysBaby"/>
- *                   <element ref="{}Shoes"/>
- *                 </choice>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="ShippedByFreight" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="EnhancedImageURL" type="{http://www.w3.org/2001/XMLSchema}anyURI" maxOccurs="2" minOccurs="0"/>
- *         <element name="RegisteredParameter" minOccurs="0">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <enumeration value="PrivateLabel"/>
- *               <enumeration value="Specialized"/>
- *               <enumeration value="NonConsumer"/>
- *               <enumeration value="PreConfigured"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "sku", - "standardProductID", - "gtinExemptionReason", - "relatedProductID", - "productTaxCode", - "launchDate", - "discontinueDate", - "releaseDate", - "externalProductUrl", - "offAmazonChannel", - "onAmazonChannel", - "condition", - "rebate", - "itemPackageQuantity", - "numberOfItems", - "liquidVolume", - "descriptionData", - "promoTag", - "discoveryData", - "productData", - "shippedByFreight", - "enhancedImageURL", - "registeredParameter" -}) -@XmlRootElement(name = "Product") -public class Product { - - @XmlElement(name = "SKU", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String sku; - @XmlElement(name = "StandardProductID") - protected StandardProductID standardProductID; - @XmlElement(name = "GtinExemptionReason") - protected String gtinExemptionReason; - @XmlElement(name = "RelatedProductID") - protected RelatedProductID relatedProductID; - @XmlElement(name = "ProductTaxCode") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String productTaxCode; - @XmlElement(name = "LaunchDate") - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar launchDate; - @XmlElement(name = "DiscontinueDate") - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar discontinueDate; - @XmlElement(name = "ReleaseDate") - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar releaseDate; - @XmlElement(name = "ExternalProductUrl") - @XmlSchemaType(name = "anyURI") - protected String externalProductUrl; - @XmlElement(name = "OffAmazonChannel") - protected String offAmazonChannel; - @XmlElement(name = "OnAmazonChannel") - protected String onAmazonChannel; - @XmlElement(name = "Condition") - protected ConditionInfo condition; - @XmlElement(name = "Rebate") - protected List rebate; - @XmlElement(name = "ItemPackageQuantity") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger itemPackageQuantity; - @XmlElement(name = "NumberOfItems") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger numberOfItems; - @XmlElement(name = "LiquidVolume") - protected VolumeDimension liquidVolume; - @XmlElement(name = "DescriptionData") - protected Product.DescriptionData descriptionData; - @XmlElement(name = "PromoTag") - protected Product.PromoTag promoTag; - @XmlElement(name = "DiscoveryData") - protected Product.DiscoveryData discoveryData; - @XmlElement(name = "ProductData") - protected Product.ProductData productData; - @XmlElement(name = "ShippedByFreight") - protected Boolean shippedByFreight; - @XmlElement(name = "EnhancedImageURL") - @XmlSchemaType(name = "anyURI") - protected List enhancedImageURL; - @XmlElement(name = "RegisteredParameter") - protected String registeredParameter; - - /** - * Recupera il valore della proprietà sku. - * - * @return possible object is - * {@link String } - */ - public String getSKU() { - return sku; - } - - /** - * Imposta il valore della proprietà sku. - * - * @param value allowed object is - * {@link String } - */ - public void setSKU(String value) { - this.sku = value; - } - - /** - * Recupera il valore della proprietà standardProductID. - * - * @return possible object is - * {@link StandardProductID } - */ - public StandardProductID getStandardProductID() { - return standardProductID; - } - - /** - * Imposta il valore della proprietà standardProductID. - * - * @param value allowed object is - * {@link StandardProductID } - */ - public void setStandardProductID(StandardProductID value) { - this.standardProductID = value; - } - - /** - * Recupera il valore della proprietà gtinExemptionReason. - * - * @return possible object is - * {@link String } - */ - public String getGtinExemptionReason() { - return gtinExemptionReason; - } - - /** - * Imposta il valore della proprietà gtinExemptionReason. - * - * @param value allowed object is - * {@link String } - */ - public void setGtinExemptionReason(String value) { - this.gtinExemptionReason = value; - } - - /** - * Recupera il valore della proprietà relatedProductID. - * - * @return possible object is - * {@link RelatedProductID } - */ - public RelatedProductID getRelatedProductID() { - return relatedProductID; - } - - /** - * Imposta il valore della proprietà relatedProductID. - * - * @param value allowed object is - * {@link RelatedProductID } - */ - public void setRelatedProductID(RelatedProductID value) { - this.relatedProductID = value; - } - - /** - * Recupera il valore della proprietà productTaxCode. - * - * @return possible object is - * {@link String } - */ - public String getProductTaxCode() { - return productTaxCode; - } - - /** - * Imposta il valore della proprietà productTaxCode. - * - * @param value allowed object is - * {@link String } - */ - public void setProductTaxCode(String value) { - this.productTaxCode = value; - } - - /** - * Recupera il valore della proprietà launchDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getLaunchDate() { - return launchDate; - } - - /** - * Imposta il valore della proprietà launchDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setLaunchDate(XMLGregorianCalendar value) { - this.launchDate = value; - } - - /** - * Recupera il valore della proprietà discontinueDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getDiscontinueDate() { - return discontinueDate; - } - - /** - * Imposta il valore della proprietà discontinueDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setDiscontinueDate(XMLGregorianCalendar value) { - this.discontinueDate = value; - } - - /** - * Recupera il valore della proprietà releaseDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getReleaseDate() { - return releaseDate; - } - - /** - * Imposta il valore della proprietà releaseDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setReleaseDate(XMLGregorianCalendar value) { - this.releaseDate = value; - } - - /** - * Recupera il valore della proprietà externalProductUrl. - * - * @return possible object is - * {@link String } - */ - public String getExternalProductUrl() { - return externalProductUrl; - } - - /** - * Imposta il valore della proprietà externalProductUrl. - * - * @param value allowed object is - * {@link String } - */ - public void setExternalProductUrl(String value) { - this.externalProductUrl = value; - } - - /** - * Recupera il valore della proprietà offAmazonChannel. - * - * @return possible object is - * {@link String } - */ - public String getOffAmazonChannel() { - return offAmazonChannel; - } - - /** - * Imposta il valore della proprietà offAmazonChannel. - * - * @param value allowed object is - * {@link String } - */ - public void setOffAmazonChannel(String value) { - this.offAmazonChannel = value; - } - - /** - * Recupera il valore della proprietà onAmazonChannel. - * - * @return possible object is - * {@link String } - */ - public String getOnAmazonChannel() { - return onAmazonChannel; - } - - /** - * Imposta il valore della proprietà onAmazonChannel. - * - * @param value allowed object is - * {@link String } - */ - public void setOnAmazonChannel(String value) { - this.onAmazonChannel = value; - } - - /** - * Recupera il valore della proprietà condition. - * - * @return possible object is - * {@link ConditionInfo } - */ - public ConditionInfo getCondition() { - return condition; - } - - /** - * Imposta il valore della proprietà condition. - * - * @param value allowed object is - * {@link ConditionInfo } - */ - public void setCondition(ConditionInfo value) { - this.condition = value; - } - - /** - * Gets the value of the rebate property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the rebate property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getRebate().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link RebateType } - */ - public List getRebate() { - if (rebate == null) { - rebate = new ArrayList(); - } - return this.rebate; - } - - /** - * Recupera il valore della proprietà itemPackageQuantity. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getItemPackageQuantity() { - return itemPackageQuantity; - } - - /** - * Imposta il valore della proprietà itemPackageQuantity. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setItemPackageQuantity(BigInteger value) { - this.itemPackageQuantity = value; - } - - /** - * Recupera il valore della proprietà numberOfItems. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getNumberOfItems() { - return numberOfItems; - } - - /** - * Imposta il valore della proprietà numberOfItems. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setNumberOfItems(BigInteger value) { - this.numberOfItems = value; - } - - /** - * Recupera il valore della proprietà liquidVolume. - * - * @return possible object is - * {@link VolumeDimension } - */ - public VolumeDimension getLiquidVolume() { - return liquidVolume; - } - - /** - * Imposta il valore della proprietà liquidVolume. - * - * @param value allowed object is - * {@link VolumeDimension } - */ - public void setLiquidVolume(VolumeDimension value) { - this.liquidVolume = value; - } - - /** - * Recupera il valore della proprietà descriptionData. - * - * @return possible object is - * {@link Product.DescriptionData } - */ - public Product.DescriptionData getDescriptionData() { - return descriptionData; - } - - /** - * Imposta il valore della proprietà descriptionData. - * - * @param value allowed object is - * {@link Product.DescriptionData } - */ - public void setDescriptionData(Product.DescriptionData value) { - this.descriptionData = value; - } - - /** - * Recupera il valore della proprietà promoTag. - * - * @return possible object is - * {@link Product.PromoTag } - */ - public Product.PromoTag getPromoTag() { - return promoTag; - } - - /** - * Imposta il valore della proprietà promoTag. - * - * @param value allowed object is - * {@link Product.PromoTag } - */ - public void setPromoTag(Product.PromoTag value) { - this.promoTag = value; - } - - /** - * Recupera il valore della proprietà discoveryData. - * - * @return possible object is - * {@link Product.DiscoveryData } - */ - public Product.DiscoveryData getDiscoveryData() { - return discoveryData; - } - - /** - * Imposta il valore della proprietà discoveryData. - * - * @param value allowed object is - * {@link Product.DiscoveryData } - */ - public void setDiscoveryData(Product.DiscoveryData value) { - this.discoveryData = value; - } - - /** - * Recupera il valore della proprietà productData. - * - * @return possible object is - * {@link Product.ProductData } - */ - public Product.ProductData getProductData() { - return productData; - } - - /** - * Imposta il valore della proprietà productData. - * - * @param value allowed object is - * {@link Product.ProductData } - */ - public void setProductData(Product.ProductData value) { - this.productData = value; - } - - /** - * Recupera il valore della proprietà shippedByFreight. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isShippedByFreight() { - return shippedByFreight; - } - - /** - * Imposta il valore della proprietà shippedByFreight. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setShippedByFreight(Boolean value) { - this.shippedByFreight = value; - } - - /** - * Gets the value of the enhancedImageURL property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the enhancedImageURL property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getEnhancedImageURL().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getEnhancedImageURL() { - if (enhancedImageURL == null) { - enhancedImageURL = new ArrayList(); - } - return this.enhancedImageURL; - } - - /** - * Recupera il valore della proprietà registeredParameter. - * - * @return possible object is - * {@link String } - */ - public String getRegisteredParameter() { - return registeredParameter; - } - - /** - * Imposta il valore della proprietà registeredParameter. - * - * @param value allowed object is - * {@link String } - */ - public void setRegisteredParameter(String value) { - this.registeredParameter = value; - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="Title" type="{}LongStringNotNull"/>
-     *         <element name="Brand" type="{}HundredString" minOccurs="0"/>
-     *         <element name="Designer" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="Description" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
-     *               <maxLength value="2000"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="BulletPoint" type="{}LongStringNotNull" maxOccurs="5" minOccurs="0"/>
-     *         <element name="ItemDimensions" type="{}Dimensions" minOccurs="0"/>
-     *         <element name="PackageDimensions" type="{}Dimensions" minOccurs="0"/>
-     *         <element name="PackageWeight" type="{}PositiveWeightDimension" minOccurs="0"/>
-     *         <element name="ShippingWeight" type="{}PositiveWeightDimension" minOccurs="0"/>
-     *         <element name="MerchantCatalogNumber" type="{}FortyStringNotNull" minOccurs="0"/>
-     *         <element name="MSRP" type="{}CurrencyAmount" minOccurs="0"/>
-     *         <element name="MSRPWithTax" type="{}CurrencyAmount" minOccurs="0"/>
-     *         <element name="MaxOrderQuantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
-     *         <element name="SerialNumberRequired" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
-     *         <element name="Prop65" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
-     *         <element name="CPSIAWarning" maxOccurs="4" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="choking_hazard_balloon"/>
-     *               <enumeration value="choking_hazard_contains_a_marble"/>
-     *               <enumeration value="choking_hazard_contains_small_ball"/>
-     *               <enumeration value="choking_hazard_is_a_marble"/>
-     *               <enumeration value="choking_hazard_is_a_small_ball"/>
-     *               <enumeration value="choking_hazard_small_parts"/>
-     *               <enumeration value="no_warning_applicable"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="CPSIAWarningDescription" type="{}TwoFiftyStringNotNull" minOccurs="0"/>
-     *         <element name="LegalDisclaimer" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
-     *               <maxLength value="2500"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="Manufacturer" type="{}HundredString" minOccurs="0"/>
-     *         <element name="MfrPartNumber" type="{}FortyStringNotNull" minOccurs="0"/>
-     *         <element name="SearchTerms" type="{}StringNotNull" maxOccurs="5" minOccurs="0"/>
-     *         <element name="PlatinumKeywords" type="{}StringNotNull" maxOccurs="20" minOccurs="0"/>
-     *         <element name="Memorabilia" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
-     *         <element name="Autographed" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
-     *         <element name="UsedFor" type="{}StringNotNull" maxOccurs="5" minOccurs="0"/>
-     *         <element name="ItemType" type="{}LongStringNotNull" minOccurs="0"/>
-     *         <element name="OtherItemAttributes" type="{}LongStringNotNull" maxOccurs="5" minOccurs="0"/>
-     *         <element name="TargetAudience" type="{}StringNotNull" maxOccurs="4" minOccurs="0"/>
-     *         <element name="SubjectContent" type="{}StringNotNull" maxOccurs="5" minOccurs="0"/>
-     *         <element name="IsGiftWrapAvailable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
-     *         <element name="IsGiftMessageAvailable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
-     *         <element name="PromotionKeywords" type="{}StringNotNull" maxOccurs="10" minOccurs="0"/>
-     *         <element name="IsDiscontinuedByManufacturer" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
-     *         <element name="DeliveryScheduleGroupID" type="{}StringNotNull" minOccurs="0"/>
-     *         <element ref="{}DeliveryChannel" maxOccurs="2" minOccurs="0"/>
-     *         <element name="PurchasingChannel" maxOccurs="2" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="in_store"/>
-     *               <enumeration value="online"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="MaxAggregateShipQuantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
-     *         <element name="IsCustomizable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
-     *         <element name="CustomizableTemplateName" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="RecommendedBrowseNode" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" maxOccurs="2" minOccurs="0"/>
-     *         <element name="MerchantShippingGroupName" type="{}LongString" minOccurs="0"/>
-     *         <element name="FEDAS_ID" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
-     *               <length value="6"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="TSDAgeWarning" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="not_suitable_under_36_months"/>
-     *               <enumeration value="not_suitable_under_3_years_supervision"/>
-     *               <enumeration value="not_suitable_under_4_years_supervision"/>
-     *               <enumeration value="not_suitable_under_5_years_supervision"/>
-     *               <enumeration value="not_suitable_under_6_years_supervision"/>
-     *               <enumeration value="not_suitable_under_7_years_supervision"/>
-     *               <enumeration value="not_suitable_under_8_years_supervision"/>
-     *               <enumeration value="not_suitable_under_9_years_supervision"/>
-     *               <enumeration value="not_suitable_under_10_years_supervision"/>
-     *               <enumeration value="not_suitable_under_11_years_supervision"/>
-     *               <enumeration value="not_suitable_under_12_years_supervision"/>
-     *               <enumeration value="not_suitable_under_13_years_supervision"/>
-     *               <enumeration value="not_suitable_under_14_years_supervision"/>
-     *               <enumeration value="no_warning_applicable"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="TSDWarning" maxOccurs="8" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="only_domestic_use"/>
-     *               <enumeration value="adult_supervision_required"/>
-     *               <enumeration value="protective_equipment_required"/>
-     *               <enumeration value="water_adult_supervision_required"/>
-     *               <enumeration value="toy_inside"/>
-     *               <enumeration value="no_protective_equipment"/>
-     *               <enumeration value="risk_of_entanglement"/>
-     *               <enumeration value="fragrances_allergy_risk"/>
-     *               <enumeration value="no_warning_applicable"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="TSDLanguage" maxOccurs="21" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="English"/>
-     *               <enumeration value="French"/>
-     *               <enumeration value="German"/>
-     *               <enumeration value="Italian"/>
-     *               <enumeration value="Spanish"/>
-     *               <enumeration value="Dutch"/>
-     *               <enumeration value="Polish"/>
-     *               <enumeration value="Bulgarian"/>
-     *               <enumeration value="Czech"/>
-     *               <enumeration value="Danish"/>
-     *               <enumeration value="Estonian"/>
-     *               <enumeration value="Finnish"/>
-     *               <enumeration value="Greek"/>
-     *               <enumeration value="Hungarian"/>
-     *               <enumeration value="Latvian"/>
-     *               <enumeration value="Lithuanian"/>
-     *               <enumeration value="Portuguese"/>
-     *               <enumeration value="Romanian"/>
-     *               <enumeration value="Slovak"/>
-     *               <enumeration value="Slovene"/>
-     *               <enumeration value="Swedish"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="OptionalPaymentTypeExclusion" maxOccurs="2" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="cash_on_delivery"/>
-     *               <enumeration value="cvs"/>
-     *               <enumeration value="exclude_none"/>
-     *               <enumeration value="exclude cod"/>
-     *               <enumeration value="exclude cvs"/>
-     *               <enumeration value="exclude cod and cvs"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="DistributionDesignation" type="{}DistributionDesignationValues" minOccurs="0"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "title", - "brand", - "designer", - "description", - "bulletPoint", - "itemDimensions", - "packageDimensions", - "packageWeight", - "shippingWeight", - "merchantCatalogNumber", - "msrp", - "msrpWithTax", - "maxOrderQuantity", - "serialNumberRequired", - "prop65", - "cpsiaWarning", - "cpsiaWarningDescription", - "legalDisclaimer", - "manufacturer", - "mfrPartNumber", - "searchTerms", - "platinumKeywords", - "memorabilia", - "autographed", - "usedFor", - "itemType", - "otherItemAttributes", - "targetAudience", - "subjectContent", - "isGiftWrapAvailable", - "isGiftMessageAvailable", - "promotionKeywords", - "isDiscontinuedByManufacturer", - "deliveryScheduleGroupID", - "deliveryChannel", - "purchasingChannel", - "maxAggregateShipQuantity", - "isCustomizable", - "customizableTemplateName", - "recommendedBrowseNode", - "merchantShippingGroupName", - "fedasid", - "tsdAgeWarning", - "tsdWarning", - "tsdLanguage", - "optionalPaymentTypeExclusion", - "distributionDesignation" - }) - public static class DescriptionData { - - @XmlElement(name = "Title", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String title; - @XmlElement(name = "Brand") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String brand; - @XmlElement(name = "Designer") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String designer; - @XmlElement(name = "Description") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String description; - @XmlElement(name = "BulletPoint") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List bulletPoint; - @XmlElement(name = "ItemDimensions") - protected Dimensions itemDimensions; - @XmlElement(name = "PackageDimensions") - protected Dimensions packageDimensions; - @XmlElement(name = "PackageWeight") - protected PositiveWeightDimension packageWeight; - @XmlElement(name = "ShippingWeight") - protected PositiveWeightDimension shippingWeight; - @XmlElement(name = "MerchantCatalogNumber") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String merchantCatalogNumber; - @XmlElement(name = "MSRP") - protected CurrencyAmount msrp; - @XmlElement(name = "MSRPWithTax") - protected CurrencyAmount msrpWithTax; - @XmlElement(name = "MaxOrderQuantity") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger maxOrderQuantity; - @XmlElement(name = "SerialNumberRequired") - protected Boolean serialNumberRequired; - @XmlElement(name = "Prop65") - protected Boolean prop65; - @XmlElement(name = "CPSIAWarning") - protected List cpsiaWarning; - @XmlElement(name = "CPSIAWarningDescription") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String cpsiaWarningDescription; - @XmlElement(name = "LegalDisclaimer") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String legalDisclaimer; - @XmlElement(name = "Manufacturer") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String manufacturer; - @XmlElement(name = "MfrPartNumber") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String mfrPartNumber; - @XmlElement(name = "SearchTerms") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List searchTerms; - @XmlElement(name = "PlatinumKeywords") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List platinumKeywords; - @XmlElement(name = "Memorabilia") - protected Boolean memorabilia; - @XmlElement(name = "Autographed") - protected Boolean autographed; - @XmlElement(name = "UsedFor") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List usedFor; - @XmlElement(name = "ItemType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String itemType; - @XmlElement(name = "OtherItemAttributes") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List otherItemAttributes; - @XmlElement(name = "TargetAudience") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List targetAudience; - @XmlElement(name = "SubjectContent") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List subjectContent; - @XmlElement(name = "IsGiftWrapAvailable") - protected Boolean isGiftWrapAvailable; - @XmlElement(name = "IsGiftMessageAvailable") - protected Boolean isGiftMessageAvailable; - @XmlElement(name = "PromotionKeywords") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List promotionKeywords; - @XmlElement(name = "IsDiscontinuedByManufacturer") - protected Boolean isDiscontinuedByManufacturer; - @XmlElement(name = "DeliveryScheduleGroupID") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String deliveryScheduleGroupID; - @XmlElement(name = "DeliveryChannel") - protected List deliveryChannel; - @XmlElement(name = "PurchasingChannel") - protected List purchasingChannel; - @XmlElement(name = "MaxAggregateShipQuantity") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger maxAggregateShipQuantity; - @XmlElement(name = "IsCustomizable") - protected Boolean isCustomizable; - @XmlElement(name = "CustomizableTemplateName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String customizableTemplateName; - @XmlElement(name = "RecommendedBrowseNode") - @XmlSchemaType(name = "positiveInteger") - protected List recommendedBrowseNode; - @XmlElement(name = "MerchantShippingGroupName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String merchantShippingGroupName; - @XmlElement(name = "FEDAS_ID") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String fedasid; - @XmlElement(name = "TSDAgeWarning") - protected String tsdAgeWarning; - @XmlElement(name = "TSDWarning") - protected List tsdWarning; - @XmlElement(name = "TSDLanguage") - protected List tsdLanguage; - @XmlElement(name = "OptionalPaymentTypeExclusion") - protected List optionalPaymentTypeExclusion; - @XmlElement(name = "DistributionDesignation") - protected DistributionDesignationValues distributionDesignation; - - /** - * Recupera il valore della proprietà title. - * - * @return possible object is - * {@link String } - */ - public String getTitle() { - return title; - } - - /** - * Imposta il valore della proprietà title. - * - * @param value allowed object is - * {@link String } - */ - public void setTitle(String value) { - this.title = value; - } - - /** - * Recupera il valore della proprietà brand. - * - * @return possible object is - * {@link String } - */ - public String getBrand() { - return brand; - } - - /** - * Imposta il valore della proprietà brand. - * - * @param value allowed object is - * {@link String } - */ - public void setBrand(String value) { - this.brand = value; - } - - /** - * Recupera il valore della proprietà designer. - * - * @return possible object is - * {@link String } - */ - public String getDesigner() { - return designer; - } - - /** - * Imposta il valore della proprietà designer. - * - * @param value allowed object is - * {@link String } - */ - public void setDesigner(String value) { - this.designer = value; - } - - /** - * Recupera il valore della proprietà description. - * - * @return possible object is - * {@link String } - */ - public String getDescription() { - return description; - } - - /** - * Imposta il valore della proprietà description. - * - * @param value allowed object is - * {@link String } - */ - public void setDescription(String value) { - this.description = value; - } - - /** - * Gets the value of the bulletPoint property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the bulletPoint property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getBulletPoint().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getBulletPoint() { - if (bulletPoint == null) { - bulletPoint = new ArrayList(); - } - return this.bulletPoint; - } - - /** - * Recupera il valore della proprietà itemDimensions. - * - * @return possible object is - * {@link Dimensions } - */ - public Dimensions getItemDimensions() { - return itemDimensions; - } - - /** - * Imposta il valore della proprietà itemDimensions. - * - * @param value allowed object is - * {@link Dimensions } - */ - public void setItemDimensions(Dimensions value) { - this.itemDimensions = value; - } - - /** - * Recupera il valore della proprietà packageDimensions. - * - * @return possible object is - * {@link Dimensions } - */ - public Dimensions getPackageDimensions() { - return packageDimensions; - } - - /** - * Imposta il valore della proprietà packageDimensions. - * - * @param value allowed object is - * {@link Dimensions } - */ - public void setPackageDimensions(Dimensions value) { - this.packageDimensions = value; - } - - /** - * Recupera il valore della proprietà packageWeight. - * - * @return possible object is - * {@link PositiveWeightDimension } - */ - public PositiveWeightDimension getPackageWeight() { - return packageWeight; - } - - /** - * Imposta il valore della proprietà packageWeight. - * - * @param value allowed object is - * {@link PositiveWeightDimension } - */ - public void setPackageWeight(PositiveWeightDimension value) { - this.packageWeight = value; - } - - /** - * Recupera il valore della proprietà shippingWeight. - * - * @return possible object is - * {@link PositiveWeightDimension } - */ - public PositiveWeightDimension getShippingWeight() { - return shippingWeight; - } - - /** - * Imposta il valore della proprietà shippingWeight. - * - * @param value allowed object is - * {@link PositiveWeightDimension } - */ - public void setShippingWeight(PositiveWeightDimension value) { - this.shippingWeight = value; - } - - /** - * Recupera il valore della proprietà merchantCatalogNumber. - * - * @return possible object is - * {@link String } - */ - public String getMerchantCatalogNumber() { - return merchantCatalogNumber; - } - - /** - * Imposta il valore della proprietà merchantCatalogNumber. - * - * @param value allowed object is - * {@link String } - */ - public void setMerchantCatalogNumber(String value) { - this.merchantCatalogNumber = value; - } - - /** - * Recupera il valore della proprietà msrp. - * - * @return possible object is - * {@link CurrencyAmount } - */ - public CurrencyAmount getMSRP() { - return msrp; - } - - /** - * Imposta il valore della proprietà msrp. - * - * @param value allowed object is - * {@link CurrencyAmount } - */ - public void setMSRP(CurrencyAmount value) { - this.msrp = value; - } - - /** - * Recupera il valore della proprietà msrpWithTax. - * - * @return possible object is - * {@link CurrencyAmount } - */ - public CurrencyAmount getMSRPWithTax() { - return msrpWithTax; - } - - /** - * Imposta il valore della proprietà msrpWithTax. - * - * @param value allowed object is - * {@link CurrencyAmount } - */ - public void setMSRPWithTax(CurrencyAmount value) { - this.msrpWithTax = value; - } - - /** - * Recupera il valore della proprietà maxOrderQuantity. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getMaxOrderQuantity() { - return maxOrderQuantity; - } - - /** - * Imposta il valore della proprietà maxOrderQuantity. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setMaxOrderQuantity(BigInteger value) { - this.maxOrderQuantity = value; - } - - /** - * Recupera il valore della proprietà serialNumberRequired. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isSerialNumberRequired() { - return serialNumberRequired; - } - - /** - * Imposta il valore della proprietà serialNumberRequired. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setSerialNumberRequired(Boolean value) { - this.serialNumberRequired = value; - } - - /** - * Recupera il valore della proprietà prop65. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isProp65() { - return prop65; - } - - /** - * Imposta il valore della proprietà prop65. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setProp65(Boolean value) { - this.prop65 = value; - } - - /** - * Gets the value of the cpsiaWarning property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the cpsiaWarning property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getCPSIAWarning().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getCPSIAWarning() { - if (cpsiaWarning == null) { - cpsiaWarning = new ArrayList(); - } - return this.cpsiaWarning; - } - - /** - * Recupera il valore della proprietà cpsiaWarningDescription. - * - * @return possible object is - * {@link String } - */ - public String getCPSIAWarningDescription() { - return cpsiaWarningDescription; - } - - /** - * Imposta il valore della proprietà cpsiaWarningDescription. - * - * @param value allowed object is - * {@link String } - */ - public void setCPSIAWarningDescription(String value) { - this.cpsiaWarningDescription = value; - } - - /** - * Recupera il valore della proprietà legalDisclaimer. - * - * @return possible object is - * {@link String } - */ - public String getLegalDisclaimer() { - return legalDisclaimer; - } - - /** - * Imposta il valore della proprietà legalDisclaimer. - * - * @param value allowed object is - * {@link String } - */ - public void setLegalDisclaimer(String value) { - this.legalDisclaimer = value; - } - - /** - * Recupera il valore della proprietà manufacturer. - * - * @return possible object is - * {@link String } - */ - public String getManufacturer() { - return manufacturer; - } - - /** - * Imposta il valore della proprietà manufacturer. - * - * @param value allowed object is - * {@link String } - */ - public void setManufacturer(String value) { - this.manufacturer = value; - } - - /** - * Recupera il valore della proprietà mfrPartNumber. - * - * @return possible object is - * {@link String } - */ - public String getMfrPartNumber() { - return mfrPartNumber; - } - - /** - * Imposta il valore della proprietà mfrPartNumber. - * - * @param value allowed object is - * {@link String } - */ - public void setMfrPartNumber(String value) { - this.mfrPartNumber = value; - } - - /** - * Gets the value of the searchTerms property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the searchTerms property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getSearchTerms().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getSearchTerms() { - if (searchTerms == null) { - searchTerms = new ArrayList(); - } - return this.searchTerms; - } - - /** - * Gets the value of the platinumKeywords property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the platinumKeywords property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getPlatinumKeywords().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getPlatinumKeywords() { - if (platinumKeywords == null) { - platinumKeywords = new ArrayList(); - } - return this.platinumKeywords; - } - - /** - * Recupera il valore della proprietà memorabilia. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isMemorabilia() { - return memorabilia; - } - - /** - * Imposta il valore della proprietà memorabilia. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setMemorabilia(Boolean value) { - this.memorabilia = value; - } - - /** - * Recupera il valore della proprietà autographed. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isAutographed() { - return autographed; - } - - /** - * Imposta il valore della proprietà autographed. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setAutographed(Boolean value) { - this.autographed = value; - } - - /** - * Gets the value of the usedFor property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the usedFor property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getUsedFor().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getUsedFor() { - if (usedFor == null) { - usedFor = new ArrayList(); - } - return this.usedFor; - } - - /** - * Recupera il valore della proprietà itemType. - * - * @return possible object is - * {@link String } - */ - public String getItemType() { - return itemType; - } - - /** - * Imposta il valore della proprietà itemType. - * - * @param value allowed object is - * {@link String } - */ - public void setItemType(String value) { - this.itemType = value; - } - - /** - * Gets the value of the otherItemAttributes property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the otherItemAttributes property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getOtherItemAttributes().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getOtherItemAttributes() { - if (otherItemAttributes == null) { - otherItemAttributes = new ArrayList(); - } - return this.otherItemAttributes; - } - - /** - * Gets the value of the targetAudience property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the targetAudience property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getTargetAudience().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getTargetAudience() { - if (targetAudience == null) { - targetAudience = new ArrayList(); - } - return this.targetAudience; - } - - /** - * Gets the value of the subjectContent property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the subjectContent property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getSubjectContent().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getSubjectContent() { - if (subjectContent == null) { - subjectContent = new ArrayList(); - } - return this.subjectContent; - } - - /** - * Recupera il valore della proprietà isGiftWrapAvailable. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isIsGiftWrapAvailable() { - return isGiftWrapAvailable; - } - - /** - * Imposta il valore della proprietà isGiftWrapAvailable. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setIsGiftWrapAvailable(Boolean value) { - this.isGiftWrapAvailable = value; - } - - /** - * Recupera il valore della proprietà isGiftMessageAvailable. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isIsGiftMessageAvailable() { - return isGiftMessageAvailable; - } - - /** - * Imposta il valore della proprietà isGiftMessageAvailable. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setIsGiftMessageAvailable(Boolean value) { - this.isGiftMessageAvailable = value; - } - - /** - * Gets the value of the promotionKeywords property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the promotionKeywords property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getPromotionKeywords().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getPromotionKeywords() { - if (promotionKeywords == null) { - promotionKeywords = new ArrayList(); - } - return this.promotionKeywords; - } - - /** - * Recupera il valore della proprietà isDiscontinuedByManufacturer. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isIsDiscontinuedByManufacturer() { - return isDiscontinuedByManufacturer; - } - - /** - * Imposta il valore della proprietà isDiscontinuedByManufacturer. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setIsDiscontinuedByManufacturer(Boolean value) { - this.isDiscontinuedByManufacturer = value; - } - - /** - * Recupera il valore della proprietà deliveryScheduleGroupID. - * - * @return possible object is - * {@link String } - */ - public String getDeliveryScheduleGroupID() { - return deliveryScheduleGroupID; - } - - /** - * Imposta il valore della proprietà deliveryScheduleGroupID. - * - * @param value allowed object is - * {@link String } - */ - public void setDeliveryScheduleGroupID(String value) { - this.deliveryScheduleGroupID = value; - } - - /** - * Gets the value of the deliveryChannel property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the deliveryChannel property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getDeliveryChannel().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getDeliveryChannel() { - if (deliveryChannel == null) { - deliveryChannel = new ArrayList(); - } - return this.deliveryChannel; - } - - /** - * Gets the value of the purchasingChannel property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the purchasingChannel property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getPurchasingChannel().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getPurchasingChannel() { - if (purchasingChannel == null) { - purchasingChannel = new ArrayList(); - } - return this.purchasingChannel; - } - - /** - * Recupera il valore della proprietà maxAggregateShipQuantity. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getMaxAggregateShipQuantity() { - return maxAggregateShipQuantity; - } - - /** - * Imposta il valore della proprietà maxAggregateShipQuantity. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setMaxAggregateShipQuantity(BigInteger value) { - this.maxAggregateShipQuantity = value; - } - - /** - * Recupera il valore della proprietà isCustomizable. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isIsCustomizable() { - return isCustomizable; - } - - /** - * Imposta il valore della proprietà isCustomizable. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setIsCustomizable(Boolean value) { - this.isCustomizable = value; - } - - /** - * Recupera il valore della proprietà customizableTemplateName. - * - * @return possible object is - * {@link String } - */ - public String getCustomizableTemplateName() { - return customizableTemplateName; - } - - /** - * Imposta il valore della proprietà customizableTemplateName. - * - * @param value allowed object is - * {@link String } - */ - public void setCustomizableTemplateName(String value) { - this.customizableTemplateName = value; - } - - /** - * Gets the value of the recommendedBrowseNode property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the recommendedBrowseNode property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getRecommendedBrowseNode().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link BigInteger } - */ - public List getRecommendedBrowseNode() { - if (recommendedBrowseNode == null) { - recommendedBrowseNode = new ArrayList(); - } - return this.recommendedBrowseNode; - } - - /** - * Recupera il valore della proprietà merchantShippingGroupName. - * - * @return possible object is - * {@link String } - */ - public String getMerchantShippingGroupName() { - return merchantShippingGroupName; - } - - /** - * Imposta il valore della proprietà merchantShippingGroupName. - * - * @param value allowed object is - * {@link String } - */ - public void setMerchantShippingGroupName(String value) { - this.merchantShippingGroupName = value; - } - - /** - * Recupera il valore della proprietà fedasid. - * - * @return possible object is - * {@link String } - */ - public String getFEDASID() { - return fedasid; - } - - /** - * Imposta il valore della proprietà fedasid. - * - * @param value allowed object is - * {@link String } - */ - public void setFEDASID(String value) { - this.fedasid = value; - } - - /** - * Recupera il valore della proprietà tsdAgeWarning. - * - * @return possible object is - * {@link String } - */ - public String getTSDAgeWarning() { - return tsdAgeWarning; - } - - /** - * Imposta il valore della proprietà tsdAgeWarning. - * - * @param value allowed object is - * {@link String } - */ - public void setTSDAgeWarning(String value) { - this.tsdAgeWarning = value; - } - - /** - * Gets the value of the tsdWarning property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the tsdWarning property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getTSDWarning().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getTSDWarning() { - if (tsdWarning == null) { - tsdWarning = new ArrayList(); - } - return this.tsdWarning; - } - - /** - * Gets the value of the tsdLanguage property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the tsdLanguage property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getTSDLanguage().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getTSDLanguage() { - if (tsdLanguage == null) { - tsdLanguage = new ArrayList(); - } - return this.tsdLanguage; - } - - /** - * Gets the value of the optionalPaymentTypeExclusion property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the optionalPaymentTypeExclusion property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getOptionalPaymentTypeExclusion().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getOptionalPaymentTypeExclusion() { - if (optionalPaymentTypeExclusion == null) { - optionalPaymentTypeExclusion = new ArrayList(); - } - return this.optionalPaymentTypeExclusion; - } - - /** - * Recupera il valore della proprietà distributionDesignation. - * - * @return possible object is - * {@link DistributionDesignationValues } - */ - public DistributionDesignationValues getDistributionDesignation() { - return distributionDesignation; - } - - /** - * Imposta il valore della proprietà distributionDesignation. - * - * @param value allowed object is - * {@link DistributionDesignationValues } - */ - public void setDistributionDesignation(DistributionDesignationValues value) { - this.distributionDesignation = value; - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="Priority" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}positiveInteger">
-     *               <minInclusive value="1"/>
-     *               <maxInclusive value="10"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="BrowseExclusion" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
-     *         <element name="RecommendationExclusion" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "priority", - "browseExclusion", - "recommendationExclusion" - }) - public static class DiscoveryData { - - @XmlElement(name = "Priority") - protected Integer priority; - @XmlElement(name = "BrowseExclusion") - protected Boolean browseExclusion; - @XmlElement(name = "RecommendationExclusion") - protected Boolean recommendationExclusion; - - /** - * Recupera il valore della proprietà priority. - * - * @return possible object is - * {@link Integer } - */ - public Integer getPriority() { - return priority; - } - - /** - * Imposta il valore della proprietà priority. - * - * @param value allowed object is - * {@link Integer } - */ - public void setPriority(Integer value) { - this.priority = value; - } - - /** - * Recupera il valore della proprietà browseExclusion. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isBrowseExclusion() { - return browseExclusion; - } - - /** - * Imposta il valore della proprietà browseExclusion. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setBrowseExclusion(Boolean value) { - this.browseExclusion = value; - } - - /** - * Recupera il valore della proprietà recommendationExclusion. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isRecommendationExclusion() { - return recommendationExclusion; - } - - /** - * Imposta il valore della proprietà recommendationExclusion. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setRecommendationExclusion(Boolean value) { - this.recommendationExclusion = value; - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <choice>
-     *         <element ref="{}Clothing"/>
-     *         <element ref="{}ToysBaby"/>
-     *         <element ref="{}Shoes"/>
-     *       </choice>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "clothing", - "toysBaby", - "shoes" - }) - public static class ProductData { - - @XmlElement(name = "Clothing") - protected Clothing clothing; - @XmlElement(name = "ToysBaby") - protected ToysBaby toysBaby; - @XmlElement(name = "Shoes") - protected Shoes shoes; - - /** - * Recupera il valore della proprietà clothing. - * - * @return possible object is - * {@link Clothing } - */ - public Clothing getClothing() { - return clothing; - } - - /** - * Imposta il valore della proprietà clothing. - * - * @param value allowed object is - * {@link Clothing } - */ - public void setClothing(Clothing value) { - this.clothing = value; - } - - /** - * Recupera il valore della proprietà toysBaby. - * - * @return possible object is - * {@link ToysBaby } - */ - public ToysBaby getToysBaby() { - return toysBaby; - } - - /** - * Imposta il valore della proprietà toysBaby. - * - * @param value allowed object is - * {@link ToysBaby } - */ - public void setToysBaby(ToysBaby value) { - this.toysBaby = value; - } - - /** - * Recupera il valore della proprietà shoes. - * - * @return possible object is - * {@link Shoes } - */ - public Shoes getShoes() { - return shoes; - } - - /** - * Imposta il valore della proprietà shoes. - * - * @param value allowed object is - * {@link Shoes } - */ - public void setShoes(Shoes value) { - this.shoes = value; - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="PromoTagType">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
-     *               <enumeration value="Sale"/>
-     *               <enumeration value="New"/>
-     *               <enumeration value="NewArrival"/>
-     *               <enumeration value="WebOnly"/>
-     *               <enumeration value="Clearance"/>
-     *               <enumeration value="LimitedOffer"/>
-     *               <enumeration value="SpecialOffer"/>
-     *               <enumeration value="SpecialPurchase"/>
-     *               <enumeration value="OnlyInStores"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="EffectiveFromDate" type="{http://www.w3.org/2001/XMLSchema}date"/>
-     *         <element name="EffectiveThroughDate" type="{http://www.w3.org/2001/XMLSchema}date" minOccurs="0"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "promoTagType", - "effectiveFromDate", - "effectiveThroughDate" - }) - public static class PromoTag { - - @XmlElement(name = "PromoTagType", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String promoTagType; - @XmlElement(name = "EffectiveFromDate", required = true) - @XmlSchemaType(name = "date") - protected XMLGregorianCalendar effectiveFromDate; - @XmlElement(name = "EffectiveThroughDate") - @XmlSchemaType(name = "date") - protected XMLGregorianCalendar effectiveThroughDate; - - /** - * Recupera il valore della proprietà promoTagType. - * - * @return possible object is - * {@link String } - */ - public String getPromoTagType() { - return promoTagType; - } - - /** - * Imposta il valore della proprietà promoTagType. - * - * @param value allowed object is - * {@link String } - */ - public void setPromoTagType(String value) { - this.promoTagType = value; - } - - /** - * Recupera il valore della proprietà effectiveFromDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getEffectiveFromDate() { - return effectiveFromDate; - } - - /** - * Imposta il valore della proprietà effectiveFromDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setEffectiveFromDate(XMLGregorianCalendar value) { - this.effectiveFromDate = value; - } - - /** - * Recupera il valore della proprietà effectiveThroughDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getEffectiveThroughDate() { - return effectiveThroughDate; - } - - /** - * Imposta il valore della proprietà effectiveThroughDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setEffectiveThroughDate(XMLGregorianCalendar value) { - this.effectiveThroughDate = value; - } - - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ProductDTO.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ProductDTO.java deleted file mode 100644 index 642ebf5d65..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ProductDTO.java +++ /dev/null @@ -1,50 +0,0 @@ -package it.integry.ems.order.amazon.dto; - -import it.integry.ems_model.annotation.SqlField; - -import java.math.BigDecimal; -import java.math.BigInteger; - -public class ProductDTO { - - @SqlField - private String sku; - @SqlField - private BigDecimal price; - @SqlField - private BigInteger quantity; - @SqlField - private BigDecimal salePrice; - - public String getSku() { - return sku; - } - - public void setSku(String sku) { - this.sku = sku; - } - - public BigDecimal getPrice() { - return price; - } - - public void setPrice(BigDecimal price) { - this.price = price; - } - - public BigInteger getQuantity() { - return quantity; - } - - public void setQuantity(BigInteger quantity) { - this.quantity = quantity; - } - - public BigDecimal getSalePrice() { - return salePrice; - } - - public void setSalePrice(BigDecimal salePrice) { - this.salePrice = salePrice; - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ProductImage.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ProductImage.java deleted file mode 100644 index d4a1122833..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ProductImage.java +++ /dev/null @@ -1,147 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element ref="{}SKU"/>
- *         <element name="ImageType">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <enumeration value="Main"/>
- *               <enumeration value="Swatch"/>
- *               <enumeration value="BKLB"/>
- *               <enumeration value="PT1"/>
- *               <enumeration value="PT2"/>
- *               <enumeration value="PT3"/>
- *               <enumeration value="PT4"/>
- *               <enumeration value="PT5"/>
- *               <enumeration value="PT6"/>
- *               <enumeration value="PT7"/>
- *               <enumeration value="PT8"/>
- *               <enumeration value="Search"/>
- *               <enumeration value="PM01"/>
- *               <enumeration value="MainOfferImage"/>
- *               <enumeration value="OfferImage1"/>
- *               <enumeration value="OfferImage2"/>
- *               <enumeration value="OfferImage3"/>
- *               <enumeration value="OfferImage4"/>
- *               <enumeration value="OfferImage5"/>
- *               <enumeration value="PFEE"/>
- *               <enumeration value="PFUK"/>
- *               <enumeration value="PFDE"/>
- *               <enumeration value="PFFR"/>
- *               <enumeration value="PFIT"/>
- *               <enumeration value="PFES"/>
- *               <enumeration value="EEGL"/>
- *               <enumeration value="PT98"/>
- *               <enumeration value="PT99"/>
- *               <enumeration value="ELFL"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="ImageLocation" type="{http://www.w3.org/2001/XMLSchema}anyURI" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "sku", - "imageType", - "imageLocation" -}) -@XmlRootElement(name = "ProductImage") -public class ProductImage { - - @XmlElement(name = "SKU", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String sku; - @XmlElement(name = "ImageType", required = true) - protected String imageType; - @XmlElement(name = "ImageLocation") - @XmlSchemaType(name = "anyURI") - protected String imageLocation; - - /** - * Recupera il valore della proprietà sku. - * - * @return possible object is - * {@link String } - */ - public String getSKU() { - return sku; - } - - /** - * Imposta il valore della proprietà sku. - * - * @param value allowed object is - * {@link String } - */ - public void setSKU(String value) { - this.sku = value; - } - - /** - * Recupera il valore della proprietà imageType. - * - * @return possible object is - * {@link String } - */ - public String getImageType() { - return imageType; - } - - /** - * Imposta il valore della proprietà imageType. - * - * @param value allowed object is - * {@link String } - */ - public void setImageType(String value) { - this.imageType = value; - } - - /** - * Recupera il valore della proprietà imageLocation. - * - * @return possible object is - * {@link String } - */ - public String getImageLocation() { - return imageLocation; - } - - /** - * Imposta il valore della proprietà imageLocation. - * - * @param value allowed object is - * {@link String } - */ - public void setImageLocation(String value) { - this.imageLocation = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PromotionApplicationType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PromotionApplicationType.java deleted file mode 100644 index 34d76c3d1e..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PromotionApplicationType.java +++ /dev/null @@ -1,57 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per PromotionApplicationType. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="PromotionApplicationType">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="Principal"/>
- *     <enumeration value="Shipping"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "PromotionApplicationType") -@XmlEnum -public enum PromotionApplicationType { - - @XmlEnumValue("Principal") - PRINCIPAL("Principal"), - @XmlEnumValue("Shipping") - SHIPPING("Shipping"); - private final String value; - - PromotionApplicationType(String v) { - value = v; - } - - public static PromotionApplicationType fromValue(String v) { - for (PromotionApplicationType c : PromotionApplicationType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PromotionDataType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PromotionDataType.java deleted file mode 100644 index 9d4a1daaba..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/PromotionDataType.java +++ /dev/null @@ -1,207 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import java.util.ArrayList; -import java.util.List; - - -/** - *

Classe Java per PromotionDataType complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="PromotionDataType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element ref="{}PromotionClaimCode"/>
- *         <element ref="{}MerchantPromotionID"/>
- *         <element name="Component" maxOccurs="unbounded">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="Type" type="{}PromotionApplicationType"/>
- *                   <element name="Amount" type="{}CurrencyAmount"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "PromotionDataType", propOrder = { - "promotionClaimCode", - "merchantPromotionID", - "component" -}) -public class PromotionDataType { - - @XmlElement(name = "PromotionClaimCode", required = true) - protected String promotionClaimCode; - @XmlElement(name = "MerchantPromotionID", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String merchantPromotionID; - @XmlElement(name = "Component", required = true) - protected List component; - - /** - * Recupera il valore della proprietà promotionClaimCode. - * - * @return possible object is - * {@link String } - */ - public String getPromotionClaimCode() { - return promotionClaimCode; - } - - /** - * Imposta il valore della proprietà promotionClaimCode. - * - * @param value allowed object is - * {@link String } - */ - public void setPromotionClaimCode(String value) { - this.promotionClaimCode = value; - } - - /** - * Recupera il valore della proprietà merchantPromotionID. - * - * @return possible object is - * {@link String } - */ - public String getMerchantPromotionID() { - return merchantPromotionID; - } - - /** - * Imposta il valore della proprietà merchantPromotionID. - * - * @param value allowed object is - * {@link String } - */ - public void setMerchantPromotionID(String value) { - this.merchantPromotionID = value; - } - - /** - * Gets the value of the component property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the component property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getComponent().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link PromotionDataType.Component } - */ - public List getComponent() { - if (component == null) { - component = new ArrayList(); - } - return this.component; - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="Type" type="{}PromotionApplicationType"/>
-     *         <element name="Amount" type="{}CurrencyAmount"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "type", - "amount" - }) - public static class Component { - - @XmlElement(name = "Type", required = true) - protected PromotionApplicationType type; - @XmlElement(name = "Amount", required = true) - protected CurrencyAmount amount; - - /** - * Recupera il valore della proprietà type. - * - * @return possible object is - * {@link PromotionApplicationType } - */ - public PromotionApplicationType getType() { - return type; - } - - /** - * Imposta il valore della proprietà type. - * - * @param value allowed object is - * {@link PromotionApplicationType } - */ - public void setType(PromotionApplicationType value) { - this.type = value; - } - - /** - * Recupera il valore della proprietà amount. - * - * @return possible object is - * {@link CurrencyAmount } - */ - public CurrencyAmount getAmount() { - return amount; - } - - /** - * Imposta il valore della proprietà amount. - * - * @param value allowed object is - * {@link CurrencyAmount } - */ - public void setAmount(CurrencyAmount value) { - this.amount = value; - } - - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/QuantityPriceTypes.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/QuantityPriceTypes.java deleted file mode 100644 index ba0fd52114..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/QuantityPriceTypes.java +++ /dev/null @@ -1,57 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per QuantityPriceTypes. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="QuantityPriceTypes">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="fixed"/>
- *     <enumeration value="percent"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "QuantityPriceTypes") -@XmlEnum -public enum QuantityPriceTypes { - - @XmlEnumValue("fixed") - FIXED("fixed"), - @XmlEnumValue("percent") - PERCENT("percent"); - private final String value; - - QuantityPriceTypes(String v) { - value = v; - } - - public static QuantityPriceTypes fromValue(String v) { - for (QuantityPriceTypes c : QuantityPriceTypes.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/RearFacingWeight.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/RearFacingWeight.java deleted file mode 100644 index 178e4518d6..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/RearFacingWeight.java +++ /dev/null @@ -1,85 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="RearFacingMaximumWeight" type="{}WeightDimension" minOccurs="0"/>
- *         <element name="RearFacingMinimumWeight" type="{}WeightDimension" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "rearFacingMaximumWeight", - "rearFacingMinimumWeight" -}) -@XmlRootElement(name = "RearFacingWeight") -public class RearFacingWeight { - - @XmlElement(name = "RearFacingMaximumWeight") - protected WeightDimension rearFacingMaximumWeight; - @XmlElement(name = "RearFacingMinimumWeight") - protected WeightDimension rearFacingMinimumWeight; - - /** - * Recupera il valore della proprietà rearFacingMaximumWeight. - * - * @return possible object is - * {@link WeightDimension } - */ - public WeightDimension getRearFacingMaximumWeight() { - return rearFacingMaximumWeight; - } - - /** - * Imposta il valore della proprietà rearFacingMaximumWeight. - * - * @param value allowed object is - * {@link WeightDimension } - */ - public void setRearFacingMaximumWeight(WeightDimension value) { - this.rearFacingMaximumWeight = value; - } - - /** - * Recupera il valore della proprietà rearFacingMinimumWeight. - * - * @return possible object is - * {@link WeightDimension } - */ - public WeightDimension getRearFacingMinimumWeight() { - return rearFacingMinimumWeight; - } - - /** - * Imposta il valore della proprietà rearFacingMinimumWeight. - * - * @param value allowed object is - * {@link WeightDimension } - */ - public void setRearFacingMinimumWeight(WeightDimension value) { - this.rearFacingMinimumWeight = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/RebateType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/RebateType.java deleted file mode 100644 index b93c96993c..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/RebateType.java +++ /dev/null @@ -1,139 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import javax.xml.datatype.XMLGregorianCalendar; - - -/** - *

Classe Java per RebateType complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="RebateType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="RebateStartDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *         <element name="RebateEndDate" type="{http://www.w3.org/2001/XMLSchema}dateTime"/>
- *         <element name="RebateMessage" type="{}TwoFiftyStringNotNull"/>
- *         <element name="RebateName" type="{}FortyStringNotNull"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "RebateType", propOrder = { - "rebateStartDate", - "rebateEndDate", - "rebateMessage", - "rebateName" -}) -public class RebateType { - - @XmlElement(name = "RebateStartDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar rebateStartDate; - @XmlElement(name = "RebateEndDate", required = true) - @XmlSchemaType(name = "dateTime") - protected XMLGregorianCalendar rebateEndDate; - @XmlElement(name = "RebateMessage", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String rebateMessage; - @XmlElement(name = "RebateName", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String rebateName; - - /** - * Recupera il valore della proprietà rebateStartDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getRebateStartDate() { - return rebateStartDate; - } - - /** - * Imposta il valore della proprietà rebateStartDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setRebateStartDate(XMLGregorianCalendar value) { - this.rebateStartDate = value; - } - - /** - * Recupera il valore della proprietà rebateEndDate. - * - * @return possible object is - * {@link XMLGregorianCalendar } - */ - public XMLGregorianCalendar getRebateEndDate() { - return rebateEndDate; - } - - /** - * Imposta il valore della proprietà rebateEndDate. - * - * @param value allowed object is - * {@link XMLGregorianCalendar } - */ - public void setRebateEndDate(XMLGregorianCalendar value) { - this.rebateEndDate = value; - } - - /** - * Recupera il valore della proprietà rebateMessage. - * - * @return possible object is - * {@link String } - */ - public String getRebateMessage() { - return rebateMessage; - } - - /** - * Imposta il valore della proprietà rebateMessage. - * - * @param value allowed object is - * {@link String } - */ - public void setRebateMessage(String value) { - this.rebateMessage = value; - } - - /** - * Recupera il valore della proprietà rebateName. - * - * @return possible object is - * {@link String } - */ - public String getRebateName() { - return rebateName; - } - - /** - * Imposta il valore della proprietà rebateName. - * - * @param value allowed object is - * {@link String } - */ - public void setRebateName(String value) { - this.rebateName = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Recall.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Recall.java deleted file mode 100644 index 717113701d..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Recall.java +++ /dev/null @@ -1,88 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="IsRecalled" type="{http://www.w3.org/2001/XMLSchema}boolean"/>
- *         <element name="RecallDescription">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
- *               <maxLength value="1500"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "isRecalled", - "recallDescription" -}) -@XmlRootElement(name = "Recall") -public class Recall { - - @XmlElement(name = "IsRecalled") - protected boolean isRecalled; - @XmlElement(name = "RecallDescription", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String recallDescription; - - /** - * Recupera il valore della proprietà isRecalled. - */ - public boolean isIsRecalled() { - return isRecalled; - } - - /** - * Imposta il valore della proprietà isRecalled. - */ - public void setIsRecalled(boolean value) { - this.isRecalled = value; - } - - /** - * Recupera il valore della proprietà recallDescription. - * - * @return possible object is - * {@link String } - */ - public String getRecallDescription() { - return recallDescription; - } - - /** - * Imposta il valore della proprietà recallDescription. - * - * @param value allowed object is - * {@link String } - */ - public void setRecallDescription(String value) { - this.recallDescription = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/RelatedProductID.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/RelatedProductID.java deleted file mode 100644 index c68fe399b9..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/RelatedProductID.java +++ /dev/null @@ -1,100 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="Type">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <enumeration value="UPC"/>
- *               <enumeration value="EAN"/>
- *               <enumeration value="GTIN"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="Value">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <minLength value="8"/>
- *               <maxLength value="16"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "type", - "value" -}) -@XmlRootElement(name = "RelatedProductID") -public class RelatedProductID { - - @XmlElement(name = "Type", required = true) - protected String type; - @XmlElement(name = "Value", required = true) - protected String value; - - /** - * Recupera il valore della proprietà type. - * - * @return possible object is - * {@link String } - */ - public String getType() { - return type; - } - - /** - * Imposta il valore della proprietà type. - * - * @param value allowed object is - * {@link String } - */ - public void setType(String value) { - this.type = value; - } - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link String } - */ - public String getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link String } - */ - public void setValue(String value) { - this.value = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Relationship.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Relationship.java deleted file mode 100644 index 965af953e2..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Relationship.java +++ /dev/null @@ -1,218 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import java.util.ArrayList; -import java.util.List; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="ParentSKU" type="{}SKUType"/>
- *         <element name="Relation" maxOccurs="unbounded">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element ref="{}SKU"/>
- *                   <element name="Type">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="Variation"/>
- *                         <enumeration value="DisplaySet"/>
- *                         <enumeration value="Collection"/>
- *                         <enumeration value="Accessory"/>
- *                         <enumeration value="Customized"/>
- *                         <enumeration value="Part"/>
- *                         <enumeration value="Complements"/>
- *                         <enumeration value="Piece"/>
- *                         <enumeration value="Necessary"/>
- *                         <enumeration value="ReplacementPart"/>
- *                         <enumeration value="Similar"/>
- *                         <enumeration value="Episode"/>
- *                         <enumeration value="Season"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "parentSKU", - "relation" -}) -@XmlRootElement(name = "Relationship") -public class Relationship { - - @XmlElement(name = "ParentSKU", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String parentSKU; - @XmlElement(name = "Relation", required = true) - protected List relation; - - /** - * Recupera il valore della proprietà parentSKU. - * - * @return possible object is - * {@link String } - */ - public String getParentSKU() { - return parentSKU; - } - - /** - * Imposta il valore della proprietà parentSKU. - * - * @param value allowed object is - * {@link String } - */ - public void setParentSKU(String value) { - this.parentSKU = value; - } - - /** - * Gets the value of the relation property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the relation property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getRelation().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link Relationship.Relation } - */ - public List getRelation() { - if (relation == null) { - relation = new ArrayList(); - } - return this.relation; - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element ref="{}SKU"/>
-     *         <element name="Type">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="Variation"/>
-     *               <enumeration value="DisplaySet"/>
-     *               <enumeration value="Collection"/>
-     *               <enumeration value="Accessory"/>
-     *               <enumeration value="Customized"/>
-     *               <enumeration value="Part"/>
-     *               <enumeration value="Complements"/>
-     *               <enumeration value="Piece"/>
-     *               <enumeration value="Necessary"/>
-     *               <enumeration value="ReplacementPart"/>
-     *               <enumeration value="Similar"/>
-     *               <enumeration value="Episode"/>
-     *               <enumeration value="Season"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "sku", - "type" - }) - public static class Relation { - - @XmlElement(name = "SKU", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String sku; - @XmlElement(name = "Type", required = true) - protected String type; - - /** - * Recupera il valore della proprietà sku. - * - * @return possible object is - * {@link String } - */ - public String getSKU() { - return sku; - } - - /** - * Imposta il valore della proprietà sku. - * - * @param value allowed object is - * {@link String } - */ - public void setSKU(String value) { - this.sku = value; - } - - /** - * Recupera il valore della proprietà type. - * - * @return possible object is - * {@link String } - */ - public String getType() { - return type; - } - - /** - * Imposta il valore della proprietà type. - * - * @param value allowed object is - * {@link String } - */ - public void setType(String value) { - this.type = value; - } - - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ResistanceDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ResistanceDimension.java deleted file mode 100644 index 4ecaf26cd2..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ResistanceDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per ResistanceDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="ResistanceDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}ResistanceUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResistanceDimension", propOrder = { - "value" -}) -public class ResistanceDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected ResistanceUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link ResistanceUnitOfMeasure } - */ - public ResistanceUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link ResistanceUnitOfMeasure } - */ - public void setUnitOfMeasure(ResistanceUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ResistanceUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ResistanceUnitOfMeasure.java deleted file mode 100644 index aad4116814..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ResistanceUnitOfMeasure.java +++ /dev/null @@ -1,54 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per ResistanceUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="ResistanceUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="ohms"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "ResistanceUnitOfMeasure") -@XmlEnum -public enum ResistanceUnitOfMeasure { - - @XmlEnumValue("ohms") - OHMS("ohms"); - private final String value; - - ResistanceUnitOfMeasure(String v) { - value = v; - } - - public static ResistanceUnitOfMeasure fromValue(String v) { - for (ResistanceUnitOfMeasure c : ResistanceUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ResolutionDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ResolutionDimension.java deleted file mode 100644 index 2e76de4a93..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ResolutionDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per ResolutionDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="ResolutionDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}ResolutionUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ResolutionDimension", propOrder = { - "value" -}) -public class ResolutionDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected ResolutionUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link ResolutionUnitOfMeasure } - */ - public ResolutionUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link ResolutionUnitOfMeasure } - */ - public void setUnitOfMeasure(ResolutionUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ResolutionUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ResolutionUnitOfMeasure.java deleted file mode 100644 index 3861bd11da..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ResolutionUnitOfMeasure.java +++ /dev/null @@ -1,60 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per ResolutionUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="ResolutionUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="megapixels"/>
- *     <enumeration value="pixels"/>
- *     <enumeration value="lines_per_inch"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "ResolutionUnitOfMeasure") -@XmlEnum -public enum ResolutionUnitOfMeasure { - - @XmlEnumValue("megapixels") - MEGAPIXELS("megapixels"), - @XmlEnumValue("pixels") - PIXELS("pixels"), - @XmlEnumValue("lines_per_inch") - LINES_PER_INCH("lines_per_inch"); - private final String value; - - ResolutionUnitOfMeasure(String v) { - value = v; - } - - public static ResolutionUnitOfMeasure fromValue(String v) { - for (ResolutionUnitOfMeasure c : ResolutionUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SerialNumberFormatType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SerialNumberFormatType.java deleted file mode 100644 index fc682a846b..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SerialNumberFormatType.java +++ /dev/null @@ -1,69 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per SerialNumberFormatType. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="SerialNumberFormatType">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="a_or_z_alphanumeric_13"/>
- *     <enumeration value="alphanumeric_8"/>
- *     <enumeration value="numeric_14"/>
- *     <enumeration value="alphanumeric_14"/>
- *     <enumeration value="numeric_12"/>
- *     <enumeration value="w_alphanumeric_12"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "SerialNumberFormatType") -@XmlEnum -public enum SerialNumberFormatType { - - @XmlEnumValue("a_or_z_alphanumeric_13") - A_OR_Z_ALPHANUMERIC_13("a_or_z_alphanumeric_13"), - @XmlEnumValue("alphanumeric_8") - ALPHANUMERIC_8("alphanumeric_8"), - @XmlEnumValue("numeric_14") - NUMERIC_14("numeric_14"), - @XmlEnumValue("alphanumeric_14") - ALPHANUMERIC_14("alphanumeric_14"), - @XmlEnumValue("numeric_12") - NUMERIC_12("numeric_12"), - @XmlEnumValue("w_alphanumeric_12") - W_ALPHANUMERIC_12("w_alphanumeric_12"); - private final String value; - - SerialNumberFormatType(String v) { - value = v; - } - - public static SerialNumberFormatType fromValue(String v) { - for (SerialNumberFormatType c : SerialNumberFormatType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ShoeSafetyCodeIso20345Type.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ShoeSafetyCodeIso20345Type.java deleted file mode 100644 index e255d5ca53..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ShoeSafetyCodeIso20345Type.java +++ /dev/null @@ -1,87 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per ShoeSafetyCodeIso20345Type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="ShoeSafetyCodeIso20345Type">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="sb"/>
- *     <enumeration value="s1"/>
- *     <enumeration value="s2"/>
- *     <enumeration value="s3"/>
- *     <enumeration value="hro"/>
- *     <enumeration value="p"/>
- *     <enumeration value="e"/>
- *     <enumeration value="wru"/>
- *     <enumeration value="o"/>
- *     <enumeration value="a"/>
- *     <enumeration value="ci"/>
- *     <enumeration value="hi"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "ShoeSafetyCodeIso20345Type") -@XmlEnum -public enum ShoeSafetyCodeIso20345Type { - - @XmlEnumValue("sb") - SB("sb"), - @XmlEnumValue("s1") - S_1("s1"), - @XmlEnumValue("s2") - S_2("s2"), - @XmlEnumValue("s3") - S_3("s3"), - @XmlEnumValue("hro") - HRO("hro"), - @XmlEnumValue("p") - P("p"), - @XmlEnumValue("e") - E("e"), - @XmlEnumValue("wru") - WRU("wru"), - @XmlEnumValue("o") - O("o"), - @XmlEnumValue("a") - A("a"), - @XmlEnumValue("ci") - CI("ci"), - @XmlEnumValue("hi") - HI("hi"); - private final String value; - - ShoeSafetyCodeIso20345Type(String v) { - value = v; - } - - public static ShoeSafetyCodeIso20345Type fromValue(String v) { - for (ShoeSafetyCodeIso20345Type c : ShoeSafetyCodeIso20345Type.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Shoes.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Shoes.java deleted file mode 100644 index cdbeed54df..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/Shoes.java +++ /dev/null @@ -1,3346 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.List; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="ClothingType">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <enumeration value="Accessory"/>
- *               <enumeration value="Bag"/>
- *               <enumeration value="Shoes"/>
- *               <enumeration value="ShoeAccessory"/>
- *               <enumeration value="Handbag"/>
- *               <enumeration value="Eyewear"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="VariationData" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="Parentage" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="parent"/>
- *                         <enumeration value="child"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="Size" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="Color" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="VariationTheme" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="Size"/>
- *                         <enumeration value="Color"/>
- *                         <enumeration value="SizeColor"/>
- *                         <enumeration value="ColorName-MagnificationStrength"/>
- *                         <enumeration value="ColorName-LensColor"/>
- *                         <enumeration value="ColorName-LensWidth"/>
- *                         <enumeration value="Material"/>
- *                         <enumeration value="SizeStyle"/>
- *                         <enumeration value="StyleName"/>
- *                         <enumeration value="PatternName"/>
- *                         <enumeration value="Size-Material"/>
- *                         <enumeration value="Size-PatternName"/>
- *                         <enumeration value="LensColor"/>
- *                         <enumeration value="LensColorShape"/>
- *                         <enumeration value="LensColorMaterial"/>
- *                         <enumeration value="ColorSize"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="ClassificationData">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="BaseLength" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="CountryOfOrigin" type="{}CountryOfOriginType" minOccurs="0"/>
- *                   <element name="Contributor" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="ColorMap" type="{}String" minOccurs="0"/>
- *                   <element name="SizeMap" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="ArchType" type="{}LongString" minOccurs="0"/>
- *                   <element name="ArmLength" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="BeltStyle" type="{}String" minOccurs="0"/>
- *                   <element name="BootOpeningCircumference" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="BridgeWidth" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="CareInstructions" type="{}String" minOccurs="0"/>
- *                   <element name="ShoeClosureType" type="{}String" minOccurs="0"/>
- *                   <element name="CountryProducedIn" type="{}String" minOccurs="0"/>
- *                   <element name="CleatDescription" type="{}LongString" minOccurs="0"/>
- *                   <element name="CleatMaterialType" type="{}LongString" minOccurs="0"/>
- *                   <element name="Department" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="ExternalTestingCertification" type="{}String" maxOccurs="6" minOccurs="0"/>
- *                   <element name="FabricType" type="{}String" minOccurs="0"/>
- *                   <element name="ImportDesignation" type="{}String" minOccurs="0"/>
- *                   <element name="CountryAsLabeled" type="{}CountryOfOriginType" minOccurs="0"/>
- *                   <element name="FurDescription" type="{}LongString" minOccurs="0"/>
- *                   <element name="FabricWash" type="{}String" minOccurs="0"/>
- *                   <element name="FitToSizeDescription" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="FrameMaterialType" type="{}LongString" minOccurs="0"/>
- *                   <element name="HarmonizedCode" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="HeelHeight" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="HeelType" type="{}String" minOccurs="0"/>
- *                   <element name="InnerMaterial" type="{}LongString" minOccurs="0"/>
- *                   <element name="IsStainResistant" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *                   <element name="IsVeryHighValue" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *                   <element name="IsAdultProduct" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *                   <element name="IncludedComponents" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="ItemShape" type="{}LongString" minOccurs="0"/>
- *                   <element name="LensColor" type="{}LongString" minOccurs="0"/>
- *                   <element name="LensColorMap" type="{}LongString" minOccurs="0"/>
- *                   <element name="LensHeight" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="LensMaterialType" type="{}LongString" minOccurs="0"/>
- *                   <element name="LensType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="LensWidth" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="LiningDescription" type="{}LongString" minOccurs="0"/>
- *                   <element name="OccasionAndLifestyle" type="{}LongString" maxOccurs="10" minOccurs="0"/>
- *                   <element name="OccasionType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="MagnificationStrength" type="{}OptionalMagnificationDimension" minOccurs="0"/>
- *                   <element name="MaterialComposition" type="{}LongString" minOccurs="0"/>
- *                   <element name="MaterialType" type="{}String" maxOccurs="3" minOccurs="0"/>
- *                   <element name="ModelNumber" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="ModelName" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="ModelYear" type="{}FourDigitYear" minOccurs="0"/>
- *                   <element name="NumberOfPockets" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *                   <element name="OuterMaterialType" type="{}HundredString" minOccurs="0"/>
- *                   <element name="MaterialOpacity" type="{}HundredString" minOccurs="0"/>
- *                   <element name="PatternStyle" type="{}String" minOccurs="0"/>
- *                   <element name="PerformanceRating" type="{}HundredString" maxOccurs="3" minOccurs="0"/>
- *                   <element name="PlatformHeight" type="{}Dimension" minOccurs="0"/>
- *                   <element name="PocketDescription" type="{}String" minOccurs="0"/>
- *                   <element name="PolarizationType" type="{}LongString" minOccurs="0"/>
- *                   <element name="Season" type="{}HundredString" minOccurs="0"/>
- *                   <element name="ShaftHeight" type="{}StringLengthOptionalDimension" minOccurs="0"/>
- *                   <element name="ShaftWidth" type="{}StringLengthOptionalDimension" minOccurs="0"/>
- *                   <element name="ShaftDiameter" type="{}StringLengthOptionalDimension" minOccurs="0"/>
- *                   <element name="ShoulderStrapDrop" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="ShoeHeightMap" type="{}String" minOccurs="0"/>
- *                   <element name="SpecialSizeType" type="{}String" minOccurs="0"/>
- *                   <element name="SoleMaterial" type="{}LongString" minOccurs="0"/>
- *                   <element name="StrapType" type="{}LongString" minOccurs="0"/>
- *                   <element name="SpecialFeatures" type="{}LongString" maxOccurs="3" minOccurs="0"/>
- *                   <element name="SpecificUses" type="{}StringNotNull" maxOccurs="3" minOccurs="0"/>
- *                   <element name="Character" type="{}HundredString" minOccurs="0"/>
- *                   <element name="ToeShape" type="{}HundredString" minOccurs="0"/>
- *                   <element name="TargetGender" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="WarrantyType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="WarrantyDescription" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="WaistSize" type="{}ClothingSizeDimension" minOccurs="0"/>
- *                   <element name="WaistStyle" type="{}String" minOccurs="0"/>
- *                   <element name="WheelType" type="{}String" minOccurs="0"/>
- *                   <element name="WaterResistanceLevel" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="waterproof"/>
- *                         <enumeration value="not_water_resistant"/>
- *                         <enumeration value="water_resistant"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="PatternName" type="{}TwoThousandString" minOccurs="0"/>
- *                   <element name="SafetyWarning" type="{}SuperLongStringNotNull" minOccurs="0"/>
- *                   <element name="ManufacturerWarrantyType" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="MfrWarrantyDescriptionLabor" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="MfrWarrantyDescriptionParts" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="SellerWarrantyDescription" type="{}SuperLongStringNotNull" minOccurs="0"/>
- *                   <element name="StyleKeywords" type="{}LongStringNotNull" maxOccurs="3" minOccurs="0"/>
- *                   <element name="StyleName" type="{}TwoThousandString" minOccurs="0"/>
- *                   <element name="TeamName" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="ToeStyle" type="{}LongString" minOccurs="0"/>
- *                   <element name="NumberOfItems" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *                   <element name="ItemDisplayWeight" type="{}WeightDimension" minOccurs="0"/>
- *                   <element name="ItemDisplayVolume" type="{}VolumeDimension" minOccurs="0"/>
- *                   <element name="ItemDisplayLength" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="ItemDisplayWidth" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="ItemDisplayHeight" type="{}LengthDimension" minOccurs="0"/>
- *                   <element ref="{}Battery" minOccurs="0"/>
- *                   <element name="BatteryCellComposition" type="{}BatteryCellTypeValues" minOccurs="0"/>
- *                   <element name="BatteryDescription" type="{}String" minOccurs="0"/>
- *                   <element name="BatteryFormFactor" type="{}String" minOccurs="0"/>
- *                   <element name="LithiumBatteryWeight" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
- *                   <element name="SportType" type="{}String" minOccurs="0"/>
- *                   <element name="ShellType" type="{}String" minOccurs="0"/>
- *                   <element name="CollectionName" type="{}String" minOccurs="0"/>
- *                   <element name="InsoleType" type="{}String" minOccurs="0"/>
- *                   <element name="LeatherType" type="{}String" minOccurs="0"/>
- *                   <element name="PronationCorrection" type="{}String" minOccurs="0"/>
- *                   <element name="ShoeSafetyCodeIso20345" type="{}ShoeSafetyCodeIso20345Type" minOccurs="0"/>
- *                   <element name="ShoeWidth" type="{}String" minOccurs="0"/>
- *                   <element name="SurfaceRecommendation" type="{}String" minOccurs="0"/>
- *                   <element name="VolumeCapacityName" type="{}VolumeDimension" minOccurs="0"/>
- *                   <element name="NumberOfWheels" type="{}PositiveInteger" minOccurs="0"/>
- *                   <element name="InsertMaterial" type="{}String" minOccurs="0"/>
- *                   <element name="ShaftDiameterDerived" type="{}PositiveInteger" minOccurs="0"/>
- *                   <element name="BatteryWeight" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
- *                   <element name="MaximumCircumference" type="{}LengthDimension" minOccurs="0"/>
- *                   <element name="Opacity" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="RiseStyle" type="{}StringNotNull" minOccurs="0"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "clothingType", - "variationData", - "classificationData" -}) -@XmlRootElement(name = "Shoes") -public class Shoes { - - @XmlElement(name = "ClothingType", required = true) - protected String clothingType; - @XmlElement(name = "VariationData") - protected Shoes.VariationData variationData; - @XmlElement(name = "ClassificationData", required = true) - protected Shoes.ClassificationData classificationData; - - /** - * Recupera il valore della proprietà clothingType. - * - * @return possible object is - * {@link String } - */ - public String getClothingType() { - return clothingType; - } - - /** - * Imposta il valore della proprietà clothingType. - * - * @param value allowed object is - * {@link String } - */ - public void setClothingType(String value) { - this.clothingType = value; - } - - /** - * Recupera il valore della proprietà variationData. - * - * @return possible object is - * {@link Shoes.VariationData } - */ - public Shoes.VariationData getVariationData() { - return variationData; - } - - /** - * Imposta il valore della proprietà variationData. - * - * @param value allowed object is - * {@link Shoes.VariationData } - */ - public void setVariationData(Shoes.VariationData value) { - this.variationData = value; - } - - /** - * Recupera il valore della proprietà classificationData. - * - * @return possible object is - * {@link Shoes.ClassificationData } - */ - public Shoes.ClassificationData getClassificationData() { - return classificationData; - } - - /** - * Imposta il valore della proprietà classificationData. - * - * @param value allowed object is - * {@link Shoes.ClassificationData } - */ - public void setClassificationData(Shoes.ClassificationData value) { - this.classificationData = value; - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="BaseLength" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="CountryOfOrigin" type="{}CountryOfOriginType" minOccurs="0"/>
-     *         <element name="Contributor" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="ColorMap" type="{}String" minOccurs="0"/>
-     *         <element name="SizeMap" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="ArchType" type="{}LongString" minOccurs="0"/>
-     *         <element name="ArmLength" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="BeltStyle" type="{}String" minOccurs="0"/>
-     *         <element name="BootOpeningCircumference" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="BridgeWidth" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="CareInstructions" type="{}String" minOccurs="0"/>
-     *         <element name="ShoeClosureType" type="{}String" minOccurs="0"/>
-     *         <element name="CountryProducedIn" type="{}String" minOccurs="0"/>
-     *         <element name="CleatDescription" type="{}LongString" minOccurs="0"/>
-     *         <element name="CleatMaterialType" type="{}LongString" minOccurs="0"/>
-     *         <element name="Department" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="ExternalTestingCertification" type="{}String" maxOccurs="6" minOccurs="0"/>
-     *         <element name="FabricType" type="{}String" minOccurs="0"/>
-     *         <element name="ImportDesignation" type="{}String" minOccurs="0"/>
-     *         <element name="CountryAsLabeled" type="{}CountryOfOriginType" minOccurs="0"/>
-     *         <element name="FurDescription" type="{}LongString" minOccurs="0"/>
-     *         <element name="FabricWash" type="{}String" minOccurs="0"/>
-     *         <element name="FitToSizeDescription" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="FrameMaterialType" type="{}LongString" minOccurs="0"/>
-     *         <element name="HarmonizedCode" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="HeelHeight" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="HeelType" type="{}String" minOccurs="0"/>
-     *         <element name="InnerMaterial" type="{}LongString" minOccurs="0"/>
-     *         <element name="IsStainResistant" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
-     *         <element name="IsVeryHighValue" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
-     *         <element name="IsAdultProduct" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
-     *         <element name="IncludedComponents" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="ItemShape" type="{}LongString" minOccurs="0"/>
-     *         <element name="LensColor" type="{}LongString" minOccurs="0"/>
-     *         <element name="LensColorMap" type="{}LongString" minOccurs="0"/>
-     *         <element name="LensHeight" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="LensMaterialType" type="{}LongString" minOccurs="0"/>
-     *         <element name="LensType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="LensWidth" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="LiningDescription" type="{}LongString" minOccurs="0"/>
-     *         <element name="OccasionAndLifestyle" type="{}LongString" maxOccurs="10" minOccurs="0"/>
-     *         <element name="OccasionType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="MagnificationStrength" type="{}OptionalMagnificationDimension" minOccurs="0"/>
-     *         <element name="MaterialComposition" type="{}LongString" minOccurs="0"/>
-     *         <element name="MaterialType" type="{}String" maxOccurs="3" minOccurs="0"/>
-     *         <element name="ModelNumber" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="ModelName" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="ModelYear" type="{}FourDigitYear" minOccurs="0"/>
-     *         <element name="NumberOfPockets" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
-     *         <element name="OuterMaterialType" type="{}HundredString" minOccurs="0"/>
-     *         <element name="MaterialOpacity" type="{}HundredString" minOccurs="0"/>
-     *         <element name="PatternStyle" type="{}String" minOccurs="0"/>
-     *         <element name="PerformanceRating" type="{}HundredString" maxOccurs="3" minOccurs="0"/>
-     *         <element name="PlatformHeight" type="{}Dimension" minOccurs="0"/>
-     *         <element name="PocketDescription" type="{}String" minOccurs="0"/>
-     *         <element name="PolarizationType" type="{}LongString" minOccurs="0"/>
-     *         <element name="Season" type="{}HundredString" minOccurs="0"/>
-     *         <element name="ShaftHeight" type="{}StringLengthOptionalDimension" minOccurs="0"/>
-     *         <element name="ShaftWidth" type="{}StringLengthOptionalDimension" minOccurs="0"/>
-     *         <element name="ShaftDiameter" type="{}StringLengthOptionalDimension" minOccurs="0"/>
-     *         <element name="ShoulderStrapDrop" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="ShoeHeightMap" type="{}String" minOccurs="0"/>
-     *         <element name="SpecialSizeType" type="{}String" minOccurs="0"/>
-     *         <element name="SoleMaterial" type="{}LongString" minOccurs="0"/>
-     *         <element name="StrapType" type="{}LongString" minOccurs="0"/>
-     *         <element name="SpecialFeatures" type="{}LongString" maxOccurs="3" minOccurs="0"/>
-     *         <element name="SpecificUses" type="{}StringNotNull" maxOccurs="3" minOccurs="0"/>
-     *         <element name="Character" type="{}HundredString" minOccurs="0"/>
-     *         <element name="ToeShape" type="{}HundredString" minOccurs="0"/>
-     *         <element name="TargetGender" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="WarrantyType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="WarrantyDescription" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="WaistSize" type="{}ClothingSizeDimension" minOccurs="0"/>
-     *         <element name="WaistStyle" type="{}String" minOccurs="0"/>
-     *         <element name="WheelType" type="{}String" minOccurs="0"/>
-     *         <element name="WaterResistanceLevel" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="waterproof"/>
-     *               <enumeration value="not_water_resistant"/>
-     *               <enumeration value="water_resistant"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="PatternName" type="{}TwoThousandString" minOccurs="0"/>
-     *         <element name="SafetyWarning" type="{}SuperLongStringNotNull" minOccurs="0"/>
-     *         <element name="ManufacturerWarrantyType" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="MfrWarrantyDescriptionLabor" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="MfrWarrantyDescriptionParts" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="SellerWarrantyDescription" type="{}SuperLongStringNotNull" minOccurs="0"/>
-     *         <element name="StyleKeywords" type="{}LongStringNotNull" maxOccurs="3" minOccurs="0"/>
-     *         <element name="StyleName" type="{}TwoThousandString" minOccurs="0"/>
-     *         <element name="TeamName" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="ToeStyle" type="{}LongString" minOccurs="0"/>
-     *         <element name="NumberOfItems" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
-     *         <element name="ItemDisplayWeight" type="{}WeightDimension" minOccurs="0"/>
-     *         <element name="ItemDisplayVolume" type="{}VolumeDimension" minOccurs="0"/>
-     *         <element name="ItemDisplayLength" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="ItemDisplayWidth" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="ItemDisplayHeight" type="{}LengthDimension" minOccurs="0"/>
-     *         <element ref="{}Battery" minOccurs="0"/>
-     *         <element name="BatteryCellComposition" type="{}BatteryCellTypeValues" minOccurs="0"/>
-     *         <element name="BatteryDescription" type="{}String" minOccurs="0"/>
-     *         <element name="BatteryFormFactor" type="{}String" minOccurs="0"/>
-     *         <element name="LithiumBatteryWeight" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
-     *         <element name="SportType" type="{}String" minOccurs="0"/>
-     *         <element name="ShellType" type="{}String" minOccurs="0"/>
-     *         <element name="CollectionName" type="{}String" minOccurs="0"/>
-     *         <element name="InsoleType" type="{}String" minOccurs="0"/>
-     *         <element name="LeatherType" type="{}String" minOccurs="0"/>
-     *         <element name="PronationCorrection" type="{}String" minOccurs="0"/>
-     *         <element name="ShoeSafetyCodeIso20345" type="{}ShoeSafetyCodeIso20345Type" minOccurs="0"/>
-     *         <element name="ShoeWidth" type="{}String" minOccurs="0"/>
-     *         <element name="SurfaceRecommendation" type="{}String" minOccurs="0"/>
-     *         <element name="VolumeCapacityName" type="{}VolumeDimension" minOccurs="0"/>
-     *         <element name="NumberOfWheels" type="{}PositiveInteger" minOccurs="0"/>
-     *         <element name="InsertMaterial" type="{}String" minOccurs="0"/>
-     *         <element name="ShaftDiameterDerived" type="{}PositiveInteger" minOccurs="0"/>
-     *         <element name="BatteryWeight" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
-     *         <element name="MaximumCircumference" type="{}LengthDimension" minOccurs="0"/>
-     *         <element name="Opacity" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="RiseStyle" type="{}StringNotNull" minOccurs="0"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "baseLength", - "countryOfOrigin", - "contributor", - "colorMap", - "sizeMap", - "archType", - "armLength", - "beltStyle", - "bootOpeningCircumference", - "bridgeWidth", - "careInstructions", - "shoeClosureType", - "countryProducedIn", - "cleatDescription", - "cleatMaterialType", - "department", - "externalTestingCertification", - "fabricType", - "importDesignation", - "countryAsLabeled", - "furDescription", - "fabricWash", - "fitToSizeDescription", - "frameMaterialType", - "harmonizedCode", - "heelHeight", - "heelType", - "innerMaterial", - "isStainResistant", - "isVeryHighValue", - "isAdultProduct", - "includedComponents", - "itemShape", - "lensColor", - "lensColorMap", - "lensHeight", - "lensMaterialType", - "lensType", - "lensWidth", - "liningDescription", - "occasionAndLifestyle", - "occasionType", - "magnificationStrength", - "materialComposition", - "materialType", - "modelNumber", - "modelName", - "modelYear", - "numberOfPockets", - "outerMaterialType", - "materialOpacity", - "patternStyle", - "performanceRating", - "platformHeight", - "pocketDescription", - "polarizationType", - "season", - "shaftHeight", - "shaftWidth", - "shaftDiameter", - "shoulderStrapDrop", - "shoeHeightMap", - "specialSizeType", - "soleMaterial", - "strapType", - "specialFeatures", - "specificUses", - "character", - "toeShape", - "targetGender", - "warrantyType", - "warrantyDescription", - "waistSize", - "waistStyle", - "wheelType", - "waterResistanceLevel", - "patternName", - "safetyWarning", - "manufacturerWarrantyType", - "mfrWarrantyDescriptionLabor", - "mfrWarrantyDescriptionParts", - "sellerWarrantyDescription", - "styleKeywords", - "styleName", - "teamName", - "toeStyle", - "numberOfItems", - "itemDisplayWeight", - "itemDisplayVolume", - "itemDisplayLength", - "itemDisplayWidth", - "itemDisplayHeight", - "battery", - "batteryCellComposition", - "batteryDescription", - "batteryFormFactor", - "lithiumBatteryWeight", - "sportType", - "shellType", - "collectionName", - "insoleType", - "leatherType", - "pronationCorrection", - "shoeSafetyCodeIso20345", - "shoeWidth", - "surfaceRecommendation", - "volumeCapacityName", - "numberOfWheels", - "insertMaterial", - "shaftDiameterDerived", - "batteryWeight", - "maximumCircumference", - "opacity", - "riseStyle" - }) - public static class ClassificationData { - - @XmlElement(name = "BaseLength") - protected LengthDimension baseLength; - @XmlElement(name = "CountryOfOrigin") - protected String countryOfOrigin; - @XmlElement(name = "Contributor") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String contributor; - @XmlElement(name = "ColorMap") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String colorMap; - @XmlElement(name = "SizeMap") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String sizeMap; - @XmlElement(name = "ArchType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String archType; - @XmlElement(name = "ArmLength") - protected LengthDimension armLength; - @XmlElement(name = "BeltStyle") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String beltStyle; - @XmlElement(name = "BootOpeningCircumference") - protected LengthDimension bootOpeningCircumference; - @XmlElement(name = "BridgeWidth") - protected LengthDimension bridgeWidth; - @XmlElement(name = "CareInstructions") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String careInstructions; - @XmlElement(name = "ShoeClosureType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String shoeClosureType; - @XmlElement(name = "CountryProducedIn") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String countryProducedIn; - @XmlElement(name = "CleatDescription") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String cleatDescription; - @XmlElement(name = "CleatMaterialType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String cleatMaterialType; - @XmlElement(name = "Department") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String department; - @XmlElement(name = "ExternalTestingCertification") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List externalTestingCertification; - @XmlElement(name = "FabricType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String fabricType; - @XmlElement(name = "ImportDesignation") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String importDesignation; - @XmlElement(name = "CountryAsLabeled") - protected String countryAsLabeled; - @XmlElement(name = "FurDescription") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String furDescription; - @XmlElement(name = "FabricWash") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String fabricWash; - @XmlElement(name = "FitToSizeDescription") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String fitToSizeDescription; - @XmlElement(name = "FrameMaterialType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String frameMaterialType; - @XmlElement(name = "HarmonizedCode") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String harmonizedCode; - @XmlElement(name = "HeelHeight") - protected LengthDimension heelHeight; - @XmlElement(name = "HeelType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String heelType; - @XmlElement(name = "InnerMaterial") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String innerMaterial; - @XmlElement(name = "IsStainResistant") - protected Boolean isStainResistant; - @XmlElement(name = "IsVeryHighValue") - protected Boolean isVeryHighValue; - @XmlElement(name = "IsAdultProduct") - protected Boolean isAdultProduct; - @XmlElement(name = "IncludedComponents") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String includedComponents; - @XmlElement(name = "ItemShape") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String itemShape; - @XmlElement(name = "LensColor") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String lensColor; - @XmlElement(name = "LensColorMap") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String lensColorMap; - @XmlElement(name = "LensHeight") - protected LengthDimension lensHeight; - @XmlElement(name = "LensMaterialType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String lensMaterialType; - @XmlElement(name = "LensType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String lensType; - @XmlElement(name = "LensWidth") - protected LengthDimension lensWidth; - @XmlElement(name = "LiningDescription") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String liningDescription; - @XmlElement(name = "OccasionAndLifestyle") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List occasionAndLifestyle; - @XmlElement(name = "OccasionType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String occasionType; - @XmlElement(name = "MagnificationStrength") - protected OptionalMagnificationDimension magnificationStrength; - @XmlElement(name = "MaterialComposition") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String materialComposition; - @XmlElement(name = "MaterialType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List materialType; - @XmlElement(name = "ModelNumber") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String modelNumber; - @XmlElement(name = "ModelName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String modelName; - @XmlElement(name = "ModelYear") - protected BigInteger modelYear; - @XmlElement(name = "NumberOfPockets") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger numberOfPockets; - @XmlElement(name = "OuterMaterialType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String outerMaterialType; - @XmlElement(name = "MaterialOpacity") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String materialOpacity; - @XmlElement(name = "PatternStyle") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String patternStyle; - @XmlElement(name = "PerformanceRating") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List performanceRating; - @XmlElement(name = "PlatformHeight") - protected BigDecimal platformHeight; - @XmlElement(name = "PocketDescription") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String pocketDescription; - @XmlElement(name = "PolarizationType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String polarizationType; - @XmlElement(name = "Season") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String season; - @XmlElement(name = "ShaftHeight") - protected StringLengthOptionalDimension shaftHeight; - @XmlElement(name = "ShaftWidth") - protected StringLengthOptionalDimension shaftWidth; - @XmlElement(name = "ShaftDiameter") - protected StringLengthOptionalDimension shaftDiameter; - @XmlElement(name = "ShoulderStrapDrop") - protected LengthDimension shoulderStrapDrop; - @XmlElement(name = "ShoeHeightMap") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String shoeHeightMap; - @XmlElement(name = "SpecialSizeType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String specialSizeType; - @XmlElement(name = "SoleMaterial") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String soleMaterial; - @XmlElement(name = "StrapType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String strapType; - @XmlElement(name = "SpecialFeatures") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List specialFeatures; - @XmlElement(name = "SpecificUses") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List specificUses; - @XmlElement(name = "Character") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String character; - @XmlElement(name = "ToeShape") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String toeShape; - @XmlElement(name = "TargetGender") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String targetGender; - @XmlElement(name = "WarrantyType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String warrantyType; - @XmlElement(name = "WarrantyDescription") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String warrantyDescription; - @XmlElement(name = "WaistSize") - protected ClothingSizeDimension waistSize; - @XmlElement(name = "WaistStyle") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String waistStyle; - @XmlElement(name = "WheelType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String wheelType; - @XmlElement(name = "WaterResistanceLevel") - protected String waterResistanceLevel; - @XmlElement(name = "PatternName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String patternName; - @XmlElement(name = "SafetyWarning") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String safetyWarning; - @XmlElement(name = "ManufacturerWarrantyType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String manufacturerWarrantyType; - @XmlElement(name = "MfrWarrantyDescriptionLabor") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String mfrWarrantyDescriptionLabor; - @XmlElement(name = "MfrWarrantyDescriptionParts") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String mfrWarrantyDescriptionParts; - @XmlElement(name = "SellerWarrantyDescription") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String sellerWarrantyDescription; - @XmlElement(name = "StyleKeywords") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List styleKeywords; - @XmlElement(name = "StyleName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String styleName; - @XmlElement(name = "TeamName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String teamName; - @XmlElement(name = "ToeStyle") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String toeStyle; - @XmlElement(name = "NumberOfItems") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger numberOfItems; - @XmlElement(name = "ItemDisplayWeight") - protected WeightDimension itemDisplayWeight; - @XmlElement(name = "ItemDisplayVolume") - protected VolumeDimension itemDisplayVolume; - @XmlElement(name = "ItemDisplayLength") - protected LengthDimension itemDisplayLength; - @XmlElement(name = "ItemDisplayWidth") - protected LengthDimension itemDisplayWidth; - @XmlElement(name = "ItemDisplayHeight") - protected LengthDimension itemDisplayHeight; - @XmlElement(name = "Battery") - protected Battery battery; - @XmlElement(name = "BatteryCellComposition") - protected BatteryCellTypeValues batteryCellComposition; - @XmlElement(name = "BatteryDescription") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String batteryDescription; - @XmlElement(name = "BatteryFormFactor") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String batteryFormFactor; - @XmlElement(name = "LithiumBatteryWeight") - protected BigDecimal lithiumBatteryWeight; - @XmlElement(name = "SportType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String sportType; - @XmlElement(name = "ShellType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String shellType; - @XmlElement(name = "CollectionName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String collectionName; - @XmlElement(name = "InsoleType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String insoleType; - @XmlElement(name = "LeatherType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String leatherType; - @XmlElement(name = "PronationCorrection") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String pronationCorrection; - @XmlElement(name = "ShoeSafetyCodeIso20345") - protected ShoeSafetyCodeIso20345Type shoeSafetyCodeIso20345; - @XmlElement(name = "ShoeWidth") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String shoeWidth; - @XmlElement(name = "SurfaceRecommendation") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String surfaceRecommendation; - @XmlElement(name = "VolumeCapacityName") - protected VolumeDimension volumeCapacityName; - @XmlElement(name = "NumberOfWheels") - protected BigInteger numberOfWheels; - @XmlElement(name = "InsertMaterial") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String insertMaterial; - @XmlElement(name = "ShaftDiameterDerived") - protected BigInteger shaftDiameterDerived; - @XmlElement(name = "BatteryWeight") - protected BigDecimal batteryWeight; - @XmlElement(name = "MaximumCircumference") - protected LengthDimension maximumCircumference; - @XmlElement(name = "Opacity") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String opacity; - @XmlElement(name = "RiseStyle") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String riseStyle; - - /** - * Recupera il valore della proprietà baseLength. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getBaseLength() { - return baseLength; - } - - /** - * Imposta il valore della proprietà baseLength. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setBaseLength(LengthDimension value) { - this.baseLength = value; - } - - /** - * Recupera il valore della proprietà countryOfOrigin. - * - * @return possible object is - * {@link String } - */ - public String getCountryOfOrigin() { - return countryOfOrigin; - } - - /** - * Imposta il valore della proprietà countryOfOrigin. - * - * @param value allowed object is - * {@link String } - */ - public void setCountryOfOrigin(String value) { - this.countryOfOrigin = value; - } - - /** - * Recupera il valore della proprietà contributor. - * - * @return possible object is - * {@link String } - */ - public String getContributor() { - return contributor; - } - - /** - * Imposta il valore della proprietà contributor. - * - * @param value allowed object is - * {@link String } - */ - public void setContributor(String value) { - this.contributor = value; - } - - /** - * Recupera il valore della proprietà colorMap. - * - * @return possible object is - * {@link String } - */ - public String getColorMap() { - return colorMap; - } - - /** - * Imposta il valore della proprietà colorMap. - * - * @param value allowed object is - * {@link String } - */ - public void setColorMap(String value) { - this.colorMap = value; - } - - /** - * Recupera il valore della proprietà sizeMap. - * - * @return possible object is - * {@link String } - */ - public String getSizeMap() { - return sizeMap; - } - - /** - * Imposta il valore della proprietà sizeMap. - * - * @param value allowed object is - * {@link String } - */ - public void setSizeMap(String value) { - this.sizeMap = value; - } - - /** - * Recupera il valore della proprietà archType. - * - * @return possible object is - * {@link String } - */ - public String getArchType() { - return archType; - } - - /** - * Imposta il valore della proprietà archType. - * - * @param value allowed object is - * {@link String } - */ - public void setArchType(String value) { - this.archType = value; - } - - /** - * Recupera il valore della proprietà armLength. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getArmLength() { - return armLength; - } - - /** - * Imposta il valore della proprietà armLength. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setArmLength(LengthDimension value) { - this.armLength = value; - } - - /** - * Recupera il valore della proprietà beltStyle. - * - * @return possible object is - * {@link String } - */ - public String getBeltStyle() { - return beltStyle; - } - - /** - * Imposta il valore della proprietà beltStyle. - * - * @param value allowed object is - * {@link String } - */ - public void setBeltStyle(String value) { - this.beltStyle = value; - } - - /** - * Recupera il valore della proprietà bootOpeningCircumference. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getBootOpeningCircumference() { - return bootOpeningCircumference; - } - - /** - * Imposta il valore della proprietà bootOpeningCircumference. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setBootOpeningCircumference(LengthDimension value) { - this.bootOpeningCircumference = value; - } - - /** - * Recupera il valore della proprietà bridgeWidth. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getBridgeWidth() { - return bridgeWidth; - } - - /** - * Imposta il valore della proprietà bridgeWidth. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setBridgeWidth(LengthDimension value) { - this.bridgeWidth = value; - } - - /** - * Recupera il valore della proprietà careInstructions. - * - * @return possible object is - * {@link String } - */ - public String getCareInstructions() { - return careInstructions; - } - - /** - * Imposta il valore della proprietà careInstructions. - * - * @param value allowed object is - * {@link String } - */ - public void setCareInstructions(String value) { - this.careInstructions = value; - } - - /** - * Recupera il valore della proprietà shoeClosureType. - * - * @return possible object is - * {@link String } - */ - public String getShoeClosureType() { - return shoeClosureType; - } - - /** - * Imposta il valore della proprietà shoeClosureType. - * - * @param value allowed object is - * {@link String } - */ - public void setShoeClosureType(String value) { - this.shoeClosureType = value; - } - - /** - * Recupera il valore della proprietà countryProducedIn. - * - * @return possible object is - * {@link String } - */ - public String getCountryProducedIn() { - return countryProducedIn; - } - - /** - * Imposta il valore della proprietà countryProducedIn. - * - * @param value allowed object is - * {@link String } - */ - public void setCountryProducedIn(String value) { - this.countryProducedIn = value; - } - - /** - * Recupera il valore della proprietà cleatDescription. - * - * @return possible object is - * {@link String } - */ - public String getCleatDescription() { - return cleatDescription; - } - - /** - * Imposta il valore della proprietà cleatDescription. - * - * @param value allowed object is - * {@link String } - */ - public void setCleatDescription(String value) { - this.cleatDescription = value; - } - - /** - * Recupera il valore della proprietà cleatMaterialType. - * - * @return possible object is - * {@link String } - */ - public String getCleatMaterialType() { - return cleatMaterialType; - } - - /** - * Imposta il valore della proprietà cleatMaterialType. - * - * @param value allowed object is - * {@link String } - */ - public void setCleatMaterialType(String value) { - this.cleatMaterialType = value; - } - - /** - * Recupera il valore della proprietà department. - * - * @return possible object is - * {@link String } - */ - public String getDepartment() { - return department; - } - - /** - * Imposta il valore della proprietà department. - * - * @param value allowed object is - * {@link String } - */ - public void setDepartment(String value) { - this.department = value; - } - - /** - * Gets the value of the externalTestingCertification property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the externalTestingCertification property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getExternalTestingCertification().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getExternalTestingCertification() { - if (externalTestingCertification == null) { - externalTestingCertification = new ArrayList(); - } - return this.externalTestingCertification; - } - - /** - * Recupera il valore della proprietà fabricType. - * - * @return possible object is - * {@link String } - */ - public String getFabricType() { - return fabricType; - } - - /** - * Imposta il valore della proprietà fabricType. - * - * @param value allowed object is - * {@link String } - */ - public void setFabricType(String value) { - this.fabricType = value; - } - - /** - * Recupera il valore della proprietà importDesignation. - * - * @return possible object is - * {@link String } - */ - public String getImportDesignation() { - return importDesignation; - } - - /** - * Imposta il valore della proprietà importDesignation. - * - * @param value allowed object is - * {@link String } - */ - public void setImportDesignation(String value) { - this.importDesignation = value; - } - - /** - * Recupera il valore della proprietà countryAsLabeled. - * - * @return possible object is - * {@link String } - */ - public String getCountryAsLabeled() { - return countryAsLabeled; - } - - /** - * Imposta il valore della proprietà countryAsLabeled. - * - * @param value allowed object is - * {@link String } - */ - public void setCountryAsLabeled(String value) { - this.countryAsLabeled = value; - } - - /** - * Recupera il valore della proprietà furDescription. - * - * @return possible object is - * {@link String } - */ - public String getFurDescription() { - return furDescription; - } - - /** - * Imposta il valore della proprietà furDescription. - * - * @param value allowed object is - * {@link String } - */ - public void setFurDescription(String value) { - this.furDescription = value; - } - - /** - * Recupera il valore della proprietà fabricWash. - * - * @return possible object is - * {@link String } - */ - public String getFabricWash() { - return fabricWash; - } - - /** - * Imposta il valore della proprietà fabricWash. - * - * @param value allowed object is - * {@link String } - */ - public void setFabricWash(String value) { - this.fabricWash = value; - } - - /** - * Recupera il valore della proprietà fitToSizeDescription. - * - * @return possible object is - * {@link String } - */ - public String getFitToSizeDescription() { - return fitToSizeDescription; - } - - /** - * Imposta il valore della proprietà fitToSizeDescription. - * - * @param value allowed object is - * {@link String } - */ - public void setFitToSizeDescription(String value) { - this.fitToSizeDescription = value; - } - - /** - * Recupera il valore della proprietà frameMaterialType. - * - * @return possible object is - * {@link String } - */ - public String getFrameMaterialType() { - return frameMaterialType; - } - - /** - * Imposta il valore della proprietà frameMaterialType. - * - * @param value allowed object is - * {@link String } - */ - public void setFrameMaterialType(String value) { - this.frameMaterialType = value; - } - - /** - * Recupera il valore della proprietà harmonizedCode. - * - * @return possible object is - * {@link String } - */ - public String getHarmonizedCode() { - return harmonizedCode; - } - - /** - * Imposta il valore della proprietà harmonizedCode. - * - * @param value allowed object is - * {@link String } - */ - public void setHarmonizedCode(String value) { - this.harmonizedCode = value; - } - - /** - * Recupera il valore della proprietà heelHeight. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getHeelHeight() { - return heelHeight; - } - - /** - * Imposta il valore della proprietà heelHeight. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setHeelHeight(LengthDimension value) { - this.heelHeight = value; - } - - /** - * Recupera il valore della proprietà heelType. - * - * @return possible object is - * {@link String } - */ - public String getHeelType() { - return heelType; - } - - /** - * Imposta il valore della proprietà heelType. - * - * @param value allowed object is - * {@link String } - */ - public void setHeelType(String value) { - this.heelType = value; - } - - /** - * Recupera il valore della proprietà innerMaterial. - * - * @return possible object is - * {@link String } - */ - public String getInnerMaterial() { - return innerMaterial; - } - - /** - * Imposta il valore della proprietà innerMaterial. - * - * @param value allowed object is - * {@link String } - */ - public void setInnerMaterial(String value) { - this.innerMaterial = value; - } - - /** - * Recupera il valore della proprietà isStainResistant. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isIsStainResistant() { - return isStainResistant; - } - - /** - * Imposta il valore della proprietà isStainResistant. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setIsStainResistant(Boolean value) { - this.isStainResistant = value; - } - - /** - * Recupera il valore della proprietà isVeryHighValue. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isIsVeryHighValue() { - return isVeryHighValue; - } - - /** - * Imposta il valore della proprietà isVeryHighValue. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setIsVeryHighValue(Boolean value) { - this.isVeryHighValue = value; - } - - /** - * Recupera il valore della proprietà isAdultProduct. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isIsAdultProduct() { - return isAdultProduct; - } - - /** - * Imposta il valore della proprietà isAdultProduct. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setIsAdultProduct(Boolean value) { - this.isAdultProduct = value; - } - - /** - * Recupera il valore della proprietà includedComponents. - * - * @return possible object is - * {@link String } - */ - public String getIncludedComponents() { - return includedComponents; - } - - /** - * Imposta il valore della proprietà includedComponents. - * - * @param value allowed object is - * {@link String } - */ - public void setIncludedComponents(String value) { - this.includedComponents = value; - } - - /** - * Recupera il valore della proprietà itemShape. - * - * @return possible object is - * {@link String } - */ - public String getItemShape() { - return itemShape; - } - - /** - * Imposta il valore della proprietà itemShape. - * - * @param value allowed object is - * {@link String } - */ - public void setItemShape(String value) { - this.itemShape = value; - } - - /** - * Recupera il valore della proprietà lensColor. - * - * @return possible object is - * {@link String } - */ - public String getLensColor() { - return lensColor; - } - - /** - * Imposta il valore della proprietà lensColor. - * - * @param value allowed object is - * {@link String } - */ - public void setLensColor(String value) { - this.lensColor = value; - } - - /** - * Recupera il valore della proprietà lensColorMap. - * - * @return possible object is - * {@link String } - */ - public String getLensColorMap() { - return lensColorMap; - } - - /** - * Imposta il valore della proprietà lensColorMap. - * - * @param value allowed object is - * {@link String } - */ - public void setLensColorMap(String value) { - this.lensColorMap = value; - } - - /** - * Recupera il valore della proprietà lensHeight. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getLensHeight() { - return lensHeight; - } - - /** - * Imposta il valore della proprietà lensHeight. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setLensHeight(LengthDimension value) { - this.lensHeight = value; - } - - /** - * Recupera il valore della proprietà lensMaterialType. - * - * @return possible object is - * {@link String } - */ - public String getLensMaterialType() { - return lensMaterialType; - } - - /** - * Imposta il valore della proprietà lensMaterialType. - * - * @param value allowed object is - * {@link String } - */ - public void setLensMaterialType(String value) { - this.lensMaterialType = value; - } - - /** - * Recupera il valore della proprietà lensType. - * - * @return possible object is - * {@link String } - */ - public String getLensType() { - return lensType; - } - - /** - * Imposta il valore della proprietà lensType. - * - * @param value allowed object is - * {@link String } - */ - public void setLensType(String value) { - this.lensType = value; - } - - /** - * Recupera il valore della proprietà lensWidth. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getLensWidth() { - return lensWidth; - } - - /** - * Imposta il valore della proprietà lensWidth. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setLensWidth(LengthDimension value) { - this.lensWidth = value; - } - - /** - * Recupera il valore della proprietà liningDescription. - * - * @return possible object is - * {@link String } - */ - public String getLiningDescription() { - return liningDescription; - } - - /** - * Imposta il valore della proprietà liningDescription. - * - * @param value allowed object is - * {@link String } - */ - public void setLiningDescription(String value) { - this.liningDescription = value; - } - - /** - * Gets the value of the occasionAndLifestyle property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the occasionAndLifestyle property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getOccasionAndLifestyle().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getOccasionAndLifestyle() { - if (occasionAndLifestyle == null) { - occasionAndLifestyle = new ArrayList(); - } - return this.occasionAndLifestyle; - } - - /** - * Recupera il valore della proprietà occasionType. - * - * @return possible object is - * {@link String } - */ - public String getOccasionType() { - return occasionType; - } - - /** - * Imposta il valore della proprietà occasionType. - * - * @param value allowed object is - * {@link String } - */ - public void setOccasionType(String value) { - this.occasionType = value; - } - - /** - * Recupera il valore della proprietà magnificationStrength. - * - * @return possible object is - * {@link OptionalMagnificationDimension } - */ - public OptionalMagnificationDimension getMagnificationStrength() { - return magnificationStrength; - } - - /** - * Imposta il valore della proprietà magnificationStrength. - * - * @param value allowed object is - * {@link OptionalMagnificationDimension } - */ - public void setMagnificationStrength(OptionalMagnificationDimension value) { - this.magnificationStrength = value; - } - - /** - * Recupera il valore della proprietà materialComposition. - * - * @return possible object is - * {@link String } - */ - public String getMaterialComposition() { - return materialComposition; - } - - /** - * Imposta il valore della proprietà materialComposition. - * - * @param value allowed object is - * {@link String } - */ - public void setMaterialComposition(String value) { - this.materialComposition = value; - } - - /** - * Gets the value of the materialType property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the materialType property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getMaterialType().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getMaterialType() { - if (materialType == null) { - materialType = new ArrayList(); - } - return this.materialType; - } - - /** - * Recupera il valore della proprietà modelNumber. - * - * @return possible object is - * {@link String } - */ - public String getModelNumber() { - return modelNumber; - } - - /** - * Imposta il valore della proprietà modelNumber. - * - * @param value allowed object is - * {@link String } - */ - public void setModelNumber(String value) { - this.modelNumber = value; - } - - /** - * Recupera il valore della proprietà modelName. - * - * @return possible object is - * {@link String } - */ - public String getModelName() { - return modelName; - } - - /** - * Imposta il valore della proprietà modelName. - * - * @param value allowed object is - * {@link String } - */ - public void setModelName(String value) { - this.modelName = value; - } - - /** - * Recupera il valore della proprietà modelYear. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getModelYear() { - return modelYear; - } - - /** - * Imposta il valore della proprietà modelYear. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setModelYear(BigInteger value) { - this.modelYear = value; - } - - /** - * Recupera il valore della proprietà numberOfPockets. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getNumberOfPockets() { - return numberOfPockets; - } - - /** - * Imposta il valore della proprietà numberOfPockets. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setNumberOfPockets(BigInteger value) { - this.numberOfPockets = value; - } - - /** - * Recupera il valore della proprietà outerMaterialType. - * - * @return possible object is - * {@link String } - */ - public String getOuterMaterialType() { - return outerMaterialType; - } - - /** - * Imposta il valore della proprietà outerMaterialType. - * - * @param value allowed object is - * {@link String } - */ - public void setOuterMaterialType(String value) { - this.outerMaterialType = value; - } - - /** - * Recupera il valore della proprietà materialOpacity. - * - * @return possible object is - * {@link String } - */ - public String getMaterialOpacity() { - return materialOpacity; - } - - /** - * Imposta il valore della proprietà materialOpacity. - * - * @param value allowed object is - * {@link String } - */ - public void setMaterialOpacity(String value) { - this.materialOpacity = value; - } - - /** - * Recupera il valore della proprietà patternStyle. - * - * @return possible object is - * {@link String } - */ - public String getPatternStyle() { - return patternStyle; - } - - /** - * Imposta il valore della proprietà patternStyle. - * - * @param value allowed object is - * {@link String } - */ - public void setPatternStyle(String value) { - this.patternStyle = value; - } - - /** - * Gets the value of the performanceRating property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the performanceRating property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getPerformanceRating().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getPerformanceRating() { - if (performanceRating == null) { - performanceRating = new ArrayList(); - } - return this.performanceRating; - } - - /** - * Recupera il valore della proprietà platformHeight. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getPlatformHeight() { - return platformHeight; - } - - /** - * Imposta il valore della proprietà platformHeight. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setPlatformHeight(BigDecimal value) { - this.platformHeight = value; - } - - /** - * Recupera il valore della proprietà pocketDescription. - * - * @return possible object is - * {@link String } - */ - public String getPocketDescription() { - return pocketDescription; - } - - /** - * Imposta il valore della proprietà pocketDescription. - * - * @param value allowed object is - * {@link String } - */ - public void setPocketDescription(String value) { - this.pocketDescription = value; - } - - /** - * Recupera il valore della proprietà polarizationType. - * - * @return possible object is - * {@link String } - */ - public String getPolarizationType() { - return polarizationType; - } - - /** - * Imposta il valore della proprietà polarizationType. - * - * @param value allowed object is - * {@link String } - */ - public void setPolarizationType(String value) { - this.polarizationType = value; - } - - /** - * Recupera il valore della proprietà season. - * - * @return possible object is - * {@link String } - */ - public String getSeason() { - return season; - } - - /** - * Imposta il valore della proprietà season. - * - * @param value allowed object is - * {@link String } - */ - public void setSeason(String value) { - this.season = value; - } - - /** - * Recupera il valore della proprietà shaftHeight. - * - * @return possible object is - * {@link StringLengthOptionalDimension } - */ - public StringLengthOptionalDimension getShaftHeight() { - return shaftHeight; - } - - /** - * Imposta il valore della proprietà shaftHeight. - * - * @param value allowed object is - * {@link StringLengthOptionalDimension } - */ - public void setShaftHeight(StringLengthOptionalDimension value) { - this.shaftHeight = value; - } - - /** - * Recupera il valore della proprietà shaftWidth. - * - * @return possible object is - * {@link StringLengthOptionalDimension } - */ - public StringLengthOptionalDimension getShaftWidth() { - return shaftWidth; - } - - /** - * Imposta il valore della proprietà shaftWidth. - * - * @param value allowed object is - * {@link StringLengthOptionalDimension } - */ - public void setShaftWidth(StringLengthOptionalDimension value) { - this.shaftWidth = value; - } - - /** - * Recupera il valore della proprietà shaftDiameter. - * - * @return possible object is - * {@link StringLengthOptionalDimension } - */ - public StringLengthOptionalDimension getShaftDiameter() { - return shaftDiameter; - } - - /** - * Imposta il valore della proprietà shaftDiameter. - * - * @param value allowed object is - * {@link StringLengthOptionalDimension } - */ - public void setShaftDiameter(StringLengthOptionalDimension value) { - this.shaftDiameter = value; - } - - /** - * Recupera il valore della proprietà shoulderStrapDrop. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getShoulderStrapDrop() { - return shoulderStrapDrop; - } - - /** - * Imposta il valore della proprietà shoulderStrapDrop. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setShoulderStrapDrop(LengthDimension value) { - this.shoulderStrapDrop = value; - } - - /** - * Recupera il valore della proprietà shoeHeightMap. - * - * @return possible object is - * {@link String } - */ - public String getShoeHeightMap() { - return shoeHeightMap; - } - - /** - * Imposta il valore della proprietà shoeHeightMap. - * - * @param value allowed object is - * {@link String } - */ - public void setShoeHeightMap(String value) { - this.shoeHeightMap = value; - } - - /** - * Recupera il valore della proprietà specialSizeType. - * - * @return possible object is - * {@link String } - */ - public String getSpecialSizeType() { - return specialSizeType; - } - - /** - * Imposta il valore della proprietà specialSizeType. - * - * @param value allowed object is - * {@link String } - */ - public void setSpecialSizeType(String value) { - this.specialSizeType = value; - } - - /** - * Recupera il valore della proprietà soleMaterial. - * - * @return possible object is - * {@link String } - */ - public String getSoleMaterial() { - return soleMaterial; - } - - /** - * Imposta il valore della proprietà soleMaterial. - * - * @param value allowed object is - * {@link String } - */ - public void setSoleMaterial(String value) { - this.soleMaterial = value; - } - - /** - * Recupera il valore della proprietà strapType. - * - * @return possible object is - * {@link String } - */ - public String getStrapType() { - return strapType; - } - - /** - * Imposta il valore della proprietà strapType. - * - * @param value allowed object is - * {@link String } - */ - public void setStrapType(String value) { - this.strapType = value; - } - - /** - * Gets the value of the specialFeatures property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the specialFeatures property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getSpecialFeatures().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getSpecialFeatures() { - if (specialFeatures == null) { - specialFeatures = new ArrayList(); - } - return this.specialFeatures; - } - - /** - * Gets the value of the specificUses property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the specificUses property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getSpecificUses().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getSpecificUses() { - if (specificUses == null) { - specificUses = new ArrayList(); - } - return this.specificUses; - } - - /** - * Recupera il valore della proprietà character. - * - * @return possible object is - * {@link String } - */ - public String getCharacter() { - return character; - } - - /** - * Imposta il valore della proprietà character. - * - * @param value allowed object is - * {@link String } - */ - public void setCharacter(String value) { - this.character = value; - } - - /** - * Recupera il valore della proprietà toeShape. - * - * @return possible object is - * {@link String } - */ - public String getToeShape() { - return toeShape; - } - - /** - * Imposta il valore della proprietà toeShape. - * - * @param value allowed object is - * {@link String } - */ - public void setToeShape(String value) { - this.toeShape = value; - } - - /** - * Recupera il valore della proprietà targetGender. - * - * @return possible object is - * {@link String } - */ - public String getTargetGender() { - return targetGender; - } - - /** - * Imposta il valore della proprietà targetGender. - * - * @param value allowed object is - * {@link String } - */ - public void setTargetGender(String value) { - this.targetGender = value; - } - - /** - * Recupera il valore della proprietà warrantyType. - * - * @return possible object is - * {@link String } - */ - public String getWarrantyType() { - return warrantyType; - } - - /** - * Imposta il valore della proprietà warrantyType. - * - * @param value allowed object is - * {@link String } - */ - public void setWarrantyType(String value) { - this.warrantyType = value; - } - - /** - * Recupera il valore della proprietà warrantyDescription. - * - * @return possible object is - * {@link String } - */ - public String getWarrantyDescription() { - return warrantyDescription; - } - - /** - * Imposta il valore della proprietà warrantyDescription. - * - * @param value allowed object is - * {@link String } - */ - public void setWarrantyDescription(String value) { - this.warrantyDescription = value; - } - - /** - * Recupera il valore della proprietà waistSize. - * - * @return possible object is - * {@link ClothingSizeDimension } - */ - public ClothingSizeDimension getWaistSize() { - return waistSize; - } - - /** - * Imposta il valore della proprietà waistSize. - * - * @param value allowed object is - * {@link ClothingSizeDimension } - */ - public void setWaistSize(ClothingSizeDimension value) { - this.waistSize = value; - } - - /** - * Recupera il valore della proprietà waistStyle. - * - * @return possible object is - * {@link String } - */ - public String getWaistStyle() { - return waistStyle; - } - - /** - * Imposta il valore della proprietà waistStyle. - * - * @param value allowed object is - * {@link String } - */ - public void setWaistStyle(String value) { - this.waistStyle = value; - } - - /** - * Recupera il valore della proprietà wheelType. - * - * @return possible object is - * {@link String } - */ - public String getWheelType() { - return wheelType; - } - - /** - * Imposta il valore della proprietà wheelType. - * - * @param value allowed object is - * {@link String } - */ - public void setWheelType(String value) { - this.wheelType = value; - } - - /** - * Recupera il valore della proprietà waterResistanceLevel. - * - * @return possible object is - * {@link String } - */ - public String getWaterResistanceLevel() { - return waterResistanceLevel; - } - - /** - * Imposta il valore della proprietà waterResistanceLevel. - * - * @param value allowed object is - * {@link String } - */ - public void setWaterResistanceLevel(String value) { - this.waterResistanceLevel = value; - } - - /** - * Recupera il valore della proprietà patternName. - * - * @return possible object is - * {@link String } - */ - public String getPatternName() { - return patternName; - } - - /** - * Imposta il valore della proprietà patternName. - * - * @param value allowed object is - * {@link String } - */ - public void setPatternName(String value) { - this.patternName = value; - } - - /** - * Recupera il valore della proprietà safetyWarning. - * - * @return possible object is - * {@link String } - */ - public String getSafetyWarning() { - return safetyWarning; - } - - /** - * Imposta il valore della proprietà safetyWarning. - * - * @param value allowed object is - * {@link String } - */ - public void setSafetyWarning(String value) { - this.safetyWarning = value; - } - - /** - * Recupera il valore della proprietà manufacturerWarrantyType. - * - * @return possible object is - * {@link String } - */ - public String getManufacturerWarrantyType() { - return manufacturerWarrantyType; - } - - /** - * Imposta il valore della proprietà manufacturerWarrantyType. - * - * @param value allowed object is - * {@link String } - */ - public void setManufacturerWarrantyType(String value) { - this.manufacturerWarrantyType = value; - } - - /** - * Recupera il valore della proprietà mfrWarrantyDescriptionLabor. - * - * @return possible object is - * {@link String } - */ - public String getMfrWarrantyDescriptionLabor() { - return mfrWarrantyDescriptionLabor; - } - - /** - * Imposta il valore della proprietà mfrWarrantyDescriptionLabor. - * - * @param value allowed object is - * {@link String } - */ - public void setMfrWarrantyDescriptionLabor(String value) { - this.mfrWarrantyDescriptionLabor = value; - } - - /** - * Recupera il valore della proprietà mfrWarrantyDescriptionParts. - * - * @return possible object is - * {@link String } - */ - public String getMfrWarrantyDescriptionParts() { - return mfrWarrantyDescriptionParts; - } - - /** - * Imposta il valore della proprietà mfrWarrantyDescriptionParts. - * - * @param value allowed object is - * {@link String } - */ - public void setMfrWarrantyDescriptionParts(String value) { - this.mfrWarrantyDescriptionParts = value; - } - - /** - * Recupera il valore della proprietà sellerWarrantyDescription. - * - * @return possible object is - * {@link String } - */ - public String getSellerWarrantyDescription() { - return sellerWarrantyDescription; - } - - /** - * Imposta il valore della proprietà sellerWarrantyDescription. - * - * @param value allowed object is - * {@link String } - */ - public void setSellerWarrantyDescription(String value) { - this.sellerWarrantyDescription = value; - } - - /** - * Gets the value of the styleKeywords property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the styleKeywords property. - * - *

- * For example, to add a new item, do as follows: - *

-         *    getStyleKeywords().add(newItem);
-         * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getStyleKeywords() { - if (styleKeywords == null) { - styleKeywords = new ArrayList(); - } - return this.styleKeywords; - } - - /** - * Recupera il valore della proprietà styleName. - * - * @return possible object is - * {@link String } - */ - public String getStyleName() { - return styleName; - } - - /** - * Imposta il valore della proprietà styleName. - * - * @param value allowed object is - * {@link String } - */ - public void setStyleName(String value) { - this.styleName = value; - } - - /** - * Recupera il valore della proprietà teamName. - * - * @return possible object is - * {@link String } - */ - public String getTeamName() { - return teamName; - } - - /** - * Imposta il valore della proprietà teamName. - * - * @param value allowed object is - * {@link String } - */ - public void setTeamName(String value) { - this.teamName = value; - } - - /** - * Recupera il valore della proprietà toeStyle. - * - * @return possible object is - * {@link String } - */ - public String getToeStyle() { - return toeStyle; - } - - /** - * Imposta il valore della proprietà toeStyle. - * - * @param value allowed object is - * {@link String } - */ - public void setToeStyle(String value) { - this.toeStyle = value; - } - - /** - * Recupera il valore della proprietà numberOfItems. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getNumberOfItems() { - return numberOfItems; - } - - /** - * Imposta il valore della proprietà numberOfItems. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setNumberOfItems(BigInteger value) { - this.numberOfItems = value; - } - - /** - * Recupera il valore della proprietà itemDisplayWeight. - * - * @return possible object is - * {@link WeightDimension } - */ - public WeightDimension getItemDisplayWeight() { - return itemDisplayWeight; - } - - /** - * Imposta il valore della proprietà itemDisplayWeight. - * - * @param value allowed object is - * {@link WeightDimension } - */ - public void setItemDisplayWeight(WeightDimension value) { - this.itemDisplayWeight = value; - } - - /** - * Recupera il valore della proprietà itemDisplayVolume. - * - * @return possible object is - * {@link VolumeDimension } - */ - public VolumeDimension getItemDisplayVolume() { - return itemDisplayVolume; - } - - /** - * Imposta il valore della proprietà itemDisplayVolume. - * - * @param value allowed object is - * {@link VolumeDimension } - */ - public void setItemDisplayVolume(VolumeDimension value) { - this.itemDisplayVolume = value; - } - - /** - * Recupera il valore della proprietà itemDisplayLength. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getItemDisplayLength() { - return itemDisplayLength; - } - - /** - * Imposta il valore della proprietà itemDisplayLength. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setItemDisplayLength(LengthDimension value) { - this.itemDisplayLength = value; - } - - /** - * Recupera il valore della proprietà itemDisplayWidth. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getItemDisplayWidth() { - return itemDisplayWidth; - } - - /** - * Imposta il valore della proprietà itemDisplayWidth. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setItemDisplayWidth(LengthDimension value) { - this.itemDisplayWidth = value; - } - - /** - * Recupera il valore della proprietà itemDisplayHeight. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getItemDisplayHeight() { - return itemDisplayHeight; - } - - /** - * Imposta il valore della proprietà itemDisplayHeight. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setItemDisplayHeight(LengthDimension value) { - this.itemDisplayHeight = value; - } - - /** - * Recupera il valore della proprietà battery. - * - * @return possible object is - * {@link Battery } - */ - public Battery getBattery() { - return battery; - } - - /** - * Imposta il valore della proprietà battery. - * - * @param value allowed object is - * {@link Battery } - */ - public void setBattery(Battery value) { - this.battery = value; - } - - /** - * Recupera il valore della proprietà batteryCellComposition. - * - * @return possible object is - * {@link BatteryCellTypeValues } - */ - public BatteryCellTypeValues getBatteryCellComposition() { - return batteryCellComposition; - } - - /** - * Imposta il valore della proprietà batteryCellComposition. - * - * @param value allowed object is - * {@link BatteryCellTypeValues } - */ - public void setBatteryCellComposition(BatteryCellTypeValues value) { - this.batteryCellComposition = value; - } - - /** - * Recupera il valore della proprietà batteryDescription. - * - * @return possible object is - * {@link String } - */ - public String getBatteryDescription() { - return batteryDescription; - } - - /** - * Imposta il valore della proprietà batteryDescription. - * - * @param value allowed object is - * {@link String } - */ - public void setBatteryDescription(String value) { - this.batteryDescription = value; - } - - /** - * Recupera il valore della proprietà batteryFormFactor. - * - * @return possible object is - * {@link String } - */ - public String getBatteryFormFactor() { - return batteryFormFactor; - } - - /** - * Imposta il valore della proprietà batteryFormFactor. - * - * @param value allowed object is - * {@link String } - */ - public void setBatteryFormFactor(String value) { - this.batteryFormFactor = value; - } - - /** - * Recupera il valore della proprietà lithiumBatteryWeight. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getLithiumBatteryWeight() { - return lithiumBatteryWeight; - } - - /** - * Imposta il valore della proprietà lithiumBatteryWeight. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setLithiumBatteryWeight(BigDecimal value) { - this.lithiumBatteryWeight = value; - } - - /** - * Recupera il valore della proprietà sportType. - * - * @return possible object is - * {@link String } - */ - public String getSportType() { - return sportType; - } - - /** - * Imposta il valore della proprietà sportType. - * - * @param value allowed object is - * {@link String } - */ - public void setSportType(String value) { - this.sportType = value; - } - - /** - * Recupera il valore della proprietà shellType. - * - * @return possible object is - * {@link String } - */ - public String getShellType() { - return shellType; - } - - /** - * Imposta il valore della proprietà shellType. - * - * @param value allowed object is - * {@link String } - */ - public void setShellType(String value) { - this.shellType = value; - } - - /** - * Recupera il valore della proprietà collectionName. - * - * @return possible object is - * {@link String } - */ - public String getCollectionName() { - return collectionName; - } - - /** - * Imposta il valore della proprietà collectionName. - * - * @param value allowed object is - * {@link String } - */ - public void setCollectionName(String value) { - this.collectionName = value; - } - - /** - * Recupera il valore della proprietà insoleType. - * - * @return possible object is - * {@link String } - */ - public String getInsoleType() { - return insoleType; - } - - /** - * Imposta il valore della proprietà insoleType. - * - * @param value allowed object is - * {@link String } - */ - public void setInsoleType(String value) { - this.insoleType = value; - } - - /** - * Recupera il valore della proprietà leatherType. - * - * @return possible object is - * {@link String } - */ - public String getLeatherType() { - return leatherType; - } - - /** - * Imposta il valore della proprietà leatherType. - * - * @param value allowed object is - * {@link String } - */ - public void setLeatherType(String value) { - this.leatherType = value; - } - - /** - * Recupera il valore della proprietà pronationCorrection. - * - * @return possible object is - * {@link String } - */ - public String getPronationCorrection() { - return pronationCorrection; - } - - /** - * Imposta il valore della proprietà pronationCorrection. - * - * @param value allowed object is - * {@link String } - */ - public void setPronationCorrection(String value) { - this.pronationCorrection = value; - } - - /** - * Recupera il valore della proprietà shoeSafetyCodeIso20345. - * - * @return possible object is - * {@link ShoeSafetyCodeIso20345Type } - */ - public ShoeSafetyCodeIso20345Type getShoeSafetyCodeIso20345() { - return shoeSafetyCodeIso20345; - } - - /** - * Imposta il valore della proprietà shoeSafetyCodeIso20345. - * - * @param value allowed object is - * {@link ShoeSafetyCodeIso20345Type } - */ - public void setShoeSafetyCodeIso20345(ShoeSafetyCodeIso20345Type value) { - this.shoeSafetyCodeIso20345 = value; - } - - /** - * Recupera il valore della proprietà shoeWidth. - * - * @return possible object is - * {@link String } - */ - public String getShoeWidth() { - return shoeWidth; - } - - /** - * Imposta il valore della proprietà shoeWidth. - * - * @param value allowed object is - * {@link String } - */ - public void setShoeWidth(String value) { - this.shoeWidth = value; - } - - /** - * Recupera il valore della proprietà surfaceRecommendation. - * - * @return possible object is - * {@link String } - */ - public String getSurfaceRecommendation() { - return surfaceRecommendation; - } - - /** - * Imposta il valore della proprietà surfaceRecommendation. - * - * @param value allowed object is - * {@link String } - */ - public void setSurfaceRecommendation(String value) { - this.surfaceRecommendation = value; - } - - /** - * Recupera il valore della proprietà volumeCapacityName. - * - * @return possible object is - * {@link VolumeDimension } - */ - public VolumeDimension getVolumeCapacityName() { - return volumeCapacityName; - } - - /** - * Imposta il valore della proprietà volumeCapacityName. - * - * @param value allowed object is - * {@link VolumeDimension } - */ - public void setVolumeCapacityName(VolumeDimension value) { - this.volumeCapacityName = value; - } - - /** - * Recupera il valore della proprietà numberOfWheels. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getNumberOfWheels() { - return numberOfWheels; - } - - /** - * Imposta il valore della proprietà numberOfWheels. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setNumberOfWheels(BigInteger value) { - this.numberOfWheels = value; - } - - /** - * Recupera il valore della proprietà insertMaterial. - * - * @return possible object is - * {@link String } - */ - public String getInsertMaterial() { - return insertMaterial; - } - - /** - * Imposta il valore della proprietà insertMaterial. - * - * @param value allowed object is - * {@link String } - */ - public void setInsertMaterial(String value) { - this.insertMaterial = value; - } - - /** - * Recupera il valore della proprietà shaftDiameterDerived. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getShaftDiameterDerived() { - return shaftDiameterDerived; - } - - /** - * Imposta il valore della proprietà shaftDiameterDerived. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setShaftDiameterDerived(BigInteger value) { - this.shaftDiameterDerived = value; - } - - /** - * Recupera il valore della proprietà batteryWeight. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getBatteryWeight() { - return batteryWeight; - } - - /** - * Imposta il valore della proprietà batteryWeight. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setBatteryWeight(BigDecimal value) { - this.batteryWeight = value; - } - - /** - * Recupera il valore della proprietà maximumCircumference. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getMaximumCircumference() { - return maximumCircumference; - } - - /** - * Imposta il valore della proprietà maximumCircumference. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setMaximumCircumference(LengthDimension value) { - this.maximumCircumference = value; - } - - /** - * Recupera il valore della proprietà opacity. - * - * @return possible object is - * {@link String } - */ - public String getOpacity() { - return opacity; - } - - /** - * Imposta il valore della proprietà opacity. - * - * @param value allowed object is - * {@link String } - */ - public void setOpacity(String value) { - this.opacity = value; - } - - /** - * Recupera il valore della proprietà riseStyle. - * - * @return possible object is - * {@link String } - */ - public String getRiseStyle() { - return riseStyle; - } - - /** - * Imposta il valore della proprietà riseStyle. - * - * @param value allowed object is - * {@link String } - */ - public void setRiseStyle(String value) { - this.riseStyle = value; - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="Parentage" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="parent"/>
-     *               <enumeration value="child"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="Size" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="Color" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="VariationTheme" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="Size"/>
-     *               <enumeration value="Color"/>
-     *               <enumeration value="SizeColor"/>
-     *               <enumeration value="ColorName-MagnificationStrength"/>
-     *               <enumeration value="ColorName-LensColor"/>
-     *               <enumeration value="ColorName-LensWidth"/>
-     *               <enumeration value="Material"/>
-     *               <enumeration value="SizeStyle"/>
-     *               <enumeration value="StyleName"/>
-     *               <enumeration value="PatternName"/>
-     *               <enumeration value="Size-Material"/>
-     *               <enumeration value="Size-PatternName"/>
-     *               <enumeration value="LensColor"/>
-     *               <enumeration value="LensColorShape"/>
-     *               <enumeration value="LensColorMaterial"/>
-     *               <enumeration value="ColorSize"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "parentage", - "size", - "color", - "variationTheme" - }) - public static class VariationData { - - @XmlElement(name = "Parentage") - protected String parentage; - @XmlElement(name = "Size") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String size; - @XmlElement(name = "Color") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String color; - @XmlElement(name = "VariationTheme") - protected String variationTheme; - - /** - * Recupera il valore della proprietà parentage. - * - * @return possible object is - * {@link String } - */ - public String getParentage() { - return parentage; - } - - /** - * Imposta il valore della proprietà parentage. - * - * @param value allowed object is - * {@link String } - */ - public void setParentage(String value) { - this.parentage = value; - } - - /** - * Recupera il valore della proprietà size. - * - * @return possible object is - * {@link String } - */ - public String getSize() { - return size; - } - - /** - * Imposta il valore della proprietà size. - * - * @param value allowed object is - * {@link String } - */ - public void setSize(String value) { - this.size = value; - } - - /** - * Recupera il valore della proprietà color. - * - * @return possible object is - * {@link String } - */ - public String getColor() { - return color; - } - - /** - * Imposta il valore della proprietà color. - * - * @param value allowed object is - * {@link String } - */ - public void setColor(String value) { - this.color = value; - } - - /** - * Recupera il valore della proprietà variationTheme. - * - * @return possible object is - * {@link String } - */ - public String getVariationTheme() { - return variationTheme; - } - - /** - * Imposta il valore della proprietà variationTheme. - * - * @param value allowed object is - * {@link String } - */ - public void setVariationTheme(String value) { - this.variationTheme = value; - } - - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ShoulderHarnessHeight.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ShoulderHarnessHeight.java deleted file mode 100644 index b9ad6cb788..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ShoulderHarnessHeight.java +++ /dev/null @@ -1,85 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="ShoulderHarnessMaximumHeight" type="{}LengthDimension" minOccurs="0"/>
- *         <element name="ShoulderHarnessMinimumHeight" type="{}LengthDimension" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "shoulderHarnessMaximumHeight", - "shoulderHarnessMinimumHeight" -}) -@XmlRootElement(name = "ShoulderHarnessHeight") -public class ShoulderHarnessHeight { - - @XmlElement(name = "ShoulderHarnessMaximumHeight") - protected LengthDimension shoulderHarnessMaximumHeight; - @XmlElement(name = "ShoulderHarnessMinimumHeight") - protected LengthDimension shoulderHarnessMinimumHeight; - - /** - * Recupera il valore della proprietà shoulderHarnessMaximumHeight. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getShoulderHarnessMaximumHeight() { - return shoulderHarnessMaximumHeight; - } - - /** - * Imposta il valore della proprietà shoulderHarnessMaximumHeight. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setShoulderHarnessMaximumHeight(LengthDimension value) { - this.shoulderHarnessMaximumHeight = value; - } - - /** - * Recupera il valore della proprietà shoulderHarnessMinimumHeight. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getShoulderHarnessMinimumHeight() { - return shoulderHarnessMinimumHeight; - } - - /** - * Imposta il valore della proprietà shoulderHarnessMinimumHeight. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setShoulderHarnessMinimumHeight(LengthDimension value) { - this.shoulderHarnessMinimumHeight = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SpatialDimensions.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SpatialDimensions.java deleted file mode 100644 index a025db4be5..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SpatialDimensions.java +++ /dev/null @@ -1,111 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per SpatialDimensions complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="SpatialDimensions">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="Length" type="{}LengthDimension" minOccurs="0"/>
- *         <element name="Width" type="{}LengthDimension" minOccurs="0"/>
- *         <element name="Height" type="{}LengthDimension" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SpatialDimensions", propOrder = { - "length", - "width", - "height" -}) -public class SpatialDimensions { - - @XmlElement(name = "Length") - protected LengthDimension length; - @XmlElement(name = "Width") - protected LengthDimension width; - @XmlElement(name = "Height") - protected LengthDimension height; - - /** - * Recupera il valore della proprietà length. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getLength() { - return length; - } - - /** - * Imposta il valore della proprietà length. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setLength(LengthDimension value) { - this.length = value; - } - - /** - * Recupera il valore della proprietà width. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getWidth() { - return width; - } - - /** - * Imposta il valore della proprietà width. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setWidth(LengthDimension value) { - this.width = value; - } - - /** - * Recupera il valore della proprietà height. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getHeight() { - return height; - } - - /** - * Imposta il valore della proprietà height. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setHeight(LengthDimension value) { - this.height = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SpeedDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SpeedDimension.java deleted file mode 100644 index 1f90a4ba30..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SpeedDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per SpeedDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="SpeedDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}SpeedUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SpeedDimension", propOrder = { - "value" -}) -public class SpeedDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected SpeedUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link SpeedUnitOfMeasure } - */ - public SpeedUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link SpeedUnitOfMeasure } - */ - public void setUnitOfMeasure(SpeedUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SpeedUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SpeedUnitOfMeasure.java deleted file mode 100644 index 50e43e45e2..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SpeedUnitOfMeasure.java +++ /dev/null @@ -1,73 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per SpeedUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="SpeedUnitOfMeasure">
- *   <restriction base="{}String">
- *     <enumeration value="feet_per_minute"/>
- *     <enumeration value="miles_per_hour"/>
- *     <enumeration value="kilometers_per_hour"/>
- *     <enumeration value="RPM"/>
- *     <enumeration value="RPS"/>
- *     <enumeration value="meters per second"/>
- *     <enumeration value="centimeters per second"/>
- *     <enumeration value="millimeters per second"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "SpeedUnitOfMeasure") -@XmlEnum -public enum SpeedUnitOfMeasure { - - @XmlEnumValue("feet_per_minute") - FEET_PER_MINUTE("feet_per_minute"), - @XmlEnumValue("miles_per_hour") - MILES_PER_HOUR("miles_per_hour"), - @XmlEnumValue("kilometers_per_hour") - KILOMETERS_PER_HOUR("kilometers_per_hour"), - RPM("RPM"), - RPS("RPS"), - @XmlEnumValue("meters per second") - METERS_PER_SECOND("meters per second"), - @XmlEnumValue("centimeters per second") - CENTIMETERS_PER_SECOND("centimeters per second"), - @XmlEnumValue("millimeters per second") - MILLIMETERS_PER_SECOND("millimeters per second"); - private final String value; - - SpeedUnitOfMeasure(String v) { - value = v; - } - - public static SpeedUnitOfMeasure fromValue(String v) { - for (SpeedUnitOfMeasure c : SpeedUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StandardProductID.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StandardProductID.java deleted file mode 100644 index 51328229af..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StandardProductID.java +++ /dev/null @@ -1,104 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="Type">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <enumeration value="ISBN"/>
- *               <enumeration value="UPC"/>
- *               <enumeration value="EAN"/>
- *               <enumeration value="ASIN"/>
- *               <enumeration value="GTIN"/>
- *               <enumeration value="GCID"/>
- *               <enumeration value="PZN"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="Value">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <minLength value="8"/>
- *               <maxLength value="16"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "type", - "value" -}) -@XmlRootElement(name = "StandardProductID") -public class StandardProductID { - - @XmlElement(name = "Type", required = true) - protected String type; - @XmlElement(name = "Value", required = true) - protected String value; - - /** - * Recupera il valore della proprietà type. - * - * @return possible object is - * {@link String } - */ - public String getType() { - return type; - } - - /** - * Imposta il valore della proprietà type. - * - * @param value allowed object is - * {@link String } - */ - public void setType(String value) { - this.type = value; - } - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link String } - */ - public String getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link String } - */ - public void setValue(String value) { - this.value = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StoneCreationMethod.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StoneCreationMethod.java deleted file mode 100644 index 6bd0eb7cb1..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StoneCreationMethod.java +++ /dev/null @@ -1,60 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per StoneCreationMethod. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="StoneCreationMethod">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="natural"/>
- *     <enumeration value="simulated"/>
- *     <enumeration value="synthetic"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "StoneCreationMethod") -@XmlEnum -public enum StoneCreationMethod { - - @XmlEnumValue("natural") - NATURAL("natural"), - @XmlEnumValue("simulated") - SIMULATED("simulated"), - @XmlEnumValue("synthetic") - SYNTHETIC("synthetic"); - private final String value; - - StoneCreationMethod(String v) { - value = v; - } - - public static StoneCreationMethod fromValue(String v) { - for (StoneCreationMethod c : StoneCreationMethod.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StringCurrencyAmountWithDefault.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StringCurrencyAmountWithDefault.java deleted file mode 100644 index 9c78b391ad..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StringCurrencyAmountWithDefault.java +++ /dev/null @@ -1,83 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; - - -/** - *

Classe Java per StringCurrencyAmountWithDefault complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="StringCurrencyAmountWithDefault">
- *   <simpleContent>
- *     <extension base="<>StringBasePriceCurrencyAmount">
- *       <attribute name="currency" use="required" type="{}BaseCurrencyCodeWithDefault" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StringCurrencyAmountWithDefault", propOrder = { - "value" -}) -@XmlSeeAlso({ - StringOverrideCurrencyAmount.class -}) -public class StringCurrencyAmountWithDefault { - - @XmlValue - protected String value; - @XmlAttribute(name = "currency", required = true) - protected BaseCurrencyCodeWithDefault currency; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link String } - */ - public String getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link String } - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà currency. - * - * @return possible object is - * {@link BaseCurrencyCodeWithDefault } - */ - public BaseCurrencyCodeWithDefault getCurrency() { - return currency; - } - - /** - * Imposta il valore della proprietà currency. - * - * @param value allowed object is - * {@link BaseCurrencyCodeWithDefault } - */ - public void setCurrency(BaseCurrencyCodeWithDefault value) { - this.currency = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StringLengthDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StringLengthDimension.java deleted file mode 100644 index b52ecaff09..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StringLengthDimension.java +++ /dev/null @@ -1,83 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Classe Java per StringLengthDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="StringLengthDimension">
- *   <simpleContent>
- *     <extension base="<>StringNotNull">
- *       <attribute name="unitOfMeasure" use="required" type="{}LengthUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StringLengthDimension", propOrder = { - "value" -}) -public class StringLengthDimension { - - @XmlValue - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected LengthUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link String } - */ - public String getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link String } - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link LengthUnitOfMeasure } - */ - public LengthUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link LengthUnitOfMeasure } - */ - public void setUnitOfMeasure(LengthUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StringLengthOptionalDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StringLengthOptionalDimension.java deleted file mode 100644 index 42d5b9e125..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StringLengthOptionalDimension.java +++ /dev/null @@ -1,83 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Classe Java per StringLengthOptionalDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="StringLengthOptionalDimension">
- *   <simpleContent>
- *     <extension base="<>StringNotNull">
- *       <attribute name="unitOfMeasure" type="{}LengthUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StringLengthOptionalDimension", propOrder = { - "value" -}) -public class StringLengthOptionalDimension { - - @XmlValue - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String value; - @XmlAttribute(name = "unitOfMeasure") - protected LengthUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link String } - */ - public String getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link String } - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link LengthUnitOfMeasure } - */ - public LengthUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link LengthUnitOfMeasure } - */ - public void setUnitOfMeasure(LengthUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StringOverrideCurrencyAmount.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StringOverrideCurrencyAmount.java deleted file mode 100644 index f284fb2762..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StringOverrideCurrencyAmount.java +++ /dev/null @@ -1,60 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlAttribute; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per StringOverrideCurrencyAmount complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="StringOverrideCurrencyAmount">
- *   <simpleContent>
- *     <extension base="<>StringCurrencyAmountWithDefault">
- *       <attribute name="zero" type="{http://www.w3.org/2001/XMLSchema}boolean" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StringOverrideCurrencyAmount") -public class StringOverrideCurrencyAmount - extends StringCurrencyAmountWithDefault { - - @XmlAttribute(name = "zero") - protected Boolean zero; - - /** - * Recupera il valore della proprietà zero. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isZero() { - return zero; - } - - /** - * Imposta il valore della proprietà zero. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setZero(Boolean value) { - this.zero = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StringTemperatureDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StringTemperatureDimension.java deleted file mode 100644 index a930584424..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StringTemperatureDimension.java +++ /dev/null @@ -1,83 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Classe Java per StringTemperatureDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="StringTemperatureDimension">
- *   <simpleContent>
- *     <extension base="<>StringNotNull">
- *       <attribute name="unitOfMeasure" use="required" type="{}TemperatureUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StringTemperatureDimension", propOrder = { - "value" -}) -public class StringTemperatureDimension { - - @XmlValue - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected TemperatureUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link String } - */ - public String getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link String } - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link TemperatureUnitOfMeasure } - */ - public TemperatureUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link TemperatureUnitOfMeasure } - */ - public void setUnitOfMeasure(TemperatureUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StringTimeDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StringTimeDimension.java deleted file mode 100644 index db80b9d9b9..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/StringTimeDimension.java +++ /dev/null @@ -1,83 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; - - -/** - *

Classe Java per StringTimeDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="StringTimeDimension">
- *   <simpleContent>
- *     <extension base="<>StringNotNull">
- *       <attribute name="unitOfMeasure" use="required" type="{}TimeUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "StringTimeDimension", propOrder = { - "value" -}) -public class StringTimeDimension { - - @XmlValue - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected TimeUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link String } - */ - public String getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link String } - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link TimeUnitOfMeasure } - */ - public TimeUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link TimeUnitOfMeasure } - */ - public void setUnitOfMeasure(TimeUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SubscriptionTermDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SubscriptionTermDimension.java deleted file mode 100644 index 7f90a19397..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SubscriptionTermDimension.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per SubscriptionTermDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="SubscriptionTermDimension">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
- *       <attribute name="unitOfMeasure" use="required" type="{}DateUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SubscriptionTermDimension", propOrder = { - "value" -}) -public class SubscriptionTermDimension { - - @XmlValue - @XmlSchemaType(name = "positiveInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected DateUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link DateUnitOfMeasure } - */ - public DateUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link DateUnitOfMeasure } - */ - public void setUnitOfMeasure(DateUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SunProtectionDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SunProtectionDimension.java deleted file mode 100644 index 5f7446fe12..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SunProtectionDimension.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per SunProtectionDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="SunProtectionDimension">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
- *       <attribute name="unitOfMeasure" use="required" type="{}SunProtectionUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SunProtectionDimension", propOrder = { - "value" -}) -public class SunProtectionDimension { - - @XmlValue - @XmlSchemaType(name = "positiveInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected SunProtectionUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link SunProtectionUnitOfMeasure } - */ - public SunProtectionUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link SunProtectionUnitOfMeasure } - */ - public void setUnitOfMeasure(SunProtectionUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SunProtectionUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SunProtectionUnitOfMeasure.java deleted file mode 100644 index 918487d249..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SunProtectionUnitOfMeasure.java +++ /dev/null @@ -1,54 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per SunProtectionUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="SunProtectionUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="sun_protection_factor"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "SunProtectionUnitOfMeasure") -@XmlEnum -public enum SunProtectionUnitOfMeasure { - - @XmlEnumValue("sun_protection_factor") - SUN_PROTECTION_FACTOR("sun_protection_factor"); - private final String value; - - SunProtectionUnitOfMeasure(String v) { - value = v; - } - - public static SunProtectionUnitOfMeasure fromValue(String v) { - for (SunProtectionUnitOfMeasure c : SunProtectionUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SweetnessAtHarvestDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SweetnessAtHarvestDimension.java deleted file mode 100644 index 60e25beaaa..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SweetnessAtHarvestDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per SweetnessAtHarvestDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="SweetnessAtHarvestDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}SweetnessAtHarvestUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "SweetnessAtHarvestDimension", propOrder = { - "value" -}) -public class SweetnessAtHarvestDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected SweetnessAtHarvestUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link SweetnessAtHarvestUnitOfMeasure } - */ - public SweetnessAtHarvestUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link SweetnessAtHarvestUnitOfMeasure } - */ - public void setUnitOfMeasure(SweetnessAtHarvestUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SweetnessAtHarvestUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SweetnessAtHarvestUnitOfMeasure.java deleted file mode 100644 index 65e92bdb22..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/SweetnessAtHarvestUnitOfMeasure.java +++ /dev/null @@ -1,54 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per SweetnessAtHarvestUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="SweetnessAtHarvestUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="brix"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "SweetnessAtHarvestUnitOfMeasure") -@XmlEnum -public enum SweetnessAtHarvestUnitOfMeasure { - - @XmlEnumValue("brix") - BRIX("brix"); - private final String value; - - SweetnessAtHarvestUnitOfMeasure(String v) { - value = v; - } - - public static SweetnessAtHarvestUnitOfMeasure fromValue(String v) { - for (SweetnessAtHarvestUnitOfMeasure c : SweetnessAtHarvestUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TargetGenderType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TargetGenderType.java deleted file mode 100644 index 82f71cdbcd..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TargetGenderType.java +++ /dev/null @@ -1,60 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per TargetGenderType. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="TargetGenderType">
- *   <restriction base="{}StringNotNull">
- *     <enumeration value="male"/>
- *     <enumeration value="female"/>
- *     <enumeration value="unisex"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "TargetGenderType") -@XmlEnum -public enum TargetGenderType { - - @XmlEnumValue("male") - MALE("male"), - @XmlEnumValue("female") - FEMALE("female"), - @XmlEnumValue("unisex") - UNISEX("unisex"); - private final String value; - - TargetGenderType(String v) { - value = v; - } - - public static TargetGenderType fromValue(String v) { - for (TargetGenderType c : TargetGenderType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TemperatureDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TemperatureDimension.java deleted file mode 100644 index fb05cf04b1..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TemperatureDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per TemperatureDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="TemperatureDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}TemperatureUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TemperatureDimension", propOrder = { - "value" -}) -public class TemperatureDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected TemperatureUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link TemperatureUnitOfMeasure } - */ - public TemperatureUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link TemperatureUnitOfMeasure } - */ - public void setUnitOfMeasure(TemperatureUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TemperatureRatingDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TemperatureRatingDimension.java deleted file mode 100644 index 2973bc3fb2..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TemperatureRatingDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per TemperatureRatingDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="TemperatureRatingDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}TemperatureRatingUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TemperatureRatingDimension", propOrder = { - "value" -}) -public class TemperatureRatingDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected TemperatureRatingUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link TemperatureRatingUnitOfMeasure } - */ - public TemperatureRatingUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link TemperatureRatingUnitOfMeasure } - */ - public void setUnitOfMeasure(TemperatureRatingUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TemperatureRatingUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TemperatureRatingUnitOfMeasure.java deleted file mode 100644 index 197b4a0819..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TemperatureRatingUnitOfMeasure.java +++ /dev/null @@ -1,60 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per TemperatureRatingUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="TemperatureRatingUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="degrees-celsius"/>
- *     <enumeration value="degrees-fahrenheit"/>
- *     <enumeration value="kelvin"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "TemperatureRatingUnitOfMeasure") -@XmlEnum -public enum TemperatureRatingUnitOfMeasure { - - @XmlEnumValue("degrees-celsius") - DEGREES_CELSIUS("degrees-celsius"), - @XmlEnumValue("degrees-fahrenheit") - DEGREES_FAHRENHEIT("degrees-fahrenheit"), - @XmlEnumValue("kelvin") - KELVIN("kelvin"); - private final String value; - - TemperatureRatingUnitOfMeasure(String v) { - value = v; - } - - public static TemperatureRatingUnitOfMeasure fromValue(String v) { - for (TemperatureRatingUnitOfMeasure c : TemperatureRatingUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TemperatureUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TemperatureUnitOfMeasure.java deleted file mode 100644 index 3e882563cd..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TemperatureUnitOfMeasure.java +++ /dev/null @@ -1,44 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per TemperatureUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="TemperatureUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="C"/>
- *     <enumeration value="F"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "TemperatureUnitOfMeasure") -@XmlEnum -public enum TemperatureUnitOfMeasure { - - C, - F; - - public static TemperatureUnitOfMeasure fromValue(String v) { - return valueOf(v); - } - - public String value() { - return name(); - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TestOrderRequest.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TestOrderRequest.java deleted file mode 100644 index 299e340871..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TestOrderRequest.java +++ /dev/null @@ -1,636 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.List; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="BillingData">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="BuyerEmailAddress">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
- *                         <pattern value="[\w\._\-]+@([\w_\-]+\.)+\w+"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="CreditCard">
- *                     <complexType>
- *                       <complexContent>
- *                         <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                           <sequence>
- *                             <element name="Issuer">
- *                               <simpleType>
- *                                 <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                                   <enumeration value="Visa"/>
- *                                   <enumeration value="MasterCard"/>
- *                                   <enumeration value="AmericanExpress"/>
- *                                   <enumeration value="Discover"/>
- *                                   <enumeration value="DinersClub"/>
- *                                   <enumeration value="JCB"/>
- *                                 </restriction>
- *                               </simpleType>
- *                             </element>
- *                           </sequence>
- *                         </restriction>
- *                       </complexContent>
- *                     </complexType>
- *                   </element>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="FulfillmentData">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element ref="{}FulfillmentMethod"/>
- *                   <element ref="{}FulfillmentServiceLevel"/>
- *                   <element ref="{}FulfillmentCenterID" minOccurs="0"/>
- *                   <element name="PostalCode" type="{}String" minOccurs="0"/>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element ref="{}PromotionClaimCode" maxOccurs="unbounded" minOccurs="0"/>
- *         <element name="Item" maxOccurs="unbounded">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element ref="{}SKU"/>
- *                   <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
- *                   <element name="GiftWrapLevel" type="{}StringNotNull" minOccurs="0"/>
- *                   <element name="GiftMessageText" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <maxLength value="500"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "billingData", - "fulfillmentData", - "promotionClaimCode", - "item" -}) -@XmlRootElement(name = "TestOrderRequest") -public class TestOrderRequest { - - @XmlElement(name = "BillingData", required = true) - protected TestOrderRequest.BillingData billingData; - @XmlElement(name = "FulfillmentData", required = true) - protected TestOrderRequest.FulfillmentData fulfillmentData; - @XmlElement(name = "PromotionClaimCode") - protected List promotionClaimCode; - @XmlElement(name = "Item", required = true) - protected List item; - - /** - * Recupera il valore della proprietà billingData. - * - * @return possible object is - * {@link TestOrderRequest.BillingData } - */ - public TestOrderRequest.BillingData getBillingData() { - return billingData; - } - - /** - * Imposta il valore della proprietà billingData. - * - * @param value allowed object is - * {@link TestOrderRequest.BillingData } - */ - public void setBillingData(TestOrderRequest.BillingData value) { - this.billingData = value; - } - - /** - * Recupera il valore della proprietà fulfillmentData. - * - * @return possible object is - * {@link TestOrderRequest.FulfillmentData } - */ - public TestOrderRequest.FulfillmentData getFulfillmentData() { - return fulfillmentData; - } - - /** - * Imposta il valore della proprietà fulfillmentData. - * - * @param value allowed object is - * {@link TestOrderRequest.FulfillmentData } - */ - public void setFulfillmentData(TestOrderRequest.FulfillmentData value) { - this.fulfillmentData = value; - } - - /** - * Gets the value of the promotionClaimCode property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the promotionClaimCode property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getPromotionClaimCode().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getPromotionClaimCode() { - if (promotionClaimCode == null) { - promotionClaimCode = new ArrayList(); - } - return this.promotionClaimCode; - } - - /** - * Gets the value of the item property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the item property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getItem().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link TestOrderRequest.Item } - */ - public List getItem() { - if (item == null) { - item = new ArrayList(); - } - return this.item; - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="BuyerEmailAddress">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
-     *               <pattern value="[\w\._\-]+@([\w_\-]+\.)+\w+"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="CreditCard">
-     *           <complexType>
-     *             <complexContent>
-     *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *                 <sequence>
-     *                   <element name="Issuer">
-     *                     <simpleType>
-     *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *                         <enumeration value="Visa"/>
-     *                         <enumeration value="MasterCard"/>
-     *                         <enumeration value="AmericanExpress"/>
-     *                         <enumeration value="Discover"/>
-     *                         <enumeration value="DinersClub"/>
-     *                         <enumeration value="JCB"/>
-     *                       </restriction>
-     *                     </simpleType>
-     *                   </element>
-     *                 </sequence>
-     *               </restriction>
-     *             </complexContent>
-     *           </complexType>
-     *         </element>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "buyerEmailAddress", - "creditCard" - }) - public static class BillingData { - - @XmlElement(name = "BuyerEmailAddress", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String buyerEmailAddress; - @XmlElement(name = "CreditCard", required = true) - protected TestOrderRequest.BillingData.CreditCard creditCard; - - /** - * Recupera il valore della proprietà buyerEmailAddress. - * - * @return possible object is - * {@link String } - */ - public String getBuyerEmailAddress() { - return buyerEmailAddress; - } - - /** - * Imposta il valore della proprietà buyerEmailAddress. - * - * @param value allowed object is - * {@link String } - */ - public void setBuyerEmailAddress(String value) { - this.buyerEmailAddress = value; - } - - /** - * Recupera il valore della proprietà creditCard. - * - * @return possible object is - * {@link TestOrderRequest.BillingData.CreditCard } - */ - public TestOrderRequest.BillingData.CreditCard getCreditCard() { - return creditCard; - } - - /** - * Imposta il valore della proprietà creditCard. - * - * @param value allowed object is - * {@link TestOrderRequest.BillingData.CreditCard } - */ - public void setCreditCard(TestOrderRequest.BillingData.CreditCard value) { - this.creditCard = value; - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-         * <complexType>
-         *   <complexContent>
-         *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-         *       <sequence>
-         *         <element name="Issuer">
-         *           <simpleType>
-         *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-         *               <enumeration value="Visa"/>
-         *               <enumeration value="MasterCard"/>
-         *               <enumeration value="AmericanExpress"/>
-         *               <enumeration value="Discover"/>
-         *               <enumeration value="DinersClub"/>
-         *               <enumeration value="JCB"/>
-         *             </restriction>
-         *           </simpleType>
-         *         </element>
-         *       </sequence>
-         *     </restriction>
-         *   </complexContent>
-         * </complexType>
-         * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "issuer" - }) - public static class CreditCard { - - @XmlElement(name = "Issuer", required = true) - protected String issuer; - - /** - * Recupera il valore della proprietà issuer. - * - * @return possible object is - * {@link String } - */ - public String getIssuer() { - return issuer; - } - - /** - * Imposta il valore della proprietà issuer. - * - * @param value allowed object is - * {@link String } - */ - public void setIssuer(String value) { - this.issuer = value; - } - - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element ref="{}FulfillmentMethod"/>
-     *         <element ref="{}FulfillmentServiceLevel"/>
-     *         <element ref="{}FulfillmentCenterID" minOccurs="0"/>
-     *         <element name="PostalCode" type="{}String" minOccurs="0"/>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "fulfillmentMethod", - "fulfillmentServiceLevel", - "fulfillmentCenterID", - "postalCode" - }) - public static class FulfillmentData { - - @XmlElement(name = "FulfillmentMethod", required = true) - protected String fulfillmentMethod; - @XmlElement(name = "FulfillmentServiceLevel", required = true) - protected String fulfillmentServiceLevel; - @XmlElement(name = "FulfillmentCenterID") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String fulfillmentCenterID; - @XmlElement(name = "PostalCode") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String postalCode; - - /** - * Recupera il valore della proprietà fulfillmentMethod. - * - * @return possible object is - * {@link String } - */ - public String getFulfillmentMethod() { - return fulfillmentMethod; - } - - /** - * Imposta il valore della proprietà fulfillmentMethod. - * - * @param value allowed object is - * {@link String } - */ - public void setFulfillmentMethod(String value) { - this.fulfillmentMethod = value; - } - - /** - * Recupera il valore della proprietà fulfillmentServiceLevel. - * - * @return possible object is - * {@link String } - */ - public String getFulfillmentServiceLevel() { - return fulfillmentServiceLevel; - } - - /** - * Imposta il valore della proprietà fulfillmentServiceLevel. - * - * @param value allowed object is - * {@link String } - */ - public void setFulfillmentServiceLevel(String value) { - this.fulfillmentServiceLevel = value; - } - - /** - * Recupera il valore della proprietà fulfillmentCenterID. - * - * @return possible object is - * {@link String } - */ - public String getFulfillmentCenterID() { - return fulfillmentCenterID; - } - - /** - * Imposta il valore della proprietà fulfillmentCenterID. - * - * @param value allowed object is - * {@link String } - */ - public void setFulfillmentCenterID(String value) { - this.fulfillmentCenterID = value; - } - - /** - * Recupera il valore della proprietà postalCode. - * - * @return possible object is - * {@link String } - */ - public String getPostalCode() { - return postalCode; - } - - /** - * Imposta il valore della proprietà postalCode. - * - * @param value allowed object is - * {@link String } - */ - public void setPostalCode(String value) { - this.postalCode = value; - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element ref="{}SKU"/>
-     *         <element name="Quantity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger"/>
-     *         <element name="GiftWrapLevel" type="{}StringNotNull" minOccurs="0"/>
-     *         <element name="GiftMessageText" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <maxLength value="500"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "sku", - "quantity", - "giftWrapLevel", - "giftMessageText" - }) - public static class Item { - - @XmlElement(name = "SKU", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String sku; - @XmlElement(name = "Quantity", required = true) - @XmlSchemaType(name = "positiveInteger") - protected BigInteger quantity; - @XmlElement(name = "GiftWrapLevel") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String giftWrapLevel; - @XmlElement(name = "GiftMessageText") - protected String giftMessageText; - - /** - * Recupera il valore della proprietà sku. - * - * @return possible object is - * {@link String } - */ - public String getSKU() { - return sku; - } - - /** - * Imposta il valore della proprietà sku. - * - * @param value allowed object is - * {@link String } - */ - public void setSKU(String value) { - this.sku = value; - } - - /** - * Recupera il valore della proprietà quantity. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getQuantity() { - return quantity; - } - - /** - * Imposta il valore della proprietà quantity. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setQuantity(BigInteger value) { - this.quantity = value; - } - - /** - * Recupera il valore della proprietà giftWrapLevel. - * - * @return possible object is - * {@link String } - */ - public String getGiftWrapLevel() { - return giftWrapLevel; - } - - /** - * Imposta il valore della proprietà giftWrapLevel. - * - * @param value allowed object is - * {@link String } - */ - public void setGiftWrapLevel(String value) { - this.giftWrapLevel = value; - } - - /** - * Recupera il valore della proprietà giftMessageText. - * - * @return possible object is - * {@link String } - */ - public String getGiftMessageText() { - return giftMessageText; - } - - /** - * Imposta il valore della proprietà giftMessageText. - * - * @param value allowed object is - * {@link String } - */ - public void setGiftMessageText(String value) { - this.giftMessageText = value; - } - - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ThreeDTechnologyValues.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ThreeDTechnologyValues.java deleted file mode 100644 index 11f4d08538..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ThreeDTechnologyValues.java +++ /dev/null @@ -1,63 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per ThreeDTechnologyValues. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="ThreeDTechnologyValues">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="active"/>
- *     <enumeration value="anaglyphic"/>
- *     <enumeration value="auto_stereoscopic"/>
- *     <enumeration value="passive"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "ThreeDTechnologyValues") -@XmlEnum -public enum ThreeDTechnologyValues { - - @XmlEnumValue("active") - ACTIVE("active"), - @XmlEnumValue("anaglyphic") - ANAGLYPHIC("anaglyphic"), - @XmlEnumValue("auto_stereoscopic") - AUTO_STEREOSCOPIC("auto_stereoscopic"), - @XmlEnumValue("passive") - PASSIVE("passive"); - private final String value; - - ThreeDTechnologyValues(String v) { - value = v; - } - - public static ThreeDTechnologyValues fromValue(String v) { - for (ThreeDTechnologyValues c : ThreeDTechnologyValues.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TimeDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TimeDimension.java deleted file mode 100644 index 8e86db1a8d..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TimeDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per TimeDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="TimeDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}TimeUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TimeDimension", propOrder = { - "value" -}) -public class TimeDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected TimeUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link TimeUnitOfMeasure } - */ - public TimeUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link TimeUnitOfMeasure } - */ - public void setUnitOfMeasure(TimeUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TimeIntegerDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TimeIntegerDimension.java deleted file mode 100644 index 41f2e3f7cf..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TimeIntegerDimension.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per TimeIntegerDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="TimeIntegerDimension">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
- *       <attribute name="unitOfMeasure" use="required" type="{}TimeUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TimeIntegerDimension", propOrder = { - "value" -}) -public class TimeIntegerDimension { - - @XmlValue - @XmlSchemaType(name = "positiveInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected TimeUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link TimeUnitOfMeasure } - */ - public TimeUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link TimeUnitOfMeasure } - */ - public void setUnitOfMeasure(TimeUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TimeUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TimeUnitOfMeasure.java deleted file mode 100644 index 8e9224a7d1..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TimeUnitOfMeasure.java +++ /dev/null @@ -1,84 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per TimeUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="TimeUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="sec"/>
- *     <enumeration value="min"/>
- *     <enumeration value="hr"/>
- *     <enumeration value="days"/>
- *     <enumeration value="hours"/>
- *     <enumeration value="minutes"/>
- *     <enumeration value="seconds"/>
- *     <enumeration value="milliseconds"/>
- *     <enumeration value="microseconds"/>
- *     <enumeration value="nanoseconds"/>
- *     <enumeration value="picoseconds"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "TimeUnitOfMeasure") -@XmlEnum -public enum TimeUnitOfMeasure { - - @XmlEnumValue("sec") - SEC("sec"), - @XmlEnumValue("min") - MIN("min"), - @XmlEnumValue("hr") - HR("hr"), - @XmlEnumValue("days") - DAYS("days"), - @XmlEnumValue("hours") - HOURS("hours"), - @XmlEnumValue("minutes") - MINUTES("minutes"), - @XmlEnumValue("seconds") - SECONDS("seconds"), - @XmlEnumValue("milliseconds") - MILLISECONDS("milliseconds"), - @XmlEnumValue("microseconds") - MICROSECONDS("microseconds"), - @XmlEnumValue("nanoseconds") - NANOSECONDS("nanoseconds"), - @XmlEnumValue("picoseconds") - PICOSECONDS("picoseconds"); - private final String value; - - TimeUnitOfMeasure(String v) { - value = v; - } - - public static TimeUnitOfMeasure fromValue(String v) { - for (TimeUnitOfMeasure c : TimeUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TorqueType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TorqueType.java deleted file mode 100644 index 9b667a435b..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TorqueType.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per TorqueType complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="TorqueType">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}TorqueUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "TorqueType", propOrder = { - "value" -}) -public class TorqueType { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected TorqueUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link TorqueUnitOfMeasure } - */ - public TorqueUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link TorqueUnitOfMeasure } - */ - public void setUnitOfMeasure(TorqueUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TorqueUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TorqueUnitOfMeasure.java deleted file mode 100644 index be267b735f..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/TorqueUnitOfMeasure.java +++ /dev/null @@ -1,84 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per TorqueUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="TorqueUnitOfMeasure">
- *   <restriction base="{}StringNotNull">
- *     <enumeration value="foot-lbs"/>
- *     <enumeration value="inch-lbs"/>
- *     <enumeration value="centimeter_kilograms"/>
- *     <enumeration value="foot_pounds"/>
- *     <enumeration value="inch_ounces"/>
- *     <enumeration value="inch_pounds"/>
- *     <enumeration value="kilonewtons"/>
- *     <enumeration value="kilograms_per_millimeter"/>
- *     <enumeration value="newton_meters"/>
- *     <enumeration value="newton_millimeters"/>
- *     <enumeration value="newtons"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "TorqueUnitOfMeasure") -@XmlEnum -public enum TorqueUnitOfMeasure { - - @XmlEnumValue("foot-lbs") - FOOT_LBS("foot-lbs"), - @XmlEnumValue("inch-lbs") - INCH_LBS("inch-lbs"), - @XmlEnumValue("centimeter_kilograms") - CENTIMETER_KILOGRAMS("centimeter_kilograms"), - @XmlEnumValue("foot_pounds") - FOOT_POUNDS("foot_pounds"), - @XmlEnumValue("inch_ounces") - INCH_OUNCES("inch_ounces"), - @XmlEnumValue("inch_pounds") - INCH_POUNDS("inch_pounds"), - @XmlEnumValue("kilonewtons") - KILONEWTONS("kilonewtons"), - @XmlEnumValue("kilograms_per_millimeter") - KILOGRAMS_PER_MILLIMETER("kilograms_per_millimeter"), - @XmlEnumValue("newton_meters") - NEWTON_METERS("newton_meters"), - @XmlEnumValue("newton_millimeters") - NEWTON_MILLIMETERS("newton_millimeters"), - @XmlEnumValue("newtons") - NEWTONS("newtons"); - private final String value; - - TorqueUnitOfMeasure(String v) { - value = v; - } - - public static TorqueUnitOfMeasure fromValue(String v) { - for (TorqueUnitOfMeasure c : TorqueUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ToyAwardType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ToyAwardType.java deleted file mode 100644 index e2d13ff1c0..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ToyAwardType.java +++ /dev/null @@ -1,144 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per ToyAwardType. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="ToyAwardType">
- *   <restriction base="{}MediumStringNotNull">
- *     <enumeration value="australia_toy_fair_boys_toy_of_the_year"/>
- *     <enumeration value="australia_toy_fair_toy_of_the_year"/>
- *     <enumeration value="baby_and_you"/>
- *     <enumeration value="babyworld"/>
- *     <enumeration value="child_magazine"/>
- *     <enumeration value="creative_child_magazine"/>
- *     <enumeration value="dr_toys_100_best_child_products"/>
- *     <enumeration value="energizer_battery_operated_toy_of_the_yr"/>
- *     <enumeration value="family_fun_toy_of_the_year_seal"/>
- *     <enumeration value="games_magazine"/>
- *     <enumeration value="gomama_today"/>
- *     <enumeration value="german_toy_association_toy_of_the_year"/>
- *     <enumeration value="hamleys_toy_of_the_year"/>
- *     <enumeration value="junior"/>
- *     <enumeration value="lion_mark"/>
- *     <enumeration value="mother_and_baby"/>
- *     <enumeration value="mum_knows_best"/>
- *     <enumeration value="national_parenting_approval_award"/>
- *     <enumeration value="norwegian_toy_association_toy_of_the_yr"/>
- *     <enumeration value="oppenheim_toys"/>
- *     <enumeration value="parents_choice_portfolio"/>
- *     <enumeration value="parents_magazine"/>
- *     <enumeration value="practical_parenting"/>
- *     <enumeration value="prima_baby"/>
- *     <enumeration value="reddot"/>
- *     <enumeration value="rdj_france_best_electronic_toy_of_the_yr"/>
- *     <enumeration value="rdj_france_best_toy_of_the_year"/>
- *     <enumeration value="the_times"/>
- *     <enumeration value="toy_wishes"/>
- *     <enumeration value="uk_npd_report_number_one_selling_toy"/>
- *     <enumeration value="unknown"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "ToyAwardType") -@XmlEnum -public enum ToyAwardType { - - @XmlEnumValue("australia_toy_fair_boys_toy_of_the_year") - AUSTRALIA_TOY_FAIR_BOYS_TOY_OF_THE_YEAR("australia_toy_fair_boys_toy_of_the_year"), - @XmlEnumValue("australia_toy_fair_toy_of_the_year") - AUSTRALIA_TOY_FAIR_TOY_OF_THE_YEAR("australia_toy_fair_toy_of_the_year"), - @XmlEnumValue("baby_and_you") - BABY_AND_YOU("baby_and_you"), - @XmlEnumValue("babyworld") - BABYWORLD("babyworld"), - @XmlEnumValue("child_magazine") - CHILD_MAGAZINE("child_magazine"), - @XmlEnumValue("creative_child_magazine") - CREATIVE_CHILD_MAGAZINE("creative_child_magazine"), - @XmlEnumValue("dr_toys_100_best_child_products") - DR_TOYS_100_BEST_CHILD_PRODUCTS("dr_toys_100_best_child_products"), - @XmlEnumValue("energizer_battery_operated_toy_of_the_yr") - ENERGIZER_BATTERY_OPERATED_TOY_OF_THE_YR("energizer_battery_operated_toy_of_the_yr"), - @XmlEnumValue("family_fun_toy_of_the_year_seal") - FAMILY_FUN_TOY_OF_THE_YEAR_SEAL("family_fun_toy_of_the_year_seal"), - @XmlEnumValue("games_magazine") - GAMES_MAGAZINE("games_magazine"), - @XmlEnumValue("gomama_today") - GOMAMA_TODAY("gomama_today"), - @XmlEnumValue("german_toy_association_toy_of_the_year") - GERMAN_TOY_ASSOCIATION_TOY_OF_THE_YEAR("german_toy_association_toy_of_the_year"), - @XmlEnumValue("hamleys_toy_of_the_year") - HAMLEYS_TOY_OF_THE_YEAR("hamleys_toy_of_the_year"), - @XmlEnumValue("junior") - JUNIOR("junior"), - @XmlEnumValue("lion_mark") - LION_MARK("lion_mark"), - @XmlEnumValue("mother_and_baby") - MOTHER_AND_BABY("mother_and_baby"), - @XmlEnumValue("mum_knows_best") - MUM_KNOWS_BEST("mum_knows_best"), - @XmlEnumValue("national_parenting_approval_award") - NATIONAL_PARENTING_APPROVAL_AWARD("national_parenting_approval_award"), - @XmlEnumValue("norwegian_toy_association_toy_of_the_yr") - NORWEGIAN_TOY_ASSOCIATION_TOY_OF_THE_YR("norwegian_toy_association_toy_of_the_yr"), - @XmlEnumValue("oppenheim_toys") - OPPENHEIM_TOYS("oppenheim_toys"), - @XmlEnumValue("parents_choice_portfolio") - PARENTS_CHOICE_PORTFOLIO("parents_choice_portfolio"), - @XmlEnumValue("parents_magazine") - PARENTS_MAGAZINE("parents_magazine"), - @XmlEnumValue("practical_parenting") - PRACTICAL_PARENTING("practical_parenting"), - @XmlEnumValue("prima_baby") - PRIMA_BABY("prima_baby"), - @XmlEnumValue("reddot") - REDDOT("reddot"), - @XmlEnumValue("rdj_france_best_electronic_toy_of_the_yr") - RDJ_FRANCE_BEST_ELECTRONIC_TOY_OF_THE_YR("rdj_france_best_electronic_toy_of_the_yr"), - @XmlEnumValue("rdj_france_best_toy_of_the_year") - RDJ_FRANCE_BEST_TOY_OF_THE_YEAR("rdj_france_best_toy_of_the_year"), - @XmlEnumValue("the_times") - THE_TIMES("the_times"), - @XmlEnumValue("toy_wishes") - TOY_WISHES("toy_wishes"), - @XmlEnumValue("uk_npd_report_number_one_selling_toy") - UK_NPD_REPORT_NUMBER_ONE_SELLING_TOY("uk_npd_report_number_one_selling_toy"), - @XmlEnumValue("unknown") - UNKNOWN("unknown"); - private final String value; - - ToyAwardType(String v) { - value = v; - } - - public static ToyAwardType fromValue(String v) { - for (ToyAwardType c : ToyAwardType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ToysBaby.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ToysBaby.java deleted file mode 100644 index b8f4e276be..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ToysBaby.java +++ /dev/null @@ -1,4460 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import javax.xml.bind.annotation.adapters.NormalizedStringAdapter; -import javax.xml.bind.annotation.adapters.XmlJavaTypeAdapter; -import java.math.BigDecimal; -import java.math.BigInteger; -import java.util.ArrayList; -import java.util.List; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="ProductType">
- *           <simpleType>
- *             <restriction base="{}MediumStringNotNull">
- *               <enumeration value="ToysAndGames"/>
- *               <enumeration value="BabyProducts"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element ref="{}AgeRecommendation" minOccurs="0"/>
- *         <element name="IsAdultProduct" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="AlertType" type="{}StringNotNull" maxOccurs="5" minOccurs="0"/>
- *         <element name="AssemblyInstructions" minOccurs="0">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
- *               <maxLength value="1500"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="AssemblyTime" type="{}AssemblyTimeDimension" minOccurs="0"/>
- *         <element name="BaseDepth" type="{}LengthDimension" minOccurs="0"/>
- *         <element name="BaseWidth" type="{}LengthDimension" minOccurs="0"/>
- *         <element name="CarrierWeight" type="{}WeightDimension" minOccurs="0"/>
- *         <element name="BatteryAverageLife" type="{}BatteryLifeDimension" minOccurs="0"/>
- *         <element name="BatteryAverageLifeStandby" type="{}Dimension" minOccurs="0"/>
- *         <element name="BatteryChargeTime" type="{}Dimension" minOccurs="0"/>
- *         <element name="FrequencyResponse" type="{}FrequencyDimension" minOccurs="0"/>
- *         <element name="MainVideoMonitorScreenSize" type="{}LengthDimension" minOccurs="0"/>
- *         <element name="MaximumAnchoringWeightCapacity" type="{}WeightDimension" minOccurs="0"/>
- *         <element name="MaximumItemWidth" type="{}LengthDimension" minOccurs="0"/>
- *         <element name="MaximumRangeIndoors" type="{}LengthDimension" minOccurs="0"/>
- *         <element name="MaximumRangeOpenSPace" type="{}LengthDimension" minOccurs="0"/>
- *         <element name="MfrWarrantyDescriptionLabor" type="{}SuperLongStringNotNull" minOccurs="0"/>
- *         <element name="MfrWarrantyDescriptionParts" type="{}SuperLongStringNotNull" minOccurs="0"/>
- *         <element name="MfrWarrantyDescriptionType" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="PortableDisplaySize" type="{}LengthDimension" minOccurs="0"/>
- *         <element name="SeatBackInteriorHeight" type="{}LengthDimension" minOccurs="0"/>
- *         <element name="SeatHeight" type="{}LengthDimension" minOccurs="0"/>
- *         <element name="SeatInteriorWidth" type="{}LengthDimension" minOccurs="0"/>
- *         <element name="UserHipToKneeDistance" type="{}StringLengthOptionalDimension" minOccurs="0"/>
- *         <element name="UserKneeToFootDistance" type="{}StringLengthOptionalDimension" minOccurs="0"/>
- *         <element ref="{}Battery" minOccurs="0"/>
- *         <element name="BaseType" type="{}HundredString" minOccurs="0"/>
- *         <element name="BottleNippleType" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="BottleType" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="BrakeStyle" type="{}HundredString" minOccurs="0"/>
- *         <element name="CommunicationInterface" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="CompatibilityOptions" type="{}HundredString" minOccurs="0"/>
- *         <element name="CompatibleDevices" type="{}HundredString" minOccurs="0"/>
- *         <element name="ControlType" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="ConversionOptions" type="{}HundredString" minOccurs="0"/>
- *         <element name="CustomerPackageType" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="CanShipInOriginalContainer" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="Directions" type="{}LongStringNotNull" minOccurs="0"/>
- *         <element name="DishwasherSafe" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="DisplayType" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="ExtraSeatCompatible" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *         <element name="FoldedSizeWithoutWheels" type="{}HundredString" minOccurs="0"/>
- *         <element name="FulfillReadinessCond" type="{}FulfillReadiness" minOccurs="0"/>
- *         <element name="FurnitureFinish" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="IsAssemblyRequired" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="HardwareVisibility" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="HarnessType" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="Ingredients" minOccurs="0">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
- *               <maxLength value="1500"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="CarSeatWeightGroupEU" type="{}CarSeatWeightGroupEUType" maxOccurs="3" minOccurs="0"/>
- *         <element name="InstallationType" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="IsFragile" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="IsPortable" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="IsSoldInStores" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="ItemPackageContents" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="Lifestyle" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="NumberOfHeightPositions" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *         <element name="NumberOfPositions" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *         <element name="ManufacturerSafetyWarning" minOccurs="0">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
- *               <maxLength value="1500"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="ManufacturerWarrantyDescription" minOccurs="0">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
- *               <maxLength value="1500"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="ModelNumber" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="OperationMode" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="Orientation" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="PiecesIncludedInPurchase" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *         <element name="PowerFunctionality" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="PowerSourceType" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="RailType" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="Range" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="ReclinesFlat" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="RegionOfOrigin" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="SeatingCapacity" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *         <element name="SellerWarrantyDescription" minOccurs="0">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
- *               <maxLength value="1500"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="SpecificUsesForProduct" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="StyleName" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="SkillLevel" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="SuspensionType" type="{}HundredString" minOccurs="0"/>
- *         <element name="TotalTravel" type="{}LengthDimension" minOccurs="0"/>
- *         <element name="Wheels" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="WirelessCommunicationTechnology" type="{}HundredString" minOccurs="0"/>
- *         <element name="NumberOfPieces" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *         <element name="NumberOfPlayers" type="{}TwentyStringNotNull" minOccurs="0"/>
- *         <element ref="{}Recall" minOccurs="0"/>
- *         <element name="ToyAwardName" type="{}ToyAwardType" maxOccurs="5" minOccurs="0"/>
- *         <element name="AwardsWon" type="{}StringNotNull" maxOccurs="5" minOccurs="0"/>
- *         <element ref="{}WeightRecommendation" minOccurs="0"/>
- *         <element ref="{}HeightRecommendation" minOccurs="0"/>
- *         <element ref="{}ForwardFacingWeight" minOccurs="0"/>
- *         <element name="HarnessMaximumWeightCapacity" type="{}WeightDimension" minOccurs="0"/>
- *         <element name="HarnessMaximumHeightCapacity" type="{}LengthDimension" minOccurs="0"/>
- *         <element ref="{}RearFacingWeight" minOccurs="0"/>
- *         <element ref="{}ShoulderHarnessHeight" minOccurs="0"/>
- *         <element name="CountryOfOrigin" minOccurs="0">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <length value="2"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="FoldedSize" type="{}LongStringNotNull" minOccurs="0"/>
- *         <element name="IncludedComponents" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="ImportDesignation" type="{}String" minOccurs="0"/>
- *         <element name="CountryAsLabeled" type="{}CountryOfOriginType" minOccurs="0"/>
- *         <element name="FurDescription" type="{}LongString" minOccurs="0"/>
- *         <element name="FabricType" type="{}MediumStringNotNull" maxOccurs="3" minOccurs="0"/>
- *         <element name="MaterialType" type="{}HundredString" minOccurs="0"/>
- *         <element name="MaterialComposition" type="{}SuperLongStringNotNull" minOccurs="0"/>
- *         <element name="CareInstructions" type="{}LongStringNotNull" maxOccurs="3" minOccurs="0"/>
- *         <element name="SpecialFeatures" type="{}LongStringNotNull" maxOccurs="5" minOccurs="0"/>
- *         <element name="HandleHeight" type="{}LengthDimension" minOccurs="0"/>
- *         <element name="SeatLength" minOccurs="0">
- *           <complexType>
- *             <simpleContent>
- *               <extension base="<>StringNotNull">
- *                 <attribute name="unitOfMeasure" type="{}LengthUnitOfMeasure" />
- *               </extension>
- *             </simpleContent>
- *           </complexType>
- *         </element>
- *         <element name="SeatWidth" minOccurs="0">
- *           <complexType>
- *             <simpleContent>
- *               <extension base="<>StringNotNull">
- *                 <attribute name="unitOfMeasure" type="{}LengthUnitOfMeasure" />
- *               </extension>
- *             </simpleContent>
- *           </complexType>
- *         </element>
- *         <element name="TireMaterial" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="TireDiameter" minOccurs="0">
- *           <complexType>
- *             <simpleContent>
- *               <extension base="<>StringNotNull">
- *                 <attribute name="unitOfMeasure" type="{}LengthUnitOfMeasure" />
- *               </extension>
- *             </simpleContent>
- *           </complexType>
- *         </element>
- *         <element name="TargetGender" minOccurs="0">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <enumeration value="male"/>
- *               <enumeration value="female"/>
- *               <enumeration value="unisex"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="DisplayHeight" type="{}LengthDimension" minOccurs="0"/>
- *         <element name="DisplayLength" type="{}LengthDimension" minOccurs="0"/>
- *         <element name="DisplayWidth" type="{}LengthDimension" minOccurs="0"/>
- *         <element name="DisplayVolume" type="{}VolumeDimension" minOccurs="0"/>
- *         <element name="DisplayWeight" type="{}WeightDimension" minOccurs="0"/>
- *         <element name="UnitCount" minOccurs="0">
- *           <complexType>
- *             <simpleContent>
- *               <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
- *                 <attribute name="unitOfMeasure" use="required" type="{}TwentyStringNotNull" />
- *               </extension>
- *             </simpleContent>
- *           </complexType>
- *         </element>
- *         <element name="VariationData" minOccurs="0">
- *           <complexType>
- *             <complexContent>
- *               <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *                 <sequence>
- *                   <element name="Parentage">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="parent"/>
- *                         <enumeration value="child"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                   <element name="VariationTheme" minOccurs="0">
- *                     <simpleType>
- *                       <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *                         <enumeration value="Size"/>
- *                         <enumeration value="Color"/>
- *                         <enumeration value="Size-Color"/>
- *                         <enumeration value="Flavor"/>
- *                         <enumeration value="CustomerPackageType"/>
- *                         <enumeration value="ColorName-CustomerPackageType"/>
- *                         <enumeration value="SizeName-CustomerPackageType"/>
- *                         <enumeration value="SizeName-ColorName-CustomerPackageType"/>
- *                         <enumeration value="StyleName-CustomerPackageType"/>
- *                         <enumeration value="SizeName-StyleName-CustomerPackageType"/>
- *                       </restriction>
- *                     </simpleType>
- *                   </element>
- *                 </sequence>
- *               </restriction>
- *             </complexContent>
- *           </complexType>
- *         </element>
- *         <element name="Size" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="SizeMap" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="Color" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="ColorMap" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="Flavor" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="EngineType" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="HazmatItem" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="IdentityPackageType" minOccurs="0">
- *           <simpleType>
- *             <restriction base="{}StringNotNull">
- *               <enumeration value="bulk"/>
- *               <enumeration value="frustration_free"/>
- *               <enumeration value="traditional"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="SafetyRating" type="{}StringNotNull" maxOccurs="5" minOccurs="0"/>
- *         <element name="Voltage" type="{}PositiveDimension" minOccurs="0"/>
- *         <element name="Warnings" type="{}LongStringNotNull" minOccurs="0"/>
- *         <element name="Wattage" type="{}PositiveDimension" minOccurs="0"/>
- *         <element name="BatteryTypeLithiumIon" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *         <element name="BatteryTypeLithiumMetal" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *         <element name="LithiumBatteryEnergyContent" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
- *         <element name="LithiumBatteryPackaging" minOccurs="0">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *               <enumeration value="batteries_contained_in_equipment"/>
- *               <enumeration value="batteries_only"/>
- *               <enumeration value="batteries_packed_with_equipment"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="LithiumBatteryVoltage" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
- *         <element name="LithiumBatteryWeight" type="{http://www.w3.org/2001/XMLSchema}decimal" minOccurs="0"/>
- *         <element name="NumberOfLithiumIonCells" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *         <element name="NumberOfLithiumMetalCells" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *         <element name="NumberOfChannels" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *         <element name="NumberOfFrequencyChannels" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *         <element name="NumberOfControlChannels" type="{http://www.w3.org/2001/XMLSchema}positiveInteger" minOccurs="0"/>
- *         <element name="FrequencyBandsSupported" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="Language" type="{}LanguageStringType" minOccurs="0"/>
- *         <element name="EducationalValue" type="{}HundredString" minOccurs="0"/>
- *         <element name="IncludesRemote" type="{http://www.w3.org/2001/XMLSchema}boolean" minOccurs="0"/>
- *         <element name="RecommendedUse" minOccurs="0">
- *           <simpleType>
- *             <restriction base="{http://www.w3.org/2001/XMLSchema}normalizedString">
- *               <maxLength value="1500"/>
- *             </restriction>
- *           </simpleType>
- *         </element>
- *         <element name="RemoteControlTechnology" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="RailGauge" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="Scale" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="SpecificationMet" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="Subject" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="SubjectCharacter" type="{}StringNotNull" minOccurs="0"/>
- *         <element name="MaterialTypeFree" type="{}StringNotNull" maxOccurs="5" minOccurs="0"/>
- *         <element name="SensorTechnology" type="{}StringNotNull" maxOccurs="5" minOccurs="0"/>
- *         <element name="SensorType" type="{}StringNotNull" maxOccurs="5" minOccurs="0"/>
- *         <element name="TrayType" type="{}StringNotNull" maxOccurs="3" minOccurs="0"/>
- *         <element name="ItemSpecialty" type="{}StringNotNull" maxOccurs="5" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "productType", - "ageRecommendation", - "isAdultProduct", - "alertType", - "assemblyInstructions", - "assemblyTime", - "baseDepth", - "baseWidth", - "carrierWeight", - "batteryAverageLife", - "batteryAverageLifeStandby", - "batteryChargeTime", - "frequencyResponse", - "mainVideoMonitorScreenSize", - "maximumAnchoringWeightCapacity", - "maximumItemWidth", - "maximumRangeIndoors", - "maximumRangeOpenSPace", - "mfrWarrantyDescriptionLabor", - "mfrWarrantyDescriptionParts", - "mfrWarrantyDescriptionType", - "portableDisplaySize", - "seatBackInteriorHeight", - "seatHeight", - "seatInteriorWidth", - "userHipToKneeDistance", - "userKneeToFootDistance", - "battery", - "baseType", - "bottleNippleType", - "bottleType", - "brakeStyle", - "communicationInterface", - "compatibilityOptions", - "compatibleDevices", - "controlType", - "conversionOptions", - "customerPackageType", - "canShipInOriginalContainer", - "directions", - "dishwasherSafe", - "displayType", - "extraSeatCompatible", - "foldedSizeWithoutWheels", - "fulfillReadinessCond", - "furnitureFinish", - "isAssemblyRequired", - "hardwareVisibility", - "harnessType", - "ingredients", - "carSeatWeightGroupEU", - "installationType", - "isFragile", - "isPortable", - "isSoldInStores", - "itemPackageContents", - "lifestyle", - "numberOfHeightPositions", - "numberOfPositions", - "manufacturerSafetyWarning", - "manufacturerWarrantyDescription", - "modelNumber", - "operationMode", - "orientation", - "piecesIncludedInPurchase", - "powerFunctionality", - "powerSourceType", - "railType", - "range", - "reclinesFlat", - "regionOfOrigin", - "seatingCapacity", - "sellerWarrantyDescription", - "specificUsesForProduct", - "styleName", - "skillLevel", - "suspensionType", - "totalTravel", - "wheels", - "wirelessCommunicationTechnology", - "numberOfPieces", - "numberOfPlayers", - "recall", - "toyAwardName", - "awardsWon", - "weightRecommendation", - "heightRecommendation", - "forwardFacingWeight", - "harnessMaximumWeightCapacity", - "harnessMaximumHeightCapacity", - "rearFacingWeight", - "shoulderHarnessHeight", - "countryOfOrigin", - "foldedSize", - "includedComponents", - "importDesignation", - "countryAsLabeled", - "furDescription", - "fabricType", - "materialType", - "materialComposition", - "careInstructions", - "specialFeatures", - "handleHeight", - "seatLength", - "seatWidth", - "tireMaterial", - "tireDiameter", - "targetGender", - "displayHeight", - "displayLength", - "displayWidth", - "displayVolume", - "displayWeight", - "unitCount", - "variationData", - "size", - "sizeMap", - "color", - "colorMap", - "flavor", - "engineType", - "hazmatItem", - "identityPackageType", - "safetyRating", - "voltage", - "warnings", - "wattage", - "batteryTypeLithiumIon", - "batteryTypeLithiumMetal", - "lithiumBatteryEnergyContent", - "lithiumBatteryPackaging", - "lithiumBatteryVoltage", - "lithiumBatteryWeight", - "numberOfLithiumIonCells", - "numberOfLithiumMetalCells", - "numberOfChannels", - "numberOfFrequencyChannels", - "numberOfControlChannels", - "frequencyBandsSupported", - "language", - "educationalValue", - "includesRemote", - "recommendedUse", - "remoteControlTechnology", - "railGauge", - "scale", - "specificationMet", - "subject", - "subjectCharacter", - "materialTypeFree", - "sensorTechnology", - "sensorType", - "trayType", - "itemSpecialty" -}) -@XmlRootElement(name = "ToysBaby") -public class ToysBaby { - - @XmlElement(name = "ProductType", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String productType; - @XmlElement(name = "AgeRecommendation") - protected AgeRecommendation ageRecommendation; - @XmlElement(name = "IsAdultProduct") - protected Boolean isAdultProduct; - @XmlElement(name = "AlertType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List alertType; - @XmlElement(name = "AssemblyInstructions") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String assemblyInstructions; - @XmlElement(name = "AssemblyTime") - protected AssemblyTimeDimension assemblyTime; - @XmlElement(name = "BaseDepth") - protected LengthDimension baseDepth; - @XmlElement(name = "BaseWidth") - protected LengthDimension baseWidth; - @XmlElement(name = "CarrierWeight") - protected WeightDimension carrierWeight; - @XmlElement(name = "BatteryAverageLife") - protected BatteryLifeDimension batteryAverageLife; - @XmlElement(name = "BatteryAverageLifeStandby") - protected BigDecimal batteryAverageLifeStandby; - @XmlElement(name = "BatteryChargeTime") - protected BigDecimal batteryChargeTime; - @XmlElement(name = "FrequencyResponse") - protected FrequencyDimension frequencyResponse; - @XmlElement(name = "MainVideoMonitorScreenSize") - protected LengthDimension mainVideoMonitorScreenSize; - @XmlElement(name = "MaximumAnchoringWeightCapacity") - protected WeightDimension maximumAnchoringWeightCapacity; - @XmlElement(name = "MaximumItemWidth") - protected LengthDimension maximumItemWidth; - @XmlElement(name = "MaximumRangeIndoors") - protected LengthDimension maximumRangeIndoors; - @XmlElement(name = "MaximumRangeOpenSPace") - protected LengthDimension maximumRangeOpenSPace; - @XmlElement(name = "MfrWarrantyDescriptionLabor") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String mfrWarrantyDescriptionLabor; - @XmlElement(name = "MfrWarrantyDescriptionParts") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String mfrWarrantyDescriptionParts; - @XmlElement(name = "MfrWarrantyDescriptionType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String mfrWarrantyDescriptionType; - @XmlElement(name = "PortableDisplaySize") - protected LengthDimension portableDisplaySize; - @XmlElement(name = "SeatBackInteriorHeight") - protected LengthDimension seatBackInteriorHeight; - @XmlElement(name = "SeatHeight") - protected LengthDimension seatHeight; - @XmlElement(name = "SeatInteriorWidth") - protected LengthDimension seatInteriorWidth; - @XmlElement(name = "UserHipToKneeDistance") - protected StringLengthOptionalDimension userHipToKneeDistance; - @XmlElement(name = "UserKneeToFootDistance") - protected StringLengthOptionalDimension userKneeToFootDistance; - @XmlElement(name = "Battery") - protected Battery battery; - @XmlElement(name = "BaseType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String baseType; - @XmlElement(name = "BottleNippleType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String bottleNippleType; - @XmlElement(name = "BottleType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String bottleType; - @XmlElement(name = "BrakeStyle") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String brakeStyle; - @XmlElement(name = "CommunicationInterface") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String communicationInterface; - @XmlElement(name = "CompatibilityOptions") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String compatibilityOptions; - @XmlElement(name = "CompatibleDevices") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String compatibleDevices; - @XmlElement(name = "ControlType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String controlType; - @XmlElement(name = "ConversionOptions") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String conversionOptions; - @XmlElement(name = "CustomerPackageType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String customerPackageType; - @XmlElement(name = "CanShipInOriginalContainer") - protected Boolean canShipInOriginalContainer; - @XmlElement(name = "Directions") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String directions; - @XmlElement(name = "DishwasherSafe") - protected Boolean dishwasherSafe; - @XmlElement(name = "DisplayType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String displayType; - @XmlElement(name = "ExtraSeatCompatible") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger extraSeatCompatible; - @XmlElement(name = "FoldedSizeWithoutWheels") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String foldedSizeWithoutWheels; - @XmlElement(name = "FulfillReadinessCond") - protected FulfillReadiness fulfillReadinessCond; - @XmlElement(name = "FurnitureFinish") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String furnitureFinish; - @XmlElement(name = "IsAssemblyRequired") - protected Boolean isAssemblyRequired; - @XmlElement(name = "HardwareVisibility") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String hardwareVisibility; - @XmlElement(name = "HarnessType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String harnessType; - @XmlElement(name = "Ingredients") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String ingredients; - @XmlElement(name = "CarSeatWeightGroupEU") - protected List carSeatWeightGroupEU; - @XmlElement(name = "InstallationType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String installationType; - @XmlElement(name = "IsFragile") - protected Boolean isFragile; - @XmlElement(name = "IsPortable") - protected Boolean isPortable; - @XmlElement(name = "IsSoldInStores") - protected Boolean isSoldInStores; - @XmlElement(name = "ItemPackageContents") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String itemPackageContents; - @XmlElement(name = "Lifestyle") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String lifestyle; - @XmlElement(name = "NumberOfHeightPositions") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger numberOfHeightPositions; - @XmlElement(name = "NumberOfPositions") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger numberOfPositions; - @XmlElement(name = "ManufacturerSafetyWarning") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String manufacturerSafetyWarning; - @XmlElement(name = "ManufacturerWarrantyDescription") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String manufacturerWarrantyDescription; - @XmlElement(name = "ModelNumber") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String modelNumber; - @XmlElement(name = "OperationMode") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String operationMode; - @XmlElement(name = "Orientation") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String orientation; - @XmlElement(name = "PiecesIncludedInPurchase") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger piecesIncludedInPurchase; - @XmlElement(name = "PowerFunctionality") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String powerFunctionality; - @XmlElement(name = "PowerSourceType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String powerSourceType; - @XmlElement(name = "RailType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String railType; - @XmlElement(name = "Range") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String range; - @XmlElement(name = "ReclinesFlat") - protected Boolean reclinesFlat; - @XmlElement(name = "RegionOfOrigin") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String regionOfOrigin; - @XmlElement(name = "SeatingCapacity") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger seatingCapacity; - @XmlElement(name = "SellerWarrantyDescription") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String sellerWarrantyDescription; - @XmlElement(name = "SpecificUsesForProduct") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String specificUsesForProduct; - @XmlElement(name = "StyleName") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String styleName; - @XmlElement(name = "SkillLevel") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String skillLevel; - @XmlElement(name = "SuspensionType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String suspensionType; - @XmlElement(name = "TotalTravel") - protected LengthDimension totalTravel; - @XmlElement(name = "Wheels") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String wheels; - @XmlElement(name = "WirelessCommunicationTechnology") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String wirelessCommunicationTechnology; - @XmlElement(name = "NumberOfPieces") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger numberOfPieces; - @XmlElement(name = "NumberOfPlayers") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String numberOfPlayers; - @XmlElement(name = "Recall") - protected Recall recall; - @XmlElement(name = "ToyAwardName") - protected List toyAwardName; - @XmlElement(name = "AwardsWon") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List awardsWon; - @XmlElement(name = "WeightRecommendation") - protected WeightRecommendation weightRecommendation; - @XmlElement(name = "HeightRecommendation") - protected HeightRecommendation heightRecommendation; - @XmlElement(name = "ForwardFacingWeight") - protected ForwardFacingWeight forwardFacingWeight; - @XmlElement(name = "HarnessMaximumWeightCapacity") - protected WeightDimension harnessMaximumWeightCapacity; - @XmlElement(name = "HarnessMaximumHeightCapacity") - protected LengthDimension harnessMaximumHeightCapacity; - @XmlElement(name = "RearFacingWeight") - protected RearFacingWeight rearFacingWeight; - @XmlElement(name = "ShoulderHarnessHeight") - protected ShoulderHarnessHeight shoulderHarnessHeight; - @XmlElement(name = "CountryOfOrigin") - protected String countryOfOrigin; - @XmlElement(name = "FoldedSize") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String foldedSize; - @XmlElement(name = "IncludedComponents") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String includedComponents; - @XmlElement(name = "ImportDesignation") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String importDesignation; - @XmlElement(name = "CountryAsLabeled") - protected String countryAsLabeled; - @XmlElement(name = "FurDescription") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String furDescription; - @XmlElement(name = "FabricType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List fabricType; - @XmlElement(name = "MaterialType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String materialType; - @XmlElement(name = "MaterialComposition") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String materialComposition; - @XmlElement(name = "CareInstructions") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List careInstructions; - @XmlElement(name = "SpecialFeatures") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List specialFeatures; - @XmlElement(name = "HandleHeight") - protected LengthDimension handleHeight; - @XmlElement(name = "SeatLength") - protected ToysBaby.SeatLength seatLength; - @XmlElement(name = "SeatWidth") - protected ToysBaby.SeatWidth seatWidth; - @XmlElement(name = "TireMaterial") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String tireMaterial; - @XmlElement(name = "TireDiameter") - protected ToysBaby.TireDiameter tireDiameter; - @XmlElement(name = "TargetGender") - protected String targetGender; - @XmlElement(name = "DisplayHeight") - protected LengthDimension displayHeight; - @XmlElement(name = "DisplayLength") - protected LengthDimension displayLength; - @XmlElement(name = "DisplayWidth") - protected LengthDimension displayWidth; - @XmlElement(name = "DisplayVolume") - protected VolumeDimension displayVolume; - @XmlElement(name = "DisplayWeight") - protected WeightDimension displayWeight; - @XmlElement(name = "UnitCount") - protected ToysBaby.UnitCount unitCount; - @XmlElement(name = "VariationData") - protected ToysBaby.VariationData variationData; - @XmlElement(name = "Size") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String size; - @XmlElement(name = "SizeMap") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String sizeMap; - @XmlElement(name = "Color") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String color; - @XmlElement(name = "ColorMap") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String colorMap; - @XmlElement(name = "Flavor") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String flavor; - @XmlElement(name = "EngineType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String engineType; - @XmlElement(name = "HazmatItem") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String hazmatItem; - @XmlElement(name = "IdentityPackageType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String identityPackageType; - @XmlElement(name = "SafetyRating") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List safetyRating; - @XmlElement(name = "Voltage") - protected BigDecimal voltage; - @XmlElement(name = "Warnings") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String warnings; - @XmlElement(name = "Wattage") - protected BigDecimal wattage; - @XmlElement(name = "BatteryTypeLithiumIon") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger batteryTypeLithiumIon; - @XmlElement(name = "BatteryTypeLithiumMetal") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger batteryTypeLithiumMetal; - @XmlElement(name = "LithiumBatteryEnergyContent") - protected BigDecimal lithiumBatteryEnergyContent; - @XmlElement(name = "LithiumBatteryPackaging") - protected String lithiumBatteryPackaging; - @XmlElement(name = "LithiumBatteryVoltage") - protected BigDecimal lithiumBatteryVoltage; - @XmlElement(name = "LithiumBatteryWeight") - protected BigDecimal lithiumBatteryWeight; - @XmlElement(name = "NumberOfLithiumIonCells") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger numberOfLithiumIonCells; - @XmlElement(name = "NumberOfLithiumMetalCells") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger numberOfLithiumMetalCells; - @XmlElement(name = "NumberOfChannels") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger numberOfChannels; - @XmlElement(name = "NumberOfFrequencyChannels") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger numberOfFrequencyChannels; - @XmlElement(name = "NumberOfControlChannels") - @XmlSchemaType(name = "positiveInteger") - protected BigInteger numberOfControlChannels; - @XmlElement(name = "FrequencyBandsSupported") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String frequencyBandsSupported; - @XmlElement(name = "Language") - protected LanguageStringType language; - @XmlElement(name = "EducationalValue") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String educationalValue; - @XmlElement(name = "IncludesRemote") - protected Boolean includesRemote; - @XmlElement(name = "RecommendedUse") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String recommendedUse; - @XmlElement(name = "RemoteControlTechnology") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String remoteControlTechnology; - @XmlElement(name = "RailGauge") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String railGauge; - @XmlElement(name = "Scale") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String scale; - @XmlElement(name = "SpecificationMet") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String specificationMet; - @XmlElement(name = "Subject") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String subject; - @XmlElement(name = "SubjectCharacter") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String subjectCharacter; - @XmlElement(name = "MaterialTypeFree") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List materialTypeFree; - @XmlElement(name = "SensorTechnology") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List sensorTechnology; - @XmlElement(name = "SensorType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List sensorType; - @XmlElement(name = "TrayType") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List trayType; - @XmlElement(name = "ItemSpecialty") - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected List itemSpecialty; - - /** - * Recupera il valore della proprietà productType. - * - * @return possible object is - * {@link String } - */ - public String getProductType() { - return productType; - } - - /** - * Imposta il valore della proprietà productType. - * - * @param value allowed object is - * {@link String } - */ - public void setProductType(String value) { - this.productType = value; - } - - /** - * Recupera il valore della proprietà ageRecommendation. - * - * @return possible object is - * {@link AgeRecommendation } - */ - public AgeRecommendation getAgeRecommendation() { - return ageRecommendation; - } - - /** - * Imposta il valore della proprietà ageRecommendation. - * - * @param value allowed object is - * {@link AgeRecommendation } - */ - public void setAgeRecommendation(AgeRecommendation value) { - this.ageRecommendation = value; - } - - /** - * Recupera il valore della proprietà isAdultProduct. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isIsAdultProduct() { - return isAdultProduct; - } - - /** - * Imposta il valore della proprietà isAdultProduct. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setIsAdultProduct(Boolean value) { - this.isAdultProduct = value; - } - - /** - * Gets the value of the alertType property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the alertType property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getAlertType().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getAlertType() { - if (alertType == null) { - alertType = new ArrayList(); - } - return this.alertType; - } - - /** - * Recupera il valore della proprietà assemblyInstructions. - * - * @return possible object is - * {@link String } - */ - public String getAssemblyInstructions() { - return assemblyInstructions; - } - - /** - * Imposta il valore della proprietà assemblyInstructions. - * - * @param value allowed object is - * {@link String } - */ - public void setAssemblyInstructions(String value) { - this.assemblyInstructions = value; - } - - /** - * Recupera il valore della proprietà assemblyTime. - * - * @return possible object is - * {@link AssemblyTimeDimension } - */ - public AssemblyTimeDimension getAssemblyTime() { - return assemblyTime; - } - - /** - * Imposta il valore della proprietà assemblyTime. - * - * @param value allowed object is - * {@link AssemblyTimeDimension } - */ - public void setAssemblyTime(AssemblyTimeDimension value) { - this.assemblyTime = value; - } - - /** - * Recupera il valore della proprietà baseDepth. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getBaseDepth() { - return baseDepth; - } - - /** - * Imposta il valore della proprietà baseDepth. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setBaseDepth(LengthDimension value) { - this.baseDepth = value; - } - - /** - * Recupera il valore della proprietà baseWidth. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getBaseWidth() { - return baseWidth; - } - - /** - * Imposta il valore della proprietà baseWidth. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setBaseWidth(LengthDimension value) { - this.baseWidth = value; - } - - /** - * Recupera il valore della proprietà carrierWeight. - * - * @return possible object is - * {@link WeightDimension } - */ - public WeightDimension getCarrierWeight() { - return carrierWeight; - } - - /** - * Imposta il valore della proprietà carrierWeight. - * - * @param value allowed object is - * {@link WeightDimension } - */ - public void setCarrierWeight(WeightDimension value) { - this.carrierWeight = value; - } - - /** - * Recupera il valore della proprietà batteryAverageLife. - * - * @return possible object is - * {@link BatteryLifeDimension } - */ - public BatteryLifeDimension getBatteryAverageLife() { - return batteryAverageLife; - } - - /** - * Imposta il valore della proprietà batteryAverageLife. - * - * @param value allowed object is - * {@link BatteryLifeDimension } - */ - public void setBatteryAverageLife(BatteryLifeDimension value) { - this.batteryAverageLife = value; - } - - /** - * Recupera il valore della proprietà batteryAverageLifeStandby. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getBatteryAverageLifeStandby() { - return batteryAverageLifeStandby; - } - - /** - * Imposta il valore della proprietà batteryAverageLifeStandby. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setBatteryAverageLifeStandby(BigDecimal value) { - this.batteryAverageLifeStandby = value; - } - - /** - * Recupera il valore della proprietà batteryChargeTime. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getBatteryChargeTime() { - return batteryChargeTime; - } - - /** - * Imposta il valore della proprietà batteryChargeTime. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setBatteryChargeTime(BigDecimal value) { - this.batteryChargeTime = value; - } - - /** - * Recupera il valore della proprietà frequencyResponse. - * - * @return possible object is - * {@link FrequencyDimension } - */ - public FrequencyDimension getFrequencyResponse() { - return frequencyResponse; - } - - /** - * Imposta il valore della proprietà frequencyResponse. - * - * @param value allowed object is - * {@link FrequencyDimension } - */ - public void setFrequencyResponse(FrequencyDimension value) { - this.frequencyResponse = value; - } - - /** - * Recupera il valore della proprietà mainVideoMonitorScreenSize. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getMainVideoMonitorScreenSize() { - return mainVideoMonitorScreenSize; - } - - /** - * Imposta il valore della proprietà mainVideoMonitorScreenSize. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setMainVideoMonitorScreenSize(LengthDimension value) { - this.mainVideoMonitorScreenSize = value; - } - - /** - * Recupera il valore della proprietà maximumAnchoringWeightCapacity. - * - * @return possible object is - * {@link WeightDimension } - */ - public WeightDimension getMaximumAnchoringWeightCapacity() { - return maximumAnchoringWeightCapacity; - } - - /** - * Imposta il valore della proprietà maximumAnchoringWeightCapacity. - * - * @param value allowed object is - * {@link WeightDimension } - */ - public void setMaximumAnchoringWeightCapacity(WeightDimension value) { - this.maximumAnchoringWeightCapacity = value; - } - - /** - * Recupera il valore della proprietà maximumItemWidth. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getMaximumItemWidth() { - return maximumItemWidth; - } - - /** - * Imposta il valore della proprietà maximumItemWidth. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setMaximumItemWidth(LengthDimension value) { - this.maximumItemWidth = value; - } - - /** - * Recupera il valore della proprietà maximumRangeIndoors. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getMaximumRangeIndoors() { - return maximumRangeIndoors; - } - - /** - * Imposta il valore della proprietà maximumRangeIndoors. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setMaximumRangeIndoors(LengthDimension value) { - this.maximumRangeIndoors = value; - } - - /** - * Recupera il valore della proprietà maximumRangeOpenSPace. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getMaximumRangeOpenSPace() { - return maximumRangeOpenSPace; - } - - /** - * Imposta il valore della proprietà maximumRangeOpenSPace. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setMaximumRangeOpenSPace(LengthDimension value) { - this.maximumRangeOpenSPace = value; - } - - /** - * Recupera il valore della proprietà mfrWarrantyDescriptionLabor. - * - * @return possible object is - * {@link String } - */ - public String getMfrWarrantyDescriptionLabor() { - return mfrWarrantyDescriptionLabor; - } - - /** - * Imposta il valore della proprietà mfrWarrantyDescriptionLabor. - * - * @param value allowed object is - * {@link String } - */ - public void setMfrWarrantyDescriptionLabor(String value) { - this.mfrWarrantyDescriptionLabor = value; - } - - /** - * Recupera il valore della proprietà mfrWarrantyDescriptionParts. - * - * @return possible object is - * {@link String } - */ - public String getMfrWarrantyDescriptionParts() { - return mfrWarrantyDescriptionParts; - } - - /** - * Imposta il valore della proprietà mfrWarrantyDescriptionParts. - * - * @param value allowed object is - * {@link String } - */ - public void setMfrWarrantyDescriptionParts(String value) { - this.mfrWarrantyDescriptionParts = value; - } - - /** - * Recupera il valore della proprietà mfrWarrantyDescriptionType. - * - * @return possible object is - * {@link String } - */ - public String getMfrWarrantyDescriptionType() { - return mfrWarrantyDescriptionType; - } - - /** - * Imposta il valore della proprietà mfrWarrantyDescriptionType. - * - * @param value allowed object is - * {@link String } - */ - public void setMfrWarrantyDescriptionType(String value) { - this.mfrWarrantyDescriptionType = value; - } - - /** - * Recupera il valore della proprietà portableDisplaySize. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getPortableDisplaySize() { - return portableDisplaySize; - } - - /** - * Imposta il valore della proprietà portableDisplaySize. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setPortableDisplaySize(LengthDimension value) { - this.portableDisplaySize = value; - } - - /** - * Recupera il valore della proprietà seatBackInteriorHeight. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getSeatBackInteriorHeight() { - return seatBackInteriorHeight; - } - - /** - * Imposta il valore della proprietà seatBackInteriorHeight. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setSeatBackInteriorHeight(LengthDimension value) { - this.seatBackInteriorHeight = value; - } - - /** - * Recupera il valore della proprietà seatHeight. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getSeatHeight() { - return seatHeight; - } - - /** - * Imposta il valore della proprietà seatHeight. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setSeatHeight(LengthDimension value) { - this.seatHeight = value; - } - - /** - * Recupera il valore della proprietà seatInteriorWidth. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getSeatInteriorWidth() { - return seatInteriorWidth; - } - - /** - * Imposta il valore della proprietà seatInteriorWidth. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setSeatInteriorWidth(LengthDimension value) { - this.seatInteriorWidth = value; - } - - /** - * Recupera il valore della proprietà userHipToKneeDistance. - * - * @return possible object is - * {@link StringLengthOptionalDimension } - */ - public StringLengthOptionalDimension getUserHipToKneeDistance() { - return userHipToKneeDistance; - } - - /** - * Imposta il valore della proprietà userHipToKneeDistance. - * - * @param value allowed object is - * {@link StringLengthOptionalDimension } - */ - public void setUserHipToKneeDistance(StringLengthOptionalDimension value) { - this.userHipToKneeDistance = value; - } - - /** - * Recupera il valore della proprietà userKneeToFootDistance. - * - * @return possible object is - * {@link StringLengthOptionalDimension } - */ - public StringLengthOptionalDimension getUserKneeToFootDistance() { - return userKneeToFootDistance; - } - - /** - * Imposta il valore della proprietà userKneeToFootDistance. - * - * @param value allowed object is - * {@link StringLengthOptionalDimension } - */ - public void setUserKneeToFootDistance(StringLengthOptionalDimension value) { - this.userKneeToFootDistance = value; - } - - /** - * Recupera il valore della proprietà battery. - * - * @return possible object is - * {@link Battery } - */ - public Battery getBattery() { - return battery; - } - - /** - * Imposta il valore della proprietà battery. - * - * @param value allowed object is - * {@link Battery } - */ - public void setBattery(Battery value) { - this.battery = value; - } - - /** - * Recupera il valore della proprietà baseType. - * - * @return possible object is - * {@link String } - */ - public String getBaseType() { - return baseType; - } - - /** - * Imposta il valore della proprietà baseType. - * - * @param value allowed object is - * {@link String } - */ - public void setBaseType(String value) { - this.baseType = value; - } - - /** - * Recupera il valore della proprietà bottleNippleType. - * - * @return possible object is - * {@link String } - */ - public String getBottleNippleType() { - return bottleNippleType; - } - - /** - * Imposta il valore della proprietà bottleNippleType. - * - * @param value allowed object is - * {@link String } - */ - public void setBottleNippleType(String value) { - this.bottleNippleType = value; - } - - /** - * Recupera il valore della proprietà bottleType. - * - * @return possible object is - * {@link String } - */ - public String getBottleType() { - return bottleType; - } - - /** - * Imposta il valore della proprietà bottleType. - * - * @param value allowed object is - * {@link String } - */ - public void setBottleType(String value) { - this.bottleType = value; - } - - /** - * Recupera il valore della proprietà brakeStyle. - * - * @return possible object is - * {@link String } - */ - public String getBrakeStyle() { - return brakeStyle; - } - - /** - * Imposta il valore della proprietà brakeStyle. - * - * @param value allowed object is - * {@link String } - */ - public void setBrakeStyle(String value) { - this.brakeStyle = value; - } - - /** - * Recupera il valore della proprietà communicationInterface. - * - * @return possible object is - * {@link String } - */ - public String getCommunicationInterface() { - return communicationInterface; - } - - /** - * Imposta il valore della proprietà communicationInterface. - * - * @param value allowed object is - * {@link String } - */ - public void setCommunicationInterface(String value) { - this.communicationInterface = value; - } - - /** - * Recupera il valore della proprietà compatibilityOptions. - * - * @return possible object is - * {@link String } - */ - public String getCompatibilityOptions() { - return compatibilityOptions; - } - - /** - * Imposta il valore della proprietà compatibilityOptions. - * - * @param value allowed object is - * {@link String } - */ - public void setCompatibilityOptions(String value) { - this.compatibilityOptions = value; - } - - /** - * Recupera il valore della proprietà compatibleDevices. - * - * @return possible object is - * {@link String } - */ - public String getCompatibleDevices() { - return compatibleDevices; - } - - /** - * Imposta il valore della proprietà compatibleDevices. - * - * @param value allowed object is - * {@link String } - */ - public void setCompatibleDevices(String value) { - this.compatibleDevices = value; - } - - /** - * Recupera il valore della proprietà controlType. - * - * @return possible object is - * {@link String } - */ - public String getControlType() { - return controlType; - } - - /** - * Imposta il valore della proprietà controlType. - * - * @param value allowed object is - * {@link String } - */ - public void setControlType(String value) { - this.controlType = value; - } - - /** - * Recupera il valore della proprietà conversionOptions. - * - * @return possible object is - * {@link String } - */ - public String getConversionOptions() { - return conversionOptions; - } - - /** - * Imposta il valore della proprietà conversionOptions. - * - * @param value allowed object is - * {@link String } - */ - public void setConversionOptions(String value) { - this.conversionOptions = value; - } - - /** - * Recupera il valore della proprietà customerPackageType. - * - * @return possible object is - * {@link String } - */ - public String getCustomerPackageType() { - return customerPackageType; - } - - /** - * Imposta il valore della proprietà customerPackageType. - * - * @param value allowed object is - * {@link String } - */ - public void setCustomerPackageType(String value) { - this.customerPackageType = value; - } - - /** - * Recupera il valore della proprietà canShipInOriginalContainer. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isCanShipInOriginalContainer() { - return canShipInOriginalContainer; - } - - /** - * Imposta il valore della proprietà canShipInOriginalContainer. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setCanShipInOriginalContainer(Boolean value) { - this.canShipInOriginalContainer = value; - } - - /** - * Recupera il valore della proprietà directions. - * - * @return possible object is - * {@link String } - */ - public String getDirections() { - return directions; - } - - /** - * Imposta il valore della proprietà directions. - * - * @param value allowed object is - * {@link String } - */ - public void setDirections(String value) { - this.directions = value; - } - - /** - * Recupera il valore della proprietà dishwasherSafe. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isDishwasherSafe() { - return dishwasherSafe; - } - - /** - * Imposta il valore della proprietà dishwasherSafe. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setDishwasherSafe(Boolean value) { - this.dishwasherSafe = value; - } - - /** - * Recupera il valore della proprietà displayType. - * - * @return possible object is - * {@link String } - */ - public String getDisplayType() { - return displayType; - } - - /** - * Imposta il valore della proprietà displayType. - * - * @param value allowed object is - * {@link String } - */ - public void setDisplayType(String value) { - this.displayType = value; - } - - /** - * Recupera il valore della proprietà extraSeatCompatible. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getExtraSeatCompatible() { - return extraSeatCompatible; - } - - /** - * Imposta il valore della proprietà extraSeatCompatible. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setExtraSeatCompatible(BigInteger value) { - this.extraSeatCompatible = value; - } - - /** - * Recupera il valore della proprietà foldedSizeWithoutWheels. - * - * @return possible object is - * {@link String } - */ - public String getFoldedSizeWithoutWheels() { - return foldedSizeWithoutWheels; - } - - /** - * Imposta il valore della proprietà foldedSizeWithoutWheels. - * - * @param value allowed object is - * {@link String } - */ - public void setFoldedSizeWithoutWheels(String value) { - this.foldedSizeWithoutWheels = value; - } - - /** - * Recupera il valore della proprietà fulfillReadinessCond. - * - * @return possible object is - * {@link FulfillReadiness } - */ - public FulfillReadiness getFulfillReadinessCond() { - return fulfillReadinessCond; - } - - /** - * Imposta il valore della proprietà fulfillReadinessCond. - * - * @param value allowed object is - * {@link FulfillReadiness } - */ - public void setFulfillReadinessCond(FulfillReadiness value) { - this.fulfillReadinessCond = value; - } - - /** - * Recupera il valore della proprietà furnitureFinish. - * - * @return possible object is - * {@link String } - */ - public String getFurnitureFinish() { - return furnitureFinish; - } - - /** - * Imposta il valore della proprietà furnitureFinish. - * - * @param value allowed object is - * {@link String } - */ - public void setFurnitureFinish(String value) { - this.furnitureFinish = value; - } - - /** - * Recupera il valore della proprietà isAssemblyRequired. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isIsAssemblyRequired() { - return isAssemblyRequired; - } - - /** - * Imposta il valore della proprietà isAssemblyRequired. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setIsAssemblyRequired(Boolean value) { - this.isAssemblyRequired = value; - } - - /** - * Recupera il valore della proprietà hardwareVisibility. - * - * @return possible object is - * {@link String } - */ - public String getHardwareVisibility() { - return hardwareVisibility; - } - - /** - * Imposta il valore della proprietà hardwareVisibility. - * - * @param value allowed object is - * {@link String } - */ - public void setHardwareVisibility(String value) { - this.hardwareVisibility = value; - } - - /** - * Recupera il valore della proprietà harnessType. - * - * @return possible object is - * {@link String } - */ - public String getHarnessType() { - return harnessType; - } - - /** - * Imposta il valore della proprietà harnessType. - * - * @param value allowed object is - * {@link String } - */ - public void setHarnessType(String value) { - this.harnessType = value; - } - - /** - * Recupera il valore della proprietà ingredients. - * - * @return possible object is - * {@link String } - */ - public String getIngredients() { - return ingredients; - } - - /** - * Imposta il valore della proprietà ingredients. - * - * @param value allowed object is - * {@link String } - */ - public void setIngredients(String value) { - this.ingredients = value; - } - - /** - * Gets the value of the carSeatWeightGroupEU property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the carSeatWeightGroupEU property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getCarSeatWeightGroupEU().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link CarSeatWeightGroupEUType } - */ - public List getCarSeatWeightGroupEU() { - if (carSeatWeightGroupEU == null) { - carSeatWeightGroupEU = new ArrayList(); - } - return this.carSeatWeightGroupEU; - } - - /** - * Recupera il valore della proprietà installationType. - * - * @return possible object is - * {@link String } - */ - public String getInstallationType() { - return installationType; - } - - /** - * Imposta il valore della proprietà installationType. - * - * @param value allowed object is - * {@link String } - */ - public void setInstallationType(String value) { - this.installationType = value; - } - - /** - * Recupera il valore della proprietà isFragile. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isIsFragile() { - return isFragile; - } - - /** - * Imposta il valore della proprietà isFragile. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setIsFragile(Boolean value) { - this.isFragile = value; - } - - /** - * Recupera il valore della proprietà isPortable. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isIsPortable() { - return isPortable; - } - - /** - * Imposta il valore della proprietà isPortable. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setIsPortable(Boolean value) { - this.isPortable = value; - } - - /** - * Recupera il valore della proprietà isSoldInStores. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isIsSoldInStores() { - return isSoldInStores; - } - - /** - * Imposta il valore della proprietà isSoldInStores. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setIsSoldInStores(Boolean value) { - this.isSoldInStores = value; - } - - /** - * Recupera il valore della proprietà itemPackageContents. - * - * @return possible object is - * {@link String } - */ - public String getItemPackageContents() { - return itemPackageContents; - } - - /** - * Imposta il valore della proprietà itemPackageContents. - * - * @param value allowed object is - * {@link String } - */ - public void setItemPackageContents(String value) { - this.itemPackageContents = value; - } - - /** - * Recupera il valore della proprietà lifestyle. - * - * @return possible object is - * {@link String } - */ - public String getLifestyle() { - return lifestyle; - } - - /** - * Imposta il valore della proprietà lifestyle. - * - * @param value allowed object is - * {@link String } - */ - public void setLifestyle(String value) { - this.lifestyle = value; - } - - /** - * Recupera il valore della proprietà numberOfHeightPositions. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getNumberOfHeightPositions() { - return numberOfHeightPositions; - } - - /** - * Imposta il valore della proprietà numberOfHeightPositions. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setNumberOfHeightPositions(BigInteger value) { - this.numberOfHeightPositions = value; - } - - /** - * Recupera il valore della proprietà numberOfPositions. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getNumberOfPositions() { - return numberOfPositions; - } - - /** - * Imposta il valore della proprietà numberOfPositions. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setNumberOfPositions(BigInteger value) { - this.numberOfPositions = value; - } - - /** - * Recupera il valore della proprietà manufacturerSafetyWarning. - * - * @return possible object is - * {@link String } - */ - public String getManufacturerSafetyWarning() { - return manufacturerSafetyWarning; - } - - /** - * Imposta il valore della proprietà manufacturerSafetyWarning. - * - * @param value allowed object is - * {@link String } - */ - public void setManufacturerSafetyWarning(String value) { - this.manufacturerSafetyWarning = value; - } - - /** - * Recupera il valore della proprietà manufacturerWarrantyDescription. - * - * @return possible object is - * {@link String } - */ - public String getManufacturerWarrantyDescription() { - return manufacturerWarrantyDescription; - } - - /** - * Imposta il valore della proprietà manufacturerWarrantyDescription. - * - * @param value allowed object is - * {@link String } - */ - public void setManufacturerWarrantyDescription(String value) { - this.manufacturerWarrantyDescription = value; - } - - /** - * Recupera il valore della proprietà modelNumber. - * - * @return possible object is - * {@link String } - */ - public String getModelNumber() { - return modelNumber; - } - - /** - * Imposta il valore della proprietà modelNumber. - * - * @param value allowed object is - * {@link String } - */ - public void setModelNumber(String value) { - this.modelNumber = value; - } - - /** - * Recupera il valore della proprietà operationMode. - * - * @return possible object is - * {@link String } - */ - public String getOperationMode() { - return operationMode; - } - - /** - * Imposta il valore della proprietà operationMode. - * - * @param value allowed object is - * {@link String } - */ - public void setOperationMode(String value) { - this.operationMode = value; - } - - /** - * Recupera il valore della proprietà orientation. - * - * @return possible object is - * {@link String } - */ - public String getOrientation() { - return orientation; - } - - /** - * Imposta il valore della proprietà orientation. - * - * @param value allowed object is - * {@link String } - */ - public void setOrientation(String value) { - this.orientation = value; - } - - /** - * Recupera il valore della proprietà piecesIncludedInPurchase. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getPiecesIncludedInPurchase() { - return piecesIncludedInPurchase; - } - - /** - * Imposta il valore della proprietà piecesIncludedInPurchase. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setPiecesIncludedInPurchase(BigInteger value) { - this.piecesIncludedInPurchase = value; - } - - /** - * Recupera il valore della proprietà powerFunctionality. - * - * @return possible object is - * {@link String } - */ - public String getPowerFunctionality() { - return powerFunctionality; - } - - /** - * Imposta il valore della proprietà powerFunctionality. - * - * @param value allowed object is - * {@link String } - */ - public void setPowerFunctionality(String value) { - this.powerFunctionality = value; - } - - /** - * Recupera il valore della proprietà powerSourceType. - * - * @return possible object is - * {@link String } - */ - public String getPowerSourceType() { - return powerSourceType; - } - - /** - * Imposta il valore della proprietà powerSourceType. - * - * @param value allowed object is - * {@link String } - */ - public void setPowerSourceType(String value) { - this.powerSourceType = value; - } - - /** - * Recupera il valore della proprietà railType. - * - * @return possible object is - * {@link String } - */ - public String getRailType() { - return railType; - } - - /** - * Imposta il valore della proprietà railType. - * - * @param value allowed object is - * {@link String } - */ - public void setRailType(String value) { - this.railType = value; - } - - /** - * Recupera il valore della proprietà range. - * - * @return possible object is - * {@link String } - */ - public String getRange() { - return range; - } - - /** - * Imposta il valore della proprietà range. - * - * @param value allowed object is - * {@link String } - */ - public void setRange(String value) { - this.range = value; - } - - /** - * Recupera il valore della proprietà reclinesFlat. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isReclinesFlat() { - return reclinesFlat; - } - - /** - * Imposta il valore della proprietà reclinesFlat. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setReclinesFlat(Boolean value) { - this.reclinesFlat = value; - } - - /** - * Recupera il valore della proprietà regionOfOrigin. - * - * @return possible object is - * {@link String } - */ - public String getRegionOfOrigin() { - return regionOfOrigin; - } - - /** - * Imposta il valore della proprietà regionOfOrigin. - * - * @param value allowed object is - * {@link String } - */ - public void setRegionOfOrigin(String value) { - this.regionOfOrigin = value; - } - - /** - * Recupera il valore della proprietà seatingCapacity. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getSeatingCapacity() { - return seatingCapacity; - } - - /** - * Imposta il valore della proprietà seatingCapacity. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setSeatingCapacity(BigInteger value) { - this.seatingCapacity = value; - } - - /** - * Recupera il valore della proprietà sellerWarrantyDescription. - * - * @return possible object is - * {@link String } - */ - public String getSellerWarrantyDescription() { - return sellerWarrantyDescription; - } - - /** - * Imposta il valore della proprietà sellerWarrantyDescription. - * - * @param value allowed object is - * {@link String } - */ - public void setSellerWarrantyDescription(String value) { - this.sellerWarrantyDescription = value; - } - - /** - * Recupera il valore della proprietà specificUsesForProduct. - * - * @return possible object is - * {@link String } - */ - public String getSpecificUsesForProduct() { - return specificUsesForProduct; - } - - /** - * Imposta il valore della proprietà specificUsesForProduct. - * - * @param value allowed object is - * {@link String } - */ - public void setSpecificUsesForProduct(String value) { - this.specificUsesForProduct = value; - } - - /** - * Recupera il valore della proprietà styleName. - * - * @return possible object is - * {@link String } - */ - public String getStyleName() { - return styleName; - } - - /** - * Imposta il valore della proprietà styleName. - * - * @param value allowed object is - * {@link String } - */ - public void setStyleName(String value) { - this.styleName = value; - } - - /** - * Recupera il valore della proprietà skillLevel. - * - * @return possible object is - * {@link String } - */ - public String getSkillLevel() { - return skillLevel; - } - - /** - * Imposta il valore della proprietà skillLevel. - * - * @param value allowed object is - * {@link String } - */ - public void setSkillLevel(String value) { - this.skillLevel = value; - } - - /** - * Recupera il valore della proprietà suspensionType. - * - * @return possible object is - * {@link String } - */ - public String getSuspensionType() { - return suspensionType; - } - - /** - * Imposta il valore della proprietà suspensionType. - * - * @param value allowed object is - * {@link String } - */ - public void setSuspensionType(String value) { - this.suspensionType = value; - } - - /** - * Recupera il valore della proprietà totalTravel. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getTotalTravel() { - return totalTravel; - } - - /** - * Imposta il valore della proprietà totalTravel. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setTotalTravel(LengthDimension value) { - this.totalTravel = value; - } - - /** - * Recupera il valore della proprietà wheels. - * - * @return possible object is - * {@link String } - */ - public String getWheels() { - return wheels; - } - - /** - * Imposta il valore della proprietà wheels. - * - * @param value allowed object is - * {@link String } - */ - public void setWheels(String value) { - this.wheels = value; - } - - /** - * Recupera il valore della proprietà wirelessCommunicationTechnology. - * - * @return possible object is - * {@link String } - */ - public String getWirelessCommunicationTechnology() { - return wirelessCommunicationTechnology; - } - - /** - * Imposta il valore della proprietà wirelessCommunicationTechnology. - * - * @param value allowed object is - * {@link String } - */ - public void setWirelessCommunicationTechnology(String value) { - this.wirelessCommunicationTechnology = value; - } - - /** - * Recupera il valore della proprietà numberOfPieces. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getNumberOfPieces() { - return numberOfPieces; - } - - /** - * Imposta il valore della proprietà numberOfPieces. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setNumberOfPieces(BigInteger value) { - this.numberOfPieces = value; - } - - /** - * Recupera il valore della proprietà numberOfPlayers. - * - * @return possible object is - * {@link String } - */ - public String getNumberOfPlayers() { - return numberOfPlayers; - } - - /** - * Imposta il valore della proprietà numberOfPlayers. - * - * @param value allowed object is - * {@link String } - */ - public void setNumberOfPlayers(String value) { - this.numberOfPlayers = value; - } - - /** - * Recupera il valore della proprietà recall. - * - * @return possible object is - * {@link Recall } - */ - public Recall getRecall() { - return recall; - } - - /** - * Imposta il valore della proprietà recall. - * - * @param value allowed object is - * {@link Recall } - */ - public void setRecall(Recall value) { - this.recall = value; - } - - /** - * Gets the value of the toyAwardName property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the toyAwardName property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getToyAwardName().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link ToyAwardType } - */ - public List getToyAwardName() { - if (toyAwardName == null) { - toyAwardName = new ArrayList(); - } - return this.toyAwardName; - } - - /** - * Gets the value of the awardsWon property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the awardsWon property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getAwardsWon().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getAwardsWon() { - if (awardsWon == null) { - awardsWon = new ArrayList(); - } - return this.awardsWon; - } - - /** - * Recupera il valore della proprietà weightRecommendation. - * - * @return possible object is - * {@link WeightRecommendation } - */ - public WeightRecommendation getWeightRecommendation() { - return weightRecommendation; - } - - /** - * Imposta il valore della proprietà weightRecommendation. - * - * @param value allowed object is - * {@link WeightRecommendation } - */ - public void setWeightRecommendation(WeightRecommendation value) { - this.weightRecommendation = value; - } - - /** - * Recupera il valore della proprietà heightRecommendation. - * - * @return possible object is - * {@link HeightRecommendation } - */ - public HeightRecommendation getHeightRecommendation() { - return heightRecommendation; - } - - /** - * Imposta il valore della proprietà heightRecommendation. - * - * @param value allowed object is - * {@link HeightRecommendation } - */ - public void setHeightRecommendation(HeightRecommendation value) { - this.heightRecommendation = value; - } - - /** - * Recupera il valore della proprietà forwardFacingWeight. - * - * @return possible object is - * {@link ForwardFacingWeight } - */ - public ForwardFacingWeight getForwardFacingWeight() { - return forwardFacingWeight; - } - - /** - * Imposta il valore della proprietà forwardFacingWeight. - * - * @param value allowed object is - * {@link ForwardFacingWeight } - */ - public void setForwardFacingWeight(ForwardFacingWeight value) { - this.forwardFacingWeight = value; - } - - /** - * Recupera il valore della proprietà harnessMaximumWeightCapacity. - * - * @return possible object is - * {@link WeightDimension } - */ - public WeightDimension getHarnessMaximumWeightCapacity() { - return harnessMaximumWeightCapacity; - } - - /** - * Imposta il valore della proprietà harnessMaximumWeightCapacity. - * - * @param value allowed object is - * {@link WeightDimension } - */ - public void setHarnessMaximumWeightCapacity(WeightDimension value) { - this.harnessMaximumWeightCapacity = value; - } - - /** - * Recupera il valore della proprietà harnessMaximumHeightCapacity. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getHarnessMaximumHeightCapacity() { - return harnessMaximumHeightCapacity; - } - - /** - * Imposta il valore della proprietà harnessMaximumHeightCapacity. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setHarnessMaximumHeightCapacity(LengthDimension value) { - this.harnessMaximumHeightCapacity = value; - } - - /** - * Recupera il valore della proprietà rearFacingWeight. - * - * @return possible object is - * {@link RearFacingWeight } - */ - public RearFacingWeight getRearFacingWeight() { - return rearFacingWeight; - } - - /** - * Imposta il valore della proprietà rearFacingWeight. - * - * @param value allowed object is - * {@link RearFacingWeight } - */ - public void setRearFacingWeight(RearFacingWeight value) { - this.rearFacingWeight = value; - } - - /** - * Recupera il valore della proprietà shoulderHarnessHeight. - * - * @return possible object is - * {@link ShoulderHarnessHeight } - */ - public ShoulderHarnessHeight getShoulderHarnessHeight() { - return shoulderHarnessHeight; - } - - /** - * Imposta il valore della proprietà shoulderHarnessHeight. - * - * @param value allowed object is - * {@link ShoulderHarnessHeight } - */ - public void setShoulderHarnessHeight(ShoulderHarnessHeight value) { - this.shoulderHarnessHeight = value; - } - - /** - * Recupera il valore della proprietà countryOfOrigin. - * - * @return possible object is - * {@link String } - */ - public String getCountryOfOrigin() { - return countryOfOrigin; - } - - /** - * Imposta il valore della proprietà countryOfOrigin. - * - * @param value allowed object is - * {@link String } - */ - public void setCountryOfOrigin(String value) { - this.countryOfOrigin = value; - } - - /** - * Recupera il valore della proprietà foldedSize. - * - * @return possible object is - * {@link String } - */ - public String getFoldedSize() { - return foldedSize; - } - - /** - * Imposta il valore della proprietà foldedSize. - * - * @param value allowed object is - * {@link String } - */ - public void setFoldedSize(String value) { - this.foldedSize = value; - } - - /** - * Recupera il valore della proprietà includedComponents. - * - * @return possible object is - * {@link String } - */ - public String getIncludedComponents() { - return includedComponents; - } - - /** - * Imposta il valore della proprietà includedComponents. - * - * @param value allowed object is - * {@link String } - */ - public void setIncludedComponents(String value) { - this.includedComponents = value; - } - - /** - * Recupera il valore della proprietà importDesignation. - * - * @return possible object is - * {@link String } - */ - public String getImportDesignation() { - return importDesignation; - } - - /** - * Imposta il valore della proprietà importDesignation. - * - * @param value allowed object is - * {@link String } - */ - public void setImportDesignation(String value) { - this.importDesignation = value; - } - - /** - * Recupera il valore della proprietà countryAsLabeled. - * - * @return possible object is - * {@link String } - */ - public String getCountryAsLabeled() { - return countryAsLabeled; - } - - /** - * Imposta il valore della proprietà countryAsLabeled. - * - * @param value allowed object is - * {@link String } - */ - public void setCountryAsLabeled(String value) { - this.countryAsLabeled = value; - } - - /** - * Recupera il valore della proprietà furDescription. - * - * @return possible object is - * {@link String } - */ - public String getFurDescription() { - return furDescription; - } - - /** - * Imposta il valore della proprietà furDescription. - * - * @param value allowed object is - * {@link String } - */ - public void setFurDescription(String value) { - this.furDescription = value; - } - - /** - * Gets the value of the fabricType property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the fabricType property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getFabricType().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getFabricType() { - if (fabricType == null) { - fabricType = new ArrayList(); - } - return this.fabricType; - } - - /** - * Recupera il valore della proprietà materialType. - * - * @return possible object is - * {@link String } - */ - public String getMaterialType() { - return materialType; - } - - /** - * Imposta il valore della proprietà materialType. - * - * @param value allowed object is - * {@link String } - */ - public void setMaterialType(String value) { - this.materialType = value; - } - - /** - * Recupera il valore della proprietà materialComposition. - * - * @return possible object is - * {@link String } - */ - public String getMaterialComposition() { - return materialComposition; - } - - /** - * Imposta il valore della proprietà materialComposition. - * - * @param value allowed object is - * {@link String } - */ - public void setMaterialComposition(String value) { - this.materialComposition = value; - } - - /** - * Gets the value of the careInstructions property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the careInstructions property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getCareInstructions().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getCareInstructions() { - if (careInstructions == null) { - careInstructions = new ArrayList(); - } - return this.careInstructions; - } - - /** - * Gets the value of the specialFeatures property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the specialFeatures property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getSpecialFeatures().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getSpecialFeatures() { - if (specialFeatures == null) { - specialFeatures = new ArrayList(); - } - return this.specialFeatures; - } - - /** - * Recupera il valore della proprietà handleHeight. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getHandleHeight() { - return handleHeight; - } - - /** - * Imposta il valore della proprietà handleHeight. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setHandleHeight(LengthDimension value) { - this.handleHeight = value; - } - - /** - * Recupera il valore della proprietà seatLength. - * - * @return possible object is - * {@link ToysBaby.SeatLength } - */ - public ToysBaby.SeatLength getSeatLength() { - return seatLength; - } - - /** - * Imposta il valore della proprietà seatLength. - * - * @param value allowed object is - * {@link ToysBaby.SeatLength } - */ - public void setSeatLength(ToysBaby.SeatLength value) { - this.seatLength = value; - } - - /** - * Recupera il valore della proprietà seatWidth. - * - * @return possible object is - * {@link ToysBaby.SeatWidth } - */ - public ToysBaby.SeatWidth getSeatWidth() { - return seatWidth; - } - - /** - * Imposta il valore della proprietà seatWidth. - * - * @param value allowed object is - * {@link ToysBaby.SeatWidth } - */ - public void setSeatWidth(ToysBaby.SeatWidth value) { - this.seatWidth = value; - } - - /** - * Recupera il valore della proprietà tireMaterial. - * - * @return possible object is - * {@link String } - */ - public String getTireMaterial() { - return tireMaterial; - } - - /** - * Imposta il valore della proprietà tireMaterial. - * - * @param value allowed object is - * {@link String } - */ - public void setTireMaterial(String value) { - this.tireMaterial = value; - } - - /** - * Recupera il valore della proprietà tireDiameter. - * - * @return possible object is - * {@link ToysBaby.TireDiameter } - */ - public ToysBaby.TireDiameter getTireDiameter() { - return tireDiameter; - } - - /** - * Imposta il valore della proprietà tireDiameter. - * - * @param value allowed object is - * {@link ToysBaby.TireDiameter } - */ - public void setTireDiameter(ToysBaby.TireDiameter value) { - this.tireDiameter = value; - } - - /** - * Recupera il valore della proprietà targetGender. - * - * @return possible object is - * {@link String } - */ - public String getTargetGender() { - return targetGender; - } - - /** - * Imposta il valore della proprietà targetGender. - * - * @param value allowed object is - * {@link String } - */ - public void setTargetGender(String value) { - this.targetGender = value; - } - - /** - * Recupera il valore della proprietà displayHeight. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getDisplayHeight() { - return displayHeight; - } - - /** - * Imposta il valore della proprietà displayHeight. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setDisplayHeight(LengthDimension value) { - this.displayHeight = value; - } - - /** - * Recupera il valore della proprietà displayLength. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getDisplayLength() { - return displayLength; - } - - /** - * Imposta il valore della proprietà displayLength. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setDisplayLength(LengthDimension value) { - this.displayLength = value; - } - - /** - * Recupera il valore della proprietà displayWidth. - * - * @return possible object is - * {@link LengthDimension } - */ - public LengthDimension getDisplayWidth() { - return displayWidth; - } - - /** - * Imposta il valore della proprietà displayWidth. - * - * @param value allowed object is - * {@link LengthDimension } - */ - public void setDisplayWidth(LengthDimension value) { - this.displayWidth = value; - } - - /** - * Recupera il valore della proprietà displayVolume. - * - * @return possible object is - * {@link VolumeDimension } - */ - public VolumeDimension getDisplayVolume() { - return displayVolume; - } - - /** - * Imposta il valore della proprietà displayVolume. - * - * @param value allowed object is - * {@link VolumeDimension } - */ - public void setDisplayVolume(VolumeDimension value) { - this.displayVolume = value; - } - - /** - * Recupera il valore della proprietà displayWeight. - * - * @return possible object is - * {@link WeightDimension } - */ - public WeightDimension getDisplayWeight() { - return displayWeight; - } - - /** - * Imposta il valore della proprietà displayWeight. - * - * @param value allowed object is - * {@link WeightDimension } - */ - public void setDisplayWeight(WeightDimension value) { - this.displayWeight = value; - } - - /** - * Recupera il valore della proprietà unitCount. - * - * @return possible object is - * {@link ToysBaby.UnitCount } - */ - public ToysBaby.UnitCount getUnitCount() { - return unitCount; - } - - /** - * Imposta il valore della proprietà unitCount. - * - * @param value allowed object is - * {@link ToysBaby.UnitCount } - */ - public void setUnitCount(ToysBaby.UnitCount value) { - this.unitCount = value; - } - - /** - * Recupera il valore della proprietà variationData. - * - * @return possible object is - * {@link ToysBaby.VariationData } - */ - public ToysBaby.VariationData getVariationData() { - return variationData; - } - - /** - * Imposta il valore della proprietà variationData. - * - * @param value allowed object is - * {@link ToysBaby.VariationData } - */ - public void setVariationData(ToysBaby.VariationData value) { - this.variationData = value; - } - - /** - * Recupera il valore della proprietà size. - * - * @return possible object is - * {@link String } - */ - public String getSize() { - return size; - } - - /** - * Imposta il valore della proprietà size. - * - * @param value allowed object is - * {@link String } - */ - public void setSize(String value) { - this.size = value; - } - - /** - * Recupera il valore della proprietà sizeMap. - * - * @return possible object is - * {@link String } - */ - public String getSizeMap() { - return sizeMap; - } - - /** - * Imposta il valore della proprietà sizeMap. - * - * @param value allowed object is - * {@link String } - */ - public void setSizeMap(String value) { - this.sizeMap = value; - } - - /** - * Recupera il valore della proprietà color. - * - * @return possible object is - * {@link String } - */ - public String getColor() { - return color; - } - - /** - * Imposta il valore della proprietà color. - * - * @param value allowed object is - * {@link String } - */ - public void setColor(String value) { - this.color = value; - } - - /** - * Recupera il valore della proprietà colorMap. - * - * @return possible object is - * {@link String } - */ - public String getColorMap() { - return colorMap; - } - - /** - * Imposta il valore della proprietà colorMap. - * - * @param value allowed object is - * {@link String } - */ - public void setColorMap(String value) { - this.colorMap = value; - } - - /** - * Recupera il valore della proprietà flavor. - * - * @return possible object is - * {@link String } - */ - public String getFlavor() { - return flavor; - } - - /** - * Imposta il valore della proprietà flavor. - * - * @param value allowed object is - * {@link String } - */ - public void setFlavor(String value) { - this.flavor = value; - } - - /** - * Recupera il valore della proprietà engineType. - * - * @return possible object is - * {@link String } - */ - public String getEngineType() { - return engineType; - } - - /** - * Imposta il valore della proprietà engineType. - * - * @param value allowed object is - * {@link String } - */ - public void setEngineType(String value) { - this.engineType = value; - } - - /** - * Recupera il valore della proprietà hazmatItem. - * - * @return possible object is - * {@link String } - */ - public String getHazmatItem() { - return hazmatItem; - } - - /** - * Imposta il valore della proprietà hazmatItem. - * - * @param value allowed object is - * {@link String } - */ - public void setHazmatItem(String value) { - this.hazmatItem = value; - } - - /** - * Recupera il valore della proprietà identityPackageType. - * - * @return possible object is - * {@link String } - */ - public String getIdentityPackageType() { - return identityPackageType; - } - - /** - * Imposta il valore della proprietà identityPackageType. - * - * @param value allowed object is - * {@link String } - */ - public void setIdentityPackageType(String value) { - this.identityPackageType = value; - } - - /** - * Gets the value of the safetyRating property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the safetyRating property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getSafetyRating().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getSafetyRating() { - if (safetyRating == null) { - safetyRating = new ArrayList(); - } - return this.safetyRating; - } - - /** - * Recupera il valore della proprietà voltage. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getVoltage() { - return voltage; - } - - /** - * Imposta il valore della proprietà voltage. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setVoltage(BigDecimal value) { - this.voltage = value; - } - - /** - * Recupera il valore della proprietà warnings. - * - * @return possible object is - * {@link String } - */ - public String getWarnings() { - return warnings; - } - - /** - * Imposta il valore della proprietà warnings. - * - * @param value allowed object is - * {@link String } - */ - public void setWarnings(String value) { - this.warnings = value; - } - - /** - * Recupera il valore della proprietà wattage. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getWattage() { - return wattage; - } - - /** - * Imposta il valore della proprietà wattage. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setWattage(BigDecimal value) { - this.wattage = value; - } - - /** - * Recupera il valore della proprietà batteryTypeLithiumIon. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getBatteryTypeLithiumIon() { - return batteryTypeLithiumIon; - } - - /** - * Imposta il valore della proprietà batteryTypeLithiumIon. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setBatteryTypeLithiumIon(BigInteger value) { - this.batteryTypeLithiumIon = value; - } - - /** - * Recupera il valore della proprietà batteryTypeLithiumMetal. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getBatteryTypeLithiumMetal() { - return batteryTypeLithiumMetal; - } - - /** - * Imposta il valore della proprietà batteryTypeLithiumMetal. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setBatteryTypeLithiumMetal(BigInteger value) { - this.batteryTypeLithiumMetal = value; - } - - /** - * Recupera il valore della proprietà lithiumBatteryEnergyContent. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getLithiumBatteryEnergyContent() { - return lithiumBatteryEnergyContent; - } - - /** - * Imposta il valore della proprietà lithiumBatteryEnergyContent. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setLithiumBatteryEnergyContent(BigDecimal value) { - this.lithiumBatteryEnergyContent = value; - } - - /** - * Recupera il valore della proprietà lithiumBatteryPackaging. - * - * @return possible object is - * {@link String } - */ - public String getLithiumBatteryPackaging() { - return lithiumBatteryPackaging; - } - - /** - * Imposta il valore della proprietà lithiumBatteryPackaging. - * - * @param value allowed object is - * {@link String } - */ - public void setLithiumBatteryPackaging(String value) { - this.lithiumBatteryPackaging = value; - } - - /** - * Recupera il valore della proprietà lithiumBatteryVoltage. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getLithiumBatteryVoltage() { - return lithiumBatteryVoltage; - } - - /** - * Imposta il valore della proprietà lithiumBatteryVoltage. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setLithiumBatteryVoltage(BigDecimal value) { - this.lithiumBatteryVoltage = value; - } - - /** - * Recupera il valore della proprietà lithiumBatteryWeight. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getLithiumBatteryWeight() { - return lithiumBatteryWeight; - } - - /** - * Imposta il valore della proprietà lithiumBatteryWeight. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setLithiumBatteryWeight(BigDecimal value) { - this.lithiumBatteryWeight = value; - } - - /** - * Recupera il valore della proprietà numberOfLithiumIonCells. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getNumberOfLithiumIonCells() { - return numberOfLithiumIonCells; - } - - /** - * Imposta il valore della proprietà numberOfLithiumIonCells. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setNumberOfLithiumIonCells(BigInteger value) { - this.numberOfLithiumIonCells = value; - } - - /** - * Recupera il valore della proprietà numberOfLithiumMetalCells. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getNumberOfLithiumMetalCells() { - return numberOfLithiumMetalCells; - } - - /** - * Imposta il valore della proprietà numberOfLithiumMetalCells. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setNumberOfLithiumMetalCells(BigInteger value) { - this.numberOfLithiumMetalCells = value; - } - - /** - * Recupera il valore della proprietà numberOfChannels. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getNumberOfChannels() { - return numberOfChannels; - } - - /** - * Imposta il valore della proprietà numberOfChannels. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setNumberOfChannels(BigInteger value) { - this.numberOfChannels = value; - } - - /** - * Recupera il valore della proprietà numberOfFrequencyChannels. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getNumberOfFrequencyChannels() { - return numberOfFrequencyChannels; - } - - /** - * Imposta il valore della proprietà numberOfFrequencyChannels. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setNumberOfFrequencyChannels(BigInteger value) { - this.numberOfFrequencyChannels = value; - } - - /** - * Recupera il valore della proprietà numberOfControlChannels. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getNumberOfControlChannels() { - return numberOfControlChannels; - } - - /** - * Imposta il valore della proprietà numberOfControlChannels. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setNumberOfControlChannels(BigInteger value) { - this.numberOfControlChannels = value; - } - - /** - * Recupera il valore della proprietà frequencyBandsSupported. - * - * @return possible object is - * {@link String } - */ - public String getFrequencyBandsSupported() { - return frequencyBandsSupported; - } - - /** - * Imposta il valore della proprietà frequencyBandsSupported. - * - * @param value allowed object is - * {@link String } - */ - public void setFrequencyBandsSupported(String value) { - this.frequencyBandsSupported = value; - } - - /** - * Recupera il valore della proprietà language. - * - * @return possible object is - * {@link LanguageStringType } - */ - public LanguageStringType getLanguage() { - return language; - } - - /** - * Imposta il valore della proprietà language. - * - * @param value allowed object is - * {@link LanguageStringType } - */ - public void setLanguage(LanguageStringType value) { - this.language = value; - } - - /** - * Recupera il valore della proprietà educationalValue. - * - * @return possible object is - * {@link String } - */ - public String getEducationalValue() { - return educationalValue; - } - - /** - * Imposta il valore della proprietà educationalValue. - * - * @param value allowed object is - * {@link String } - */ - public void setEducationalValue(String value) { - this.educationalValue = value; - } - - /** - * Recupera il valore della proprietà includesRemote. - * - * @return possible object is - * {@link Boolean } - */ - public Boolean isIncludesRemote() { - return includesRemote; - } - - /** - * Imposta il valore della proprietà includesRemote. - * - * @param value allowed object is - * {@link Boolean } - */ - public void setIncludesRemote(Boolean value) { - this.includesRemote = value; - } - - /** - * Recupera il valore della proprietà recommendedUse. - * - * @return possible object is - * {@link String } - */ - public String getRecommendedUse() { - return recommendedUse; - } - - /** - * Imposta il valore della proprietà recommendedUse. - * - * @param value allowed object is - * {@link String } - */ - public void setRecommendedUse(String value) { - this.recommendedUse = value; - } - - /** - * Recupera il valore della proprietà remoteControlTechnology. - * - * @return possible object is - * {@link String } - */ - public String getRemoteControlTechnology() { - return remoteControlTechnology; - } - - /** - * Imposta il valore della proprietà remoteControlTechnology. - * - * @param value allowed object is - * {@link String } - */ - public void setRemoteControlTechnology(String value) { - this.remoteControlTechnology = value; - } - - /** - * Recupera il valore della proprietà railGauge. - * - * @return possible object is - * {@link String } - */ - public String getRailGauge() { - return railGauge; - } - - /** - * Imposta il valore della proprietà railGauge. - * - * @param value allowed object is - * {@link String } - */ - public void setRailGauge(String value) { - this.railGauge = value; - } - - /** - * Recupera il valore della proprietà scale. - * - * @return possible object is - * {@link String } - */ - public String getScale() { - return scale; - } - - /** - * Imposta il valore della proprietà scale. - * - * @param value allowed object is - * {@link String } - */ - public void setScale(String value) { - this.scale = value; - } - - /** - * Recupera il valore della proprietà specificationMet. - * - * @return possible object is - * {@link String } - */ - public String getSpecificationMet() { - return specificationMet; - } - - /** - * Imposta il valore della proprietà specificationMet. - * - * @param value allowed object is - * {@link String } - */ - public void setSpecificationMet(String value) { - this.specificationMet = value; - } - - /** - * Recupera il valore della proprietà subject. - * - * @return possible object is - * {@link String } - */ - public String getSubject() { - return subject; - } - - /** - * Imposta il valore della proprietà subject. - * - * @param value allowed object is - * {@link String } - */ - public void setSubject(String value) { - this.subject = value; - } - - /** - * Recupera il valore della proprietà subjectCharacter. - * - * @return possible object is - * {@link String } - */ - public String getSubjectCharacter() { - return subjectCharacter; - } - - /** - * Imposta il valore della proprietà subjectCharacter. - * - * @param value allowed object is - * {@link String } - */ - public void setSubjectCharacter(String value) { - this.subjectCharacter = value; - } - - /** - * Gets the value of the materialTypeFree property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the materialTypeFree property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getMaterialTypeFree().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getMaterialTypeFree() { - if (materialTypeFree == null) { - materialTypeFree = new ArrayList(); - } - return this.materialTypeFree; - } - - /** - * Gets the value of the sensorTechnology property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the sensorTechnology property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getSensorTechnology().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getSensorTechnology() { - if (sensorTechnology == null) { - sensorTechnology = new ArrayList(); - } - return this.sensorTechnology; - } - - /** - * Gets the value of the sensorType property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the sensorType property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getSensorType().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getSensorType() { - if (sensorType == null) { - sensorType = new ArrayList(); - } - return this.sensorType; - } - - /** - * Gets the value of the trayType property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the trayType property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getTrayType().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getTrayType() { - if (trayType == null) { - trayType = new ArrayList(); - } - return this.trayType; - } - - /** - * Gets the value of the itemSpecialty property. - * - *

- * This accessor method returns a reference to the live list, - * not a snapshot. Therefore any modification you make to the - * returned list will be present inside the JAXB object. - * This is why there is not a set method for the itemSpecialty property. - * - *

- * For example, to add a new item, do as follows: - *

-     *    getItemSpecialty().add(newItem);
-     * 
- * - * - *

- * Objects of the following type(s) are allowed in the list - * {@link String } - */ - public List getItemSpecialty() { - if (itemSpecialty == null) { - itemSpecialty = new ArrayList(); - } - return this.itemSpecialty; - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <simpleContent>
-     *     <extension base="<>StringNotNull">
-     *       <attribute name="unitOfMeasure" type="{}LengthUnitOfMeasure" />
-     *     </extension>
-     *   </simpleContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class SeatLength { - - @XmlValue - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String value; - @XmlAttribute(name = "unitOfMeasure") - protected LengthUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link String } - */ - public String getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link String } - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link LengthUnitOfMeasure } - */ - public LengthUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link LengthUnitOfMeasure } - */ - public void setUnitOfMeasure(LengthUnitOfMeasure value) { - this.unitOfMeasure = value; - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <simpleContent>
-     *     <extension base="<>StringNotNull">
-     *       <attribute name="unitOfMeasure" type="{}LengthUnitOfMeasure" />
-     *     </extension>
-     *   </simpleContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class SeatWidth { - - @XmlValue - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String value; - @XmlAttribute(name = "unitOfMeasure") - protected LengthUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link String } - */ - public String getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link String } - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link LengthUnitOfMeasure } - */ - public LengthUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link LengthUnitOfMeasure } - */ - public void setUnitOfMeasure(LengthUnitOfMeasure value) { - this.unitOfMeasure = value; - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <simpleContent>
-     *     <extension base="<>StringNotNull">
-     *       <attribute name="unitOfMeasure" type="{}LengthUnitOfMeasure" />
-     *     </extension>
-     *   </simpleContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class TireDiameter { - - @XmlValue - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String value; - @XmlAttribute(name = "unitOfMeasure") - protected LengthUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link String } - */ - public String getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link String } - */ - public void setValue(String value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link LengthUnitOfMeasure } - */ - public LengthUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link LengthUnitOfMeasure } - */ - public void setUnitOfMeasure(LengthUnitOfMeasure value) { - this.unitOfMeasure = value; - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <simpleContent>
-     *     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
-     *       <attribute name="unitOfMeasure" use="required" type="{}TwentyStringNotNull" />
-     *     </extension>
-     *   </simpleContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "value" - }) - public static class UnitCount { - - @XmlValue - @XmlSchemaType(name = "positiveInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - @XmlJavaTypeAdapter(NormalizedStringAdapter.class) - protected String unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link String } - */ - public String getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link String } - */ - public void setUnitOfMeasure(String value) { - this.unitOfMeasure = value; - } - - } - - - /** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

-     * <complexType>
-     *   <complexContent>
-     *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
-     *       <sequence>
-     *         <element name="Parentage">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="parent"/>
-     *               <enumeration value="child"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *         <element name="VariationTheme" minOccurs="0">
-     *           <simpleType>
-     *             <restriction base="{http://www.w3.org/2001/XMLSchema}string">
-     *               <enumeration value="Size"/>
-     *               <enumeration value="Color"/>
-     *               <enumeration value="Size-Color"/>
-     *               <enumeration value="Flavor"/>
-     *               <enumeration value="CustomerPackageType"/>
-     *               <enumeration value="ColorName-CustomerPackageType"/>
-     *               <enumeration value="SizeName-CustomerPackageType"/>
-     *               <enumeration value="SizeName-ColorName-CustomerPackageType"/>
-     *               <enumeration value="StyleName-CustomerPackageType"/>
-     *               <enumeration value="SizeName-StyleName-CustomerPackageType"/>
-     *             </restriction>
-     *           </simpleType>
-     *         </element>
-     *       </sequence>
-     *     </restriction>
-     *   </complexContent>
-     * </complexType>
-     * 
- */ - @XmlAccessorType(XmlAccessType.FIELD) - @XmlType(name = "", propOrder = { - "parentage", - "variationTheme" - }) - public static class VariationData { - - @XmlElement(name = "Parentage", required = true) - protected String parentage; - @XmlElement(name = "VariationTheme") - protected String variationTheme; - - /** - * Recupera il valore della proprietà parentage. - * - * @return possible object is - * {@link String } - */ - public String getParentage() { - return parentage; - } - - /** - * Imposta il valore della proprietà parentage. - * - * @param value allowed object is - * {@link String } - */ - public void setParentage(String value) { - this.parentage = value; - } - - /** - * Recupera il valore della proprietà variationTheme. - * - * @return possible object is - * {@link String } - */ - public String getVariationTheme() { - return variationTheme; - } - - /** - * Imposta il valore della proprietà variationTheme. - * - * @param value allowed object is - * {@link String } - */ - public void setVariationTheme(String value) { - this.variationTheme = value; - } - - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VineyardYieldDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VineyardYieldDimension.java deleted file mode 100644 index 7c05a259a9..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VineyardYieldDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per VineyardYieldDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="VineyardYieldDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}VineyardYieldUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VineyardYieldDimension", propOrder = { - "value" -}) -public class VineyardYieldDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected VineyardYieldUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link VineyardYieldUnitOfMeasure } - */ - public VineyardYieldUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link VineyardYieldUnitOfMeasure } - */ - public void setUnitOfMeasure(VineyardYieldUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VineyardYieldUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VineyardYieldUnitOfMeasure.java deleted file mode 100644 index a79c849f86..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VineyardYieldUnitOfMeasure.java +++ /dev/null @@ -1,54 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per VineyardYieldUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="VineyardYieldUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="tons"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "VineyardYieldUnitOfMeasure") -@XmlEnum -public enum VineyardYieldUnitOfMeasure { - - @XmlEnumValue("tons") - TONS("tons"); - private final String value; - - VineyardYieldUnitOfMeasure(String v) { - value = v; - } - - public static VineyardYieldUnitOfMeasure fromValue(String v) { - for (VineyardYieldUnitOfMeasure c : VineyardYieldUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VoltageDecimalDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VoltageDecimalDimension.java deleted file mode 100644 index 0ccf3bad3d..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VoltageDecimalDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per VoltageDecimalDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="VoltageDecimalDimension">
- *   <simpleContent>
- *     <extension base="<>PositiveDimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}VoltageUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VoltageDecimalDimension", propOrder = { - "value" -}) -public class VoltageDecimalDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected VoltageUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link VoltageUnitOfMeasure } - */ - public VoltageUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link VoltageUnitOfMeasure } - */ - public void setUnitOfMeasure(VoltageUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VoltageIntegerDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VoltageIntegerDimension.java deleted file mode 100644 index 7c015bd811..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VoltageIntegerDimension.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per VoltageIntegerDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="VoltageIntegerDimension">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
- *       <attribute name="unitOfMeasure" use="required" type="{}VoltageUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VoltageIntegerDimension", propOrder = { - "value" -}) -public class VoltageIntegerDimension { - - @XmlValue - @XmlSchemaType(name = "positiveInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected VoltageUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link VoltageUnitOfMeasure } - */ - public VoltageUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link VoltageUnitOfMeasure } - */ - public void setUnitOfMeasure(VoltageUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VoltageIntegerDimensionOptionalUnit.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VoltageIntegerDimensionOptionalUnit.java deleted file mode 100644 index 5f8332a035..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VoltageIntegerDimensionOptionalUnit.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per VoltageIntegerDimensionOptionalUnit complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="VoltageIntegerDimensionOptionalUnit">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
- *       <attribute name="unitOfMeasure" type="{}VoltageUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VoltageIntegerDimensionOptionalUnit", propOrder = { - "value" -}) -public class VoltageIntegerDimensionOptionalUnit { - - @XmlValue - @XmlSchemaType(name = "positiveInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure") - protected VoltageUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link VoltageUnitOfMeasure } - */ - public VoltageUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link VoltageUnitOfMeasure } - */ - public void setUnitOfMeasure(VoltageUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VoltageUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VoltageUnitOfMeasure.java deleted file mode 100644 index 5484c27e37..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VoltageUnitOfMeasure.java +++ /dev/null @@ -1,66 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per VoltageUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="VoltageUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="volts"/>
- *     <enumeration value="millivolts"/>
- *     <enumeration value="microvolts"/>
- *     <enumeration value="nanovolts"/>
- *     <enumeration value="kilovolts"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "VoltageUnitOfMeasure") -@XmlEnum -public enum VoltageUnitOfMeasure { - - @XmlEnumValue("volts") - VOLTS("volts"), - @XmlEnumValue("millivolts") - MILLIVOLTS("millivolts"), - @XmlEnumValue("microvolts") - MICROVOLTS("microvolts"), - @XmlEnumValue("nanovolts") - NANOVOLTS("nanovolts"), - @XmlEnumValue("kilovolts") - KILOVOLTS("kilovolts"); - private final String value; - - VoltageUnitOfMeasure(String v) { - value = v; - } - - public static VoltageUnitOfMeasure fromValue(String v) { - for (VoltageUnitOfMeasure c : VoltageUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VolumeAndVolumeRateDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VolumeAndVolumeRateDimension.java deleted file mode 100644 index 6aa1e09a83..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VolumeAndVolumeRateDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per VolumeAndVolumeRateDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="VolumeAndVolumeRateDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}VolumeAndVolumeRateUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VolumeAndVolumeRateDimension", propOrder = { - "value" -}) -public class VolumeAndVolumeRateDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected String unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link String } - */ - public String getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link String } - */ - public void setUnitOfMeasure(String value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VolumeDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VolumeDimension.java deleted file mode 100644 index f56988b15d..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VolumeDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per VolumeDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="VolumeDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}VolumeUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VolumeDimension", propOrder = { - "value" -}) -public class VolumeDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected VolumeUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link VolumeUnitOfMeasure } - */ - public VolumeUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link VolumeUnitOfMeasure } - */ - public void setUnitOfMeasure(VolumeUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VolumeIntegerDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VolumeIntegerDimension.java deleted file mode 100644 index bea60c8646..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VolumeIntegerDimension.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per VolumeIntegerDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="VolumeIntegerDimension">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
- *       <attribute name="unitOfMeasure" use="required" type="{}VolumeUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VolumeIntegerDimension", propOrder = { - "value" -}) -public class VolumeIntegerDimension { - - @XmlValue - @XmlSchemaType(name = "positiveInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected VolumeUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link VolumeUnitOfMeasure } - */ - public VolumeUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link VolumeUnitOfMeasure } - */ - public void setUnitOfMeasure(VolumeUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VolumeRateDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VolumeRateDimension.java deleted file mode 100644 index 75764c3bd0..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VolumeRateDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per VolumeRateDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="VolumeRateDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}VolumeRateUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "VolumeRateDimension", propOrder = { - "value" -}) -public class VolumeRateDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected VolumeRateUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link VolumeRateUnitOfMeasure } - */ - public VolumeRateUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link VolumeRateUnitOfMeasure } - */ - public void setUnitOfMeasure(VolumeRateUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VolumeRateUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VolumeRateUnitOfMeasure.java deleted file mode 100644 index 7d849fbe91..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VolumeRateUnitOfMeasure.java +++ /dev/null @@ -1,93 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per VolumeRateUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="VolumeRateUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="milliliters per second"/>
- *     <enumeration value="centiliters per second"/>
- *     <enumeration value="liters per second"/>
- *     <enumeration value="milliliters per minute"/>
- *     <enumeration value="liters per minute"/>
- *     <enumeration value="microliters per second"/>
- *     <enumeration value="nanoliters per second"/>
- *     <enumeration value="picoliters per second"/>
- *     <enumeration value="microliters per minute"/>
- *     <enumeration value="nanoliters per minute"/>
- *     <enumeration value="picoliters per minute"/>
- *     <enumeration value="gallons_per_day"/>
- *     <enumeration value="liters_per_day"/>
- *     <enumeration value="liters"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "VolumeRateUnitOfMeasure") -@XmlEnum -public enum VolumeRateUnitOfMeasure { - - @XmlEnumValue("milliliters per second") - MILLILITERS_PER_SECOND("milliliters per second"), - @XmlEnumValue("centiliters per second") - CENTILITERS_PER_SECOND("centiliters per second"), - @XmlEnumValue("liters per second") - LITERS_PER_SECOND("liters per second"), - @XmlEnumValue("milliliters per minute") - MILLILITERS_PER_MINUTE("milliliters per minute"), - @XmlEnumValue("liters per minute") - LITERS_PER_MINUTE("liters per minute"), - @XmlEnumValue("microliters per second") - MICROLITERS_PER_SECOND("microliters per second"), - @XmlEnumValue("nanoliters per second") - NANOLITERS_PER_SECOND("nanoliters per second"), - @XmlEnumValue("picoliters per second") - PICOLITERS_PER_SECOND("picoliters per second"), - @XmlEnumValue("microliters per minute") - MICROLITERS_PER_MINUTE("microliters per minute"), - @XmlEnumValue("nanoliters per minute") - NANOLITERS_PER_MINUTE("nanoliters per minute"), - @XmlEnumValue("picoliters per minute") - PICOLITERS_PER_MINUTE("picoliters per minute"), - @XmlEnumValue("gallons_per_day") - GALLONS_PER_DAY("gallons_per_day"), - @XmlEnumValue("liters_per_day") - LITERS_PER_DAY("liters_per_day"), - @XmlEnumValue("liters") - LITERS("liters"); - private final String value; - - VolumeRateUnitOfMeasure(String v) { - value = v; - } - - public static VolumeRateUnitOfMeasure fromValue(String v) { - for (VolumeRateUnitOfMeasure c : VolumeRateUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VolumeUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VolumeUnitOfMeasure.java deleted file mode 100644 index 56ecd1b552..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/VolumeUnitOfMeasure.java +++ /dev/null @@ -1,111 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per VolumeUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="VolumeUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="cubic-cm"/>
- *     <enumeration value="cubic-ft"/>
- *     <enumeration value="cubic-in"/>
- *     <enumeration value="cubic-m"/>
- *     <enumeration value="cubic-yd"/>
- *     <enumeration value="cup"/>
- *     <enumeration value="fluid-oz"/>
- *     <enumeration value="gallon"/>
- *     <enumeration value="liter"/>
- *     <enumeration value="milliliter"/>
- *     <enumeration value="ounce"/>
- *     <enumeration value="pint"/>
- *     <enumeration value="quart"/>
- *     <enumeration value="liters"/>
- *     <enumeration value="deciliters"/>
- *     <enumeration value="centiliters"/>
- *     <enumeration value="milliliters"/>
- *     <enumeration value="microliters"/>
- *     <enumeration value="nanoliters"/>
- *     <enumeration value="picoliters"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "VolumeUnitOfMeasure") -@XmlEnum -public enum VolumeUnitOfMeasure { - - @XmlEnumValue("cubic-cm") - CUBIC_CM("cubic-cm"), - @XmlEnumValue("cubic-ft") - CUBIC_FT("cubic-ft"), - @XmlEnumValue("cubic-in") - CUBIC_IN("cubic-in"), - @XmlEnumValue("cubic-m") - CUBIC_M("cubic-m"), - @XmlEnumValue("cubic-yd") - CUBIC_YD("cubic-yd"), - @XmlEnumValue("cup") - CUP("cup"), - @XmlEnumValue("fluid-oz") - FLUID_OZ("fluid-oz"), - @XmlEnumValue("gallon") - GALLON("gallon"), - @XmlEnumValue("liter") - LITER("liter"), - @XmlEnumValue("milliliter") - MILLILITER("milliliter"), - @XmlEnumValue("ounce") - OUNCE("ounce"), - @XmlEnumValue("pint") - PINT("pint"), - @XmlEnumValue("quart") - QUART("quart"), - @XmlEnumValue("liters") - LITERS("liters"), - @XmlEnumValue("deciliters") - DECILITERS("deciliters"), - @XmlEnumValue("centiliters") - CENTILITERS("centiliters"), - @XmlEnumValue("milliliters") - MILLILITERS("milliliters"), - @XmlEnumValue("microliters") - MICROLITERS("microliters"), - @XmlEnumValue("nanoliters") - NANOLITERS("nanoliters"), - @XmlEnumValue("picoliters") - PICOLITERS("picoliters"); - private final String value; - - VolumeUnitOfMeasure(String v) { - value = v; - } - - public static VolumeUnitOfMeasure fromValue(String v) { - for (VolumeUnitOfMeasure c : VolumeUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WaterResistantType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WaterResistantType.java deleted file mode 100644 index 2670292fd8..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WaterResistantType.java +++ /dev/null @@ -1,60 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per WaterResistantType. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="WaterResistantType">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="not_water_resistant"/>
- *     <enumeration value="water_resistant"/>
- *     <enumeration value="waterproof"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "WaterResistantType") -@XmlEnum -public enum WaterResistantType { - - @XmlEnumValue("not_water_resistant") - NOT_WATER_RESISTANT("not_water_resistant"), - @XmlEnumValue("water_resistant") - WATER_RESISTANT("water_resistant"), - @XmlEnumValue("waterproof") - WATERPROOF("waterproof"); - private final String value; - - WaterResistantType(String v) { - value = v; - } - - public static WaterResistantType fromValue(String v) { - for (WaterResistantType c : WaterResistantType.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WattageDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WattageDimension.java deleted file mode 100644 index 01d7cc5c99..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WattageDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per WattageDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="WattageDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}WattageUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "WattageDimension", propOrder = { - "value" -}) -public class WattageDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected WattageUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link WattageUnitOfMeasure } - */ - public WattageUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link WattageUnitOfMeasure } - */ - public void setUnitOfMeasure(WattageUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WattageDimensionOptionalUnit.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WattageDimensionOptionalUnit.java deleted file mode 100644 index fc0ea1f460..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WattageDimensionOptionalUnit.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per WattageDimensionOptionalUnit complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="WattageDimensionOptionalUnit">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" type="{}WattageUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "WattageDimensionOptionalUnit", propOrder = { - "value" -}) -public class WattageDimensionOptionalUnit { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure") - protected WattageUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link WattageUnitOfMeasure } - */ - public WattageUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link WattageUnitOfMeasure } - */ - public void setUnitOfMeasure(WattageUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WattageIntegerDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WattageIntegerDimension.java deleted file mode 100644 index 74244ef4ed..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WattageIntegerDimension.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per WattageIntegerDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="WattageIntegerDimension">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
- *       <attribute name="unitOfMeasure" use="required" type="{}WattageUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "WattageIntegerDimension", propOrder = { - "value" -}) -public class WattageIntegerDimension { - - @XmlValue - @XmlSchemaType(name = "positiveInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected WattageUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link WattageUnitOfMeasure } - */ - public WattageUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link WattageUnitOfMeasure } - */ - public void setUnitOfMeasure(WattageUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WattageUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WattageUnitOfMeasure.java deleted file mode 100644 index 94b4425c77..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WattageUnitOfMeasure.java +++ /dev/null @@ -1,57 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per WattageUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="WattageUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="watts"/>
- *     <enumeration value="kilowatts"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "WattageUnitOfMeasure") -@XmlEnum -public enum WattageUnitOfMeasure { - - @XmlEnumValue("watts") - WATTS("watts"), - @XmlEnumValue("kilowatts") - KILOWATTS("kilowatts"); - private final String value; - - WattageUnitOfMeasure(String v) { - value = v; - } - - public static WattageUnitOfMeasure fromValue(String v) { - for (WattageUnitOfMeasure c : WattageUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WeightDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WeightDimension.java deleted file mode 100644 index c6c1349830..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WeightDimension.java +++ /dev/null @@ -1,81 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigDecimal; - - -/** - *

Classe Java per WeightDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="WeightDimension">
- *   <simpleContent>
- *     <extension base="<>Dimension">
- *       <attribute name="unitOfMeasure" use="required" type="{}WeightUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "WeightDimension", propOrder = { - "value" -}) -public class WeightDimension { - - @XmlValue - protected BigDecimal value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected WeightUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigDecimal } - */ - public BigDecimal getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigDecimal } - */ - public void setValue(BigDecimal value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link WeightUnitOfMeasure } - */ - public WeightUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link WeightUnitOfMeasure } - */ - public void setUnitOfMeasure(WeightUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WeightIntegerDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WeightIntegerDimension.java deleted file mode 100644 index 0ddd2abdd6..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WeightIntegerDimension.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per WeightIntegerDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="WeightIntegerDimension">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
- *       <attribute name="unitOfMeasure" use="required" type="{}WeightUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "WeightIntegerDimension", propOrder = { - "value" -}) -public class WeightIntegerDimension { - - @XmlValue - @XmlSchemaType(name = "positiveInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected WeightUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link WeightUnitOfMeasure } - */ - public WeightUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link WeightUnitOfMeasure } - */ - public void setUnitOfMeasure(WeightUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WeightRecommendation.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WeightRecommendation.java deleted file mode 100644 index 1d517b14e3..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WeightRecommendation.java +++ /dev/null @@ -1,85 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; - - -/** - *

Classe Java per anonymous complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType>
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="MinimumManufacturerWeightRecommended" type="{}WeightIntegerDimension" minOccurs="0"/>
- *         <element name="MaximumManufacturerWeightRecommended" type="{}WeightIntegerDimension" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "", propOrder = { - "minimumManufacturerWeightRecommended", - "maximumManufacturerWeightRecommended" -}) -@XmlRootElement(name = "WeightRecommendation") -public class WeightRecommendation { - - @XmlElement(name = "MinimumManufacturerWeightRecommended") - protected WeightIntegerDimension minimumManufacturerWeightRecommended; - @XmlElement(name = "MaximumManufacturerWeightRecommended") - protected WeightIntegerDimension maximumManufacturerWeightRecommended; - - /** - * Recupera il valore della proprietà minimumManufacturerWeightRecommended. - * - * @return possible object is - * {@link WeightIntegerDimension } - */ - public WeightIntegerDimension getMinimumManufacturerWeightRecommended() { - return minimumManufacturerWeightRecommended; - } - - /** - * Imposta il valore della proprietà minimumManufacturerWeightRecommended. - * - * @param value allowed object is - * {@link WeightIntegerDimension } - */ - public void setMinimumManufacturerWeightRecommended(WeightIntegerDimension value) { - this.minimumManufacturerWeightRecommended = value; - } - - /** - * Recupera il valore della proprietà maximumManufacturerWeightRecommended. - * - * @return possible object is - * {@link WeightIntegerDimension } - */ - public WeightIntegerDimension getMaximumManufacturerWeightRecommended() { - return maximumManufacturerWeightRecommended; - } - - /** - * Imposta il valore della proprietà maximumManufacturerWeightRecommended. - * - * @param value allowed object is - * {@link WeightIntegerDimension } - */ - public void setMaximumManufacturerWeightRecommended(WeightIntegerDimension value) { - this.maximumManufacturerWeightRecommended = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WeightRecommendationType.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WeightRecommendationType.java deleted file mode 100644 index 959c297359..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WeightRecommendationType.java +++ /dev/null @@ -1,87 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlAccessType; -import javax.xml.bind.annotation.XmlAccessorType; -import javax.xml.bind.annotation.XmlElement; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per WeightRecommendationType complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="WeightRecommendationType">
- *   <complexContent>
- *     <restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
- *       <sequence>
- *         <element name="MaximumWeightRecommendation" type="{}PositiveWeightDimension" minOccurs="0"/>
- *         <element name="MinimumWeightRecommendation" type="{}PositiveWeightDimension" minOccurs="0"/>
- *       </sequence>
- *     </restriction>
- *   </complexContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "WeightRecommendationType", propOrder = { - "maximumWeightRecommendation", - "minimumWeightRecommendation" -}) -public class WeightRecommendationType { - - @XmlElement(name = "MaximumWeightRecommendation") - protected PositiveWeightDimension maximumWeightRecommendation; - @XmlElement(name = "MinimumWeightRecommendation") - protected PositiveWeightDimension minimumWeightRecommendation; - - /** - * Recupera il valore della proprietà maximumWeightRecommendation. - * - * @return possible object is - * {@link PositiveWeightDimension } - */ - public PositiveWeightDimension getMaximumWeightRecommendation() { - return maximumWeightRecommendation; - } - - /** - * Imposta il valore della proprietà maximumWeightRecommendation. - * - * @param value allowed object is - * {@link PositiveWeightDimension } - */ - public void setMaximumWeightRecommendation(PositiveWeightDimension value) { - this.maximumWeightRecommendation = value; - } - - /** - * Recupera il valore della proprietà minimumWeightRecommendation. - * - * @return possible object is - * {@link PositiveWeightDimension } - */ - public PositiveWeightDimension getMinimumWeightRecommendation() { - return minimumWeightRecommendation; - } - - /** - * Imposta il valore della proprietà minimumWeightRecommendation. - * - * @param value allowed object is - * {@link PositiveWeightDimension } - */ - public void setMinimumWeightRecommendation(PositiveWeightDimension value) { - this.minimumWeightRecommendation = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WeightUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WeightUnitOfMeasure.java deleted file mode 100644 index 32e8464b03..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/WeightUnitOfMeasure.java +++ /dev/null @@ -1,50 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per WeightUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="WeightUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="GR"/>
- *     <enumeration value="KG"/>
- *     <enumeration value="OZ"/>
- *     <enumeration value="LB"/>
- *     <enumeration value="MG"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "WeightUnitOfMeasure") -@XmlEnum -public enum WeightUnitOfMeasure { - - GR, - KG, - OZ, - LB, - MG; - - public static WeightUnitOfMeasure fromValue(String v) { - return valueOf(v); - } - - public String value() { - return name(); - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ZoomDimension.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ZoomDimension.java deleted file mode 100644 index 2dc43dcf2c..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ZoomDimension.java +++ /dev/null @@ -1,82 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.*; -import java.math.BigInteger; - - -/** - *

Classe Java per ZoomDimension complex type. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - * - *

- * <complexType name="ZoomDimension">
- *   <simpleContent>
- *     <extension base="<http://www.w3.org/2001/XMLSchema>positiveInteger">
- *       <attribute name="unitOfMeasure" use="required" type="{}ZoomUnitOfMeasure" />
- *     </extension>
- *   </simpleContent>
- * </complexType>
- * 
- */ -@XmlAccessorType(XmlAccessType.FIELD) -@XmlType(name = "ZoomDimension", propOrder = { - "value" -}) -public class ZoomDimension { - - @XmlValue - @XmlSchemaType(name = "positiveInteger") - protected BigInteger value; - @XmlAttribute(name = "unitOfMeasure", required = true) - protected ZoomUnitOfMeasure unitOfMeasure; - - /** - * Recupera il valore della proprietà value. - * - * @return possible object is - * {@link BigInteger } - */ - public BigInteger getValue() { - return value; - } - - /** - * Imposta il valore della proprietà value. - * - * @param value allowed object is - * {@link BigInteger } - */ - public void setValue(BigInteger value) { - this.value = value; - } - - /** - * Recupera il valore della proprietà unitOfMeasure. - * - * @return possible object is - * {@link ZoomUnitOfMeasure } - */ - public ZoomUnitOfMeasure getUnitOfMeasure() { - return unitOfMeasure; - } - - /** - * Imposta il valore della proprietà unitOfMeasure. - * - * @param value allowed object is - * {@link ZoomUnitOfMeasure } - */ - public void setUnitOfMeasure(ZoomUnitOfMeasure value) { - this.unitOfMeasure = value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ZoomUnitOfMeasure.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ZoomUnitOfMeasure.java deleted file mode 100644 index fc63b1017d..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/dto/ZoomUnitOfMeasure.java +++ /dev/null @@ -1,54 +0,0 @@ -// -// Questo file è stato generato dall'architettura JavaTM per XML Binding (JAXB) Reference Implementation, v2.2.7 -// Vedere http://java.sun.com/xml/jaxb -// Qualsiasi modifica a questo file andrà persa durante la ricompilazione dello schema di origine. -// Generato il: 2015.09.16 alle 04:39:51 PM CEST -// - - -package it.integry.ems.order.amazon.dto; - -import javax.xml.bind.annotation.XmlEnum; -import javax.xml.bind.annotation.XmlEnumValue; -import javax.xml.bind.annotation.XmlType; - - -/** - *

Classe Java per ZoomUnitOfMeasure. - * - *

Il seguente frammento di schema specifica il contenuto previsto contenuto in questa classe. - *

- *

- * <simpleType name="ZoomUnitOfMeasure">
- *   <restriction base="{http://www.w3.org/2001/XMLSchema}string">
- *     <enumeration value="x"/>
- *   </restriction>
- * </simpleType>
- * 
- */ -@XmlType(name = "ZoomUnitOfMeasure") -@XmlEnum -public enum ZoomUnitOfMeasure { - - @XmlEnumValue("x") - X("x"); - private final String value; - - ZoomUnitOfMeasure(String v) { - value = v; - } - - public static ZoomUnitOfMeasure fromValue(String v) { - for (ZoomUnitOfMeasure c : ZoomUnitOfMeasure.values()) { - if (c.value.equals(v)) { - return c; - } - } - throw new IllegalArgumentException(v); - } - - public String value() { - return value; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/service/AmazonAPIService.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/service/AmazonAPIService.java deleted file mode 100644 index 930a9e9d75..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/service/AmazonAPIService.java +++ /dev/null @@ -1,467 +0,0 @@ -package it.integry.ems.order.amazon.service; - -import com.amazonaws.mws.MarketplaceWebService; -import com.amazonaws.mws.MarketplaceWebServiceException; -import com.amazonaws.mws.model.*; -import com.amazonservices.mws.orders._2013_09_01.MarketplaceWebServiceOrdersClient; -import com.amazonservices.mws.orders._2013_09_01.MarketplaceWebServiceOrdersException; -import com.amazonservices.mws.orders._2013_09_01.model.ResponseHeaderMetadata; -import com.amazonservices.mws.orders._2013_09_01.model.*; -import it.integry.common.var.CommonConstants; -import it.integry.ems.order.amazon.dto.*; -import it.integry.ems.order.amazon.dto.AmazonEnvelope.Message; -import it.integry.ems.properties.EmsProperties; -import it.integry.ems.sync.MultiDBTransaction.Connection; -import it.integry.ems_model.service.SetupGest; -import org.apache.commons.codec.binary.Base64; -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; -import org.quartz.SchedulerException; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.context.annotation.Scope; -import org.springframework.scheduling.quartz.SchedulerFactoryBean; -import org.springframework.stereotype.Service; - -import javax.xml.bind.JAXBContext; -import javax.xml.bind.Marshaller; -import javax.xml.datatype.DatatypeFactory; -import javax.xml.datatype.XMLGregorianCalendar; -import java.io.ByteArrayInputStream; -import java.io.StringWriter; -import java.math.BigInteger; -import java.security.DigestInputStream; -import java.security.MessageDigest; -import java.text.SimpleDateFormat; -import java.util.*; - -@Service -@Scope("request") -@Deprecated -public class AmazonAPIService { - - private Logger logger = LogManager.getLogger(); - - @Autowired - private MarketplaceFactory marketPlaceConfig; - @Autowired - private SchedulerFactoryBean quartzScheduler; - @Autowired - private SetupGest setupGest; - @Autowired - private EmsProperties emsProperties; - - - //String xmlOrders="2015-10-06T21:59:59ZStandardOrder2015-10-02T14:15:21Z414bchchq0vdxm9@marketplace.amazon.it404-1139786-40883472015-10-05T06:45:07ZIT Exp Domestic2UnshippedAmazon.itfalse2015-10-08T21:59:59Z0Test Mafrat2015-10-05T22:00:00ZEUR0.02false2015-10-04T22:00:00ZAPJ6JRA9NG5V4MFNOtherBAPutignano0804055215IT70017Mina Ruggvia alessandro MANZONI, 11scala 2 piano 4falseExpedited2015-10-06T21:59:59ZStandardOrder2015-10-02T14:24:57Z414bchchq0vdxm9@marketplace.amazon.it404-5460852-36483672015-10-05T06:44:40ZIT Exp Domestic2UnshippedAmazon.itfalse2015-10-08T21:59:59Z0Test Mafrat2015-10-05T22:00:00ZEUR0.02false2015-10-04T22:00:00ZAPJ6JRA9NG5V4MFNOtherBAPutignano0804055215IT70017Massimo Morellivia della conciliazione, 108falseExpedited2015-10-06T21:59:59ZStandardOrder2015-10-02T14:29:08Z414bchchq0vdxm9@marketplace.amazon.it404-9491994-48643072015-10-05T06:44:02ZIT Exp Domestic1UnshippedAmazon.itfalse2015-10-08T21:59:59Z0Test Mafrat2015-10-05T22:00:00ZEUR0.01false2015-10-04T22:00:00ZAPJ6JRA9NG5V4MFNOtherBAPutignano0804055215IT70017Massimo MorelliVia arrigo boito, 2hPresso Integry SasfalseExpedited2015-10-05T11:10:56Z01a0f7b4-bc46-47f9-b61d-7114fb7d5a26"; - //String xmlItems="1T-Shirt Laura Biagiotti Dolls Con Arricciatura Sulle Maniche E Stampa Cartoon Con Strass, Colore Grigio, Taglia 5/6AEUR0.00EUR0.00NewB015ZHNJI2A_q-201001083928402965033217683EUR0.001EUR0.00EUR0.00NewEUR0.01EUR0.00EUR0.001T-Shirt Laura Biagiotti Dolls Con Arricciatura Sulle Maniche E Stampa Cartoon Con Strass, Colore Bianco, Taglia 7/8AEUR0.00EUR0.00NewB015ZHNLH6A_q-201001084053239406914644219EUR0.001EUR0.00EUR0.00NewEUR0.01EUR0.00EUR0.00404-1139786-40883478073760d-71ca-491b-adb1-8fbd35c41afa"; - - public void initMarketPlaceConfig(Connection connection) throws Exception { - if (marketPlaceConfig == null) - marketPlaceConfig = new MarketplaceFactory(); - marketPlaceConfig.init(connection); - } - - public void setMarketPlaceConfig(MarketplaceFactory marketPlaceConfig) { - this.marketPlaceConfig = marketPlaceConfig; - } - - public SubmitFeedResponse acknowledgeOrder(List amazonOrdersId) throws Exception { - AmazonEnvelope envelope = createAmazonEnvelope("OrderAcknowledgement", false); - - Integer i = 1; - for (String amazonOrderId : amazonOrdersId) { - OrderAcknowledgement ack = new OrderAcknowledgement(); - ack.setAmazonOrderID(amazonOrderId); - ack.setStatusCode("Success"); - - Message message = new Message(); - message.setMessageID(new BigInteger(i.toString())); - message.setOrderAcknowledgement(ack); - envelope.getMessage().add(message); - - i++; - } - - if (!envelope.getMessage().isEmpty()) { - JAXBContext jaxbContext = JAXBContext.newInstance(AmazonEnvelope.class); - StringWriter writer = new StringWriter(); - Marshaller marshaller = jaxbContext.createMarshaller(); - marshaller.marshal(envelope, writer); - - SubmitFeedResponse response = buildSubmitFeed(marketPlaceConfig.getMarketPlaceId(), - writer.toString(), "_POST_ORDER_ACKNOWLEDGEMENT_DATA_"); - - String feedSubmissionId = response.getSubmitFeedResult().getFeedSubmissionInfo().getFeedSubmissionId(); - scheduleSubmitFeed(feedSubmissionId, "OrderAcknowledgement"); - - return response; - } else - return null; - } - - public SubmitFeedResponse updatePriceFeed(List products) throws Exception { - AmazonEnvelope envelope = createAmazonEnvelope("Price", false); - - Integer i = 0; - for (ProductDTO product : products) { - Price price = new Price(); - price.setSKU(product.getSku()); - OverrideCurrencyAmount value = new OverrideCurrencyAmount(); - value.setValue(product.getPrice()); - value.setCurrency(BaseCurrencyCodeWithDefault.EUR); - price.setStandardPrice(value); - - i++; - Message message = new Message(); - message.setMessageID(new BigInteger((i).toString())); - message.setOperationType("Update"); - message.setPrice(price); - - envelope.getMessage().add(message); - } - JAXBContext jaxbContext = JAXBContext.newInstance(AmazonEnvelope.class); - - StringWriter writer = new StringWriter(); - Marshaller marshaller = jaxbContext.createMarshaller(); - marshaller.marshal(envelope, writer); - - SubmitFeedResponse response = buildSubmitFeed(marketPlaceConfig.getMarketPlaceId(), - writer.toString(), "_POST_PRODUCT_PRICING_DATA_"); - - String feedSubmissionId = response.getSubmitFeedResult().getFeedSubmissionInfo().getFeedSubmissionId(); - scheduleSubmitFeed(feedSubmissionId, "Price"); - - return response; - - } - - public SubmitFeedResponse updatePromoFeed(List products) throws Exception { - AmazonEnvelope envelope = createAmazonEnvelope("Price", false); - - Integer i = 0; - for (ProductDTO product : products) { - Price price = new Price(); - price.setSKU(product.getSku()); - Price.Sale sale = new Price.Sale(); - -// sale.setStartDate(value); -// sale.setEndDate(value); - - OverrideCurrencyAmount value = new OverrideCurrencyAmount(); - value.setValue(product.getSalePrice()); - value.setCurrency(BaseCurrencyCodeWithDefault.EUR); - sale.setSalePrice(value); - price.setSale(sale); - i++; - Message message = new Message(); - message.setMessageID(new BigInteger((i).toString())); - message.setOperationType("Update"); - message.setPrice(price); - - envelope.getMessage().add(message); - } - JAXBContext jaxbContext = JAXBContext.newInstance(AmazonEnvelope.class); - - StringWriter writer = new StringWriter(); - Marshaller marshaller = jaxbContext.createMarshaller(); - marshaller.marshal(envelope, writer); - - SubmitFeedResponse response = buildSubmitFeed(marketPlaceConfig.getMarketPlaceId(), - writer.toString(), "_POST_PRODUCT_PRICING_DATA_"); - - String feedSubmissionId = response.getSubmitFeedResult().getFeedSubmissionInfo().getFeedSubmissionId(); - scheduleSubmitFeed(feedSubmissionId, "Price"); - - return response; - - } - - public SubmitFeedResponse updateQtyFeed(List products) throws Exception { - AmazonEnvelope envelope = createAmazonEnvelope("Inventory", false); - - GregorianCalendar nowGreg = new GregorianCalendar(); - nowGreg.setTime(new Date()); - XMLGregorianCalendar now = DatatypeFactory.newInstance().newXMLGregorianCalendar(nowGreg); - envelope.setEffectiveDate(now); - - Integer i = 0; - for (ProductDTO product : products) { - Inventory inv = new Inventory(); - inv.setSKU(product.getSku()); - inv.setQuantity(product.getQuantity()); - - i++; - Message message = new Message(); - message.setMessageID(new BigInteger((i).toString())); - message.setOperationType("Update"); - message.setInventory(inv); - - envelope.getMessage().add(message); - } - JAXBContext jaxbContext = JAXBContext.newInstance(AmazonEnvelope.class); - - StringWriter writer = new StringWriter(); - Marshaller marshaller = jaxbContext.createMarshaller(); - marshaller.marshal(envelope, writer); - - SubmitFeedResponse response = buildSubmitFeed(marketPlaceConfig.getMarketPlaceId(), - writer.toString(), "_POST_INVENTORY_AVAILABILITY_DATA_"); - - String feedSubmissionId = response.getSubmitFeedResult().getFeedSubmissionInfo().getFeedSubmissionId(); - scheduleSubmitFeed(feedSubmissionId, "Inventory"); - - return response; - - } - - @Deprecated - public SubmitFeedResponse confirmOrderFeed(List list) throws Exception { - AmazonEnvelope envelope = createAmazonEnvelope("OrderFulfillment", false); - - Integer i = 0; - for (OrderTrackingDTO orderTrackingDTO : list) { - OrderFulfillment orderFulfillment = new OrderFulfillment(); - orderFulfillment.setAmazonOrderID(orderTrackingDTO.getAmazonOrderId()); -// orderFulfillment.setMerchantFulfillmentID(value); - GregorianCalendar nowGreg = new GregorianCalendar(); - nowGreg.setTime(new Date()); - XMLGregorianCalendar now = DatatypeFactory.newInstance().newXMLGregorianCalendar(nowGreg); - orderFulfillment.setFulfillmentDate(now); - - OrderFulfillment.FulfillmentData data = new OrderFulfillment.FulfillmentData(); - data.setShipperTrackingNumber(orderTrackingDTO.getTrackNumberId()); -// data.setCarrierCode("Other"); - data.setCarrierName("BRT"); - data.setShippingMethod("EXPRESS"); - orderFulfillment.setFulfillmentData(data); - - i++; - Message message = new Message(); - message.setMessageID(new BigInteger((i).toString())); - message.setOrderFulfillment(orderFulfillment); - - envelope.getMessage().add(message); - } - JAXBContext jaxbContext = JAXBContext.newInstance(AmazonEnvelope.class); - - StringWriter writer = new StringWriter(); - Marshaller marshaller = jaxbContext.createMarshaller(); - marshaller.marshal(envelope, writer); - - SubmitFeedResponse response = buildSubmitFeed(marketPlaceConfig.getMarketPlaceId(), - writer.toString(), "_POST_ORDER_FULFILLMENT_DATA_"); - - String feedSubmissionId = response.getSubmitFeedResult().getFeedSubmissionInfo().getFeedSubmissionId(); - scheduleSubmitFeed(feedSubmissionId, "OrderFulfillment"); - - return response; - } - - private void scheduleSubmitFeed(String feedSubmissionId, String messageType) throws SchedulerException { -// Scheduler scheduler = quartzScheduler.getScheduler(); -// -// JobDataMap map = new JobDataMap(); -// map.put("feedType", messageType); -// map.put("feedSubmitId", feedSubmissionId); -// map.put("marketPlaceConfig", marketPlaceConfig); -// map.put("emsProperties", emsProperties); -// map.put("setupGest", setupGest); - -// JobDetail jobDetail = JobBuilder.newJob(CheckFeedStatus.class) -// .usingJobData(map) -// .build(); -// -// Trigger trigger = TriggerBuilder.newTrigger() -// .withSchedule(CronScheduleBuilder.cronSchedule("0 0/5 * 1/1 * ? *")) -// .startNow() -// .build(); -// -// scheduler.scheduleJob(jobDetail, trigger); - } - - public ListOrdersResponse getListOrders(List orderStatus) throws Exception { - ListOrdersRequest request = new ListOrdersRequest(); - setupRequest(request, orderStatus); - return invokeListOrders(request); - } - - public ListOrderItemsResponse getListItems(String amazonOrderId) - throws Exception { - ListOrderItemsRequest request = new ListOrderItemsRequest(); - - request.setSellerId(marketPlaceConfig.getSellerId()); - - request.setMWSAuthToken(marketPlaceConfig.getMwsAuthToken()); - request.setAmazonOrderId(amazonOrderId); - - try { - MarketplaceWebServiceOrdersClient clientOrder = marketPlaceConfig.getOrderClient(); - // Call the service. - ListOrderItemsResponse response = clientOrder.listOrderItems(request); - - // FOR TEST - /* - ListOrderItemsResponse response = new ListOrderItemsResponse(); - MwsReader reader = new MwsXmlReader(xmlItems); - response.readFragmentFrom(reader); - */ - - String responseXml = response.toXML(); -// logger.debug(responseXml); - return response; - } catch (MarketplaceWebServiceOrdersException ex) { - // Exception properties are important for diagnostics. - logger.error("Service Exception:"); - ResponseHeaderMetadata rhmd = ex.getResponseHeaderMetadata(); - if (rhmd != null) { - logger.error("RequestId: " + rhmd.getRequestId()); - logger.error("Timestamp: " + rhmd.getTimestamp()); - } - logger.error("Message: " + ex.getMessage()); - logger.error("StatusCode: " + ex.getStatusCode()); - logger.error("ErrorCode: " + ex.getErrorCode()); - logger.error("ErrorType: " + ex.getErrorType()); - throw ex; - } - } - - private SubmitFeedResponse buildSubmitFeed(String marketPlace, String feedContent, String feedType) - throws Exception { - final IdList marketplaces = new IdList(Arrays.asList(marketPlace)); - - MarketplaceWebService clientFeed = marketPlaceConfig.getFeedClient(); - SubmitFeedRequest request = new SubmitFeedRequest(); - request.setMerchant(marketPlaceConfig.getSellerId()); - request.setMarketplaceIdList(marketplaces); - - logger.debug("XML FEED AMAZON " + feedContent); - - DigestInputStream dis = new DigestInputStream(new ByteArrayInputStream( - feedContent.getBytes()), MessageDigest.getInstance("MD5")); - - byte[] buffer = new byte[8192]; - while (dis.read(buffer) > 0) ; - - String md5Content = new String(Base64.encodeBase64(dis.getMessageDigest().digest())); - request.setContentMD5(md5Content); - - request.setFeedType(feedType); - request.setFeedContent(new ByteArrayInputStream(feedContent.getBytes())); - request.setMWSAuthToken(marketPlaceConfig.getMwsAuthToken()); - SubmitFeedResponse response = clientFeed.submitFeed(request); - return response; - } - - private AmazonEnvelope createAmazonEnvelope(String messageType, Boolean isPurge) throws Exception { - AmazonEnvelope envelope = new AmazonEnvelope(); - Header header = new Header(); - header.setMerchantIdentifier(marketPlaceConfig.getSellerId()); - header.setDocumentVersion("1.01"); - envelope.setHeader(header); - - envelope.setPurgeAndReplace(isPurge); - envelope.setMessageType(messageType); - return envelope; - } - - private ListOrdersResponse invokeListOrders(ListOrdersRequest request) - throws Exception { - try { - MarketplaceWebServiceOrdersClient clientOrder = marketPlaceConfig.getOrderClient(); - // Call the service. - ListOrdersResponse response = clientOrder.listOrders(request); - - // FOR TEST - /* - ListOrdersResponse response = new ListOrdersResponse(); - MwsReader reader = new MwsXmlReader(xmlOrders); - response.readFragmentFrom(reader); - */ - - String responseXml = response.toXML(); -// logger.debug(responseXml); - return response; - } catch (MarketplaceWebServiceOrdersException ex) { - // Exception properties are important for diagnostics. - logger.error("Service Exception:"); - ResponseHeaderMetadata rhmd = ex.getResponseHeaderMetadata(); - if (rhmd != null) { - logger.error("RequestId: " + rhmd.getRequestId()); - logger.error("Timestamp: " + rhmd.getTimestamp()); - } - logger.error("Message: " + ex.getMessage()); - logger.error("StatusCode: " + ex.getStatusCode()); - logger.error("ErrorCode: " + ex.getErrorCode()); - logger.error("ErrorType: " + ex.getErrorType()); - throw ex; - } - } - - private void setupRequest(ListOrdersRequest request, List orderStatus) throws Exception { - request.setSellerId(marketPlaceConfig.getSellerId()); - request.setMWSAuthToken(marketPlaceConfig.getMwsAuthToken()); - - List marketplaceIds = new ArrayList(); - marketplaceIds.add(marketPlaceConfig.getMarketPlaceId()); - request.setMarketplaceId(marketplaceIds); - - GregorianCalendar dopo = new GregorianCalendar(); - dopo.setTime(new SimpleDateFormat(CommonConstants.DATETIME_FORMAT_YMD) - .parse("2015-09-01 00:00:00")); - XMLGregorianCalendar createdAfter = DatatypeFactory.newInstance() - .newXMLGregorianCalendar(dopo); - request.setCreatedAfter(createdAfter); - request.setOrderStatus(orderStatus); - // XMLGregorianCalendar lastUpdatedAfter = - // MwsUtl.getDTF().newXMLGregorianCalendar(); - // request.setLastUpdatedAfter(lastUpdatedAfter); - // XMLGregorianCalendar lastUpdatedBefore = - // MwsUtl.getDTF().newXMLGregorianCalendar(); - // request.setLastUpdatedBefore(lastUpdatedBefore); - // List orderStatus = new ArrayList(); - // request.setOrderStatus(orderStatus); - // List marketplaceId = new ArrayList(); - // request.setMarketplaceId(marketplaceId); - // List fulfillmentChannel = new ArrayList(); - // request.setFulfillmentChannel(fulfillmentChannel); - // List paymentMethod = new ArrayList(); - // request.setPaymentMethod(paymentMethod); - // - // String buyerEmail = "example"; - // request.setBuyerEmail(buyerEmail); - // String sellerOrderId = "example"; - // request.setSellerOrderId(sellerOrderId); - // Integer maxResultsPerPage = 1; - // request.setMaxResultsPerPage(maxResultsPerPage); - // List tfmShipmentStatus = new ArrayList(); - // request.setTFMShipmentStatus(tfmShipmentStatus); - } - - public GetFeedSubmissionListResponse getFeedSubmissionList(String feedSubmitId) throws MarketplaceWebServiceException { - final IdList feedList = new IdList(Arrays.asList(feedSubmitId)); - - MarketplaceWebService clientFeed = marketPlaceConfig.getFeedClient(); - GetFeedSubmissionListRequest request = new GetFeedSubmissionListRequest(); - request.setMerchant(marketPlaceConfig.getSellerId()); - request.setFeedSubmissionIdList(feedList); - - request.setMWSAuthToken(marketPlaceConfig.getMwsAuthToken()); - GetFeedSubmissionListResponse response = clientFeed.getFeedSubmissionList(request); - return response; - } - - public GetFeedSubmissionResultResponse feedSubmissionResult(String feedSubmissionId) throws MarketplaceWebServiceException { - - MarketplaceWebService clientFeed = marketPlaceConfig.getFeedClient(); - GetFeedSubmissionResultRequest request = new GetFeedSubmissionResultRequest(); - request.setMerchant(marketPlaceConfig.getSellerId()); - - logger.info("GET FEED RESULT FOR FEEDSUBMISSIONID: " + feedSubmissionId); - - request.setFeedSubmissionId(feedSubmissionId); - - request.setMWSAuthToken(marketPlaceConfig.getMwsAuthToken()); - GetFeedSubmissionResultResponse response = clientFeed.getFeedSubmissionResult(request); - return response; - } - -} \ No newline at end of file diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/service/MarketplaceFactory.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/service/MarketplaceFactory.java deleted file mode 100644 index 8548adbf49..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/service/MarketplaceFactory.java +++ /dev/null @@ -1,180 +0,0 @@ -/******************************************************************************* - * Copyright 2009-2015 Amazon Services. All Rights Reserved. - * Licensed under the Apache License, Version 2.0 (the "License"); - * - * You may not use this file except in compliance with the License. - * You may obtain a copy of the License at: http://aws.amazon.com/apache2.0 - * This file is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR - * CONDITIONS OF ANY KIND, either express or implied. See the License for the - * specific language governing permissions and limitations under the License. - ******************************************************************************* - * Marketplace Web Service Orders - * API Version: 2013-09-01 - * Library Version: 2015-04-30 - * Generated: Thu May 28 20:14:49 GMT 2015 - */ -package it.integry.ems.order.amazon.service; - -import com.amazonaws.mws.MarketplaceWebService; -import com.amazonaws.mws.MarketplaceWebServiceClient; -import com.amazonaws.mws.MarketplaceWebServiceConfig; -import com.amazonservices.mws.orders._2013_09_01.MarketplaceWebServiceOrdersAsyncClient; -import com.amazonservices.mws.orders._2013_09_01.MarketplaceWebServiceOrdersClient; -import com.amazonservices.mws.orders._2013_09_01.MarketplaceWebServiceOrdersConfig; -import it.integry.ems_model.service.SetupGest; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.stereotype.Service; - -import it.integry.ems.sync.MultiDBTransaction.Connection; - -import java.util.Map; - -/** - * Configuration for MarketplaceWebServiceOrders samples. - */ -@Service -@Deprecated -public class MarketplaceFactory { - - /** - * The client application name. - */ - private final String appName = ""; - /** - * The client application version. - */ - private final String appVersion = ""; - /** - * Developer AWS access key. - */ - private String accessKey = null; - /** - * Developer AWS secret key. - */ - private String secretKey = null; - private String mwsAuthToken = null; - private String sellerId = null; - - private String marketPlaceId = null; - - @Autowired - private SetupGest setupGest; - - private String serviceURL = null; - private MarketplaceWebServiceOrdersAsyncClient client = null; - private MarketplaceWebService feedClient = null; - - public void init(Connection connection) throws Exception { - Map setupGestMap = setupGest.getSetupSection(connection, "AMAZON", "CREDENTIALS"); - - serviceURL = setupGestMap.get("SERVICE_URL"); - secretKey = setupGestMap.get("SECRET_KEY"); - accessKey = setupGestMap.get("ACCESS_KEY"); - sellerId = setupGestMap.get("SELLER_ID"); - marketPlaceId = setupGestMap.get("MARKET_PLACE_ID"); - mwsAuthToken = setupGestMap.get("MWS_AUTH_TOKEN"); - } - - public String getAccessKey() { - return accessKey; - } - - public void setAccessKey(String accessKey) { - this.accessKey = accessKey; - } - - public String getSecretKey() { - return secretKey; - } - - public void setSecretKey(String secretKey) { - this.secretKey = secretKey; - } - - public String getSellerId() { - return sellerId; - } - - public void setSellerId(String sellerId) { - this.sellerId = sellerId; - } - - public String getMarketPlaceId() { - return marketPlaceId; - } - - public void setMarketPlaceId(String marketPlaceId) { - this.marketPlaceId = marketPlaceId; - } - - public String getServiceURL() { - return serviceURL; - } - - public String getAppName() { - return appName; - } - - public String getAppVersion() { - return appVersion; - } - - /** - * Get a client connection ready to use. - * - * @return A ready to use client connection. - */ - public MarketplaceWebServiceOrdersClient getOrderClient() { - return getAsyncOrderClient(); - } - - public MarketplaceWebService getFeedClient() { - return getAsyncFeedClient(); - } - - /** - * Get an async client connection ready to use. - * - * @return A ready to use client connection. - */ - private MarketplaceWebServiceOrdersAsyncClient getAsyncOrderClient() { - if (client == null) { - MarketplaceWebServiceOrdersConfig config = new MarketplaceWebServiceOrdersConfig(); - config.setServiceURL(serviceURL); - // Set other client connection configurations here. - client = new MarketplaceWebServiceOrdersAsyncClient(accessKey, - secretKey, appName, appVersion, config, null); - } - return client; - } - - private MarketplaceWebService getAsyncFeedClient() { - if (feedClient == null) { - MarketplaceWebServiceConfig config = new MarketplaceWebServiceConfig(); - config.setServiceURL(serviceURL); - // Set other client connection configurations here. - feedClient = new MarketplaceWebServiceClient(accessKey, secretKey, - appName, appVersion, config); - } - return feedClient; - } - - public String getMwsAuthToken() { - return mwsAuthToken; - } - - public void setMwsAuthToken(String mwsAuthToken) { - this.mwsAuthToken = mwsAuthToken; - } - - public boolean isEnabled() { - if (serviceURL == null || secretKey == null || accessKey == null || - sellerId == null || marketPlaceId == null || mwsAuthToken == null) { - return false; - } else { - return true; - } - - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/amazon/service/OrderImportFromAmazon.java b/ems-engine/src/main/java/it/integry/ems/order/amazon/service/OrderImportFromAmazon.java deleted file mode 100644 index 5e0582c6e8..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/amazon/service/OrderImportFromAmazon.java +++ /dev/null @@ -1,290 +0,0 @@ -package it.integry.ems.order.amazon.service; - -import com.amazonaws.mws.model.GetFeedSubmissionResultResponse; -import com.amazonaws.mws.model.SubmitFeedResponse; -import com.amazonservices.mws.orders._2013_09_01.model.Address; -import com.amazonservices.mws.orders._2013_09_01.model.Order; -import com.amazonservices.mws.orders._2013_09_01.model.OrderItem; -import com.fasterxml.jackson.databind.node.ArrayNode; -import com.google.common.base.Joiner; -import it.integry.common.var.CommonConstants; -import it.integry.ems.json.ResponseJSONObjectMapper; -import it.integry.ems.order.amazon.dto.OrderTrackingDTO; -import it.integry.ems.order.amazon.dto.ProductDTO; -import it.integry.ems.properties.EmsProperties; -import it.integry.ems.response.EsitoType; -import it.integry.ems.response.ServiceRestResponse; -import it.integry.ems.rules.expression.SalesExpression; -import it.integry.ems.sync.MultiDBTransaction.MultiDBTransactionManager; -import it.integry.ems_model.config.EmsRestConstants; -import it.integry.ems_model.db.ResultSetMapper; -import it.integry.ems_model.entity.*; -import it.integry.ems_model.service.SetupGest; -import it.integry.ems_model.types.OperationType; -import it.integry.ems_model.utility.UtilityDB; -import it.integry.ems_model.utility.UtilityString; -import it.integry.security.utility.RestUtil; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.context.annotation.Scope; -import org.springframework.stereotype.Service; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.ClientBuilder; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import java.io.StringWriter; -import java.math.BigDecimal; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.util.ArrayList; -import java.util.List; -import java.util.Map; - -@Service -@Scope("request") -@Deprecated -public class OrderImportFromAmazon { - - @Autowired - private AmazonAPIService amazonAPIService; - @Autowired - private EmsProperties prop; - @Autowired - private MultiDBTransactionManager multiDBTransactionManager; - @Autowired - private SetupGest setupGest; - @Autowired - private ResponseJSONObjectMapper objectMapper; - - public String importOrders(List orderStatus, String database) throws Exception { - - // Use the DataBind Api here - ArrayNode arrayNode = objectMapper.createArrayNode(); - - List orderList = new ArrayList(); - - List ordersAmazon = amazonAPIService.getListOrders(orderStatus).getListOrdersResult().getOrders(); - for (Order order : ordersAmazon) { - - String sqlCount = "select count(*) as conto from wdtb_ordt where rif_ord = " + UtilityDB.valueToString(order.getAmazonOrderId()); - PreparedStatement psCount = multiDBTransactionManager.prepareStatement(sqlCount); - ResultSet rsCount = psCount.executeQuery(); - Integer conto = 0; - if (rsCount.next()) { - conto = rsCount.getInt("conto"); - } - - if (conto == 0) { - WdtbNewCliOrd newClie = new WdtbNewCliOrd(); - newClie.setOperation(OperationType.INSERT); - - WdtbOrdt ordineWeb = new WdtbOrdt(); - ordineWeb.setOperation(OperationType.INSERT); - - Map setupGestMap = setupGest.getSetupSection(multiDBTransactionManager.getPrimaryConnection(), "AMAZON", "ORDINI_WEB"); - - String codAnag = setupGestMap.get("COD_ANAG"); - String listino = setupGestMap.get("LISTINO"); - String codVage = setupGestMap.get("COD_VAGE"); - String codMdep = setupGestMap.get("COD_MDEP"); - String codPaga = setupGestMap.get("COD_PAGA"); - - ordineWeb.setGestione("V"); - ordineWeb.setCodAnag(codAnag); - ordineWeb.setCompilatoDa("EMS"); - - ordineWeb.setListino(listino); - ordineWeb.setCodVage(codVage); - ordineWeb.setCodMdep(codMdep); - ordineWeb.setCodPaga(codPaga); - - orderList.add(order.getAmazonOrderId()); - - ordineWeb.setRifOrd(order.getAmazonOrderId()); - ordineWeb.setDataOrdRif(order.getPurchaseDate().toGregorianCalendar().getTime()); - if (order.getOrderTotal() != null) { - String sql = "select cod_divi from gtb_divi where cod_divi_iso = " + - UtilityDB.valueToString(order.getOrderTotal().getCurrencyCode()); - PreparedStatement ps = multiDBTransactionManager.prepareStatement(sql); - ResultSet rs = ps.executeQuery(); - if (rs.next()) { - ordineWeb.setCodDivi(rs.getString("cod_divi")); - } - rs.close(); - ps.close(); - } - Address addr = order.getShippingAddress(); - if (addr != null) { - newClie.setDestinatario(UtilityString.left(addr.getName(), 40)); - - newClie.setCodAnag(codAnag); - - String address = Joiner.on(" ").skipNulls() - .join(addr.getAddressLine1(), addr.getAddressLine2(), addr.getAddressLine3()); - newClie.setIndirizzoDes(address.substring(0, Math.min(address.length(), 40))); - newClie.setCittaDes(addr.getCity().substring(0, Math.min(addr.getCity().length(), 30))); - newClie.setCapDes(addr.getPostalCode().substring(0, Math.min(addr.getPostalCode().length(), 10))); - newClie.setProvDes(addr.getStateOrRegion().substring(0, Math.min(addr.getStateOrRegion().length(), 2))); - newClie.setNazioneDes(addr.getCountryCode().substring(0, Math.min(addr.getCountryCode().length(), 3))); - newClie.setTelefonoDes(addr.getPhone().substring(0, Math.min(addr.getPhone().length(), 40))); - } - - newClie.setRagSoc(order.getBuyerName().substring(0, Math.min(order.getBuyerName().length(), 40))); - newClie.seteMail(order.getBuyerEmail().substring(0, Math.min(order.getBuyerEmail().length(), 40))); - - ServiceRestResponse responseChecker = checkClieDestExists(database, newClie, ordineWeb); - - if (responseChecker.getEsito() == EsitoType.OK) { - if (responseChecker.getEntityList() != null && !responseChecker.getEntityList().isEmpty()) { - Object entity = responseChecker.getEntityList().get(0); - if (entity instanceof VtbDest) { - VtbDest destFinded = ((VtbDest) entity); - ordineWeb.setCodAnag(destFinded.getCodAnag()); - ordineWeb.setCodVdes(destFinded.getCodVdes()); - } else if (entity instanceof GtbAnag) { - GtbAnag anagFinded = ((GtbAnag) entity); - ordineWeb.setCodAnag(anagFinded.getCodAnag()); - } - } else { - ordineWeb.setWdtbNewCliOrd(newClie); - } - - } else { - StringWriter writer = new StringWriter(); - objectMapper.writeValue(writer, responseChecker); - return writer.toString(); - } - - List orderItems = amazonAPIService.getListItems(order.getAmazonOrderId()).getListOrderItemsResult().getOrderItems(); - Integer i = 1; - for (OrderItem orderItem : orderItems) { - WdtbOrdr row = new WdtbOrdr(); - String barcode = orderItem.getSellerSKU().replaceAll("A_q-", ""); - - String sql = "select bc.cod_style, bc.cod_col, bc.cod_tagl, aliq.perc_aliq from ttb_bar_code bc, " - + "mtb_aart art, gtb_aliq aliq where bc.cod_barre = " + UtilityDB.valueToString(barcode) - + " and art.cod_mart = bc.cod_style and art.cod_aliq = aliq.cod_aliq"; - PreparedStatement ps = multiDBTransactionManager.prepareStatement(sql); - ResultSet rs = ps.executeQuery(); - if (rs.next()) { - row.setCodMart(rs.getString("cod_style")); - row.setCodCol(rs.getString("cod_col")); - row.setCodTagl(rs.getString("cod_tagl")); - row.setQtaOrd(new BigDecimal(orderItem.getQuantityOrdered())); - row.setRigaOrd(i); - i++; - Double prezzoNetto = SalesExpression.calcPrzNetto( - new Double(orderItem.getItemPrice().getAmount()), - rs.getDouble("perc_aliq"), EmsRestConstants.cifreDecMax); - row.setValUnt(BigDecimal.valueOf(prezzoNetto)); - - ordineWeb.getWdtbOrdr().add(row); - } - rs.close(); - ps.close(); - } - arrayNode.addPOJO(ordineWeb); - } - } - - if (!orderList.isEmpty()) { - StringWriter writer = new StringWriter(); - objectMapper.writeValue(writer, arrayNode); - - String jsonBody = writer.toString(); - - String auth = RestUtil.generateAuth(database, database, "POST", - jsonBody, "application/json", prop.getRootApi() + EmsRestConstants.PATH_PROCESS_ENTITY_LIST); - - final Client client = ClientBuilder.newClient(); - final WebTarget resource = client.target(prop.getEndPointWS()) - .path(prop.getRootApi() + EmsRestConstants.PATH_PROCESS_ENTITY_LIST); - Response response = resource.queryParam(CommonConstants.PROFILE_DB, database) - .request() - .header("Authorization", database + ":" + auth) - .post(Entity.json(jsonBody)); - - String value = response.readEntity(String.class); - response.close(); - client.close(); - - SubmitFeedResponse submitResponse = ackOrders(orderList); - return value; - } - return null; - } - - private ServiceRestResponse checkClieDestExists(String database, WdtbNewCliOrd wdtbNewCliOrd, WdtbOrdt ordine) throws Exception { - - List destList = new ArrayList(); - - GtbAnag gtbAnag = new GtbAnag(); - gtbAnag.setRagSoc(wdtbNewCliOrd.getRagSoc()); - gtbAnag.seteMail(wdtbNewCliOrd.geteMail()); - - VtbDest dest = new VtbDest(); - dest.setDestinatario(wdtbNewCliOrd.getDestinatario()); - dest.setIndirizzo(wdtbNewCliOrd.getIndirizzoDes()); - dest.setCitta(wdtbNewCliOrd.getCittaDes()); - dest.setCap(wdtbNewCliOrd.getCapDes()); - dest.setNazione(wdtbNewCliOrd.getNazioneDes()); - dest.setOperation(OperationType.INSERT); - destList.add(dest); - gtbAnag.setVtbDest(destList); - - // put the resultset in a containing structure - StringWriter writer = new StringWriter(); - objectMapper.writeValue(writer, gtbAnag); - - String jsonBody = writer.toString(); - - String auth = RestUtil.generateAuth(database, database, "POST", - jsonBody, "application/json", prop.getRootApi() + EmsRestConstants.PATH_IMPORT_CLIE_ANAG); - - final Client client = ClientBuilder.newClient(); - final WebTarget resource = client.target(prop.getEndPointWS()) - .path(prop.getRootApi() + EmsRestConstants.PATH_IMPORT_CLIE_ANAG); - Response response = resource.queryParam(CommonConstants.PROFILE_DB, database) - .queryParam("precode", "E") - .request() - .header("Authorization", database + ":" + auth) - .post(Entity.json(jsonBody)); - - String entityStr = response.readEntity(String.class); - ServiceRestResponse value = objectMapper. - readValue(entityStr, ServiceRestResponse.class); - - response.close(); - client.close(); - - return value; - } - - public SubmitFeedResponse ackOrders(List ordersIds) throws Exception { - return amazonAPIService.acknowledgeOrder(ordersIds); - } - - @Deprecated - public SubmitFeedResponse confirmOrders(List orders) throws Exception { - return amazonAPIService.confirmOrderFeed(orders); - } - - public GetFeedSubmissionResultResponse feedSubmissionResult(String feedSubmissionId) throws Exception { - return amazonAPIService.feedSubmissionResult(feedSubmissionId); - } - - public void updateQtyFeed() throws Exception { - - String sql = "Select 'A_q-'+item_sku as sku, case when cast(quantity as int) < 0 then 0" - + " else cast(quantity as int) end as quantity" - + " from Mafrat2Conquist.dbo.ExportProdotti2Amazon" - + " where descrizione_estesa is not null"; - - List list = new ResultSetMapper() - .mapQuerySetToList(multiDBTransactionManager.getPrimaryConnection(), sql, ProductDTO.class); - - if (!list.isEmpty()) - amazonAPIService.updateQtyFeed(list); - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/conquist/controller/ConquistEcommerceController.java b/ems-engine/src/main/java/it/integry/ems/order/conquist/controller/ConquistEcommerceController.java deleted file mode 100644 index 24407b5046..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/conquist/controller/ConquistEcommerceController.java +++ /dev/null @@ -1,115 +0,0 @@ -package it.integry.ems.order.conquist.controller; - -import it.integry.common.var.CommonConstants; -import it.integry.ems.order.conquist.dto.TrackingDTO; -import it.integry.ems.order.conquist.service.ConquistEcommerceService; -import it.integry.ems.response.EsitoType; -import it.integry.ems.response.FileItem; -import it.integry.ems.response.ServiceRestResponse; -import it.integry.ems_model.config.EmsRestConstants; -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.context.annotation.Scope; -import org.springframework.web.bind.annotation.*; - -import javax.servlet.http.HttpServletRequest; -import java.util.List; - -@RestController -@Scope("request") - -public class ConquistEcommerceController { - - private final Logger logger = LogManager.getLogger(); - - @Autowired - private ConquistEcommerceService conquistEcommerceService; - - @RequestMapping(value = EmsRestConstants.PATH_IMPORT_CLIENTI_CQ, method = RequestMethod.POST) - public @ResponseBody - ServiceRestResponse importClienti(HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String configuration, @RequestBody String csv) { - - ServiceRestResponse response = null; - try { - conquistEcommerceService.importClienti(csv); - response = new ServiceRestResponse(EsitoType.OK); - } catch (Exception e) { - logger.error(request.getRequestURI(), e); - e.printStackTrace(); - response = new ServiceRestResponse(EsitoType.KO, configuration, e); - } - return response; - } - - @Deprecated - @RequestMapping(value = EmsRestConstants.PATH_EXPORT_CLIENTI_CQ, method = RequestMethod.POST) - public @ResponseBody - ServiceRestResponse exportClienti(HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String configuration) { - ServiceRestResponse response = null; - try { - FileItem item = conquistEcommerceService.exportClienti(); - response = new ServiceRestResponse(EsitoType.OK); - response.setXml(item); - } catch (Exception e) { - logger.error(request.getRequestURI(), e); - response = new ServiceRestResponse(EsitoType.KO, configuration, e); - } - return response; - - } - - @Deprecated - @RequestMapping(value = EmsRestConstants.PATH_EXPORT_PRODOTTI_CQ, method = RequestMethod.POST) - public @ResponseBody - ServiceRestResponse exportProdotti(HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String configuration) { - ServiceRestResponse response = null; - try { - FileItem item = conquistEcommerceService.exportProdotti(); - response = new ServiceRestResponse(EsitoType.OK); - response.setXml(item); - } catch (Exception e) { - logger.error(request.getRequestURI(), e); - response = new ServiceRestResponse(EsitoType.KO, configuration, e); - } - return response; - } - - @RequestMapping(value = EmsRestConstants.PATH_EXPORT_TRACKING_CQ, method = RequestMethod.POST) - public @ResponseBody - ServiceRestResponse exportTracking(HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String configuration, - @RequestBody List list) { - ServiceRestResponse response = null; - try { - FileItem item = conquistEcommerceService.exportTracking(list); - response = new ServiceRestResponse(EsitoType.OK); - response.setXml(item); - } catch (Exception e) { - logger.error(request.getRequestURI(), e); - response = new ServiceRestResponse(EsitoType.KO, configuration, e); - } - return response; - } - - @Deprecated - @RequestMapping(value = EmsRestConstants.PATH_IMPORT_ORDINI_CQ, method = RequestMethod.POST) - public @ResponseBody - ServiceRestResponse importOrdini(HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String configuration, @RequestBody String csv) { - - ServiceRestResponse response = null; - try { - conquistEcommerceService.importOrdini(csv); - response = new ServiceRestResponse(EsitoType.OK); - } catch (Exception e) { - logger.error(request.getRequestURI(), e); - e.printStackTrace(); - response = new ServiceRestResponse(EsitoType.KO, configuration, e); - } - return response; - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/conquist/dto/ClienteDTO.java b/ems-engine/src/main/java/it/integry/ems/order/conquist/dto/ClienteDTO.java deleted file mode 100644 index 95c3d87a7f..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/conquist/dto/ClienteDTO.java +++ /dev/null @@ -1,186 +0,0 @@ -package it.integry.ems.order.conquist.dto; - -import com.fasterxml.jackson.annotation.JsonProperty; - -public class ClienteDTO { - @JsonProperty("name") - private String name; - - @JsonProperty("username") - private String username; - - @JsonProperty("email") - private String email; - - @JsonProperty("password") - private String password; - - @JsonProperty("first_name") - private String firstName; - - @JsonProperty("last_name") - private String lastName; - - @JsonProperty("address_1") - private String address1; - - @JsonProperty("civico") - private String civico; - - @JsonProperty("zip") - private String zip; - - @JsonProperty("city") - private String city; - - @JsonProperty("phone_1") - private String phone1; - - @JsonProperty("carta_fidelity") - private String cartaFidelity; - - @JsonProperty("usergroup_name") - private String usergroupName; - - @JsonProperty("address_type") - private String addressType; - - @JsonProperty("address_type_name") - private String addressTypeName; - - @JsonProperty("sesso") - private String sesso; - - @JsonProperty("datanascita") - private String datanascita; - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getUsername() { - return username; - } - - public void setUsername(String username) { - this.username = username; - } - - public String getEmail() { - return email; - } - - public void setEmail(String email) { - this.email = email; - } - - public String getPassword() { - return password; - } - - public void setPassword(String password) { - this.password = password; - } - - public String getFirstName() { - return firstName; - } - - public void setFirstName(String firstName) { - this.firstName = firstName; - } - - public String getLastName() { - return lastName; - } - - public void setLastName(String lastName) { - this.lastName = lastName; - } - - public String getAddress1() { - return address1; - } - - public void setAddress1(String address1) { - this.address1 = address1; - } - - public String getZip() { - return zip; - } - - public void setZip(String zip) { - this.zip = zip; - } - - public String getCity() { - return city; - } - - public void setCity(String city) { - this.city = city; - } - - public String getPhone1() { - return phone1; - } - - public void setPhone1(String phone1) { - this.phone1 = phone1; - } - - public String getCartaFidelity() { - return cartaFidelity; - } - - public void setCartaFidelity(String cartaFidelity) { - this.cartaFidelity = cartaFidelity; - } - - public String getUsergroupName() { - return usergroupName; - } - - public void setUsergroupName(String usergroupName) { - this.usergroupName = usergroupName; - } - - public String getAddressType() { - return addressType; - } - - public void setAddressType(String addressType) { - this.addressType = addressType; - } - - public String getAddressTypeName() { - return addressTypeName; - } - - public void setAddressTypeName(String addressTypeName) { - this.addressTypeName = addressTypeName; - } - - public String getSesso() { - return sesso; - } - - public void setSesso(String sesso) { - this.sesso = sesso; - } - - public String getDatanascita() { - return datanascita; - } - - public void setDatanascita(String datanascita) { - this.datanascita = datanascita; - } - - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/conquist/dto/OrdineDTO.java b/ems-engine/src/main/java/it/integry/ems/order/conquist/dto/OrdineDTO.java deleted file mode 100644 index 507e159176..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/conquist/dto/OrdineDTO.java +++ /dev/null @@ -1,471 +0,0 @@ -package it.integry.ems.order.conquist.dto; - -import com.fasterxml.jackson.annotation.JsonProperty; - -import java.math.BigDecimal; -import java.util.Date; - -public class OrdineDTO { - - @JsonProperty("order_number") - private String orderNumber; - - @JsonProperty("created_on") - private Date createdOn; - - @JsonProperty("virtuemart_order_id") - private Integer virtuemartOrderId; - - @JsonProperty("virtuemart_product_id") - private Integer virtuemartProductId; - - @JsonProperty("full_name") - private String fullName; - - @JsonProperty("address_1") - private String address1; - - @JsonProperty("civico") - private String civico; - - @JsonProperty("zip") - private String zip; - - @JsonProperty("city") - private String city; - - @JsonProperty("country_name") - private String countryName; - - @JsonProperty("state_name") - private String stateName; - - @JsonProperty("phone_1") - private String phone1; - - @JsonProperty("username") - private String username; - - @JsonProperty("email") - private String email; - - @JsonProperty("customer_note") - private String customerNote; - - @JsonProperty("order_item_sku") - private String orderItemSku; - - @JsonProperty("order_item_name") - private String orderItemName; - - @JsonProperty("product_quantity") - private Integer productQuantity; - - @JsonProperty("product_item_price") - private BigDecimal productItemPrice; - - @JsonProperty("product_tax") - private BigDecimal productTax; - - @JsonProperty("product_final_price") - private BigDecimal productFinalPrice; - - @JsonProperty("order_shipment") - private BigDecimal orderShipment; - - @JsonProperty("order_shipment_tax") - private BigDecimal orderShipmentTax; - - @JsonProperty("order_payment") - private BigDecimal orderPayment; - - @JsonProperty("order_payment_tax") - private BigDecimal orderPaymentTax; - - @JsonProperty("order_total") - private BigDecimal orderTotal; - - @JsonProperty("total_order_items") - private Integer totalOrderItems; - - @JsonProperty("virtuemart_shipmentmethod_id") - private String virtuemartShipmentmethodId; - - @JsonProperty("virtuemart_paymentmethod_id") - private String virtuemartPaymentmethodId; - - @JsonProperty("user_currency") - private String userCurrency; - - @JsonProperty("order_status") - private String orderStatus; - - @JsonProperty("order_status_name") - private String orderStatusName; - - @JsonProperty("richiesta_fattura") - private String richiestaFattura; - - @JsonProperty("company") - private String company; - - @JsonProperty("codice_fiscale") - private String codiceFiscale; - - @JsonProperty("partita_iva") - private String partitaIva; - - @JsonProperty("cap_fattura") - private String capFattura; - - @JsonProperty("indirizzo_fattura") - private String indirizzoFattura; - - @JsonProperty("civico_fattura") - private String civicoFattura; - - @JsonProperty("citta_fattura") - private String cittaFattura; - - @JsonProperty("provincia_fattura") - private String provinciaFattura; - - @JsonProperty("negozio_scelto") - private String negozioScelto; - - public String getOrderNumber() { - return orderNumber; - } - - public void setOrderNumber(String orderNumber) { - this.orderNumber = orderNumber; - } - - public Date getCreatedOn() { - return createdOn; - } - - public void setCreatedOn(Date createdOn) { - this.createdOn = createdOn; - } - - public Integer getVirtuemartOrderId() { - return virtuemartOrderId; - } - - public void setVirtuemartOrderId(Integer virtuemartOrderId) { - this.virtuemartOrderId = virtuemartOrderId; - } - - public Integer getVirtuemartProductId() { - return virtuemartProductId; - } - - public void setVirtuemartProductId(Integer virtuemartProductId) { - this.virtuemartProductId = virtuemartProductId; - } - - public String getFullName() { - return fullName; - } - - public void setFullName(String fullName) { - this.fullName = fullName; - } - - public String getAddress1() { - return address1; - } - - public void setAddress1(String address1) { - this.address1 = address1; - } - - public String getCivico() { - return civico; - } - - public void setCivico(String civico) { - this.civico = civico; - } - - public String getZip() { - return zip; - } - - public void setZip(String zip) { - this.zip = zip; - } - - public String getCity() { - return city; - } - - public void setCity(String city) { - this.city = city; - } - - public String getCountryName() { - return countryName; - } - - public void setCountryName(String countryName) { - this.countryName = countryName; - } - - public String getStateName() { - return stateName; - } - - public void setStateName(String stateName) { - this.stateName = stateName; - } - - public String getPhone1() { - return phone1; - } - - public void setPhone1(String phone1) { - this.phone1 = phone1; - } - - public String getUsername() { - return username; - } - - public void setUsername(String username) { - this.username = username; - } - - public String getEmail() { - return email; - } - - public void setEmail(String email) { - this.email = email; - } - - public String getCustomerNote() { - return customerNote; - } - - public void setCustomerNote(String customerNote) { - this.customerNote = customerNote; - } - - public String getOrderItemSku() { - return orderItemSku; - } - - public void setOrderItemSku(String orderItemSku) { - this.orderItemSku = orderItemSku; - } - - public String getOrderItemName() { - return orderItemName; - } - - public void setOrderItemName(String orderItemName) { - this.orderItemName = orderItemName; - } - - public Integer getProductQuantity() { - return productQuantity; - } - - public void setProductQuantity(Integer productQuantity) { - this.productQuantity = productQuantity; - } - - public BigDecimal getProductItemPrice() { - return productItemPrice; - } - - public void setProductItemPrice(BigDecimal productItemPrice) { - this.productItemPrice = productItemPrice; - } - - public BigDecimal getProductTax() { - return productTax; - } - - public void setProductTax(BigDecimal productTax) { - this.productTax = productTax; - } - - public BigDecimal getProductFinalPrice() { - return productFinalPrice; - } - - public void setProductFinalPrice(BigDecimal productFinalPrice) { - this.productFinalPrice = productFinalPrice; - } - - public BigDecimal getOrderShipment() { - return orderShipment; - } - - public void setOrderShipment(BigDecimal orderShipment) { - this.orderShipment = orderShipment; - } - - public BigDecimal getOrderShipmentTax() { - return orderShipmentTax; - } - - public void setOrderShipmentTax(BigDecimal orderShipmentTax) { - this.orderShipmentTax = orderShipmentTax; - } - - public BigDecimal getOrderPayment() { - return orderPayment; - } - - public void setOrderPayment(BigDecimal orderPayment) { - this.orderPayment = orderPayment; - } - - public BigDecimal getOrderPaymentTax() { - return orderPaymentTax; - } - - public void setOrderPaymentTax(BigDecimal orderPaymentTax) { - this.orderPaymentTax = orderPaymentTax; - } - - public BigDecimal getOrderTotal() { - return orderTotal; - } - - public void setOrderTotal(BigDecimal orderTotal) { - this.orderTotal = orderTotal; - } - - public Integer getTotalOrderItems() { - return totalOrderItems; - } - - public void setTotalOrderItems(Integer totalOrderItems) { - this.totalOrderItems = totalOrderItems; - } - - public String getVirtuemartShipmentmethodId() { - return virtuemartShipmentmethodId; - } - - public void setVirtuemartShipmentmethodId(String virtuemartShipmentmethodId) { - this.virtuemartShipmentmethodId = virtuemartShipmentmethodId; - } - - public String getVirtuemartPaymentmethodId() { - return virtuemartPaymentmethodId; - } - - public void setVirtuemartPaymentmethodId(String virtuemartPaymentmethodId) { - this.virtuemartPaymentmethodId = virtuemartPaymentmethodId; - } - - public String getUserCurrency() { - return userCurrency; - } - - public void setUserCurrency(String userCurrency) { - this.userCurrency = userCurrency; - } - - public String getOrderStatus() { - return orderStatus; - } - - public void setOrderStatus(String orderStatus) { - this.orderStatus = orderStatus; - } - - public String getOrderStatusName() { - return orderStatusName; - } - - public void setOrderStatusName(String orderStatusName) { - this.orderStatusName = orderStatusName; - } - - public String getRichiestaFattura() { - return richiestaFattura; - } - - public void setRichiestaFattura(String richiestaFattura) { - this.richiestaFattura = richiestaFattura; - } - - public String getCompany() { - return company; - } - - public void setCompany(String company) { - this.company = company; - } - - public String getCodiceFiscale() { - return codiceFiscale; - } - - public void setCodiceFiscale(String codiceFiscale) { - this.codiceFiscale = codiceFiscale; - } - - public String getPartitaIva() { - return partitaIva; - } - - public void setPartitaIva(String partitaIva) { - this.partitaIva = partitaIva; - } - - public String getCapFattura() { - return capFattura; - } - - public void setCapFattura(String capFattura) { - this.capFattura = capFattura; - } - - public String getIndirizzoFattura() { - return indirizzoFattura; - } - - public void setIndirizzoFattura(String indirizzoFattura) { - this.indirizzoFattura = indirizzoFattura; - } - - public String getCivicoFattura() { - return civicoFattura; - } - - public void setCivicoFattura(String civicoFattura) { - this.civicoFattura = civicoFattura; - } - - public String getCittaFattura() { - return cittaFattura; - } - - public void setCittaFattura(String cittaFattura) { - this.cittaFattura = cittaFattura; - } - - public String getProvinciaFattura() { - return provinciaFattura; - } - - public void setProvinciaFattura(String provinciaFattura) { - this.provinciaFattura = provinciaFattura; - } - - public String getNegozioScelto() { - return negozioScelto; - } - - public void setNegozioScelto(String negozioScelto) { - this.negozioScelto = negozioScelto; - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/conquist/dto/ProdottoDTO.java b/ems-engine/src/main/java/it/integry/ems/order/conquist/dto/ProdottoDTO.java deleted file mode 100644 index 4e5fcb0c8f..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/conquist/dto/ProdottoDTO.java +++ /dev/null @@ -1,272 +0,0 @@ -package it.integry.ems.order.conquist.dto; - -import com.fasterxml.jackson.annotation.JsonProperty; - -import java.math.BigDecimal; - -public class ProdottoDTO { - @JsonProperty("product_sku") - private String productSku; - - @JsonProperty("product_parent_sku") - private String productParentSku; - - @JsonProperty("multi_variant_title") - private String multiVariantTitle; - - @JsonProperty("multi_variant_fields") - private String multiVariantFields; - - @JsonProperty("product_name") - private String productName; - - @JsonProperty("colore") - private String colore; - - @JsonProperty("taglia") - private String taglia; - - @JsonProperty("product_desc") - private String productDesc; - - @JsonProperty("product_s_desc") - private String productSDesc; - - @JsonProperty("category_path") - private String categoryPath; - - @JsonProperty("manufacturer_name") - private String manufacturerName; - - @JsonProperty("published") - private String published; - - @JsonProperty("product_price") - private BigDecimal productPrice; - - @JsonProperty("product_discount_id") - private String productDiscountId; - - @JsonProperty("product_tax_id") - private String productTaxId; - - @JsonProperty("product_in_stock") - private Integer productInStock; - - @JsonProperty("file_url") - private String fileUrl; - - @JsonProperty("file_url_thumb") - private String fileUrlThumb; - - @JsonProperty("file_title") - private String fileTitle; - - @JsonProperty("file_description") - private String fileDescription; - - @JsonProperty("file_meta") - private String fileMeta; - - @JsonProperty("file_ordering") - private String fileOrdering; - - @JsonProperty("product_mpn") - private String productMpn; - - @JsonProperty("product_override_price") - private BigDecimal productOverridePrice; - - public String getProductSku() { - return productSku; - } - - public void setProductSku(String productSku) { - this.productSku = productSku; - } - - public String getProductParentSku() { - return productParentSku; - } - - public void setProductParentSku(String productParentSku) { - this.productParentSku = productParentSku; - } - - public String getMultiVariantTitle() { - return multiVariantTitle; - } - - public void setMultiVariantTitle(String multiVariantTitle) { - this.multiVariantTitle = multiVariantTitle; - } - - public String getMultiVariantFields() { - return multiVariantFields; - } - - public void setMultiVariantFields(String multiVariantFields) { - this.multiVariantFields = multiVariantFields; - } - - public String getProductName() { - return productName; - } - - public void setProductName(String productName) { - this.productName = productName; - } - - public String getColore() { - return colore; - } - - public void setColore(String colore) { - this.colore = colore; - } - - public String getTaglia() { - return taglia; - } - - public void setTaglia(String taglia) { - this.taglia = taglia; - } - - public String getProductDesc() { - return productDesc; - } - - public void setProductDesc(String productDesc) { - this.productDesc = productDesc; - } - - public String getProductSDesc() { - return productSDesc; - } - - public void setProductSDesc(String productSDesc) { - this.productSDesc = productSDesc; - } - - public String getCategoryPath() { - return categoryPath; - } - - public void setCategoryPath(String categoryPath) { - this.categoryPath = categoryPath; - } - - public String getManufacturerName() { - return manufacturerName; - } - - public void setManufacturerName(String manufacturerName) { - this.manufacturerName = manufacturerName; - } - - public String getPublished() { - return published; - } - - public void setPublished(String published) { - this.published = published; - } - - public BigDecimal getProductPrice() { - return productPrice; - } - - public void setProductPrice(BigDecimal productPrice) { - this.productPrice = productPrice; - } - - public String getProductDiscountId() { - return productDiscountId; - } - - public void setProductDiscountId(String productDiscountId) { - this.productDiscountId = productDiscountId; - } - - public String getProductTaxId() { - return productTaxId; - } - - public void setProductTaxId(String productTaxId) { - this.productTaxId = productTaxId; - } - - public Integer getProductInStock() { - return productInStock; - } - - public void setProductInStock(Integer productInStock) { - this.productInStock = productInStock; - } - - public String getFileUrl() { - return fileUrl; - } - - public void setFileUrl(String fileUrl) { - this.fileUrl = fileUrl; - } - - public String getFileUrlThumb() { - return fileUrlThumb; - } - - public void setFileUrlThumb(String fileUrlThumb) { - this.fileUrlThumb = fileUrlThumb; - } - - public String getFileTitle() { - return fileTitle; - } - - public void setFileTitle(String fileTitle) { - this.fileTitle = fileTitle; - } - - public String getFileDescription() { - return fileDescription; - } - - public void setFileDescription(String fileDescription) { - this.fileDescription = fileDescription; - } - - public String getFileMeta() { - return fileMeta; - } - - public void setFileMeta(String fileMeta) { - this.fileMeta = fileMeta; - } - - public String getFileOrdering() { - return fileOrdering; - } - - public void setFileOrdering(String fileOrdering) { - this.fileOrdering = fileOrdering; - } - - public String getProductMpn() { - return productMpn; - } - - public void setProductMpn(String productMpn) { - this.productMpn = productMpn; - } - - public BigDecimal getProductOverridePrice() { - return productOverridePrice; - } - - public void setProductOverridePrice(BigDecimal productOverridePrice) { - this.productOverridePrice = productOverridePrice; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/conquist/dto/TrackingDTO.java b/ems-engine/src/main/java/it/integry/ems/order/conquist/dto/TrackingDTO.java deleted file mode 100644 index 9393b96c94..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/conquist/dto/TrackingDTO.java +++ /dev/null @@ -1,40 +0,0 @@ -package it.integry.ems.order.conquist.dto; - -import com.fasterxml.jackson.annotation.JsonProperty; - -public class TrackingDTO { - @JsonProperty("virtuemart_order_id") - private String virtuemartOrderId; - - @JsonProperty("virtuemart_product_sku") - private String virtuemartProductSku; - - @JsonProperty("order_status") - private String orderStatus; - - public String getVirtuemartOrderId() { - return virtuemartOrderId; - } - - public void setVirtuemartOrderId(String virtuemartOrderId) { - this.virtuemartOrderId = virtuemartOrderId; - } - - public String getVirtuemartProductSku() { - return virtuemartProductSku; - } - - public void setVirtuemartProductSku(String virtuemartProductSku) { - this.virtuemartProductSku = virtuemartProductSku; - } - - public String getOrderStatus() { - return orderStatus; - } - - public void setOrderStatus(String orderStatus) { - this.orderStatus = orderStatus; - } - - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/conquist/job/ConquistBollaProntaJob.java b/ems-engine/src/main/java/it/integry/ems/order/conquist/job/ConquistBollaProntaJob.java deleted file mode 100644 index f0dd67dbbc..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/conquist/job/ConquistBollaProntaJob.java +++ /dev/null @@ -1,181 +0,0 @@ -package it.integry.ems.order.conquist.job; - -import it.integry.common.var.CommonConstants; -import it.integry.ems.datasource.DataSource; -import it.integry.ems.json.ResponseJSONObjectMapper; -import it.integry.ems.properties.EmsProperties; -import it.integry.ems.response.EsitoType; -import it.integry.ems.response.ServiceRestResponse; -import it.integry.ems.schedule.cron_job.QuartzJobBeanWithConf; -import it.integry.ems_model.config.EmsRestConstants; -import it.integry.ems_model.entity.StbEmailRecovery; -import it.integry.ems_model.service.SetupGest; -import it.integry.ems_model.types.OperationType; -import it.integry.ems_model.utility.UtilityDB; -import it.integry.ems_model.utility.UtilityString; -import it.integry.security.utility.RestUtil; -import org.apache.commons.io.IOUtils; -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; -import org.quartz.JobExecutionContext; -import org.quartz.JobExecutionException; -import org.springframework.beans.factory.annotation.Autowired; - -import javax.ws.rs.client.*; -import javax.ws.rs.core.Response; -import java.io.InputStream; -import java.io.StringWriter; -import java.net.URL; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.util.Calendar; -import java.util.Date; - -public class ConquistBollaProntaJob extends QuartzJobBeanWithConf { - - private EmsProperties emsProperties; - private ResponseJSONObjectMapper jsonObjectMapper; - private SetupGest setupGest; - - private Logger logger = LogManager.getLogger(); - - public EmsProperties getEmsProperties() { - return emsProperties; - } - - @Autowired - public void setEmsProperties(EmsProperties emsProperties) { - this.emsProperties = emsProperties; - } - - public ResponseJSONObjectMapper getJsonObjectMapper() { - return jsonObjectMapper; - } - - @Autowired - public void setJsonObjectMapper(ResponseJSONObjectMapper jsonObjectMapper) { - this.jsonObjectMapper = jsonObjectMapper; - } - - public SetupGest getSetupGest() { - return setupGest; - } - - @Autowired - public void setSetupGest(SetupGest setupGest) { - this.setupGest = setupGest; - } - - @Override - protected void executeInternal(JobExecutionContext jobExecutionContext) throws JobExecutionException { - try { - String database = profileDb; - DataSource ds = new DataSource(); - ds.initialize(profileDb); - - Boolean enabled = Boolean.parseBoolean(setupGest.getSetup(ds.getConnection(), - "IMPORT_ORDINI WEB", "CONQUIST", "BOLLA_PRONTA_ENABLED")); - - if (enabled && "/ems-api".equals(emsProperties.getRootApi())) { - String codMdep = setupGest.getSetup(ds.getConnection(), "IMPORT_ORDINI WEB", "CONQUIST", "COD_MDEP"); - final String from = setupGest.getSetup(ds.getConnection(), "IMPORT_ORDINI WEB", "CONQUIST", "MAIL_FROM"); - final String ccn = setupGest.getSetup(ds.getConnection(), "IMPORT_ORDINI WEB", "CONQUIST", "MAIL_CCN"); - - String mailTemplateUrl = setupGest.getSetup(ds.getConnection(), "IMPORT_ORDINI WEB", "CONQUIST", "MAIL_TEMPLATE_URL"); - if (UtilityString.isNullOrEmpty(mailTemplateUrl)) - throw new Exception("IMPORT_ORDINI WEB/CONQUIST/MAIL_TEMPLATE_URL non configurato correttamente"); - URL url = new URL(mailTemplateUrl + "/mail_bolla_pronta.html"); - InputStream is = url.openStream(); - final String mailText = IOUtils.toString(is); - final String subject = "Ordine in spedizione"; - - Calendar calendar = Calendar.getInstance(); - calendar.add(Calendar.DAY_OF_MONTH, -1); - - String sql = "select vtb_fidelity_anag.e_mail from dtb_doct, dtb_ordt" - + " where dtb_doct.data_doc = " + UtilityDB.valueDateToString(calendar.getTime(), CommonConstants.DATE_FORMAT_YMD) - + " and dtb_doct.cod_mdep=" + UtilityDB.valueToString(codMdep) - + " and dtb_ordt.ean_fidelity = vtb_fidelity_anag.ean_fidelity and dtb_ordt.data_ord = dtb_doct.data_ord" - + " and dtb_ordt.gestione = dtb_doct.gestione and dtb_ordt.num_ord = dtb_doct.num_ord"; - PreparedStatement ps = ds.getConnection().prepareStatement(sql); - ResultSet rs = ps.executeQuery(); - while (rs.next()) { - String email = rs.getString("e_mail"); - final String emailCliente = email; - - String auth = RestUtil.generateAuth(database, database, "POST", "", - "application/json", emsProperties.getRootApi() + EmsRestConstants.PATH_SEND_MAIL); - - final Client client = ClientBuilder.newClient(); - WebTarget resource = client.target(emsProperties.getEndPointWS()).path( - emsProperties.getRootApi() + EmsRestConstants.PATH_SEND_MAIL) - .resolveTemplate("mode", "async"); - resource = resource.queryParam(CommonConstants.PROFILE_DB, database) - .queryParam("from", from).queryParam("to", emailCliente) - .queryParam("ccn", ccn) - .queryParam("subject", subject) - .queryParam("msgText", mailText); - - resource.request().header("Authorization", database + ":" + auth) - .async() - .post(Entity.json(""), new InvocationCallback() { - @Override - public void completed(Response response) { - String value = response.readEntity(String.class); - logger.info(response.getStatus() + " - " + value); - response.close(); - client.close(); - try { - ServiceRestResponse respWr = jsonObjectMapper.readValue(value, ServiceRestResponse.class); - if (respWr.getEsito() == EsitoType.KO) { - StbEmailRecovery emailRecovery = new StbEmailRecovery(); - emailRecovery.setOperation(OperationType.INSERT); - emailRecovery.setFromMail(from); - emailRecovery.setToMail(emailCliente); - emailRecovery.setDataIns(new Date()); - emailRecovery.setSubject(subject); - emailRecovery.setMsgtext(mailText); - - StringWriter writer = new StringWriter(); - jsonObjectMapper.writeValue(writer, emailRecovery); - - String jsonBody = writer.toString(); - - String database = profileDb; - String auth = RestUtil.generateAuth(database, database, "POST", - jsonBody, "application/json", emsProperties.getRootApi() + EmsRestConstants.PATH_PROCESS_ENTITY); - - final Client client = ClientBuilder.newClient(); - final WebTarget resource = client.target(emsProperties.getEndPointWS()) - .path(emsProperties.getRootApi() + EmsRestConstants.PATH_PROCESS_ENTITY); - Response responseProcess = resource.queryParam(CommonConstants.PROFILE_DB, database) - .request() - .header("Authorization", database + ":" + auth) - .post(Entity.json(jsonBody)); - - String str = responseProcess.readEntity(String.class); - ServiceRestResponse resp = jsonObjectMapper.readValue(str, ServiceRestResponse.class); - - responseProcess.close(); - client.close(); - } - } catch (Exception e1) { - e1.printStackTrace(); - } - } - - @Override - public void failed(Throwable throwable) { - throwable.printStackTrace(); - logger.error(throwable); - client.close(); - } - }); - } - } - } catch (Exception ex) { - ex.printStackTrace(); - logger.error(ex.toString()); - } - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/conquist/job/ConquistExportJob.java b/ems-engine/src/main/java/it/integry/ems/order/conquist/job/ConquistExportJob.java deleted file mode 100644 index 34e0c090b2..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/conquist/job/ConquistExportJob.java +++ /dev/null @@ -1,153 +0,0 @@ -package it.integry.ems.order.conquist.job; - -import it.integry.common.var.CommonConstants; -import it.integry.ems.datasource.DataSource; -import it.integry.ems.json.ResponseJSONObjectMapper; -import it.integry.ems.properties.EmsProperties; -import it.integry.ems.response.EsitoType; -import it.integry.ems.response.ServiceRestResponse; -import it.integry.ems_model.config.EmsRestConstants; -import it.integry.ems_model.service.SetupGest; -import it.integry.ems_model.utility.UtilityString; -import it.integry.security.utility.RestUtil; -import org.apache.commons.codec.binary.Base64; -import org.apache.commons.io.output.FileWriterWithEncoding; -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; -import org.quartz.JobExecutionContext; -import org.quartz.JobExecutionException; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.scheduling.quartz.QuartzJobBean; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.ClientBuilder; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import java.io.BufferedWriter; -import java.io.File; - -@Deprecated -public class ConquistExportJob extends QuartzJobBean { - - private EmsProperties emsProperties; - private ResponseJSONObjectMapper jsonObjectMapper; - private SetupGest setupGest; - - private Logger logger = LogManager.getLogger(); - - public EmsProperties getEmsProperties() { - return emsProperties; - } - - @Autowired - public void setEmsProperties(EmsProperties emsProperties) { - this.emsProperties = emsProperties; - } - - public ResponseJSONObjectMapper getJsonObjectMapper() { - return jsonObjectMapper; - } - - @Autowired - public void setJsonObjectMapper(ResponseJSONObjectMapper jsonObjectMapper) { - this.jsonObjectMapper = jsonObjectMapper; - } - - public SetupGest getSetupGest() { - return setupGest; - } - - @Autowired - public void setSetupGest(SetupGest setupGest) { - this.setupGest = setupGest; - } - - @Override - protected void executeInternal(JobExecutionContext jobExecutionContext) throws JobExecutionException { - try { - DataSource ds = new DataSource(); - ds.initialize(emsProperties.getDefaultDatabase()); - - Boolean enabled = Boolean.parseBoolean(setupGest.getSetup(ds.getConnection(), "IMPORT_ORDINI WEB", "CONQUIST", "ENABLED")); - - if (enabled && "/ems-api".equals(emsProperties.getRootApi())) { - - String folder = setupGest.getSetup(ds.getConnection(), "IMPORT_ORDINI WEB", "CONQUIST", "FOLDER"); - - if (UtilityString.isNullOrEmpty(folder)) - throw new Exception("IMPORT_ORDINI WEB/CONQUIST/FOLDER non configurato correttamente"); - - File f; - String database = emsProperties.getDefaultDatabase(); - - String auth = RestUtil.generateAuth(database, database, "POST", "", - "text/plain", emsProperties.getRootApi() + EmsRestConstants.PATH_EXPORT_CLIENTI_CQ); - - Client client = ClientBuilder.newClient(); - WebTarget resource = client.target(emsProperties.getEndPointWS()).path( - emsProperties.getRootApi() + EmsRestConstants.PATH_EXPORT_CLIENTI_CQ); - Response responseEms = resource.queryParam(CommonConstants.PROFILE_DB, database) - .request().header("Authorization", database + ":" + auth) - .post(Entity.text("")); - - String value = responseEms.readEntity(String.class); - ServiceRestResponse resp = jsonObjectMapper.readValue(value, ServiceRestResponse.class); - value = null; - if (resp.getEsito() == EsitoType.OK) { - String b64 = resp.getXml().getFileb64Content(); - String data = new String(Base64.decodeBase64(b64)); - - f = new File(folder + "/export/" + resp.getXml().getFileName()); - - //FileWriter fw = new FileWriter(f, true); - FileWriterWithEncoding fw = new FileWriterWithEncoding(f, "UTF-8", true); - BufferedWriter bw = new BufferedWriter(fw); - - bw.write(data); - bw.close(); - fw.close(); - b64 = null; - data = null; - } - responseEms.close(); - client.close(); - - auth = RestUtil.generateAuth(database, database, "POST", "", - "text/plain", emsProperties.getRootApi() + EmsRestConstants.PATH_EXPORT_PRODOTTI_CQ); - - client = ClientBuilder.newClient(); - resource = client.target(emsProperties.getEndPointWS()).path( - emsProperties.getRootApi() + EmsRestConstants.PATH_EXPORT_PRODOTTI_CQ); - responseEms = resource.queryParam(CommonConstants.PROFILE_DB, database) - .request().header("Authorization", database + ":" + auth) - .post(Entity.text("")); - - value = responseEms.readEntity(String.class); - resp = jsonObjectMapper.readValue(value, ServiceRestResponse.class); - value = null; - if (resp.getEsito() == EsitoType.OK) { - String b64 = resp.getXml().getFileb64Content(); - String data = new String(Base64.decodeBase64(b64)); - f = new File(folder + "/export/" + resp.getXml().getFileName()); - - FileWriterWithEncoding fw = new FileWriterWithEncoding(f, "UTF-8", true); - BufferedWriter bw = new BufferedWriter(fw); - bw.write(data); - bw.close(); - fw.close(); - b64 = null; - data = null; - } - responseEms.close(); - client.close(); - - } - ds.close(); - } catch (Exception e) { - logger.error(e.getLocalizedMessage()); - e.printStackTrace(); - } - - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/conquist/job/ConquistImportJob.java b/ems-engine/src/main/java/it/integry/ems/order/conquist/job/ConquistImportJob.java deleted file mode 100644 index f7c01999ca..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/conquist/job/ConquistImportJob.java +++ /dev/null @@ -1,230 +0,0 @@ -package it.integry.ems.order.conquist.job; - -import it.integry.common.var.CommonConstants; -import it.integry.ems.datasource.DataSource; -import it.integry.ems.json.ResponseJSONObjectMapper; -import it.integry.ems.properties.EmsProperties; -import it.integry.ems.response.EsitoType; -import it.integry.ems.response.ServiceRestResponse; -import it.integry.ems_model.config.EmsRestConstants; -import it.integry.ems_model.service.SetupGest; -import it.integry.ems_model.utility.UtilityString; -import it.integry.security.utility.RestUtil; -import org.apache.commons.io.FileUtils; -import org.apache.commons.io.IOUtils; -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; -import org.quartz.JobExecutionContext; -import org.quartz.JobExecutionException; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.scheduling.quartz.QuartzJobBean; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.ClientBuilder; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import java.io.File; -import java.io.FileInputStream; -import java.io.FileOutputStream; -import java.io.FilenameFilter; -import java.text.SimpleDateFormat; -import java.util.Arrays; -import java.util.Date; - -//copiata in /import generica -public class ConquistImportJob extends QuartzJobBean { - - private EmsProperties emsProperties; - private ResponseJSONObjectMapper jsonObjectMapper; - private SetupGest setupGest; - - private Logger logger = LogManager.getLogger(); - - public EmsProperties getEmsProperties() { - return emsProperties; - } - - @Autowired - public void setEmsProperties(EmsProperties emsProperties) { - this.emsProperties = emsProperties; - } - - public ResponseJSONObjectMapper getJsonObjectMapper() { - return jsonObjectMapper; - } - - @Autowired - public void setJsonObjectMapper(ResponseJSONObjectMapper jsonObjectMapper) { - this.jsonObjectMapper = jsonObjectMapper; - } - - public SetupGest getSetupGest() { - return setupGest; - } - - @Autowired - public void setSetupGest(SetupGest setupGest) { - this.setupGest = setupGest; - } - - @Override - protected void executeInternal(JobExecutionContext jobExecutionContext) throws JobExecutionException { - try { - DataSource ds = new DataSource(); - ds.initialize(emsProperties.getDefaultDatabase()); - - Boolean enabled = Boolean.parseBoolean(setupGest.getSetup(ds.getConnection(), - "IMPORT_ORDINI WEB", "CONQUIST", "ENABLED")); - - String folder = setupGest.getSetup(ds.getConnection(), "IMPORT_ORDINI WEB", - "CONQUIST", "FOLDER"); - - ds.close(); - - if (enabled && "/ems-api".equals(emsProperties.getRootApi())) { - - if (UtilityString.isNullOrEmpty(folder)) - throw new Exception("IMPORT_ORDINI WEB/CONQUIST/FOLDER non configurato correttamente"); - - String csv, auth; - String database = emsProperties.getDefaultDatabase(); - - File errorDirectory = new File(folder + "/import/error"); - if (!errorDirectory.exists()) - errorDirectory.mkdir(); - - File[] files = getFileList(folder, "clienti_"); - for (int i = 0; i < files.length; i++) { - File f = files[i]; - if (f.exists()) { - csv = FileUtils.readFileToString(f); - - auth = RestUtil.generateAuth(database, database, "POST", "", "text/plain", - emsProperties.getRootApi() + EmsRestConstants.PATH_IMPORT_CLIENTI_CQ); - - Client client = ClientBuilder.newClient(); - WebTarget resource = client.target(emsProperties.getEndPointWS()).path( - emsProperties.getRootApi() + EmsRestConstants.PATH_IMPORT_CLIENTI_CQ); - Response responseEms = resource.queryParam(CommonConstants.PROFILE_DB, database) - .request().header("Authorization", database + ":" + auth) - .post(Entity.text(csv)); - - String value = responseEms.readEntity(String.class); - logger.info("CLIENTI RESPONSE: " + value); - if (!UtilityString.isNullOrEmpty(value)) { - ServiceRestResponse resp = jsonObjectMapper.readValue(value, ServiceRestResponse.class); - - if (resp.getEsito() == EsitoType.KO) { - File dest = new File(folder + "/import/error/" + f.getName()); - FileOutputStream fos = new FileOutputStream(dest); - FileInputStream is = new FileInputStream(f); - IOUtils.copy(is, fos); - is.close(); - fos.close(); - f.delete(); - - logger.error("ERRORE IMPORTAZIONE CLIENTI CQ: " + value); - throw new Exception("Errore importazione clienti CQ"); - } else if (resp.getEsito() == EsitoType.OK) { - File dest = new File(folder + "/import/imported/" + f.getName()); - FileOutputStream fos = new FileOutputStream(dest); - FileInputStream is = new FileInputStream(f); - IOUtils.copy(is, fos); - is.close(); - fos.close(); - f.delete(); - } - } - responseEms.close(); - client.close(); - } - } - - files = getFileList(folder, "ordini_"); - for (int i = 0; i < files.length; i++) { - File f = files[i]; - if (f.exists()) { - csv = FileUtils.readFileToString(f); - - auth = RestUtil.generateAuth(database, database, "POST", "", "text/plain", - emsProperties.getRootApi() + EmsRestConstants.PATH_IMPORT_ORDINI_CQ); - - Client client = ClientBuilder.newClient(); - WebTarget resource = client.target(emsProperties.getEndPointWS()).path( - emsProperties.getRootApi() + EmsRestConstants.PATH_IMPORT_ORDINI_CQ); - Response responseEms = resource.queryParam(CommonConstants.PROFILE_DB, database) - .request().header("Authorization", database + ":" + auth) - .post(Entity.text(csv)); - - String value = responseEms.readEntity(String.class); - ServiceRestResponse resp = jsonObjectMapper.readValue(value, ServiceRestResponse.class); - - if (resp.getEsito() == EsitoType.KO) { - File dest = new File(folder + "/import/error/" + f.getName()); - FileOutputStream fos = new FileOutputStream(dest); - FileInputStream is = new FileInputStream(f); - IOUtils.copy(is, fos); - is.close(); - fos.close(); - f.delete(); - - logger.error("ERRORE IMPORTAZIONE ORDINI CQ: " + value); - throw new Exception("Errore importazione ORDINI CQ"); - } else { - File dest = new File(folder + "/import/imported/" + f.getName()); - FileOutputStream fos = new FileOutputStream(dest); - FileInputStream is = new FileInputStream(f); - IOUtils.copy(is, fos); - is.close(); - fos.close(); - f.delete(); - } - - responseEms.close(); - client.close(); - - // cancellazione file ordini - f.delete(); - } - } - } - } catch (Exception e) { - logger.error(e.getLocalizedMessage()); - e.printStackTrace(); - } - } - - private File[] getFileList(String folder, final String fileNameFilter) { - File directory = new File(folder + "/import"); - File[] files = directory.listFiles(new FilenameFilter() { - @Override - public boolean accept(File dir, String name) { - return name.startsWith(fileNameFilter); - } - }); - - Arrays.sort(files, (f1, f2) -> { - - String[] dataF1 = f1.getName().replace(".csv", "").split("_"); - String[] dataF2 = f2.getName().replace(".csv", "").split("_"); - - Date d1 = new Date(); - try { - d1 = new SimpleDateFormat("yyyyMMddHHmmss").parse(dataF1[1] + dataF1[2]); - } catch (Exception e) { - logger.error("getFileList", e); - e.printStackTrace(); - } - Date d2 = new Date(); - try { - d2 = new SimpleDateFormat("yyyyMMddHHmmss").parse(dataF2[1] + dataF2[2]); - } catch (Exception e) { - logger.error("getFileList", e); - e.printStackTrace(); - } - return d1.compareTo(d2); - }); - return files; - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/conquist/service/ConquistEcommerceService.java b/ems-engine/src/main/java/it/integry/ems/order/conquist/service/ConquistEcommerceService.java deleted file mode 100644 index 0d23ee79dc..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/conquist/service/ConquistEcommerceService.java +++ /dev/null @@ -1,913 +0,0 @@ -package it.integry.ems.order.conquist.service; - -import com.fasterxml.jackson.databind.node.ArrayNode; -import it.integry.common.var.CommonConstants; -import it.integry.ems.datasource.DataSource; -import it.integry.ems.file_formatter.csv.CsvMapper; -import it.integry.ems.json.ResponseJSONObjectMapper; -import it.integry.ems.order.conquist.dto.ClienteDTO; -import it.integry.ems.order.conquist.dto.OrdineDTO; -import it.integry.ems.order.conquist.dto.ProdottoDTO; -import it.integry.ems.order.conquist.dto.TrackingDTO; -import it.integry.ems.properties.EmsProperties; -import it.integry.ems.response.AttachmentDTO; -import it.integry.ems.response.EsitoType; -import it.integry.ems.response.FileItem; -import it.integry.ems.response.ServiceRestResponse; -import it.integry.ems.service.EntityProcessor; -import it.integry.ems.sync.MultiDBTransaction.MultiDBTransactionManager; -import it.integry.ems.system.service.AnagImportService; -import it.integry.ems.utility.UtilityEntity; -import it.integry.ems_model.base.EntityBase; -import it.integry.ems_model.config.EmsRestConstants; -import it.integry.ems_model.coollection.Coollection; -import it.integry.ems_model.db.ResultSetMapper; -import it.integry.ems_model.entity.*; -import it.integry.ems_model.service.SetupGest; -import it.integry.ems_model.types.OperationType; -import it.integry.ems_model.utility.UtilityBarcode; -import it.integry.ems_model.utility.UtilityDB; -import it.integry.ems_model.utility.UtilityString; -import it.integry.security.utility.RestUtil; -import org.apache.commons.io.IOUtils; -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; -import org.apache.pdfbox.pdmodel.PDDocument; -import org.apache.pdfbox.pdmodel.PDDocumentCatalog; -import org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.context.annotation.Scope; -import org.springframework.stereotype.Service; - -import javax.ws.rs.client.*; -import javax.ws.rs.core.Response; -import java.io.ByteArrayOutputStream; -import java.io.File; -import java.io.InputStream; -import java.io.StringWriter; -import java.math.BigDecimal; -import java.net.URL; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.util.*; - -@Service -@Scope("request") -public class ConquistEcommerceService { - - private final Logger logger = LogManager.getLogger(); - @Autowired - private EmsProperties prop; - @Autowired - private MultiDBTransactionManager multiDBTransactionManager; - @Autowired - private SetupGest setupGest; - @Autowired - private ResponseJSONObjectMapper objectMapper; - @Autowired - private EntityProcessor entityProcessor; - @Autowired - private AnagImportService anagImportService; - - public void importClienti(String csv) throws Exception { - Map mapSetupGest = setupGest.getSetupSection(multiDBTransactionManager.getPrimaryConnection(), "IMPORT_ORDINI WEB", "CONQUIST"); - - String defaultTipoFidelity = mapSetupGest.get("COD_FIDELITY"); - String pathFidelityTemplate = mapSetupGest.get("PATH_FIDELITY"); - - final String mailSubject = mapSetupGest.get("MAIL_SUBJECT"); - - String mailTemplateUrl = mapSetupGest.get("MAIL_TEMPLATE_URL"); - if (UtilityString.isNullOrEmpty(mailTemplateUrl)) - throw new Exception("IMPORT_ORDINI WEB/CONQUIST/MAIL_TEMPLATE_URL non configurato correttamente"); - URL url = new URL(mailTemplateUrl + "/mail_model.html"); - InputStream is = url.openStream(); - String mailText = IOUtils.toString(is); - - final String from = mapSetupGest.get("MAIL_FROM"); - - final String ccn = mapSetupGest.get("MAIL_CCN"); - - if (UtilityString.isNullOrEmpty(defaultTipoFidelity)) - throw new Exception("IMPORT_ORDINI WEB/CONQUIST/COD_FIDELITY non configurato correttamente"); - - Map map = new HashMap(); - - CsvMapper mapper = new CsvMapper(); - List clienti = mapper.deserialize(csv, ClienteDTO.class, "\t"); - if (clienti == null) - throw new Exception("Nessun cliente da importare"); - - Integer counter = -1; - ArrayNode list = objectMapper.createArrayNode(); - for (ClienteDTO clienteDTO : clienti) { - VtbFidelityAnag anagOld = new VtbFidelityAnag(); - //GENERAZIONE EAN FIDELITY ED INVIO MAIL - String sql = - "SELECT ean_fidelity " + - "FROM vtb_fidelity_anag " + - "WHERE e_mail =" + UtilityDB.valueToString(clienteDTO.getEmail()) + " AND " + - "cod_fidelity = " + UtilityDB.valueToString(defaultTipoFidelity); - PreparedStatement psCheck = multiDBTransactionManager.prepareStatement(sql); - ResultSet rsCheck = psCheck.executeQuery(); - - if (rsCheck.next()) { - clienteDTO.setCartaFidelity(rsCheck.getString(1)); - } else { - //if(!rsCheck.next() && UtilityString.isNullOrEmpty(clienteDTO.getCartaFidelity())) { - if (UtilityString.isNullOrEmpty(clienteDTO.getCartaFidelity())) { - sql = "SELECT concat(max(left(ean_fidelity, 3)), max_code) last_code" - + " FROM vtb_fidelity_anag, (SELECT max(right(ean_fidelity, 2)) as max_code" - + " FROM vtb_fidelity_anag where ean_fidelity like '[0-9]%' AND " - + " cod_fidelity = " + UtilityDB.valueToString(defaultTipoFidelity) + ") tmp" - + " where ean_fidelity like '[0-9]%' AND " + - " cod_fidelity = " + UtilityDB.valueToString(defaultTipoFidelity) - + " and right(ean_fidelity, 2) = tmp.max_code" - + " group by max_code"; - - PreparedStatement ps = multiDBTransactionManager.prepareStatement(sql); - ResultSet rs = ps.executeQuery(); - if (rs.next()) { - String lastCode = rs.getString("last_code"); - counter++; - Integer val = Integer.parseInt(lastCode.substring(0, 3)) + counter; - if (val == 999) { - val = 0; - String nextVal = UtilityString.getNextString(lastCode.substring(3)); - clienteDTO.setCartaFidelity(UtilityString.leftPad(val.toString(), 3, '0') + nextVal); - } else { - val++; - clienteDTO.setCartaFidelity(UtilityString.leftPad(val.toString(), 3, '0') + lastCode.substring(3)); - } - } else { - //AA=27 - String nextVal = UtilityString.getNextString(27); - clienteDTO.setCartaFidelity(UtilityString.leftPad("0", 3, '0') + nextVal); - } - - rs.close(); - ps.close(); - } - - /* - PDDocument pdfDoc = PDDocument.load(new File(pathFidelityTemplate + "/FIDELITY_CARD_TEMPLATE.pdf")); - PDDocumentCatalog docCatalog = pdfDoc.getDocumentCatalog(); - PDAcroForm acroForm = docCatalog.getAcroForm(); - - //CAMPO IN CHIARO - acroForm.getField("plain").setValue(clienteDTO.getCartaFidelity()); - acroForm.getField("plain").setReadOnly(true); - //CAMPO CODIFICATO - acroForm.getField("barcode").setValue(UtilityBarcode.encodeCode128(clienteDTO.getCartaFidelity())); - acroForm.getField("barcode").setReadOnly(true); - - ByteArrayOutputStream baos = new ByteArrayOutputStream(); - pdfDoc.save(baos); - baos.close(); - pdfDoc.close(); - - mailText = mailText.replace("%%NUM_FIDELITY%%", clienteDTO.getCartaFidelity()); - - List listAttachment = new ArrayList(); - listAttachment.add(new FileItem("Quore fidelity card.pdf", baos.toByteArray())); - - AttachmentDTO dto = new AttachmentDTO(); - dto.setFileByte(listAttachment); - - StringWriter writer = new StringWriter(); - objectMapper.writeValue(writer, dto); - - String jsonBody = writer.toString(); - String database = ds.getProfile(); - final String to = clienteDTO.getEmail(); - final String mailTextFinal = mailText; - String now = new SimpleDateFormat(CommonConstants.DATETIME_FORMAT_YMD).format(new Date()); - String auth = RestUtil.generateAuth(database, database, "POST", jsonBody, - "application/json", prop.getRootApi() + EmsRestConstants.PATH_SEND_MAIL, now); - - final Client client = ClientBuilder.newClient(); - WebTarget resource = client.target(prop.getEndPointWS()).path( - prop.getRootApi() + EmsRestConstants.PATH_SEND_MAIL) - .resolveTemplate("mode", "async"); - resource = resource.queryParam(CommonConstants.PROFILE_DB, database) - .queryParam("from", from).queryParam("to", to) - .queryParam("ccn", ccn) - .queryParam("subject", mailSubject).queryParam("msgText", mailTextFinal) - .queryParam("isHtml", true); - - resource.request().header("Authorization", database + ":" + auth) - .header("SignDate", now).async() - .post(Entity.json(jsonBody), new InvocationCallback() { - @Override - public void completed(Response response) { - String value = response.readEntity(String.class); - logger.info(response.getStatus() + " - " + value); - response.close(); - client.close(); - try { - ServiceRestResponse respWr = objectMapper.readValue(value, ServiceRestResponse.class); - if(respWr.getEsito()==EsitoType.KO) { - - MultiDBTransactionManager multiDBTransactionManager = new MultiDBTransactionManager(ds); - - StbEmailRecovery emailRecovery = new StbEmailRecovery(); - emailRecovery.setOperation(OperationType.INSERT); - emailRecovery.setFromMail(from); - emailRecovery.setToMail(to); - emailRecovery.setDataIns(new Date()); - emailRecovery.setSubject(mailSubject); - emailRecovery.setMsgtext(mailTextFinal); - entityProcessor.processEntity(emailRecovery, multiDBTransactionManager); - multiDBTransactionManager.closeAll(); - } - } catch (Exception e1) { - e1.printStackTrace(); - } - } - - @Override - public void failed(Throwable throwable) { - throwable.printStackTrace(); - logger.error(throwable); - client.close(); - } - }); */ - } - rsCheck.close(); - psCheck.close(); - - anagOld.setCodFidelity(defaultTipoFidelity); - anagOld.setEanFidelity(clienteDTO.getCartaFidelity()); - anagOld.setOperation(OperationType.SELECT_OBJECT); - anagOld = (VtbFidelityAnag) entityProcessor.processEntity(anagOld, multiDBTransactionManager); - - VtbFidelityAnag fidelityAnag = new VtbFidelityAnag(); - fidelityAnag.setOperation(OperationType.INSERT_OR_UPDATE); - - fidelityAnag.setNome(clienteDTO.getFirstName()); - fidelityAnag.setCognome(clienteDTO.getLastName()); - fidelityAnag.setUserName(clienteDTO.getUsername()); - fidelityAnag.setNominativo(clienteDTO.getFirstName() + " " + clienteDTO.getLastName()); - - fidelityAnag.setIndirizzo(clienteDTO.getAddress1()); - fidelityAnag.setCap(clienteDTO.getZip()); - fidelityAnag.setCitta(clienteDTO.getCity()); - fidelityAnag.setTelefono(clienteDTO.getPhone1()); - fidelityAnag.seteMail(clienteDTO.getEmail()); - fidelityAnag.setEanFidelity(clienteDTO.getCartaFidelity()); - fidelityAnag.setCodFidelity(defaultTipoFidelity); - - fidelityAnag.setSesso(clienteDTO.getSesso()); - if (!UtilityString.isNullOrEmpty(clienteDTO.getDatanascita()) && !"0000-00-00".equals(clienteDTO.getDatanascita())) - fidelityAnag.setDataNascita(UtilityString.parseDate(clienteDTO.getDatanascita())); - fidelityAnag.setDataMod(new Date()); - if (anagOld != null) { - //cambiati dati fondamentali, i dati verranno salvati su tabella di log - if (!(anagOld.geteMail() != null && anagOld.geteMail().equals(clienteDTO.getEmail())) || - !(anagOld.getTelefono() != null && anagOld.getTelefono().equals(clienteDTO.getPhone1()))) { - map.put(anagOld.getEanFidelity(), anagOld); - } - } - list.addPOJO(fidelityAnag); - } - - if (!list.isEmpty()) { - StringWriter writer = new StringWriter(); - objectMapper.writeValue(writer, list); - - String database = multiDBTransactionManager.getPrimaryConnection().getProfileName(); - String jsonBody = writer.toString(); - - String auth = RestUtil.generateAuth(database, database, "POST", - jsonBody, "application/json", prop.getRootApi() + EmsRestConstants.PATH_PROCESS_ENTITY_LIST); - - final Client client = ClientBuilder.newClient(); - final WebTarget resource = client.target(prop.getEndPointWS()) - .path(prop.getRootApi() + EmsRestConstants.PATH_PROCESS_ENTITY_LIST); - Response response = resource.queryParam(CommonConstants.PROFILE_DB, database) - .request() - .header("Authorization", database + ":" + auth) - .post(Entity.json(jsonBody)); - - DataSource dsConquist = new DataSource(); - dsConquist.initialize("MAFRAT2CONQUIST"); - String str = response.readEntity(String.class); - response.close(); - client.close(); - - ServiceRestResponse[] respList = objectMapper.readValue(str, ServiceRestResponse[].class); - for (ServiceRestResponse serviceRestResponse : respList) { - if (serviceRestResponse.getEsito() == EsitoType.OK) { - if (serviceRestResponse.getEntity() != null) { - VtbFidelityAnag entity = (VtbFidelityAnag) serviceRestResponse.getEntity(); - if (entity != null && map.get(entity.getEanFidelity()) != null) { - VtbFidelityAnag anagOld = (VtbFidelityAnag) map.get(entity.getEanFidelity()); - String insert = "INSERT INTO vtb_fidelity_anag_log" - + " (ean_fidelity, data_variaz, cod_fidelity, nominativo, indirizzo, cap, citta, prov, telefono, e_mail, cod_mdep, data_ins, data_mod)" - + " VALUES (" + UtilityDB.valueToString(anagOld.getEanFidelity()) + ", " - + " GetDate(), " - + UtilityDB.valueToString(anagOld.getCodFidelity()) + "," + UtilityDB.valueToString(anagOld.getNominativo()) + "," + UtilityDB.valueToString(anagOld.getIndirizzo()) + ", " - + UtilityDB.valueToString(anagOld.getCap()) + ", " + UtilityDB.valueToString(anagOld.getCitta()) + ", " + UtilityDB.valueToString(anagOld.getProv()) + ", " - + UtilityDB.valueToString(anagOld.getTelefono()) + ", " + UtilityDB.valueToString(anagOld.geteMail()) + ", " + UtilityDB.valueToString(anagOld.getCodMdep()) + ", " - + UtilityDB.valueDateToString(new Date(), "yyyy-MM-dd HH:mm:ss.SSS") + ", " + UtilityDB.valueDateToString(new Date(), CommonConstants.DATETIME_FORMAT_YMD) + ")"; - - PreparedStatement ps = dsConquist.getConnection().prepareStatement(insert); - ps.executeUpdate(); - } - } - } else { - throw new Exception(serviceRestResponse.getErrorMessage()); - } - } - dsConquist.getConnection().commit(); - dsConquist.close(); - - String sql = "SELECT ean_fidelity, e_mail " + - "FROM vtb_fidelity_anag " + - "WHERE cod_fidelity = " + UtilityDB.valueToString(defaultTipoFidelity) + " AND " + - "Convert(varchar(10), data_ins, 121) = Convert(varchar(10), getDate(), 121)"; - PreparedStatement ps = multiDBTransactionManager.prepareStatement(sql); - ResultSet rs = ps.executeQuery(); - - while (rs.next()) { - String eanFildelity = rs.getString(1); - final String to = rs.getString(2); - PDDocument pdfDoc = PDDocument.load(new File(pathFidelityTemplate + "/FIDELITY_CARD_TEMPLATE.pdf")); - PDDocumentCatalog docCatalog = pdfDoc.getDocumentCatalog(); - PDAcroForm acroForm = docCatalog.getAcroForm(); - - //CAMPO IN CHIARO - acroForm.getField("plain").setValue(eanFildelity); - acroForm.getField("plain").setReadOnly(true); - //CAMPO CODIFICATO - acroForm.getField("barcode").setValue(UtilityBarcode.encodeCode128(eanFildelity)); - acroForm.getField("barcode").setReadOnly(true); - - ByteArrayOutputStream baos = new ByteArrayOutputStream(); - pdfDoc.save(baos); - baos.close(); - pdfDoc.close(); - - mailText = mailText.replace("%%NUM_FIDELITY%%", eanFildelity); - - List listAttachment = new ArrayList(); - listAttachment.add(new FileItem("Quore fidelity card.pdf", baos.toByteArray())); - - AttachmentDTO dto = new AttachmentDTO(); - dto.setFileByte(listAttachment); - writer = new StringWriter(); - objectMapper.writeValue(writer, dto); - - jsonBody = writer.toString(); - database = multiDBTransactionManager.getPrimaryConnection().getProfileName(); - final String mailTextFinal = mailText; - auth = RestUtil.generateAuth(database, database, "POST", jsonBody, - "application/json", prop.getRootApi() + EmsRestConstants.PATH_SEND_MAIL); - - final Client clientEmail = ClientBuilder.newClient(); - WebTarget resourceEmail = clientEmail.target(prop.getEndPointWS()).path( - prop.getRootApi() + EmsRestConstants.PATH_SEND_MAIL) - .resolveTemplate("mode", "async"); - resourceEmail = resourceEmail.queryParam(CommonConstants.PROFILE_DB, database) - .queryParam("from", from).queryParam("to", to) - .queryParam("ccn", ccn) - .queryParam("subject", mailSubject).queryParam("msgText", mailTextFinal) - .queryParam("isHtml", true); - - resourceEmail.request().header("Authorization", database + ":" + auth) - .async() - .post(Entity.json(jsonBody), new InvocationCallback() { - @Override - public void completed(Response response) { - String value = response.readEntity(String.class); - logger.info(response.getStatus() + " - " + value); - response.close(); - client.close(); - try { - ServiceRestResponse respWr = objectMapper.readValue(value, ServiceRestResponse.class); - if (respWr.getEsito() == EsitoType.KO) { - - StbEmailRecovery emailRecovery = new StbEmailRecovery(); - emailRecovery.setOperation(OperationType.INSERT); - emailRecovery.setFromMail(from); - emailRecovery.setToMail(to); - emailRecovery.setDataIns(new Date()); - emailRecovery.setSubject(mailSubject); - emailRecovery.setMsgtext(mailTextFinal); - entityProcessor.processEntity(emailRecovery, multiDBTransactionManager); - multiDBTransactionManager.close(); - } - } catch (Exception e1) { - e1.printStackTrace(); - } - } - - @Override - public void failed(Throwable throwable) { - throwable.printStackTrace(); - logger.error(throwable); - client.close(); - } - }); - } - } - } - - /** - * Già esportato. Vedi modulo ems-system. - * - * @return - * @throws Exception - */ - @Deprecated - public FileItem exportClienti() throws Exception { - String header = "name\tusername\temail\tpassword\tfirst_name\tlast_name\taddress_1\tzip\tcity\tphone_1\tcarta_fidelity\tusergroup_name\taddress_type\taddress_type_name\tsesso\tdatanascita\tcivico"; - String sql = "SELECT nome + ' ' + cognome as name, user_name as username, ean_fidelity as carta_fidelity, e_mail as email, nome as first_name, cognome as last_name, indirizzo as address_1," - + " cap as zip, citta as city, telefono as phone_1, " - + " 'Registered' as usergroup_name, 'Billing address' as address_type, " - + " sesso, convert(varchar(10),data_nascita,120) as datanascita, '' as civico" - + " FROM vtb_fidelity_anag where user_name is not null"; - - List clienti = new ResultSetMapper() - .mapQuerySetToList(multiDBTransactionManager.getPrimaryConnection(), sql, ClienteDTO.class); - - String folder = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), "IMPORT_ORDINI WEB", "CONQUIST", "FOLDER"); - File f = new File(folder + "/export/clienti.csv"); - Boolean hasHeader = true; - if (f.exists()) - hasHeader = false; - - CsvMapper mapper = new CsvMapper(); - String csv = mapper.serialize(clienti, "\t", header, hasHeader); - FileItem item = new FileItem("clienti.csv", csv.getBytes(), "csv"); - -// String upd = "UPDATE vtb_fidelity_anag set inviato='S' where nominativo <> 'NUOVO CLIENTE FIDELIZZATO' and inviato = 'N'"; -// PreparedStatement ps = multiDBTransactionManager.prepareStatement(upd); -// ps.executeUpdate(); -// ps.close(); - - return item; - } - - /** - * Già esportato. Vedi modulo ems-product - * - * @return - * @throws Exception - */ - @Deprecated - public FileItem exportProdotti() throws Exception { - - String header = "product_sku\tproduct_parent_sku\tmulti_variant_title\tmulti_variant_fields\tproduct_name\tcolore\ttaglia\tproduct_desc\tproduct_s_desc\tcategory_path\t" - + "manufacturer_name\tpublished\tproduct_price\tproduct_discount_id\tproduct_tax_id\tproduct_in_stock\tfile_url\tfile_url_thumb\tfile_title\tfile_description\t" - + "file_meta\tfile_ordering\tproduct_mpn\tproduct_override_price"; - - String sql = "SELECT cod_style, product_sku, product_parent_sku, multi_variant_title," - + "multi_variant_fields, product_name, colore, taglia, product_desc, product_s_desc," - + "category_path, manufacturer_name, published, product_price, product_discount_id," - + "product_tax_id, product_in_stock, file_ordering, product_mpn, file_url," - + "file_url_thumb, file_title, file_meta, product_override_price " - + "FROM Mafrat2Conquist.dbo.IMPORT_PRODOTTI " - + "order by cod_style, isnull(CASE WHEN product_sku = product_parent_sku then Null else product_parent_sku end, '')"; - - List prodotti = new ResultSetMapper() - .mapQuerySetToList(multiDBTransactionManager.getPrimaryConnection(), sql, ProdottoDTO.class); - - String folder = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), "IMPORT_ORDINI WEB", "CONQUIST", "FOLDER"); - File f = new File(folder + "/export/prodotti.csv"); - Boolean hasHeader = true; - if (f.exists()) - hasHeader = false; - - CsvMapper mapper = new CsvMapper(); - String csv = mapper.serialize(prodotti, "\t", header, hasHeader); - FileItem item = new FileItem("prodotti.csv", csv.getBytes(), "csv"); - return item; - } - - public FileItem exportTracking(List trackingList) throws Exception { - - String header = "virtuemart_order_id\tvirtuemart_product_sku\torder_status"; - - String folder = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), "IMPORT_ORDINI WEB", "CONQUIST", "FOLDER"); - File f = new File(folder + "/export/tracking.csv"); - Boolean hasHeader = true; - if (f.exists()) - hasHeader = false; - - CsvMapper mapper = new CsvMapper(); - String csv = mapper.serialize(trackingList, "\t", header, hasHeader); - FileItem item = new FileItem("tracking.csv", csv.getBytes(), "csv"); - return item; - } - - public List importOrdini(String csv) throws Exception { - CsvMapper mapper = new CsvMapper(); - List ordini = mapper.deserialize(csv, OrdineDTO.class, "\t"); - if (ordini == null) - throw new Exception("Nessun ordine da importare"); - - - List list = new ArrayList(); - Map mapCurrency = new HashMap(); - - Date dataOrdOld = new Date(); - Integer numOrdOld = 0; - Integer productId = 0; - WdtbOrdt ordineWeb = null; - GtbAnag anag = null; - - Map mapSetupGest = setupGest.getSetupSection(multiDBTransactionManager.getPrimaryConnection(), "IMPORT_ORDINI WEB", "CONQUIST"); - - String codMdep = mapSetupGest.get("COD_MDEP"); -// String codPaga = mapSetupGest.get("COD_PAGA"); - String codPagaContr = mapSetupGest.get("COD_PAGA_CONTR"); - String codVage = mapSetupGest.get("COD_VAGE"); - String serie = mapSetupGest.get("SERIE"); - String defaultCodAnag = mapSetupGest.get("COD_ANAG"); - final String from = mapSetupGest.get("MAIL_FROM"); - - String mailTemplateUrl = mapSetupGest.get("MAIL_TEMPLATE_URL"); - if (UtilityString.isNullOrEmpty(mailTemplateUrl)) - throw new Exception("IMPORT_ORDINI WEB/CONQUIST/MAIL_TEMPLATE_URL non configurato correttamente"); - URL url = new URL(mailTemplateUrl + "/mail_presa_ordine.html"); - InputStream is = url.openStream(); - String mailText = IOUtils.toString(is); - - if (UtilityString.isNullOrEmpty(codMdep)) - throw new Exception("IMPORT_ORDINI WEB/CONQUIST/COD_MDEP non configurato correttamente"); - -// if(UtilityString.isNullOrEmpty(codPaga)) -// throw new Exception("IMPORT_ORDINI WEB/CONQUIST/COD_PAGA non configurato correttamente"); - - if (UtilityString.isNullOrEmpty(serie)) - throw new Exception("IMPORT_ORDINI WEB/CONQUIST/SERIE non configurato correttamente"); - - if (UtilityString.isNullOrEmpty(defaultCodAnag)) - throw new Exception("IMPORT_ORDINI WEB/CONQUIST/COD_ANAG non configurato correttamente"); - - final String ccn = mapSetupGest.get("MAIL_CCN"); - - String negozioScelto = "", email = ""; - Boolean rigaDestPresente = false; - - ordini = Coollection.from(ordini).orderBy("orderNumber").all(); - Boolean existOrd = false; - - for (int i = 0; i < ordini.size(); i++) { - - OrdineDTO ordine = ordini.get(i); - - if (dataOrdOld != null && ordine.getCreatedOn() != null & dataOrdOld.compareTo(ordine.getCreatedOn()) != 0 && - !numOrdOld.equals(ordine.getVirtuemartOrderId())) { - Date d = new Date(); - negozioScelto = ""; - rigaDestPresente = false; - email = ""; - - //controllo esistenza ordine - String sql = - "SELECT count(*) " + - " FROM wdtb_ordt " + - " WHERE wdtb_ordt.rif_ord = " + UtilityDB.valueToString(ordine.getOrderNumber()) + " AND " + - "wdtb_ordt.num_ord_rif = " + UtilityDB.valueToString(ordine.getVirtuemartOrderId()) + " AND " + - "wdtb_ordt.data_ord_rif = " + UtilityDB.valueDateToString(ordine.getCreatedOn(), CommonConstants.DATE_FORMAT_YMD); - PreparedStatement ps = multiDBTransactionManager.prepareStatement(sql); - ResultSet rs = ps.executeQuery(); - existOrd = false; - if (rs.next()) { - existOrd = rs.getInt(1) > 0; - } - rs.close(); - ps.close(); - - if (!existOrd) { - ordineWeb = new WdtbOrdt(); - ordineWeb.setOperation(OperationType.INSERT_OR_UPDATE); - ordineWeb.setWdtbOrdr(new ArrayList()); - ordineWeb.setGestione("V"); - ordineWeb.setCodVage(codVage); - - if (mapCurrency.get(ordine.getUserCurrency()) == null) { - sql = "SELECT cod_divi FROM gtb_divi " - + "where cod_divi_iso = " + UtilityDB.valueToString(ordine.getUserCurrency()); - ps = multiDBTransactionManager.prepareStatement(sql); - rs = ps.executeQuery(); - if (rs.next()) { - mapCurrency.put(ordine.getUserCurrency(), rs.getString("cod_divi")); - } - rs.close(); - ps.close(); - } - ordineWeb.setCodDivi(mapCurrency.get(ordine.getUserCurrency())); - ordineWeb.setCodMdep(codMdep); - - ordineWeb.setDataOrd(d); - ordineWeb.setRifOrd(ordine.getOrderNumber()); - ordineWeb.setDataOrdRif(ordine.getCreatedOn()); - ordineWeb.setNumOrdRif(ordine.getVirtuemartOrderId()); - ordineWeb.setSerie(serie); - ordineWeb.setDataInsOrd(d); - ordineWeb.setCompilatoDa("IMPORT_CONQUIST"); - ordineWeb.setNote(ordine.getCustomerNote()); - if (ordine.getOrderPayment().compareTo(BigDecimal.ZERO) > 0) { - ordineWeb.setCodPaga(codPagaContr); - } - - list.add(ordineWeb); - - dataOrdOld = ordine.getCreatedOn(); - numOrdOld = ordine.getVirtuemartOrderId(); - //annullamento del product ID - productId = -1; - } - } - - if (!existOrd) { - if (rigaDestPresente && UtilityString.isNullOrEmpty(negozioScelto)) { - createOrGetDestMerce(ordineWeb, ordine, negozioScelto, email, defaultCodAnag, multiDBTransactionManager); - } - - if (dataOrdOld.compareTo(ordine.getCreatedOn()) == 0 && numOrdOld.equals(ordine.getVirtuemartOrderId()) && - !productId.equals(ordine.getVirtuemartProductId())) { - - dataOrdOld = ordine.getCreatedOn(); - numOrdOld = ordine.getVirtuemartOrderId(); - productId = ordine.getVirtuemartProductId(); - negozioScelto = ordine.getNegozioScelto(); - email = ordine.getEmail(); - - WdtbOrdr row = new WdtbOrdr(); - row.setOperation(OperationType.INSERT_OR_UPDATE); - ordineWeb.getWdtbOrdr().add(row); - - String sql = "select ttb_bar_code.cod_style, ttb_bar_code.cod_col, " - + " ttb_bar_code.cod_tagl, mtb_aart.descrizione, mtb_aart.cod_aliq, aliq.perc_aliq" - + " from mtb_aart, ttb_bar_code, gtb_aliq aliq" - + " where cod_barre = " + UtilityDB.valueToString(ordine.getOrderItemSku()) - + " and mtb_aart.cod_mart = ttb_bar_code.cod_style and mtb_aart.cod_aliq = aliq.cod_aliq"; - PreparedStatement ps = multiDBTransactionManager.prepareStatement(sql); - ResultSet rs = ps.executeQuery(); - if (rs.next()) { - row.setCodMart(rs.getString("cod_style")); - row.setCodCol(rs.getString("cod_col")); - row.setCodTagl(rs.getString("cod_tagl")); - row.setDescrizione(rs.getString("descrizione")); - row.setCodAliq(rs.getString("cod_aliq")); - row.setPercAliq(rs.getBigDecimal("perc_aliq")); - } - rs.close(); - ps.close(); - - row.setQtaOrd(BigDecimal.valueOf(ordine.getProductQuantity())); - row.setValUnt(ordine.getProductFinalPrice().subtract(ordine.getProductTax()). - setScale(EmsRestConstants.cifreDecMax, BigDecimal.ROUND_HALF_UP)); - - if (i + 1 < ordini.size() && productId.equals(ordini.get(i + 1).getVirtuemartProductId())) { - rigaDestPresente = true; - } - - if ("1".equals(ordine.getRichiestaFattura())) { - anag = new GtbAnag(); - if (!UtilityString.isNullOrEmpty(ordine.getEmail())) { - anag.seteMail(ordine.getEmail()); - - if (!UtilityString.isNullOrEmpty(ordine.getPartitaIva())) - anag.setPartIva(ordine.getPartitaIva()); - if (!UtilityString.isNullOrEmpty(ordine.getCodiceFiscale())) - anag.setCodFisc(ordine.getCodiceFiscale()); - } - - List listCheckAnag = checkClieDestExists(multiDBTransactionManager.getPrimaryConnection().getProfileName(), anag); - if (!listCheckAnag.isEmpty()) { - EntityBase entity = listCheckAnag.get(0); - if (entity instanceof GtbAnag) { - GtbAnag anagFinded = ((GtbAnag) entity); - ordineWeb.setCodAnag(anagFinded.getCodAnag()); - } - } else { - anag.setRagSoc(ordine.getFullName()); - anag.setIndirizzo(ordine.getIndirizzoFattura() + " " + ordine.getCivicoFattura()); - anag.setCap(ordine.getCapFattura()); - anag.setCitta(ordine.getCittaFattura()); - anag.setProv(ordine.getProvinciaFattura()); - anag.setOperation(OperationType.INSERT); - anag.setPrecode("Q"); - VtbClie clie = new VtbClie(); - clie.setOperation(OperationType.INSERT); - clie.setGtbAnag(anag); - - entityProcessor.processEntity(clie, multiDBTransactionManager); - ordineWeb.setCodAnag(clie.getCodAnag()); - } - if (!rigaDestPresente) { - // aggancio destinazione - createOrGetDestMerce(ordineWeb, ordine, negozioScelto, email, defaultCodAnag, multiDBTransactionManager); - } - } else { - ordineWeb.setCodAnag(defaultCodAnag); - if (!rigaDestPresente) { - createOrGetDestMerce(ordineWeb, ordine, negozioScelto, email, defaultCodAnag, multiDBTransactionManager); - } - } - } - } - } - - if (!list.isEmpty()) { - list = entityProcessor.processEntityList(list, true); - - for (EntityBase entityBase : list) { - if (entityBase.getException() == null) { - - WdtbOrdt ordT = (WdtbOrdt) entityBase; - String sql; - if (ordT.getCodAnag().equals(defaultCodAnag)) { - sql = "select e_mail from vtb_dest where cod_vdes = " + UtilityDB.valueToString(ordT.getCodVdes()) - + " and cod_anag = " + UtilityDB.valueToString(ordT.getCodAnag()); - } else { - sql = "select e_mail from gtb_anag where cod_anag = " + UtilityDB.valueToString(ordT.getCodAnag()); - } - - mailText = mailText.replace("%%NUM_ORD_CQ%%", ordT.getNumOrdRif().toString()); - final String mailTextFinal = mailText; - - PreparedStatement ps = multiDBTransactionManager.prepareStatement(sql); - ResultSet rs = ps.executeQuery(); - if (rs.next()) { - final String emailCliente = rs.getString("e_mail"); - final String subj = "Quore - Conferma d'ordine"; - - if (!UtilityString.isNullOrEmpty(emailCliente)) { - String database = multiDBTransactionManager.getPrimaryConnection().getProfileName(); - - String auth = RestUtil.generateAuth(database, database, "POST", "", - "application/json", prop.getRootApi() + EmsRestConstants.PATH_SEND_MAIL); - - final Client client = ClientBuilder.newClient(); - WebTarget resource = client.target(prop.getEndPointWS()).path( - prop.getRootApi() + EmsRestConstants.PATH_SEND_MAIL) - .resolveTemplate("mode", "async"); - resource = resource.queryParam(CommonConstants.PROFILE_DB, database) - .queryParam("from", from).queryParam("to", emailCliente) - .queryParam("ccn", ccn) - .queryParam("subject", subj) - .queryParam("msgText", mailTextFinal) - .queryParam("isHtml", true); - - resource.request().header("Authorization", database + ":" + auth) - .async() - .post(Entity.json(""), new InvocationCallback() { - @Override - public void completed(Response response) { - String value = response.readEntity(String.class); - logger.info(response.getStatus() + " - " + value); - response.close(); - client.close(); - try { - ServiceRestResponse respWr = objectMapper.readValue(value, ServiceRestResponse.class); - if (respWr.getEsito() == EsitoType.KO) { - - StbEmailRecovery emailRecovery = new StbEmailRecovery(); - emailRecovery.setOperation(OperationType.INSERT); - emailRecovery.setFromMail(from); - emailRecovery.setToMail(emailCliente); - emailRecovery.setDataIns(new Date()); - emailRecovery.setSubject(subj); - emailRecovery.setMsgtext(mailTextFinal); - entityProcessor.processEntity(emailRecovery, multiDBTransactionManager); - } - } catch (Exception e1) { - e1.printStackTrace(); - } - } - - @Override - public void failed(Throwable throwable) { - throwable.printStackTrace(); - logger.error(throwable); - client.close(); - } - }); - } - } - rs.close(); - - } - } - - } - - return UtilityEntity.toServiceRestResponse(list); - } - - private void createOrGetDestMerce(WdtbOrdt ordineWeb, OrdineDTO ordine, - String negozioScelto, String email, String defaultCodAnag, - MultiDBTransactionManager multiDBTransactionManager) - throws Exception { - String sql; - PreparedStatement ps; - ResultSet rs; - - if (UtilityString.isNullOrEmpty(negozioScelto)) { - //destinarario fisico - List listDest = new ArrayList(); - GtbAnag anagSearch = new GtbAnag(); - anagSearch.setCodAnag(ordineWeb.getCodAnag()); - VtbDest dest = new VtbDest(); - dest.setDestinatario(ordine.getFullName()); - dest.setIndirizzo(ordine.getAddress1() + " " + ordine.getCivico()); - dest.setCitta(ordine.getCity()); - dest.setCap(ordine.getZip()); - dest.setOperation(OperationType.INSERT); - - listDest.add(dest); - anagSearch.setVtbDest(listDest); - List listCheckAnag = checkClieDestExists(multiDBTransactionManager.getPrimaryConnection().getProfileName(), anagSearch); - if (!listCheckAnag.isEmpty()) { - EntityBase entity = listCheckAnag.get(0); - if (entity instanceof VtbDest) { - VtbDest destFinded = ((VtbDest) entity); - destFinded.seteMail(email); - destFinded.setTel(ordine.getPhone1()); - destFinded.setOperation(OperationType.UPDATE); - entityProcessor.processEntity(destFinded, multiDBTransactionManager); - - ordineWeb.setCodVdes(destFinded.getCodVdes()); - } - } - //gestire eccezione anagrafica non presente - } else { - //ritiro da negozio - sql = "select * from vtb_dest where cod_affiliazione = " + UtilityDB.valueToString(negozioScelto) - + " and cod_anag = " + UtilityDB.valueToString(defaultCodAnag); -/* - VtbDest dest = new VtbDest(); - dest.setNativeSql(sql); - dest.setOperation(OperationType.SELECT); - - EntityBase[] entityList = (EntityBase[]) entityProcessor.processEntity(dest, multiDBTransactionManager); -*/ - ps = multiDBTransactionManager.prepareStatement(sql); - rs = ps.executeQuery(); - - List listVtbDest = new ResultSetMapper() - .mapResultSetToList(rs, VtbDest.class, OperationType.SELECT_OBJECT); - - if (listVtbDest != null && !listVtbDest.isEmpty()) { - VtbDest dest = listVtbDest.get(0); - - //se il destinatario è un negozio, ma il cliente richiede fattura, copio il destinarario nel cliente anagrafato - if (!dest.getCodAnag().equals(ordineWeb.getCodAnag())) { - dest.setCodAnag(ordineWeb.getCodAnag()); - dest.setOperation(OperationType.INSERT_OR_UPDATE); - entityProcessor.processEntity(dest, multiDBTransactionManager); - } - ordineWeb.setCodVdes(dest.getCodVdes()); - } - rs.close(); - ps.close(); - } - sql = "select ean_fidelity from vtb_fidelity_anag " - + "where e_mail = " + UtilityDB.valueToString(email); - ps = multiDBTransactionManager.prepareStatement(sql); - rs = ps.executeQuery(); - if (rs.next()) { - ordineWeb.setEanFidelity(rs.getString("ean_fidelity")); - } - rs.close(); - ps.close(); - } - - private List checkClieDestExists(String database, GtbAnag gtbAnag) throws Exception { - - return anagImportService.importClieAnagInternal(gtbAnag, "Q"); - /* - // put the resultset in a containing structure - StringWriter writer = new StringWriter(); - objectMapper.writeValue(writer, gtbAnag); - - String jsonBody = writer.toString(); - - String auth = RestUtil.generateAuth(database, database, "POST", jsonBody, "application/json", - prop.getRootApi() + EmsRestConstants.PATH_IMPORT_CLIE_ANAG); - - final Client client = ClientBuilder.newClient(); - final WebTarget resource = client.target(prop.getEndPointWS()).path( - prop.getRootApi() + EmsRestConstants.PATH_IMPORT_CLIE_ANAG); - Response response = resource.queryParam(CommonConstants.PROFILE_DB, database) - .queryParam("precode", "Q").request() - .header("Authorization", database + ":" + auth) - .post(Entity.json(jsonBody)); - - String entityStr = response.readEntity(String.class); - logger.info(entityStr); - ServiceRestResponse value = objectMapper.readValue(entityStr, ServiceRestResponse.class); - - response.close(); - client.close(); - - return value; - */ - } -} \ No newline at end of file diff --git a/ems-engine/src/main/java/it/integry/ems/order/controller/OrderController.java b/ems-engine/src/main/java/it/integry/ems/order/controller/OrderController.java index d458fd3cd5..19dac56ab5 100644 --- a/ems-engine/src/main/java/it/integry/ems/order/controller/OrderController.java +++ b/ems-engine/src/main/java/it/integry/ems/order/controller/OrderController.java @@ -3,11 +3,8 @@ package it.integry.ems.order.controller; import it.integry.common.var.CommonConstants; import it.integry.ems.Import.dto.ImportRequestDTO; import it.integry.ems.json.ResponseJSONObjectMapper; -import it.integry.ems.order.amazon.controller.AmazonOrderImportController; -import it.integry.ems.order.conquist.controller.ConquistEcommerceController; import it.integry.ems.order.dto.*; import it.integry.ems.order.service.*; -import it.integry.ems.order.socialware.controller.SocialWareEcommerceController; import it.integry.ems.response.EsitoType; import it.integry.ems.response.FileItem; import it.integry.ems.response.ServiceRestResponse; @@ -67,15 +64,6 @@ public class OrderController { Method[] methods = OrderController.class.getDeclaredMethods(); List list = serviceChecker.getServiceStatus(methods, OrderController.class); - Method[] methodsAmazon = AmazonOrderImportController.class.getDeclaredMethods(); - list.addAll(serviceChecker.getServiceStatus(methodsAmazon, AmazonOrderImportController.class)); - - Method[] methodsCq = ConquistEcommerceController.class.getDeclaredMethods(); - list.addAll(serviceChecker.getServiceStatus(methodsCq, ConquistEcommerceController.class)); - - Method[] methodsSW = SocialWareEcommerceController.class.getDeclaredMethods(); - list.addAll(serviceChecker.getServiceStatus(methodsSW, SocialWareEcommerceController.class)); - return list; } diff --git a/ems-engine/src/main/java/it/integry/ems/order/crm/controller/CrmController.java b/ems-engine/src/main/java/it/integry/ems/order/crm/controller/CrmController.java index 9edebb54b9..10a1611f7c 100644 --- a/ems-engine/src/main/java/it/integry/ems/order/crm/controller/CrmController.java +++ b/ems-engine/src/main/java/it/integry/ems/order/crm/controller/CrmController.java @@ -1,7 +1,9 @@ package it.integry.ems.order.crm.controller; import it.integry.common.var.CommonConstants; +import it.integry.ems.order.crm.dto.CRMProspectRequestDTO; import it.integry.ems.order.crm.dto.CRMActivityDTO; +import it.integry.ems.order.crm.dto.CRMAnagRequestDTO; import it.integry.ems.order.crm.dto.CRMRetrieveActivityRequestDTO; import it.integry.ems.order.crm.dto.completeOrder.CRMCompleteOrderRequestDTO; import it.integry.ems.order.crm.dto.createContact.CRMCreateContactRequestDTO; @@ -13,7 +15,6 @@ import org.springframework.context.annotation.Scope; import org.springframework.format.annotation.DateTimeFormat; import org.springframework.web.bind.annotation.*; -import java.util.List; import java.time.LocalDate; @RestController @@ -24,72 +25,79 @@ public class CrmController { @Autowired private CrmService crmService; - @RequestMapping(value = "createContact", method = RequestMethod.POST) + @PostMapping(value = "createContact") public ServiceRestResponse createContact(@RequestParam(CommonConstants.PROFILE_DB) String config, @RequestBody CRMCreateContactRequestDTO createContactDTO) throws Exception { return ServiceRestResponse.createPositiveResponse(crmService.createContact(createContactDTO)); } - @RequestMapping(value = "saveActivity", method = RequestMethod.POST) + @PostMapping(value = "saveActivity") public ServiceRestResponse saveActivity(@RequestParam(CommonConstants.PROFILE_DB) String config, @RequestBody CRMActivityDTO activityRequest) throws Exception { return ServiceRestResponse.createPositiveResponse(crmService.saveActivity(activityRequest)); } - @RequestMapping(value = "completeOrder", method = RequestMethod.POST) + @PostMapping(value = "completeOrder") public ServiceRestResponse completeOrder(@RequestParam(CommonConstants.PROFILE_DB) String config, @RequestBody CRMCompleteOrderRequestDTO completeOrder) throws Exception { return ServiceRestResponse.createPositiveResponse(crmService.completeOrder(completeOrder)); } - @RequestMapping(value = "transferProspect", method = RequestMethod.POST) + @PostMapping(value = "transferProspect") public ServiceRestResponse transferProspect(@RequestParam(CommonConstants.PROFILE_DB) String config, @RequestBody CRMTransferProspectRequestDTO prospectToTransfer) throws Exception { return ServiceRestResponse.createPositiveResponse(crmService.transferProspect(prospectToTransfer)); } - @RequestMapping(value = "retrieveActivity", method = RequestMethod.POST) + @PostMapping(value = "retrieveActivity") public ServiceRestResponse retrieveActivity(@RequestParam(CommonConstants.PROFILE_DB) String profileDB, @RequestBody CRMRetrieveActivityRequestDTO crmRetrieveActivityRequest) throws Exception { return ServiceRestResponse.createPositiveResponse(crmService.retrieveActivity(crmRetrieveActivityRequest)); } - @RequestMapping(value = "retrieveCommesse", method = RequestMethod.GET) + @GetMapping(value = "retrieveCommesse") public ServiceRestResponse retrieveCommesse(@RequestParam(CommonConstants.PROFILE_DB) String profileDB, @RequestParam(required = false) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE) LocalDate dateFilter) throws Exception { return ServiceRestResponse.createPositiveResponse(crmService.retrieveCommesse(dateFilter)); } - @RequestMapping(value = "retrieveProspect", method = RequestMethod.GET) + @PostMapping(value = "retrieveProspect") public ServiceRestResponse retrieveProspect(@RequestParam(CommonConstants.PROFILE_DB) String profileDB, - @RequestParam(required = false) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE) LocalDate dateFilter) throws Exception { + @RequestBody CRMProspectRequestDTO request) throws Exception { - return ServiceRestResponse.createPositiveResponse(crmService.retrieveProspect(dateFilter)); + return ServiceRestResponse.createPositiveResponse(crmService.retrieveProspect(request)); } - @RequestMapping(value = "retrieveClienti", method = RequestMethod.GET) + @PostMapping(value = "retrieveClienti") public ServiceRestResponse retrieveClienti(@RequestParam(CommonConstants.PROFILE_DB) String profileDB, - @RequestParam(required = false) @DateTimeFormat(iso = DateTimeFormat.ISO.DATE) LocalDate dateFilter) throws Exception { + @RequestBody CRMAnagRequestDTO request) throws Exception { - return ServiceRestResponse.createPositiveResponse(crmService.retrieveClienti(dateFilter)); + return ServiceRestResponse.createPositiveResponse(crmService.retrieveClienti(request)); } - @RequestMapping(value = "retrieveSettings", method = RequestMethod.GET) + @GetMapping(value = "retrieveSettings") public ServiceRestResponse retrieveSettings(@RequestParam(CommonConstants.PROFILE_DB) String profileDB) throws Exception { return ServiceRestResponse.createPositiveResponse(crmService.retrieveSettings()); } - @RequestMapping(value = "retrieveJobProgress", method = RequestMethod.GET) + @GetMapping(value = "retrieveJobProgress") public ServiceRestResponse retrieveJobProgress(@RequestParam(CommonConstants.PROFILE_DB) String profileDB, @RequestParam() String codJcom) throws Exception { return ServiceRestResponse.createPositiveResponse(crmService.retrieveJobProgress(codJcom)); } + @GetMapping(value = "retrieveAttachedForCodJcom") + public ServiceRestResponse retrieveAttachedForCodJcom(@RequestParam(CommonConstants.PROFILE_DB) String profileDB, + @RequestParam() String codJcom) throws Exception { + + return ServiceRestResponse.createPositiveResponse(crmService.retrieveAttached(codJcom)); + } + } \ No newline at end of file diff --git a/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMActivityDTO.java b/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMActivityDTO.java index 850be63a35..3af94ea634 100644 --- a/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMActivityDTO.java +++ b/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMActivityDTO.java @@ -29,6 +29,9 @@ public class CRMActivityDTO { private Date effectiveTime; private Date effectiveEndtime; + //Notifiche + private Date notificationDate; + private List userNameList; private StbPosizioni stbPosizioni; @@ -132,6 +135,15 @@ public class CRMActivityDTO { return this; } + public Date getNotificationDate() { + return notificationDate; + } + + public CRMActivityDTO setNotificationDate(Date notificationDate) { + this.notificationDate = notificationDate; + return this; + } + public List getUserNameList() { if (userNameList == null && userName != null) { userNameList = new ArrayList<>(); diff --git a/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMAnagRequestDTO.java b/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMAnagRequestDTO.java new file mode 100644 index 0000000000..025bd89aa4 --- /dev/null +++ b/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMAnagRequestDTO.java @@ -0,0 +1,59 @@ +package it.integry.ems.order.crm.dto; + +import java.util.Date; + +public class CRMAnagRequestDTO { + + private Date filterDate; + + private String flagStato; + private String partitaIva; + private String codAnag; + + private boolean returnPersRif; + + public Date getFilterDate() { + return filterDate; + } + + public CRMAnagRequestDTO setFilterDate(Date filterDate) { + this.filterDate = filterDate; + return this; + } + + public String getFlagStato() { + return flagStato; + } + + public CRMAnagRequestDTO setFlagStato(String flagStato) { + this.flagStato = flagStato; + return this; + } + + public String getPartitaIva() { + return partitaIva; + } + + public CRMAnagRequestDTO setPartitaIva(String partitaIva) { + this.partitaIva = partitaIva; + return this; + } + + public String getCodAnag() { + return codAnag; + } + + public CRMAnagRequestDTO setCodAnag(String codAnag) { + this.codAnag = codAnag; + return this; + } + + public boolean ReturnPersRif() { + return returnPersRif; + } + + public CRMAnagRequestDTO setReturnPersRif(boolean returnPersRif) { + this.returnPersRif = returnPersRif; + return this; + } +} diff --git a/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMAttachedResponseDTO.java b/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMAttachedResponseDTO.java new file mode 100644 index 0000000000..a553bff71d --- /dev/null +++ b/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMAttachedResponseDTO.java @@ -0,0 +1,93 @@ +package it.integry.ems.order.crm.dto; + +import it.integry.ems_model.annotation.SqlField; + +import java.math.BigDecimal; +import java.util.Date; + +public class CRMAttachedResponseDTO { + + @SqlField(value = "file_name") + private String fileName; + + @SqlField(value = "description") + private String description; + + @SqlField(value = "date_attached") + private Date dateAttached; + + @SqlField(value = "file_size") + private BigDecimal fileSize; + + @SqlField(value = "ref_uuid") + private String refUuid; + + @SqlField(value = "ref_attached") + private String refAttached; + + @SqlField(value = "is_activity") + private boolean isActivity; + + public String getFileName() { + return fileName; + } + + public CRMAttachedResponseDTO setFileName(String fileName) { + this.fileName = fileName; + return this; + } + + public String getDescription() { + return description; + } + + public CRMAttachedResponseDTO setDescription(String description) { + this.description = description; + return this; + } + + public Date getDateAttached() { + return dateAttached; + } + + public CRMAttachedResponseDTO setDateAttached(Date dateAttached) { + this.dateAttached = dateAttached; + return this; + } + + public BigDecimal getFileSize() { + return fileSize; + } + + public CRMAttachedResponseDTO setFileSize(BigDecimal fileSize) { + this.fileSize = fileSize; + return this; + } + + public String getRefUuid() { + return refUuid; + } + + public CRMAttachedResponseDTO setRefUuid(String refUuid) { + this.refUuid = refUuid; + return this; + } + + public String getRefAttached() { + return refAttached; + } + + public CRMAttachedResponseDTO setRefAttached(String refAttached) { + this.refAttached = refAttached; + return this; + } + + public boolean isActivity() { + return isActivity; + } + + public CRMAttachedResponseDTO setActivity(boolean activity) { + isActivity = activity; + return this; + } +} diff --git a/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMProspectRequestDTO.java b/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMProspectRequestDTO.java new file mode 100644 index 0000000000..88e3dd8391 --- /dev/null +++ b/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMProspectRequestDTO.java @@ -0,0 +1,49 @@ +package it.integry.ems.order.crm.dto; + +import java.util.Date; + +public class CRMProspectRequestDTO { + + private Date filterDate; + + private String partitaIva; + private String codPpro; + + private boolean returnPersRif; + + public Date getFilterDate() { + return filterDate; + } + + public CRMProspectRequestDTO setFilterDate(Date filterDate) { + this.filterDate = filterDate; + return this; + } + + public String getPartitaIva() { + return partitaIva; + } + + public CRMProspectRequestDTO setPartitaIva(String partitaIva) { + this.partitaIva = partitaIva; + return this; + } + + public String getCodPpro() { + return codPpro; + } + + public CRMProspectRequestDTO setCodPpro(String codPpro) { + this.codPpro = codPpro; + return this; + } + + public boolean ReturnPersRif() { + return returnPersRif; + } + + public CRMProspectRequestDTO setReturnPersRif(boolean returnPersRif) { + this.returnPersRif = returnPersRif; + return this; + } +} diff --git a/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMRetrieveActivityRequestDTO.java b/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMRetrieveActivityRequestDTO.java index 2f4a259ffc..973bc6babe 100644 --- a/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMRetrieveActivityRequestDTO.java +++ b/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMRetrieveActivityRequestDTO.java @@ -1,20 +1,15 @@ package it.integry.ems.order.crm.dto; -import java.time.LocalDate; +import java.util.Date; public class CRMRetrieveActivityRequestDTO { - private String dateFilter; private String codJcom; + private String activityId; + private String codAnag; - public String getDateFilter() { - return dateFilter; - } - - public CRMRetrieveActivityRequestDTO setDateFilter(String dateFilter) { - this.dateFilter = dateFilter; - return this; - } + private Date startDate; + private Date endDate; public String getCodJcom() { return codJcom; @@ -24,4 +19,40 @@ public class CRMRetrieveActivityRequestDTO { this.codJcom = codJcom; return this; } + + public String getActivityId() { + return activityId; + } + + public CRMRetrieveActivityRequestDTO setActivityId(String activityId) { + this.activityId = activityId; + return this; + } + + public String getCodAnag() { + return codAnag; + } + + public CRMRetrieveActivityRequestDTO setCodAnag(String codAnag) { + this.codAnag = codAnag; + return this; + } + + public Date getStartDate() { + return startDate; + } + + public CRMRetrieveActivityRequestDTO setStartDate(Date startDate) { + this.startDate = startDate; + return this; + } + + public Date getEndDate() { + return endDate; + } + + public CRMRetrieveActivityRequestDTO setEndDate(Date endDate) { + this.endDate = endDate; + return this; + } } diff --git a/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMSettingsResponseDTO.java b/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMSettingsResponseDTO.java index 3328db43d5..336bcf3f59 100644 --- a/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMSettingsResponseDTO.java +++ b/ems-engine/src/main/java/it/integry/ems/order/crm/dto/CRMSettingsResponseDTO.java @@ -1,15 +1,13 @@ package it.integry.ems.order.crm.dto; -import it.integry.ems_model.entity.StbActivityResult; -import it.integry.ems_model.entity.StbActivityType; -import it.integry.ems_model.entity.StbUser; -import it.integry.ems_model.entity.VtbTipi; +import it.integry.ems_model.entity.*; import java.util.List; public class CRMSettingsResponseDTO { private List activityTypes; + private List activityTypeUsers; private List activityResults; private List stbUsers; private List vtbTipi; @@ -24,6 +22,15 @@ public class CRMSettingsResponseDTO { return this; } + public List getActivityTypeUsers() { + return activityTypeUsers; + } + + public CRMSettingsResponseDTO setActivityTypeUsers(List activityTypeUsers) { + this.activityTypeUsers = activityTypeUsers; + return this; + } + public List getActivityResults() { return activityResults; } diff --git a/ems-engine/src/main/java/it/integry/ems/order/crm/service/CrmService.java b/ems-engine/src/main/java/it/integry/ems/order/crm/service/CrmService.java index c1b7ca17de..80a9a4fbc5 100644 --- a/ems-engine/src/main/java/it/integry/ems/order/crm/service/CrmService.java +++ b/ems-engine/src/main/java/it/integry/ems/order/crm/service/CrmService.java @@ -3,6 +3,7 @@ package it.integry.ems.order.crm.service; import com.annimon.stream.Stream; import it.integry.common.var.CommonConstants; import it.integry.ems.javabeans.RequestDataDTO; +import it.integry.ems.order.crm.dto.CRMProspectRequestDTO; import it.integry.ems.order.crm.dto.*; import it.integry.ems.order.crm.dto.completeOrder.CRMCompleteOrderRequestDTO; import it.integry.ems.order.crm.dto.completeOrder.CRMCompleteOrderResponseDTO; @@ -25,6 +26,9 @@ import it.integry.ems_model.entity.*; import it.integry.ems_model.service.SetupGest; import it.integry.ems_model.types.OperationType; import it.integry.ems_model.utility.*; +import it.integry.firebase.dto.CreateNotificationDTO; +import it.integry.firebase.enums.GetMode; +import it.integry.firebase.service.NotificationService; import org.apache.commons.codec.binary.Base64; import org.apache.commons.io.FileUtils; import org.springframework.beans.factory.annotation.Autowired; @@ -35,6 +39,7 @@ import java.io.File; import java.math.BigDecimal; import java.time.LocalDate; import java.util.*; +import java.util.stream.Collectors; import static it.integry.ems_model.config.EmsRestConstants.DATE_NULL; @@ -57,6 +62,9 @@ public class CrmService { @Autowired private UserService userService; + @Autowired + private NotificationService notificationService; + public CRMCreateContactResponseDTO createContact(CRMCreateContactRequestDTO createContact) throws Exception { CRMCreateContactResponseDTO response = new CRMCreateContactResponseDTO(); Connection conn = multiDBTransactionManager.getPrimaryConnection(); @@ -299,7 +307,13 @@ public class CrmService { UtilityEntity.throwEntitiesException(entityRet); entityRet.forEach(x -> x.setOperation(OperationType.SELECT_OBJECT)); - return UtilityEntity.toCustomEntity(entityRet); + List returnEntity = UtilityEntity.toCustomEntity(entityRet); + + for (StbActivity stbActivity : returnEntity) { + createActivityNotification(stbActivity); + } + + return returnEntity; } throw new Exception("Lista attivita vuota"); @@ -758,31 +772,108 @@ public class CrmService { return stbActivity; } + public void createActivityNotification(StbActivity stbActivity) throws Exception { + Connection conn = multiDBTransactionManager.getPrimaryConnection(); + + WtbNotification wtbNotification = null; + List wtbNotifications = notificationService.get(GetMode.ALL, false, stbActivity.getUserName()); + + if (wtbNotifications != null) { + wtbNotification = wtbNotifications.stream().filter(x -> + x.getNotificationData().containsValue(stbActivity.getActivityId()) && + x.getNotificationData().containsValue("memo") + ).findFirst().orElse(null); + } + + if (wtbNotification != null) { + if (stbActivity.getAlarmTime() != null) { + wtbNotification.setStartDate(stbActivity.getAlarmTime()); + notificationService.update(new CreateNotificationDTO().setWtbNotification(wtbNotification)); + } else notificationService.delete(wtbNotification.getId()); + + } else { + boolean sendNow = false; + String title, body; + Date startDate; + + Map notificationData = new HashMap<>(); + notificationData.put("activityId", stbActivity.getActivityId()); + + List topics = new ArrayList<>(); + String topic = String.format("user_%s_%s", stbActivity.getUserName().toLowerCase(), conn.getProfileName().toLowerCase()); + topics.add(topic); + + if (stbActivity.getUserName().equalsIgnoreCase(stbActivity.getUserCreator())) { + if (stbActivity.getAlarmTime() != null) { + String moment = UtilityDate.equals(stbActivity.getEstimatedDate(), stbActivity.getAlarmDate()) ? + "Oggi" : UtilityDate.formatDate(stbActivity.getEstimatedDate(), CommonConstants.DATE_FORMAT_DMY); + + title = stbActivity.getActivityDescription(); + body = String.format("%s alle ore %s", moment, UtilityDate.formatDate(stbActivity.getEstimatedTime(), "HH:mm")); + notificationData.put("type", "memo"); + startDate = stbActivity.getAlarmTime(); + + wtbNotification = new WtbNotification() + .setTitle(title) + .setBody(body) + .setNotificationData(notificationData) + .setStartDate(startDate) + .setTopics(topics); + } + } else { + title = "Nuova attività assegnata"; + body = String.format("È stata assegnata una nuova attività da %s: %s", stbActivity.getUserCreator(), stbActivity.getActivityDescription()); + notificationData.put("type", "newPlanned"); + + startDate = new Date(); + sendNow = true; + + wtbNotification = new WtbNotification() + .setTitle(title) + .setBody(body) + .setNotificationData(notificationData) + .setStartDate(startDate) + .setEndDate(UtilityDate.dateAdd(startDate, 1)) + .setTopics(topics); + } + + if (wtbNotification != null) { + wtbNotification = notificationService.create(new CreateNotificationDTO().setWtbNotification(wtbNotification)); + if (sendNow) notificationService.send(wtbNotification.getId()); + } + } + } + private String getDefaultCodVlis() throws Exception { return setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), "PVM", "CONTATTI_COMMESSE", "PROSPECT_DEFAULT_CODVLIS"); } public List retrieveActivity(CRMRetrieveActivityRequestDTO crmRetrieveActivityRequest) throws Exception { - if (crmRetrieveActivityRequest.getDateFilter() != null) { - String sql = Query.format("SELECT *\n" + - "FROM stb_activity\n" + - "WHERE ora_mod_act >= %s\n" + - " OR data_ins_act >= %s", - crmRetrieveActivityRequest.getDateFilter(), crmRetrieveActivityRequest.getDateFilter() - ); + String sql = "SELECT * FROM stb_activity"; - return UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), sql, StbActivity.class); - } else if (crmRetrieveActivityRequest.getCodJcom() != null) { - String sql = Query.format("SELECT *\n" + - "FROM stb_activity\n" + - "WHERE cod_jcom = %s", - crmRetrieveActivityRequest.getCodJcom() - ); - - return UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), sql, StbActivity.class); + if (crmRetrieveActivityRequest.getActivityId() != null) { + sql = UtilityDB.addwhereCond(sql, "activity_id = " + UtilityDB.valueToString(crmRetrieveActivityRequest.getActivityId()), false); } - return null; + if (crmRetrieveActivityRequest.getCodJcom() != null) { + sql = UtilityDB.addwhereCond(sql, "cod_jcom = " + UtilityDB.valueToString(crmRetrieveActivityRequest.getCodJcom()), false); + } + + if (crmRetrieveActivityRequest.getCodAnag() != null) { + sql = UtilityDB.addwhereCond(sql, "cod_anag = " + UtilityDB.valueToString(crmRetrieveActivityRequest.getCodAnag()), false); + } + + if (crmRetrieveActivityRequest.getStartDate() != null && crmRetrieveActivityRequest.getEndDate() != null) { + String whereCond = "(effective_date IS NULL AND estimated_date >= {start} AND estimated_date <= {end})\n" + + " OR (effective_date >= {start} AND effective_date <= {end})"; + whereCond = whereCond + .replace("{start}", UtilityDB.valueToString(crmRetrieveActivityRequest.getStartDate())) + .replace("{end}", UtilityDB.valueToString(crmRetrieveActivityRequest.getEndDate())); + + sql = UtilityDB.addwhereCond(sql, whereCond, false); + } + + return UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), sql, StbActivity.class); } public List retrieveCommesse(LocalDate dateFilter) throws Exception { @@ -793,40 +884,48 @@ public class CrmService { return UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), sql, JtbComt.class); } - public CRMSyncResponseDTO retrieveProspect(LocalDate dateFilter) throws Exception { + public CRMSyncResponseDTO retrieveProspect(CRMProspectRequestDTO requestDTO) throws Exception { CRMSyncResponseDTO taskSyncResponse = new CRMSyncResponseDTO(); String sql = "SELECT * FROM ptb_pros WHERE cod_anag IS NULL"; - if (dateFilter != null) { - sql += " AND data_ins >= " + UtilityDB.valueToString(dateFilter); - } + if (requestDTO.getFilterDate() != null) + sql = UtilityDB.addwhereCond(sql, " AND data_ins >= " + UtilityDB.valueToString(requestDTO.getFilterDate()), false); + + if (requestDTO.getPartitaIva() != null) + sql = UtilityDB.addwhereCond(sql, " AND part_iva = " + UtilityDB.valueToString(requestDTO.getPartitaIva()), false); + + if (requestDTO.getCodPpro() != null) + sql = UtilityDB.addwhereCond(sql, " AND cod_ppro = " + UtilityDB.valueToString(requestDTO.getCodPpro()), false); + taskSyncResponse.setPtbPros( UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), sql, PtbPros.class) ); - if (dateFilter == null) { - sql = "SELECT *\n" + - "FROM ptb_pros_rif\n" + - "WHERE EXISTS(SELECT * FROM ptb_pros WHERE ptb_pros.cod_anag IS NULL AND ptb_pros.cod_ppro = ptb_pros_rif.cod_ppro)"; - } else { - sql = Query.format( - "SELECT *\n" + - "FROM ptb_pros_rif\n" + - "WHERE EXISTS(SELECT * FROM ptb_pros WHERE ptb_pros.cod_anag IS NULL\n" + - " AND data_ins >= %s\n" + - " AND ptb_pros.cod_ppro = ptb_pros_rif.cod_ppro)", - dateFilter + if (requestDTO.ReturnPersRif()) { + if (requestDTO.getFilterDate() == null) { + sql = "SELECT *\n" + + "FROM ptb_pros_rif\n" + + "WHERE EXISTS(SELECT * FROM ptb_pros WHERE ptb_pros.cod_anag IS NULL AND ptb_pros.cod_ppro = ptb_pros_rif.cod_ppro)"; + } else { + sql = Query.format( + "SELECT *\n" + + "FROM ptb_pros_rif\n" + + "WHERE EXISTS(SELECT * FROM ptb_pros WHERE ptb_pros.cod_anag IS NULL\n" + + " AND data_ins >= %s\n" + + " AND ptb_pros.cod_ppro = ptb_pros_rif.cod_ppro)", + requestDTO.getFilterDate() + ); + } + + taskSyncResponse.setPtbProsRif( + UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), sql, PtbProsRif.class) ); } - taskSyncResponse.setPtbProsRif( - UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), sql, PtbProsRif.class) - ); - return taskSyncResponse; } - public CRMSyncResponseDTO retrieveClienti(LocalDate dateFilter) throws Exception { + public CRMSyncResponseDTO retrieveClienti(CRMAnagRequestDTO requestDTO) throws Exception { CRMSyncResponseDTO taskSyncResponse = new CRMSyncResponseDTO(); String sql = "SELECT gtb_anag.cod_anag,\n" + @@ -858,15 +957,28 @@ public class CrmService { "FROM gtb_anag\n" + " INNER JOIN vtb_clie ON gtb_anag.cod_anag = vtb_clie.cod_anag"; - if (dateFilter != null) { - sql += " WHERE data_ins >= " + UtilityDB.valueToString(dateFilter) + " OR data_mod >= " + UtilityDB.valueToString(dateFilter); + if (requestDTO.getFilterDate() != null) { + sql = UtilityDB.addwhereCond( + sql, + "data_ins >= " + UtilityDB.valueToString(requestDTO.getFilterDate()) + " OR data_mod >= " + UtilityDB.valueToString(requestDTO.getFilterDate()), + true + ); } + if (requestDTO.getCodAnag() != null) + sql = UtilityDB.addwhereCond(sql, "gtb_anag.cod_anag = " + UtilityDB.valueToString(requestDTO.getCodAnag()), false); + + if (requestDTO.getPartitaIva() != null) + sql = UtilityDB.addwhereCond(sql, "part_iva = " + UtilityDB.valueToString(requestDTO.getPartitaIva()), false); + + if (requestDTO.getFlagStato() != null) + sql = UtilityDB.addwhereCond(sql, "flag_stato = " + UtilityDB.valueToString(requestDTO.getFlagStato()), false); + taskSyncResponse.setAnagClie( UtilityDB.executeSimpleQueryDTO(multiDBTransactionManager.getPrimaryConnection(), sql, AnagClieDTO.class) ); - if (dateFilter == null) { + if (requestDTO.ReturnPersRif()) { sql = "SELECT *\n" + "FROM vtb_dest\n" + "WHERE EXISTS(SELECT * FROM vtb_clie WHERE vtb_clie.cod_anag = vtb_dest.cod_anag)"; @@ -894,6 +1006,15 @@ public class CrmService { UtilityDB.executeSimpleQueryDTO(conn, sql, StbActivityType.class) ); + sql = "SELECT srl_activity_type_user.*\n" + + "FROM srl_activity_type_user\n" + + " INNER JOIN stb_User ON stb_user.user_name = srl_activity_type_user.user_name\n" + + "WHERE flag_attivo = 'S'\n" + + " AND flag_tipologia = 'A'"; + crmSettingsResponse.setActivityTypeUsers( + UtilityDB.executeSimpleQueryDTO(conn, sql, SrlActivityTypeUser.class) + ); + sql = "SELECT * FROM stb_activity_result WHERE flag_attivo = 'S'"; crmSettingsResponse.setActivityResults( UtilityDB.executeSimpleQueryDTO(conn, sql, StbActivityResult.class) @@ -1095,15 +1216,46 @@ public class CrmService { //Chiusura Pratica sql = Query.format( - "SELECT SUM(dare_part) AS dare, SUM(avere_part) AS avere, MAX(ctb_parr.data_cmov) AS data\n" + - "FROM ctb_part\n" + - " LEFT OUTER JOIN ctb_parr\n" + - " ON ctb_part.tipo_anag = ctb_parr.tipo_anag AND ctb_part.cod_anag = ctb_parr.cod_anag AND\n" + - " ctb_part.anno_part = ctb_parr.anno_part AND ctb_part.ser_doc = ctb_parr.ser_doc AND\n" + - " ctb_part.num_doc = ctb_parr.num_doc AND ctb_parr.imp_avere <> 0\n" + - "WHERE cod_jcom = %s\n" + - " AND tipo_partita = 1", - codJcom + "WITH bolle AS (SELECT ISNULL(SUM(tot_imponib + tot_iva), 0) AS dare_bolle,\n" + + " MAX(data_doc) AS data\n" + + " FROM dtb_doct\n" + + " INNER JOIN dtb_tipi\n" + + " ON dtb_doct.cod_dtip = dtb_tipi.cod_dtip\n" + + " AND dtb_tipi.segno_qta_scar = 1\n" + + " WHERE dtb_doct.gestione = 'V'\n" + + " AND cod_dtip_val IS NULL\n" + + " AND cod_jcom = %s),\n" + + " ordini AS (SELECT ISNULL(SUM((dtb_ordr.qta_ord - dtb_ordr.qta_evasa) * dtb_ordr.val_unt), 0) AS dare_ord,\n" + + " MAX(dtb_ordt.data_ord) AS data\n" + + " FROM dtb_ordt\n" + + " INNER JOIN dtb_ordr\n" + + " ON dtb_ordt.gestione = dtb_ordr.gestione\n" + + " AND dtb_ordt.data_ord = dtb_ordr.data_ord\n" + + " AND dtb_ordt.num_ord = dtb_ordr.num_ord\n" + + " WHERE dtb_ordt.flag_annulla = 'N'\n" + + " AND dtb_ordr.flag_evaso = 'I'\n" + + " AND cod_mart IS NOT NULL\n" + + " AND dtb_ordr.qta_ord > dtb_ordr.qta_evasa\n" + + " AND importo_riga > 0\n" + + " AND dtb_ordr.cod_jcom = %s),\n" + + " partite AS (SELECT ISNULL(SUM(dare_part), 0) AS dare_part,\n" + + " ISNULL(SUM(avere_part), 0) AS avere_part,\n" + + " MAX(ctb_parr.data_cmov) AS data\n" + + " FROM ctb_part\n" + + " LEFT JOIN ctb_parr\n" + + " ON ctb_part.tipo_anag = ctb_parr.tipo_anag\n" + + " AND ctb_part.cod_anag = ctb_parr.cod_anag\n" + + " AND ctb_part.anno_part = ctb_parr.anno_part\n" + + " AND ctb_part.ser_doc = ctb_parr.ser_doc\n" + + " AND ctb_part.num_doc = ctb_parr.num_doc\n" + + " AND ctb_parr.imp_avere <> 0\n" + + " WHERE cod_jcom = %s\n" + + " AND tipo_partita = 1)\n" + + "SELECT partite.dare_part + bolle.dare_bolle + ordini.dare_ord AS dare,\n" + + " partite.avere_part AS avere,\n" + + " (SELECT MAX(x) FROM (VALUES (partite.data), (bolle.data), (ordini.data)) AS V(x)) AS data\n" + + "FROM partite, bolle, ordini", + codJcom, codJcom, codJcom ); HashMap pratica = UtilityDB.executeSimpleQueryOnlyFirstRow(conn, sql); @@ -1126,4 +1278,67 @@ public class CrmService { return jobProgressResponse; } + + public List retrieveAttached(String codJcom) throws Exception { + Connection conn = multiDBTransactionManager.getPrimaryConnection(); + + String sql = Query.format( + "DECLARE @codJcom VARCHAR(10) = %s\n" + + "SELECT file_name,\n" + + " NULL AS description,\n" + + " last_upd AS date_attached,\n" + + " original_size AS file_size,\n" + + " ref_uuid,\n" + + " activity_id AS ref_attached,\n" + + " CAST(1 AS BIT) AS is_activity\n" + + "FROM stb_activity_file\n" + + " INNER JOIN stb_activity\n" + + " ON stb_activity.activity_id = stb_activity_file.id\n" + + "WHERE cod_jcom = @codJcom\n" + + "UNION ALL\n" + + "SELECT file_name,\n" + + " description,\n" + + " datetime_attach AS date_attached,\n" + + " file_size,\n" + + " ref_uuid,\n" + + " CONCAT(files.cod_dtip, '_',\n" + + " files.num_doc, '_',\n" + + " files.ser_doc, '_',\n" + + " FORMAT(files.data_doc, 'dd/MM/yyyy')) AS ref_attached,\n" + + " CAST(0 AS BIT) AS is_activity\n" + + "FROM drl_doc_attached files\n" + + " INNER JOIN stb_files_attached attached\n" + + " ON files.id_attach = attached.id_attach\n" + + " INNER JOIN dtb_doct\n" + + " ON dtb_doct.cod_dtip = files.cod_dtip\n" + + " AND dtb_doct.cod_anag = files.cod_anag\n" + + " AND dtb_doct.data_doc = files.data_doc\n" + + " AND dtb_doct.ser_doc = files.ser_doc\n" + + " AND files.num_doc = dtb_doct.num_doc\n" + + "WHERE cod_jcom = @codJcom\n" + + "UNION ALL\n" + + "SELECT filename AS file_name,\n" + + " NULL AS description,\n" + + " data_stampa AS date_attached,\n" + + " filesize AS file_size,\n" + + " ref_uuid,\n" + + " CONCAT(doc.cod_dtip, '_',\n" + + " doc.num_doc, '_',\n" + + " doc.ser_doc, '_',\n" + + " FORMAT(doc.data_doc, 'dd/MM/yyyy')) AS ref_attached,\n" + + " CAST(0 AS BIT) AS is_activity\n" + + "FROM dtb_doc_pdf pdf\n" + + " INNER JOIN dtb_doct doc\n" + + " ON pdf.data_doc = doc.data_doc\n" + + " AND pdf.ser_doc = doc.ser_doc\n" + + " AND pdf.num_doc = doc.num_doc\n" + + " AND pdf.cod_anag = doc.cod_anag\n" + + " AND doc.cod_dtip = pdf.cod_dtip\n" + + "WHERE cod_jcom = @codJcom\n" + + "ORDER BY date_attached DESC", + codJcom + ); + + return UtilityDB.executeSimpleQueryDTO(conn, sql, CRMAttachedResponseDTO.class); + } } \ No newline at end of file diff --git a/ems-engine/src/main/java/it/integry/ems/order/crm/utility/CRMUtility.java b/ems-engine/src/main/java/it/integry/ems/order/crm/utility/CRMUtility.java index d98d557c42..c4c708f3be 100644 --- a/ems-engine/src/main/java/it/integry/ems/order/crm/utility/CRMUtility.java +++ b/ems-engine/src/main/java/it/integry/ems/order/crm/utility/CRMUtility.java @@ -4,6 +4,7 @@ import it.integry.ems.order.crm.dto.*; import it.integry.ems.order.crm.dto.completeOrder.CRMCompleteOrderRequestDTO; import it.integry.ems.order.crm.dto.transferProspect.CRMTransferProspectResponseDTO; import it.integry.ems.sync.MultiDBTransaction.Connection; +import it.integry.ems_model.config.EmsRestConstants; import it.integry.ems_model.entity.*; import it.integry.ems_model.types.OperationType; import it.integry.ems_model.utility.Query; @@ -207,6 +208,10 @@ public class CRMUtility { } public static StbActivity buildStbActivity(CRMActivityDTO activityRequest) { + Date notificationDate = activityRequest.getNotificationDate(); + if (notificationDate == null) + notificationDate = EmsRestConstants.DATE_NULL; + return new StbActivity() .setTipoAnag(activityRequest.getTipoAnag()) .setCodAnag(activityRequest.getCodAnag()) @@ -228,6 +233,8 @@ public class CRMUtility { .setEffectiveTime(activityRequest.getEffectiveTime()) .setEffectiveEnddate(activityRequest.getEffectiveEndtime()) .setEffectiveEndtime(activityRequest.getEffectiveEndtime()) + .setAlarmTime(notificationDate) + .setAlarmDate(notificationDate) .setIdPosizione(activityRequest.getStbPosizioni() != null ? activityRequest.getStbPosizioni().getId() : null); } diff --git a/ems-engine/src/main/java/it/integry/ems/order/service/OrderImportService.java b/ems-engine/src/main/java/it/integry/ems/order/service/OrderImportService.java index 5f04b8fe91..effee1d5fa 100644 --- a/ems-engine/src/main/java/it/integry/ems/order/service/OrderImportService.java +++ b/ems-engine/src/main/java/it/integry/ems/order/service/OrderImportService.java @@ -3,7 +3,6 @@ package it.integry.ems.order.service; import com.annimon.stream.Collectors; import com.annimon.stream.Stream; import it.integry.common.var.CommonConstants; -import it.integry.ems.datasource.DataSource; import it.integry.ems.json.ResponseJSONObjectMapper; import it.integry.ems.order.dto.*; import it.integry.ems.order.dto.ordikids.request.OrdiKids; @@ -24,7 +23,6 @@ import it.integry.ems.sync.MultiDBTransaction.MultiDBTransactionManager; import it.integry.ems.system.service.AnagImportService; import it.integry.ems.utility.UtilityEntity; import it.integry.ems_model.base.EntityBase; -import it.integry.ems_model.config.EmsRestConstants; import it.integry.ems_model.db.ResultSetMapper; import it.integry.ems_model.entity.*; import it.integry.ems_model.resolver.SqlFieldHolder; @@ -32,25 +30,17 @@ import it.integry.ems_model.service.SetupGest; import it.integry.ems_model.types.OperationType; import it.integry.ems_model.types.TypeDbObject; import it.integry.ems_model.utility.*; -import it.integry.security.utility.RestUtil; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.context.annotation.Scope; import org.springframework.stereotype.Service; -import javax.ws.rs.client.Client; -import javax.ws.rs.client.ClientBuilder; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import java.io.StringWriter; import java.math.BigDecimal; import java.math.RoundingMode; import java.sql.PreparedStatement; import java.sql.ResultSet; import java.sql.SQLException; -import java.text.SimpleDateFormat; import java.util.*; @Service @@ -1263,164 +1253,6 @@ public class OrderImportService { } } - @Deprecated - public List importOrdiniFromSilviaHeach() throws Exception { - - String profileDBAppoggio = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), - "IMPORT_ORDINI_WEB", "SILVIAN_HEACH", "PROFILE_DB_SCAMBIO"); - - String codMdep = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), - "IMPORT_ORDINI_WEB", "SILVIAN_HEACH", "COD_MDEP"); - if (UtilityString.isNullOrEmpty(codMdep)) - codMdep = ""; - - List list = new ArrayList(); - - DataSource dsScambio = new DataSource(); - dsScambio.initialize(profileDBAppoggio); - Connection connScambio = dsScambio.getConnection(); - //intercode nelle note poichè serve successivamente a prendere il cliente - String sql = "SELECT CONVERT(varchar(50), intecode_dest) as note, cod_anag_mafrat as cod_anag," - + " cod_vdes_mafrat as cod_vdes," - + " serie, T.num_ord, T.data_ord, cod_divi," - + " cambio, sconto1, sconto2, sconto3," - + " sconto4, cod_paga, cod_vage_mafrat as cod_vage, " + UtilityDB.valueToString(codMdep) + " as cod_mdep," - + " CONVERT(datetime, CONVERT(varchar(8), data_ord_orig), 112) as data_ord_rif," - + " convert(int, num_ord_orig) as num_ord_rif" - + " FROM GetTestataOrdini() AS T left outer join ord_imported" - + " on T.data_ord_orig = ord_imported.data_ord AND T.num_ord_orig = ord_imported.num_ord" - + " where ord_imported.data_import is null"; - - PreparedStatement ps = connScambio.prepareStatement(sql); - ResultSet rs = ps.executeQuery(); - - List ordini = new ResultSetMapper() - .mapResultSetToList(rs, WdtbOrdt.class); - ps.close(); - - if (ordini == null) - throw new Exception("[SH] Non ci sono ordini da importare"); - - String errorMsg = ""; - - for (WdtbOrdt wdtbOrdt : ordini) { - //ordine vendita - wdtbOrdt.setGestione("V"); - wdtbOrdt.setOperation(OperationType.INSERT); - - if (wdtbOrdt.getCodAnag() == null && wdtbOrdt.getCodVdes() == null) { - //WdtbNewCliOrd - WdtbNewCliOrd wdtbNewCliOrd = addSilviaHeachClie(connScambio, wdtbOrdt.getNote()); - if (wdtbNewCliOrd == null) { - errorMsg += wdtbOrdt.getDataOrd() + " " + wdtbOrdt.getNumOrd() + " NON IMPORTATO, CLIENTE NON TROVATO PER INTERCODE: " + wdtbOrdt.getNote(); - logger.info(wdtbOrdt.getNumOrd() + " NON IMPORTATO, CLIENTE NON TROVATO PER INTERCODE: " + wdtbOrdt.getNote()); - continue; - } - - wdtbNewCliOrd.setOperation(OperationType.INSERT_OR_UPDATE); - wdtbOrdt.setWdtbNewCliOrd(wdtbNewCliOrd); - wdtbOrdt.setCodAnag(wdtbNewCliOrd.getCodAnag()); - wdtbOrdt.setCodVdes(wdtbNewCliOrd.getCodVdes()); - } - - String dataOrig = new SimpleDateFormat("yyyyMMdd").format(wdtbOrdt.getDataOrdRif()); - //ISNULL(descrizione, 'TEST') as descrizione - String sqlRow = "SELECT descrizione, serie, num_ord, data_ord, convert(int, riga_ord) as riga_ord, cod_style as cod_mart, cod_col, cod_tagl, perc_prov, " - + "qtaord as qta_ord, przord as val_unt, convert(int, id_art) as id_art, convert(varchar(50), gruppo_cons) as gruppo_cons, note, sconto5, sconto6, sconto7, sconto8 " - + "FROM GetRigheOrdini(" + dataOrig + ", " + wdtbOrdt.getNumOrdRif() + ")"; - PreparedStatement psRow = connScambio.prepareStatement(sqlRow); - ResultSet rsRow = psRow.executeQuery(); - - List rowList = new ResultSetMapper() - .mapResultSetToList(rsRow, WdtbOrdr.class); - rsRow.close(); - wdtbOrdt.setWdtbOrdr(rowList); - - // salvataggio ordini web - StringWriter writer = new StringWriter(); - jsonObjectMapper.writeValue(writer, wdtbOrdt); - - String jsonBody = writer.toString(); - - String profileDB = multiDBTransactionManager.getPrimaryConnection().getProfileName(); - - String auth = RestUtil.generateAuth(profileDB, profileDB, "POST", jsonBody, - "application/json", - properties.getRootApi() + EmsRestConstants.PATH_PROCESS_ENTITY); - - final Client client = ClientBuilder.newClient(); - final WebTarget resource = client.target(properties.getEndPointWS()).path( - properties.getRootApi() + EmsRestConstants.PATH_PROCESS_ENTITY); - Response responseEms = resource.queryParam(CommonConstants.PROFILE_DB, profileDB) - .request() - .header("Authorization", profileDB + ":" + auth) - .post(Entity.json(jsonBody)); - - String value = responseEms.readEntity(String.class); - ServiceRestResponse resp = jsonObjectMapper.readValue(value, ServiceRestResponse.class); - - responseEms.close(); - client.close(); - - list.add(resp); - - if (resp.getEsito() == EsitoType.OK) { - if (resp.getEntity() instanceof WdtbOrdt) { - WdtbOrdt ordT = (WdtbOrdt) resp.getEntity(); - - String dataOrdRif = new SimpleDateFormat("yyyyMMdd").format(ordT.getDataOrdRif()); - PreparedStatement psUpdate = dsScambio.getConnection().prepareStatement("INSERT INTO ord_imported(data_ord, num_ord, data_import) " - + "values (" + dataOrdRif + "," + ordT.getNumOrdRif() + ", GETDATE())"); - psUpdate.execute(); - psUpdate.close(); - dsScambio.getConnection().commit(); - } - } else { - errorMsg += dataOrig + " - " + wdtbOrdt.getNumOrdRif() + " " + resp.getErrorMessage() + "
"; - } - } - - if (!UtilityString.isNullOrEmpty(errorMsg)) { - String emailTo = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), - "IMPORT_ORDINI_WEB", "SILVIAN_HEACH", "ERROR_EMAIL_TO"); - if (UtilityString.isNullOrEmpty(emailTo)) - throw new Exception("Importazione ordini SH, ERROR_EMAIL_TO non configurata!"); - - String emailCC = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), - "IMPORT_ORDINI_WEB", "SILVIAN_HEACH", "ERROR_EMAIL_CC"); - mailService.sendMail(emailTo, emailCC, "ERRORE IMPORTAZIONE ORDINI SH", errorMsg); - } - - dsScambio.close(); - return list; - } - - @Deprecated - private WdtbNewCliOrd addSilviaHeachClie(Connection connScambio, String intercode) throws Exception { - - String codFornIntercode = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), - "IMPORT_ORDINI_WEB", "SILVIAN_HEACH", "COD_FORN_INTERCODE"); - - String sql = "SELECT '" + codFornIntercode + "|' + convert(varchar, cod_vdes) as intercode, destinazione as destinatario," - + " rag_soc, indirizzo, convert(varchar, cap) as cap, citta, prov, nazione, telefono, fax, part_iva," - + " cod_fisc, note, num_cell, e_mail, 'SH001' as cod_anag, '001' as cod_vdes, cod_paga, cod_vage," - + " destinazione, indirizzo_des, convert(varchar, cap_des) as cap_des, citta_des, prov_des, nazione_des," - + " telefono_des, fax_des, note_des, num_cell_des, e_mail_des" - + " FROM getClienteOrdine(" + UtilityDB.valueToString(intercode) + ")"; - - PreparedStatement ps = connScambio.prepareStatement(sql); - ResultSet rs = ps.executeQuery(); - - List newClie = new ResultSetMapper() - .mapResultSetToList(rs, WdtbNewCliOrd.class); - ps.close(); - - if (newClie != null && !newClie.isEmpty()) - return newClie.get(0); - else - return null; - } - public List splitOrderSurgelati(String whereCond) throws Exception { Integer index = 0, numGrpBolla = 0, existGruppoSurgelati = 0; diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/controller/SocialWareEcommerceController.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/controller/SocialWareEcommerceController.java deleted file mode 100644 index b8a2a3bbc3..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/controller/SocialWareEcommerceController.java +++ /dev/null @@ -1,259 +0,0 @@ -package it.integry.ems.order.socialware.controller; - -import it.integry.common.var.CommonConstants; -import it.integry.ems.order.dto.GiacenzaEcommerceDTO; -import it.integry.ems.order.socialware.rest.GetOrdiniFidelitySocialWebRequest; -import it.integry.ems.order.socialware.rest.GetOrdiniFidelitySocialWebResponse; -import it.integry.ems.order.socialware.rest.GetRicambiSocialWebRequest; -import it.integry.ems.order.socialware.rest.GetRicambiSocialWebResponse; -import it.integry.ems.order.socialware.service.SocialWareEcommerceService; -import it.integry.ems.order.socialware.service.SocialWebBACService; -import it.integry.ems.order.socialware.service.SocialWebCustomerService; -import it.integry.ems.response.EsitoType; -import it.integry.ems.response.FileItem; -import it.integry.ems.response.ServiceRestResponse; -import it.integry.ems.sync.MultiDBTransaction.Connection; -import it.integry.ems.sync.MultiDBTransaction.MultiDBTransactionManager; -import it.integry.ems_model.config.EmsRestConstants; -import it.integry.ems_model.service.SetupGest; -import it.integry.ems_model.types.OperationType; -import org.apache.commons.codec.binary.Base64; -import org.apache.commons.io.IOUtils; -import org.apache.commons.net.ftp.FTP; -import org.apache.commons.net.ftp.FTPClient; -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.context.annotation.Scope; -import org.springframework.web.bind.annotation.*; - -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; -import java.io.IOException; -import java.io.OutputStream; -import java.util.List; - -@RestController -@Scope("request") - -public class SocialWareEcommerceController { - - private final Logger logger = LogManager.getLogger(); - - @Autowired - private SocialWareEcommerceService socialWareEcommerceService; - - @Autowired - private SocialWebCustomerService socialWebCustomerService; - - @Autowired - private SocialWebBACService socialWebBACService; - - @Autowired - private SetupGest setupGest; - - @Autowired - private MultiDBTransactionManager multiDBTransactionManager; - - @RequestMapping(value = EmsRestConstants.PATH_INSERT_PRODUCT_SW, method = RequestMethod.POST) - public @ResponseBody - ServiceRestResponse insertProductSW(HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String configuration) { - - ServiceRestResponse response; - try { - socialWareEcommerceService.insertProductSW("I"); - response = new ServiceRestResponse(EsitoType.OK); - } catch (Exception e) { - logger.error(request.getRequestURI(), e); - response = new ServiceRestResponse(EsitoType.KO, configuration, e); - } - return response; - } - - @RequestMapping(value = EmsRestConstants.PATH_UPDATE_PRODUCT_SW, method = RequestMethod.POST) - public @ResponseBody - ServiceRestResponse updateProductSW(HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String configuration) { - - ServiceRestResponse response; - try { - FileItem xml = socialWareEcommerceService.updateProductSW(); - response = new ServiceRestResponse(EsitoType.OK); - response.setXml(xml); - } catch (Exception e) { - logger.error(request.getRequestURI(), e); - response = new ServiceRestResponse(EsitoType.KO, configuration, e); - } - return response; - } - - @RequestMapping(value = EmsRestConstants.PATH_GET_GIACENZA_ECOMMERCE, method = RequestMethod.POST) - public @ResponseBody - ServiceRestResponse getGiacenzaEcommerce(HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String configuration) { - - ServiceRestResponse response; - try { - List list = socialWareEcommerceService.getGiacenzaEcommerce(); - response = new ServiceRestResponse(EsitoType.OK, list); - } catch (Exception e) { - logger.error(request.getRequestURI(), e); - response = new ServiceRestResponse(EsitoType.KO, configuration, e); - } - return response; - } - - //TODO FABIO: Da gestire al posto dei suddetti due servizi in modo da eliminare completamente il job ExportProductSQJob - @RequestMapping(value = EmsRestConstants.PATH_GET_PRODUCT_SOCIALWARE, method = RequestMethod.POST) - public @ResponseBody - ServiceRestResponse getProductSocialeware(HttpServletRequest request, - @RequestParam(CommonConstants.PROFILE_DB) String configuration) { - - ServiceRestResponse resp; - try { - socialWareEcommerceService.insertProductSW("I"); - FileItem xml = socialWareEcommerceService.updateProductSW(); - resp = new ServiceRestResponse(EsitoType.OK); - resp.setXml(xml); - - if (resp.getEsito() == EsitoType.OK) { - FileItem item = resp.getXml(); - String data = new String(Base64.decodeBase64(item.getFileb64Content())); - Connection conn = multiDBTransactionManager.getPrimaryConnection(); - - int port = 21; - String server = setupGest.getSetup(conn, "IMPORT_ORDINI WEB", "SOCIALWARE", "FTP_SERVER"); - String user = setupGest.getSetup(conn, "IMPORT_ORDINI WEB", "SOCIALWARE", "FTP_USER"); - String pass = setupGest.getSetup(conn, "IMPORT_ORDINI WEB", "SOCIALWARE", "FTP_PASSWORD"); - - FTPClient ftpClient = new FTPClient(); - try { - ftpClient.connect(server, port); - ftpClient.login(user, pass); - ftpClient.setFileType(FTP.BINARY_FILE_TYPE); - ftpClient.enterLocalPassiveMode(); - - OutputStream os = ftpClient.storeFileStream(item.getFileName()); - if (ftpClient.getReplyCode() > 399) { - for (String line : ftpClient.getReplyStrings()) { - throw new IOException(line); - } - } - if (os != null) { - IOUtils.write(data, os, "UTF-8"); - os.close(); - } - boolean completed = ftpClient.completePendingCommand(); - if (completed) { - - } - } catch (IOException ex) { - ex.printStackTrace(); - logger.error(ex.toString()); - } finally { - if (ftpClient.isConnected()) { - ftpClient.logout(); - ftpClient.disconnect(); - } - } - } - - - } catch (Exception e) { - logger.error(request.getRequestURI(), e); - resp = new ServiceRestResponse(EsitoType.KO, configuration, e); - } - return resp; - } - - @RequestMapping(value = EmsRestConstants.PATH_INSERT_CUSTOMERS_SW, method = RequestMethod.POST) - public @ResponseBody - ServiceRestResponse insertCustomersSW(HttpServletRequest request, HttpServletResponse response, - @RequestParam(CommonConstants.PROFILE_DB) String profileDb) { - ServiceRestResponse serviceRestResponse = new ServiceRestResponse(); - try { - socialWebCustomerService.handleCustomersSW(OperationType.INSERT); - serviceRestResponse.setEsito(EsitoType.OK); - } catch (Exception ex) { - serviceRestResponse.setEsito(EsitoType.KO); - serviceRestResponse.setErrorMessage(ex.getMessage()); - } - return serviceRestResponse; - } - - @RequestMapping(value = EmsRestConstants.PATH_UPDATE_CUSTOMERS_SW, method = RequestMethod.POST) - public @ResponseBody - ServiceRestResponse updateCustomersSW(HttpServletRequest request, HttpServletResponse response, - @RequestParam(CommonConstants.PROFILE_DB) String profileDb) { - ServiceRestResponse serviceRestResponse = new ServiceRestResponse(); - try { - socialWebCustomerService.handleCustomersSW(OperationType.UPDATE); - serviceRestResponse.setEsito(EsitoType.OK); - } catch (Exception ex) { - serviceRestResponse.setEsito(EsitoType.KO); - serviceRestResponse.setErrorMessage(ex.getMessage()); - } - return serviceRestResponse; - } - - @RequestMapping(value = EmsRestConstants.PATH_CREATE_BAC_SW, method = RequestMethod.POST) - public @ResponseBody - ServiceRestResponse createBACSW(HttpServletRequest request, HttpServletResponse response, @RequestParam(CommonConstants.PROFILE_DB) String profileDb) { - ServiceRestResponse serviceRestResponse = new ServiceRestResponse(); - try { - socialWebBACService.createBACSW(); - serviceRestResponse.setEsito(EsitoType.OK); - } catch (Exception ex) { - serviceRestResponse.setEsito(EsitoType.KO); - serviceRestResponse.setErrorMessage(ex.getMessage()); - } - return serviceRestResponse; - } - - @RequestMapping(value = EmsRestConstants.PATH_CREATE_RBAC_SW, method = RequestMethod.POST) - public @ResponseBody - ServiceRestResponse createRBACSW(HttpServletRequest request, HttpServletResponse response, @RequestParam(CommonConstants.PROFILE_DB) String profileDb) { - ServiceRestResponse serviceRestResponse = new ServiceRestResponse(); - try { - socialWebBACService.createRBACSW(); - serviceRestResponse.setEsito(EsitoType.OK); - } catch (Exception ex) { - serviceRestResponse.setEsito(EsitoType.KO); - serviceRestResponse.setErrorMessage(ex.getMessage()); - } - return serviceRestResponse; - } - - @RequestMapping(value = EmsRestConstants.PATH_CREATE_DMAC_SW, method = RequestMethod.POST) - public @ResponseBody - ServiceRestResponse createDMACSW(HttpServletRequest request, HttpServletResponse response, @RequestParam(CommonConstants.PROFILE_DB) String profileDb) { - ServiceRestResponse serviceRestResponse = new ServiceRestResponse(); - try { - socialWebBACService.createDMACSW(); - serviceRestResponse.setEsito(EsitoType.OK); - } catch (Exception ex) { - serviceRestResponse.setEsito(EsitoType.KO); - serviceRestResponse.setErrorMessage(ex.getMessage()); - } - return serviceRestResponse; - } - - @RequestMapping(value = EmsRestConstants.PATH_GET_ORDINI_FIDELITY_SOCIALWEB, method = RequestMethod.POST) - public @ResponseBody - List getOrdiniFidelitySocialWeb(HttpServletRequest request, HttpServletResponse response, - @RequestParam(CommonConstants.PROFILE_DB) String profileDb, - @RequestBody GetOrdiniFidelitySocialWebRequest payload) throws Exception { - return socialWareEcommerceService.getOrdiniFidelitySocialWeb(payload); - } - - @RequestMapping(value = EmsRestConstants.PATH_GET_RICAMBI_SOCIALWEB, method = RequestMethod.POST) - public @ResponseBody - List getRicambiSocialWeb(HttpServletRequest request, HttpServletResponse response, - @RequestParam(CommonConstants.PROFILE_DB) String profileDb, - @RequestBody GetRicambiSocialWebRequest payload) throws Exception { - return socialWareEcommerceService.getRicambiSocialWeb(payload); - } - - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/CustomerAddressDTO.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/CustomerAddressDTO.java deleted file mode 100644 index ba85966530..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/CustomerAddressDTO.java +++ /dev/null @@ -1,132 +0,0 @@ -package it.integry.ems.order.socialware.dto; - -import com.fasterxml.jackson.annotation.JsonProperty; - -public class CustomerAddressDTO { - - @JsonProperty("IDGestionale_Address") - private String idGestionaleAddress; - - @JsonProperty("firstname") - private String firstName; - - @JsonProperty("lastname") - private String lastName; - - @JsonProperty("company") - private String company; - - @JsonProperty("city") - private String city; - - @JsonProperty("address_1") - private String address1; - - @JsonProperty("country_id") - private String countryId; - - @JsonProperty("postcode") - private String postCode; - - @JsonProperty("zone_id") - private String zoneId; - - @JsonProperty("address_2") - private String address2; - - @JsonProperty("default") - private String defaultValue; - - public CustomerAddressDTO() { - countryId = "105"; - defaultValue = "1"; - } - - public String getIdGestionaleAddress() { - return idGestionaleAddress; - } - - public void setIdGestionaleAddress(String idGestionaleAddress) { - this.idGestionaleAddress = idGestionaleAddress; - } - - public String getFirstName() { - return firstName; - } - - public void setFirstName(String firstName) { - this.firstName = firstName; - } - - public String getLastName() { - return lastName; - } - - public void setLastName(String lastName) { - this.lastName = lastName; - } - - public String getCompany() { - return company; - } - - public void setCompany(String company) { - this.company = company; - } - - public String getCity() { - return city; - } - - public void setCity(String city) { - this.city = city; - } - - public String getAddress1() { - return address1; - } - - public void setAddress1(String address1) { - this.address1 = address1; - } - - public String getCountryId() { - return countryId; - } - - public void setCountryId(String countryId) { - this.countryId = countryId; - } - - public String getPostCode() { - return postCode; - } - - public void setPostCode(String postCode) { - this.postCode = postCode; - } - - public String getZoneId() { - return zoneId; - } - - public void setZoneId(String zoneId) { - this.zoneId = zoneId; - } - - public String getAddress2() { - return address2; - } - - public void setAddress2(String address2) { - this.address2 = address2; - } - - public String getDefaultValue() { - return defaultValue; - } - - public void setDefaultValue(String defaultValue) { - this.defaultValue = defaultValue; - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/CustomerDTOCustomField.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/CustomerDTOCustomField.java deleted file mode 100644 index 751931ce8f..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/CustomerDTOCustomField.java +++ /dev/null @@ -1,46 +0,0 @@ -package it.integry.ems.order.socialware.dto; - -import com.fasterxml.jackson.annotation.JsonGetter; -import it.integry.ems_model.annotation.SqlField; - -public class CustomerDTOCustomField { - - @SqlField(value = "cod_fisc") - private String codiceFiscale; - - @SqlField(value = "part_iva") - private String partitaIva; - - @SqlField(value = "cod_anag") - private String idGestionale; - - public CustomerDTOCustomField() { - } - - @JsonGetter(value = "1") - public String getCodiceFiscale() { - return codiceFiscale; - } - - public void setCodiceFiscale(String codiceFiscale) { - this.codiceFiscale = codiceFiscale; - } - - @JsonGetter(value = "2") - public String getPartitaIva() { - return partitaIva; - } - - public void setPartitaIva(String partitaIva) { - this.partitaIva = partitaIva; - } - - @JsonGetter(value = "3") - public String getIdGestionale() { - return idGestionale; - } - - public void setIdGestionale(String idGestionale) { - this.idGestionale = idGestionale; - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/CustomerInsertDTO.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/CustomerInsertDTO.java deleted file mode 100644 index cd48949e85..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/CustomerInsertDTO.java +++ /dev/null @@ -1,92 +0,0 @@ -package it.integry.ems.order.socialware.dto; - -import com.fasterxml.jackson.annotation.JsonProperty; -import com.fasterxml.jackson.annotation.JsonUnwrapped; - -public class CustomerInsertDTO { - - @JsonUnwrapped - @JsonProperty(value = "updateDto") - private CustomerUpdateDTO updateDTO; - - @JsonProperty(value = "password") - private String password; - - @JsonProperty(value = "confirm") - private String confirm; - - @JsonProperty(value = "newsletter") - private String newsLetter = "1"; - - @JsonProperty(value = "approved") - private String approved = "0"; - - @JsonProperty(value = "safe") - private String safe = "1"; - - @JsonProperty(value = "customer_group_id") - private String customerGroupId = "6"; - - public CustomerInsertDTO() { - } - - public CustomerInsertDTO(CustomerUpdateDTO updateDTO) { - this.updateDTO = updateDTO; - } - - public String getPassword() { - return password; - } - - public void setPassword(String password) { - this.password = password; - } - - public String getConfirm() { - return confirm; - } - - public void setConfirm(String confirm) { - this.confirm = confirm; - } - - public String getNewsLetter() { - return newsLetter; - } - - public void setNewsLetter(String newsLetter) { - this.newsLetter = newsLetter; - } - - public String getApproved() { - return approved; - } - - public void setApproved(String approved) { - this.approved = approved; - } - - public String getSafe() { - return safe; - } - - public void setSafe(String safe) { - this.safe = safe; - } - - public String getCustomerGroupId() { - return customerGroupId; - } - - public void setCustomerGroupId(String customerGroupId) { - this.customerGroupId = customerGroupId; - } - - public CustomerUpdateDTO getUpdateDTO() { - return updateDTO; - } - - public void setUpdateDTO(CustomerUpdateDTO updateDTO) { - this.updateDTO = updateDTO; - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/CustomerUpdateDTO.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/CustomerUpdateDTO.java deleted file mode 100644 index 660ce6448e..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/CustomerUpdateDTO.java +++ /dev/null @@ -1,105 +0,0 @@ -package it.integry.ems.order.socialware.dto; - -import com.fasterxml.jackson.annotation.JsonProperty; - -import java.util.ArrayList; -import java.util.List; - -public class CustomerUpdateDTO { - - @JsonProperty(value = "firstname") - private String firstName; - - @JsonProperty(value = "lastname") - private String lastName; - - @JsonProperty(value = "email") - private String eMail; - - @JsonProperty(value = "status") - private String status; - - @JsonProperty(value = "telephone") - private String telephone; - - @JsonProperty(value = "fax") - private String fax; - - @JsonProperty(value = "custom_field") - private CustomerDTOCustomField customField; - - @JsonProperty(value = "address") - private List address; - - public CustomerUpdateDTO() { - address = new ArrayList(); - } - - public String getFirstName() { - return firstName; - } - - public void setFirstName(String firstName) { - this.firstName = firstName; - } - - public String getLastName() { - return lastName; - } - - public void setLastName(String lastName) { - this.lastName = lastName; - } - - public String geteMail() { - return eMail; - } - - public void seteMail(String eMail) { - this.eMail = eMail; - } - - public String getTelephone() { - return telephone; - } - - public void setTelephone(String telephone) { - this.telephone = telephone; - } - - public String getFax() { - return fax; - } - - public void setFax(String fax) { - this.fax = fax; - } - - public CustomerDTOCustomField getCustomField() { - return customField; - } - - public void setCustomField(CustomerDTOCustomField customField) { - this.customField = customField; - } - - public List getAddress() { - return address; - } - - public void setAddress(List addresses) { - for (CustomerAddressDTO address : addresses) { - address.setCompany(lastName); - } - this.address = addresses; - } - - public String getStatus() { - return status; - } - - public void setStatus(String status) { - this.status = status; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/ProductDTOSW.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/ProductDTOSW.java deleted file mode 100644 index 497a0d60f7..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/ProductDTOSW.java +++ /dev/null @@ -1,400 +0,0 @@ -package it.integry.ems.order.socialware.dto; - -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonProperty; -import it.integry.ems_model.annotation.SqlField; - -import java.math.BigDecimal; -import java.util.ArrayList; -import java.util.List; - -public class ProductDTOSW { - - @JsonProperty("model") - private String model; - @JsonProperty("sku") - private String sku; - @JsonProperty("quantity") - private BigDecimal quantity; - @JsonProperty("price") - private BigDecimal price; - @JsonProperty("keyword") - private String keyword; - @JsonProperty("tax_class_id") - private Integer taxClassId; - @JsonProperty("manufacturer_id") - private Integer manufacturerId; - @JsonProperty("sort_order") - private String sortOrder; - @JsonProperty("status") - private String status; - @JsonProperty("upc") - private String upc; - @JsonProperty("ean") - private String ean; - @JsonProperty("jan") - private String jan; - @JsonProperty("isb") - private String isb; - @JsonProperty("mpn") - private String mpn; - @JsonProperty("location") - private String location; - @JsonProperty("stock_status_id") - private String stockStatusId; - @JsonProperty("reward") - private String reward; - @JsonProperty("points") - private String points; - @JsonProperty("image") - private String image; - @SqlField - @JsonIgnore - private String descrizione; - @JsonProperty("other_images") - private List otherImages = new ArrayList(); - @JsonProperty("date_available") - private String dateAvailable; - @JsonProperty("weight") - private BigDecimal weight; - @JsonProperty("weight_class_id") - private String weightClassId; - @JsonProperty("length") - private String length; - @JsonProperty("width") - private String width; - @JsonProperty("height") - private String height; - @JsonProperty("length_class_id") - private String lengthClassId; - @JsonProperty("subtract") - private String subtract; - @JsonProperty("minimum") - private String minimum; - @JsonProperty("product_store") - private List productStore = new ArrayList(); - @JsonProperty("product_category") - private List productCategory = new ArrayList(); - @JsonProperty("product_description") - private List productDescription = new ArrayList(); - @JsonProperty("product_option") - private List productOption = new ArrayList(); - @JsonProperty("product_attribute") - private List productAttribute = new ArrayList(); - @JsonProperty("product_special") - private List productSpecial = new ArrayList(); - @JsonProperty("product_discount") - private List productDiscount = new ArrayList(); - @JsonProperty("product_related") - private List productRelated = new ArrayList(); - - public ProductDTOSW() { - productStore.add("0"); - productDescription.add(new ProductDescriptionDTOSW()); - } - - public String getModel() { - return model; - } - - public void setModel(String model) { - this.model = model; - } - - public String getSku() { - return sku; - } - - public void setSku(String sku) { - this.sku = sku; - } - - public BigDecimal getQuantity() { - return quantity; - } - - public void setQuantity(BigDecimal quantity) { - this.quantity = quantity; - } - - public BigDecimal getPrice() { - return price; - } - - public void setPrice(BigDecimal price) { - this.price = price; - } - - public String getKeyword() { - return keyword; - } - - public void setKeyword(String keyword) { - this.keyword = keyword; - } - - public Integer getTaxClassId() { - return taxClassId; - } - - public void setTaxClassId(Integer taxClassId) { - this.taxClassId = taxClassId; - } - - public Integer getManufacturerId() { - return manufacturerId; - } - - public void setManufacturerId(Integer manufacturerId) { - this.manufacturerId = manufacturerId; - } - - public String getSortOrder() { - return sortOrder; - } - - public void setSortOrder(String sortOrder) { - this.sortOrder = sortOrder; - } - - public String getStatus() { - return status; - } - - public void setStatus(String status) { - this.status = status; - } - - public String getUpc() { - return upc; - } - - public void setUpc(String upc) { - this.upc = upc; - } - - public String getEan() { - return ean; - } - - public void setEan(String ean) { - this.ean = ean; - } - - public String getJan() { - return jan; - } - - public void setJan(String jan) { - this.jan = jan; - } - - public String getIsb() { - return isb; - } - - public void setIsb(String isb) { - this.isb = isb; - } - - public String getMpn() { - return mpn; - } - - public void setMpn(String mpn) { - this.mpn = mpn; - } - - public String getLocation() { - return location; - } - - public void setLocation(String location) { - this.location = location; - } - - public String getStockStatusId() { - return stockStatusId; - } - - public void setStockStatusId(String stockStatusId) { - this.stockStatusId = stockStatusId; - } - - public String getReward() { - return reward; - } - - public void setReward(String reward) { - this.reward = reward; - } - - public String getPoints() { - return points; - } - - public void setPoints(String points) { - this.points = points; - } - - public String getImage() { - return image; - } - - public void setImage(String image) { - this.image = image; - } - - public List getOtherImages() { - return otherImages; - } - - public void setOtherImages(List otherImages) { - this.otherImages = otherImages; - } - - public String getDateAvailable() { - return dateAvailable; - } - - public void setDateAvailable(String dateAvailable) { - this.dateAvailable = dateAvailable; - } - - public BigDecimal getWeight() { - return weight; - } - - public void setWeight(BigDecimal weight) { - this.weight = weight; - } - - public String getWeightClassId() { - return weightClassId; - } - - public void setWeightClassId(String weightClassId) { - this.weightClassId = weightClassId; - } - - public String getLength() { - return length; - } - - public void setLength(String length) { - this.length = length; - } - - public String getWidth() { - return width; - } - - public void setWidth(String width) { - this.width = width; - } - - public String getHeight() { - return height; - } - - public void setHeight(String height) { - this.height = height; - } - - public String getLengthClassId() { - return lengthClassId; - } - - public void setLengthClassId(String lengthClassId) { - this.lengthClassId = lengthClassId; - } - - public String getSubtract() { - return subtract; - } - - public void setSubtract(String subtract) { - this.subtract = subtract; - } - - public String getMinimum() { - return minimum; - } - - public void setMinimum(String minimum) { - this.minimum = minimum; - } - - public String getDescrizione() { - return descrizione; - } - - public void setDescrizione(String descrizione) { - this.descrizione = descrizione; - } - - public List getProductStore() { - return productStore; - } - - public void setProductStore(List productStore) { - this.productStore = productStore; - } - - public List getProductCategory() { - return productCategory; - } - - public void setProductCategory(List productCategory) { - this.productCategory = productCategory; - } - - public List getProductDescription() { - return productDescription; - } - - public void setProductDescription(List productDescription) { - this.productDescription = productDescription; - } - - public List getProductOption() { - return productOption; - } - - public void setProductOption(List productOption) { - this.productOption = productOption; - } - - public List getProductAttribute() { - return productAttribute; - } - - public void setProductAttribute(List productAttribute) { - this.productAttribute = productAttribute; - } - - public List getProductSpecial() { - return productSpecial; - } - - public void setProductSpecial(List productSpecial) { - this.productSpecial = productSpecial; - } - - public List getProductDiscount() { - return productDiscount; - } - - public void setProductDiscount(List productDiscount) { - this.productDiscount = productDiscount; - } - - public List getProductRelated() { - return productRelated; - } - - public void setProductRelated(List productRelated) { - this.productRelated = productRelated; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/ProductDescriptionDTOSW.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/ProductDescriptionDTOSW.java deleted file mode 100644 index 35d10eb47c..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/ProductDescriptionDTOSW.java +++ /dev/null @@ -1,51 +0,0 @@ -package it.integry.ems.order.socialware.dto; - -import com.fasterxml.jackson.annotation.JsonProperty; - -public class ProductDescriptionDTOSW { - - @JsonProperty("language_id") - private String languageId = "1"; - - @JsonProperty - private String name; - - @JsonProperty("meta_title") - private String metaTitle; - - @JsonProperty - private String description; - - public String getLanguageId() { - return languageId; - } - - public void setLanguageId(String languageId) { - this.languageId = languageId; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public String getMetaTitle() { - return metaTitle; - } - - public void setMetaTitle(String metaTitle) { - this.metaTitle = metaTitle; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/ProductSpecialDTOSW.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/ProductSpecialDTOSW.java deleted file mode 100644 index 7e9bb6b9a7..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/ProductSpecialDTOSW.java +++ /dev/null @@ -1,72 +0,0 @@ -package it.integry.ems.order.socialware.dto; - -import com.fasterxml.jackson.annotation.JsonProperty; - -public class ProductSpecialDTOSW { - - @JsonProperty("customer_group_id") - private String customerGroupId; - - @JsonProperty("tipo") - private String tipo; - - @JsonProperty("price") - private String price; - - @JsonProperty("priority") - private String priority; - - @JsonProperty("date_start") - private String dateStart; - - @JsonProperty("date_end") - private String dateEnd; - - public String getCustomerGroupId() { - return customerGroupId; - } - - public void setCustomerGroupId(String customerGroupId) { - this.customerGroupId = customerGroupId; - } - - public String getTipo() { - return tipo; - } - - public void setTipo(String tipo) { - this.tipo = tipo; - } - - public String getPrice() { - return price; - } - - public void setPrice(String price) { - this.price = price; - } - - public String getPriority() { - return priority; - } - - public void setPriority(String priority) { - this.priority = priority; - } - - public String getDateStart() { - return dateStart; - } - - public void setDateStart(String dateStart) { - this.dateStart = dateStart; - } - - public String getDateEnd() { - return dateEnd; - } - - public void setDateEnd(String dateEnd) { - this.dateEnd = dateEnd; - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/SocialWebBACDTO.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/SocialWebBACDTO.java deleted file mode 100644 index 218c82a895..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/SocialWebBACDTO.java +++ /dev/null @@ -1,82 +0,0 @@ -package it.integry.ems.order.socialware.dto; - -import com.fasterxml.jackson.annotation.JsonIgnore; -import com.fasterxml.jackson.annotation.JsonInclude; -import com.fasterxml.jackson.annotation.JsonProperty; -import it.integry.ems_model.annotation.SqlField; - -public class SocialWebBACDTO { - - @SqlField(value = "cliente") - private String cliente; - - @JsonProperty(value = "codice_macchina") - private String codMacchina; - - @JsonInclude(value = JsonInclude.Include.NON_NULL) - @JsonProperty(value = "descrizione") - private String descrizione; - - @JsonProperty(value = "matricola") - private String matricola; - - @JsonInclude(value = JsonInclude.Include.NON_NULL) - @JsonProperty(value = "data_consegna") - private String dataConsegna; - - @JsonInclude(value = JsonInclude.Include.NON_NULL) - @JsonProperty(value = "tipo_cessione") - private String tipoCessione; - - public SocialWebBACDTO() { - } - - @JsonIgnore - public String getCliente() { - return cliente; - } - - public void setCliente(String cliente) { - this.cliente = cliente; - } - - public String getCodMacchina() { - return codMacchina; - } - - public void setCodMacchina(String codMacchina) { - this.codMacchina = codMacchina; - } - - public String getDescrizione() { - return descrizione; - } - - public void setDescrizione(String descrizione) { - this.descrizione = descrizione; - } - - public String getMatricola() { - return matricola; - } - - public void setMatricola(String matricola) { - this.matricola = matricola; - } - - public String getDataConsegna() { - return dataConsegna; - } - - public void setDataConsegna(String dataConsegna) { - this.dataConsegna = dataConsegna; - } - - public String getTipoCessione() { - return tipoCessione; - } - - public void setTipoCessione(String tipoCessione) { - this.tipoCessione = tipoCessione; - } -} \ No newline at end of file diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/SocialWebDMACDTO.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/SocialWebDMACDTO.java deleted file mode 100644 index e144162500..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/SocialWebDMACDTO.java +++ /dev/null @@ -1,32 +0,0 @@ -package it.integry.ems.order.socialware.dto; - -import com.fasterxml.jackson.annotation.JsonProperty; - -public class SocialWebDMACDTO { - - @JsonProperty(value = "codice_macchina") - private String codMacchina; - - @JsonProperty(value = "matricola") - private String matricola; - - public SocialWebDMACDTO() { - } - - public String getCodMacchina() { - return codMacchina; - } - - public void setCodMacchina(String codMacchina) { - this.codMacchina = codMacchina; - } - - public String getMatricola() { - return matricola; - } - - public void setMatricola(String matricola) { - this.matricola = matricola; - } - -} \ No newline at end of file diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/SocialwareResponse.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/SocialwareResponse.java deleted file mode 100644 index 96d98ee7af..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/SocialwareResponse.java +++ /dev/null @@ -1,23 +0,0 @@ -package it.integry.ems.order.socialware.dto; - -public class SocialwareResponse { - - private Boolean success; - private String error; - - public Boolean getSuccess() { - return success; - } - - public void setSuccess(Boolean success) { - this.success = success; - } - - public String getError() { - return error; - } - - public void setError(String error) { - this.error = error; - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/TrackingDTOSW.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/TrackingDTOSW.java deleted file mode 100644 index 25c0bb717d..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/dto/TrackingDTOSW.java +++ /dev/null @@ -1,23 +0,0 @@ -package it.integry.ems.order.socialware.dto; - -public class TrackingDTOSW { - - private String tracking; - private String courier; - - public String getTracking() { - return tracking; - } - - public void setTracking(String tracking) { - this.tracking = tracking; - } - - public String getCourier() { - return courier; - } - - public void setCourier(String courier) { - this.courier = courier; - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/interceptor/SocialWebRequestInterceptor.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/interceptor/SocialWebRequestInterceptor.java deleted file mode 100644 index 1ef2a8a701..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/interceptor/SocialWebRequestInterceptor.java +++ /dev/null @@ -1,22 +0,0 @@ -package it.integry.ems.order.socialware.interceptor; - -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; -import org.springframework.http.HttpRequest; -import org.springframework.http.client.ClientHttpRequestExecution; -import org.springframework.http.client.ClientHttpRequestInterceptor; -import org.springframework.http.client.ClientHttpResponse; - -import java.io.IOException; - -public class SocialWebRequestInterceptor implements ClientHttpRequestInterceptor { - - private Logger logger = LogManager.getLogger(); - - @Override - public ClientHttpResponse intercept(HttpRequest request, byte[] body, ClientHttpRequestExecution execution) throws IOException { - //logger.debug("Request to " + request.getURI()); - //logger.debug("Body: " + new String(body, "UTF-8")); - return execution.execute(request, body); - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/job/ExportProductSWJob.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/job/ExportProductSWJob.java deleted file mode 100644 index 31b9226f35..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/job/ExportProductSWJob.java +++ /dev/null @@ -1,163 +0,0 @@ -package it.integry.ems.order.socialware.job; - -import it.integry.common.var.CommonConstants; -import it.integry.ems.datasource.DataSource; -import it.integry.ems.json.ResponseJSONObjectMapper; -import it.integry.ems.properties.EmsProperties; -import it.integry.ems.response.EsitoType; -import it.integry.ems.response.FileItem; -import it.integry.ems.response.ServiceRestResponse; -import it.integry.ems.schedule.cron_job.QuartzJobBeanWithConf; -import it.integry.ems_model.config.EmsRestConstants; -import it.integry.ems_model.service.SetupGest; -import it.integry.security.utility.RestUtil; -import org.apache.commons.codec.binary.Base64; -import org.apache.commons.io.IOUtils; -import org.apache.commons.net.ftp.FTP; -import org.apache.commons.net.ftp.FTPClient; -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; -import org.quartz.JobExecutionContext; -import org.quartz.JobExecutionException; -import org.springframework.beans.factory.annotation.Autowired; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.ClientBuilder; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import java.io.IOException; -import java.io.OutputStream; - -public class ExportProductSWJob extends QuartzJobBeanWithConf { - - private EmsProperties emsProperties; - private ResponseJSONObjectMapper jsonObjectMapper; - private SetupGest setupGest; - - private Logger logger = LogManager.getLogger(); - - public EmsProperties getEmsProperties() { - return emsProperties; - } - - @Autowired - public void setEmsProperties(EmsProperties emsProperties) { - this.emsProperties = emsProperties; - } - - public ResponseJSONObjectMapper getJsonObjectMapper() { - return jsonObjectMapper; - } - - @Autowired - public void setJsonObjectMapper(ResponseJSONObjectMapper jsonObjectMapper) { - this.jsonObjectMapper = jsonObjectMapper; - } - - public SetupGest getSetupGest() { - return setupGest; - } - - @Autowired - public void setSetupGest(SetupGest setupGest) { - this.setupGest = setupGest; - } - - @Override - protected void executeInternal(JobExecutionContext jobExecutionContext) throws JobExecutionException { - try { - String database = profileDb; - DataSource ds = new DataSource(); - ds.initialize(profileDb); - - Boolean enabled = Boolean.parseBoolean(setupGest.getSetup(ds.getConnection(), - "IMPORT_ORDINI WEB", "SOCIALWARE", "EXP_PRODUCT_ENABLED")); - - if (enabled && "/ems-api".equals(emsProperties.getRootApi())) { - - String auth = RestUtil.generateAuth(database, database, "POST", "", "text/plain", - emsProperties.getRootApi() + EmsRestConstants.PATH_INSERT_PRODUCT_SW); - - Client client = ClientBuilder.newClient(); - WebTarget resource = client.target(emsProperties.getEndPointWS()).path( - emsProperties.getRootApi() + EmsRestConstants.PATH_INSERT_PRODUCT_SW); - Response responseEms = resource.queryParam(CommonConstants.PROFILE_DB, database).request() - .header("Authorization", database + ":" + auth) - .post(Entity.text("")); - - String value = responseEms.readEntity(String.class); - ServiceRestResponse resp = jsonObjectMapper.readValue(value, ServiceRestResponse.class); - responseEms.close(); - client.close(); - if (resp.getEsito() == EsitoType.KO) { - logger.error("INSERIMENTO PRODOTTI VERSO SOCIAL WARE NON AVVENUTO: " + resp.getErrorMessage()); - } - - auth = RestUtil.generateAuth(database, database, "POST", "", "text/plain", - emsProperties.getRootApi() + EmsRestConstants.PATH_UPDATE_PRODUCT_SW); - - client = ClientBuilder.newClient(); - resource = client.target(emsProperties.getEndPointWS()).path( - emsProperties.getRootApi() + EmsRestConstants.PATH_UPDATE_PRODUCT_SW); - responseEms = resource.queryParam(CommonConstants.PROFILE_DB, database).request() - .header("Authorization", database + ":" + auth) - .post(Entity.text("")); - - value = responseEms.readEntity(String.class); - resp = jsonObjectMapper.readValue(value, ServiceRestResponse.class); - responseEms.close(); - client.close(); - - if (resp.getEsito() == EsitoType.KO) { - - } else if (resp.getEsito() == EsitoType.OK) { - FileItem item = resp.getXml(); - String data = new String(Base64.decodeBase64(item.getFileb64Content())); - - String server = setupGest.getSetup(ds.getConnection(), "IMPORT_ORDINI WEB", - "SOCIALWARE", "FTP_SERVER"); - int port = 21; - String user = setupGest.getSetup(ds.getConnection(), "IMPORT_ORDINI WEB", - "SOCIALWARE", "FTP_USER"); - String pass = setupGest.getSetup(ds.getConnection(), "IMPORT_ORDINI WEB", - "SOCIALWARE", "FTP_PASSWORD"); - - FTPClient ftpClient = new FTPClient(); - try { - ftpClient.connect(server, port); - ftpClient.login(user, pass); - ftpClient.setFileType(FTP.BINARY_FILE_TYPE); - ftpClient.enterLocalPassiveMode(); - - OutputStream os = ftpClient.storeFileStream(item.getFileName()); - if (ftpClient.getReplyCode() > 399) { - for (String line : ftpClient.getReplyStrings()) { - throw new IOException(line); - } - } - if (os != null) { - IOUtils.write(data, os, "UTF-8"); - os.close(); - } - boolean completed = ftpClient.completePendingCommand(); - if (completed) { - - } - } catch (IOException ex) { - ex.printStackTrace(); - logger.error(ex.toString()); - } finally { - if (ftpClient.isConnected()) { - ftpClient.logout(); - ftpClient.disconnect(); - } - } - } - } - } catch (Exception ex) { - ex.printStackTrace(); - logger.error(ex.toString()); - } - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/rest/GetOrdiniFidelitySocialWebRequest.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/rest/GetOrdiniFidelitySocialWebRequest.java deleted file mode 100644 index fa9549e71d..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/rest/GetOrdiniFidelitySocialWebRequest.java +++ /dev/null @@ -1,28 +0,0 @@ -package it.integry.ems.order.socialware.rest; - -import java.util.Date; - -public class GetOrdiniFidelitySocialWebRequest { - - private Date dataIniz; - private Date dataFine; - - public GetOrdiniFidelitySocialWebRequest() { - } - - public Date getDataIniz() { - return dataIniz; - } - - public void setDataIniz(Date dataIniz) { - this.dataIniz = dataIniz; - } - - public Date getDataFine() { - return dataFine; - } - - public void setDataFine(Date dataFine) { - this.dataFine = dataFine; - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/rest/GetOrdiniFidelitySocialWebResponse.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/rest/GetOrdiniFidelitySocialWebResponse.java deleted file mode 100644 index e78920ec20..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/rest/GetOrdiniFidelitySocialWebResponse.java +++ /dev/null @@ -1,144 +0,0 @@ -package it.integry.ems.order.socialware.rest; - -import it.integry.ems_model.annotation.SqlField; - -import java.math.BigDecimal; -import java.util.Date; - -public class GetOrdiniFidelitySocialWebResponse { - - @SqlField(value = "cod_anag") - private String codClie; - - @SqlField(value = "rag_soc") - private String ragSoc; - - @SqlField(value = "cod_vdes") - private String codDest; - - @SqlField(value = "destinatario") - private String destMerce; - - @SqlField(value = "data_ord") - private Date data; - - @SqlField(value = "cod_mart") - private String codArt; - - @SqlField(value = "unt_ord") - private String untMis; - - @SqlField(value = "qta_ord") - private BigDecimal qta; - - @SqlField(value = "importo_riga") - private BigDecimal importo; - - @SqlField(value = "riferimento") - private String riferimento; - - @SqlField(value = "tipologia") - private String tipologia; - - @SqlField(value = "stato") - private String stato; - - public GetOrdiniFidelitySocialWebResponse() { - } - - public String getCodClie() { - return codClie; - } - - public void setCodClie(String codClie) { - this.codClie = codClie; - } - - public String getRagSoc() { - return ragSoc; - } - - public void setRagSoc(String ragSoc) { - this.ragSoc = ragSoc; - } - - public String getCodDest() { - return codDest; - } - - public void setCodDest(String codDest) { - this.codDest = codDest; - } - - public String getDestMerce() { - return destMerce; - } - - public void setDestMerce(String destMerce) { - this.destMerce = destMerce; - } - - public Date getData() { - return data; - } - - public void setData(Date data) { - this.data = data; - } - - public String getCodArt() { - return codArt; - } - - public void setCodArt(String codArt) { - this.codArt = codArt; - } - - public String getUntMis() { - return untMis; - } - - public void setUntMis(String untMis) { - this.untMis = untMis; - } - - public BigDecimal getQta() { - return qta; - } - - public void setQta(BigDecimal qta) { - this.qta = qta; - } - - public BigDecimal getImporto() { - return importo; - } - - public void setImporto(BigDecimal importo) { - this.importo = importo; - } - - public String getStato() { - return stato; - } - - public void setStato(String stato) { - this.stato = stato; - } - - public String getRiferimento() { - return riferimento; - } - - public void setRiferimento(String riferimento) { - this.riferimento = riferimento; - } - - public String getTipologia() { - return tipologia; - } - - public void setTipologia(String tipologia) { - this.tipologia = tipologia; - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/rest/GetRicambiSocialWebRequest.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/rest/GetRicambiSocialWebRequest.java deleted file mode 100644 index c67a72d74f..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/rest/GetRicambiSocialWebRequest.java +++ /dev/null @@ -1,52 +0,0 @@ -package it.integry.ems.order.socialware.rest; - -import com.fasterxml.jackson.annotation.JsonCreator; - -import java.util.Date; - -public class GetRicambiSocialWebRequest { - - private Date dataValidita; - private TipoArticolo tipoArticolo; - - public GetRicambiSocialWebRequest() { - } - - public Date getDataValidita() { - return dataValidita; - } - - public void setDataValidita(Date dataValidita) { - this.dataValidita = dataValidita; - } - - public TipoArticolo getTipoArticolo() { - return tipoArticolo; - } - - public void setTipoArticolo(TipoArticolo tipoArticolo) { - this.tipoArticolo = tipoArticolo; - } - - public enum TipoArticolo { - MACCHINARI("MACCHINARI"), - NON_SPECIFICATO(""), - RICAMBI("RICAMBI"); - - String value; - - TipoArticolo(String value) { - this.value = value; - } - - @JsonCreator - public static TipoArticolo fromString(String value) { - for (TipoArticolo type : TipoArticolo.values()) { - if (type.value.equals(value)) { - return type; - } - } - return null; - } - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/rest/GetRicambiSocialWebResponse.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/rest/GetRicambiSocialWebResponse.java deleted file mode 100644 index d66666985c..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/rest/GetRicambiSocialWebResponse.java +++ /dev/null @@ -1,88 +0,0 @@ -package it.integry.ems.order.socialware.rest; - -import it.integry.ems_model.annotation.SqlField; - -import java.math.BigDecimal; - -public class GetRicambiSocialWebResponse { - - @SqlField(value = "cod_mart") - private String codArt; - - @SqlField(value = "descrizione") - private String descrizione; - - @SqlField(value = "descrizione_estesa") - private String descrizioneEstesa; - - @SqlField(value = "unt_mis") - private String untMis; - - @SqlField(value = "costo") - private BigDecimal costo; - - @SqlField(value = "partita_mag") - private String matricola; - - @SqlField(value = "giacenza") - private BigDecimal giacenza; - - public GetRicambiSocialWebResponse() { - } - - public String getCodArt() { - return codArt; - } - - public void setCodArt(String codArt) { - this.codArt = codArt; - } - - public String getDescrizione() { - return descrizione; - } - - public void setDescrizione(String descrizione) { - this.descrizione = descrizione; - } - - public String getDescrizioneEstesa() { - return descrizioneEstesa; - } - - public void setDescrizioneEstesa(String descrizioneEstesa) { - this.descrizioneEstesa = descrizioneEstesa; - } - - public String getUntMis() { - return untMis; - } - - public void setUntMis(String untMis) { - this.untMis = untMis; - } - - public BigDecimal getCosto() { - return costo; - } - - public void setCosto(BigDecimal costo) { - this.costo = costo; - } - - public String getMatricola() { - return matricola; - } - - public void setMatricola(String matricola) { - this.matricola = matricola; - } - - public BigDecimal getGiacenza() { - return giacenza; - } - - public void setGiacenza(BigDecimal giacenza) { - this.giacenza = giacenza; - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/rest/SocialWebHttpResponse.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/rest/SocialWebHttpResponse.java deleted file mode 100644 index d1e27b442c..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/rest/SocialWebHttpResponse.java +++ /dev/null @@ -1,41 +0,0 @@ -package it.integry.ems.order.socialware.rest; - -import com.fasterxml.jackson.annotation.JsonIgnore; - -import java.util.List; - -public class SocialWebHttpResponse { - - private int success; - private List error; - - @JsonIgnore - private List data; - - public SocialWebHttpResponse() { - } - - public int getSuccess() { - return success; - } - - public void setSuccess(int success) { - this.success = success; - } - - public List getError() { - return error; - } - - public void setError(List error) { - this.error = error; - } - - public List getData() { - return data; - } - - public void setData(List data) { - this.data = data; - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/service/SocialWareEcommerceService.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/service/SocialWareEcommerceService.java deleted file mode 100644 index 0fe6887b45..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/service/SocialWareEcommerceService.java +++ /dev/null @@ -1,446 +0,0 @@ -package it.integry.ems.order.socialware.service; - -import it.integry.common.var.CommonConstants; -import it.integry.ems.json.ResponseJSONObjectMapper; -import it.integry.ems.order.dto.GiacenzaEcommerceDTO; -import it.integry.ems.order.socialware.dto.ProductDTOSW; -import it.integry.ems.order.socialware.dto.SocialwareResponse; -import it.integry.ems.order.socialware.dto.TrackingDTOSW; -import it.integry.ems.order.socialware.rest.GetOrdiniFidelitySocialWebRequest; -import it.integry.ems.order.socialware.rest.GetOrdiniFidelitySocialWebResponse; -import it.integry.ems.order.socialware.rest.GetRicambiSocialWebRequest; -import it.integry.ems.order.socialware.rest.GetRicambiSocialWebResponse; -import it.integry.ems.response.FileItem; -import it.integry.ems.sync.MultiDBTransaction.MultiDBTransactionManager; -import it.integry.ems_model.db.ResultSetMapper; -import it.integry.ems_model.service.SetupGest; -import it.integry.ems_model.utility.UtilityDB; -import it.integry.ems_model.utility.UtilityDate; -import it.integry.ems_model.utility.UtilityString; -import it.integry.ems_model.utility.UtilityXML; -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.context.annotation.Scope; -import org.springframework.stereotype.Service; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.ClientBuilder; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import java.io.StringWriter; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.text.SimpleDateFormat; -import java.util.ArrayList; -import java.util.Date; -import java.util.List; - -@Service -@Scope("request") -public class SocialWareEcommerceService { - - @Autowired - SocialWebServiceBase socialWebServiceBase; - @Autowired - private MultiDBTransactionManager multiDBTransactionManager; - @Autowired - private ResponseJSONObjectMapper jsonObjectMapper; - @Autowired - private SetupGest setupGest; - private String className = "WS_ECOMMERCE"; - private String section = "SETUP"; - - public void insertProductSW(String tipoVariazione) throws Exception { - boolean hasError = false; - String gestName = "IMPORT_ORDINI WEB"; - String section = "SOCIALWARE"; - String lastSuccessDateField = ""; - Logger logger = LogManager.getLogger(); - - String endpoint = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), "IMPORT_ORDINI WEB", "SOCIALWARE", "ENDPOINT_REST"); - if (UtilityString.isNullOrEmpty(endpoint)) - throw new Exception("ENDPOINT_REST NON CONFIGURATO"); - String newVersion = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), "IMPORT_ORDINI WEB", "SOCIALWARE", "NEW_VERSION"); - if (UtilityString.isNullOrEmpty(newVersion)) - newVersion = "N"; - String languageID = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), "IMPORT_ORDINI WEB", "SOCIALWARE", "LANGUAGE_ID"); - if (UtilityString.isNullOrEmpty(languageID)) - throw new Exception("LANGUAGE_ID NON CONFIGURATO"); - - String sql; - String password = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), "IMPORT_ORDINI WEB", "SOCIALWARE", "PASSWORD"); - if ("S".compareTo(newVersion) == 0) { - String dataLastExport; - if ("U".compareTo(tipoVariazione) == 0) { - lastSuccessDateField = "UPDATEPRODUCTS_LAST_SUCCESS"; - } else { - lastSuccessDateField = "INSERTPRODUCTS_LAST_SUCCESS"; - } - dataLastExport = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), "IMPORT_ORDINI WEB", "SOCIALWARE", lastSuccessDateField); - Date dataLastExpSuccess = UtilityDate.StringToDate(dataLastExport, CommonConstants.DATE_FORMAT_YMD); - sql = "SELECT * from vvw_vgalimenti_get_art_ecomm where tipo_variazione = " + UtilityDB.valueToString(tipoVariazione) + " and data_iniz > " + UtilityDB.valueDateToString(dataLastExpSuccess, CommonConstants.DATE_FORMAT_YMD); - } else { - sql = "SELECT * from vvw_vgalimenti_get_art_ecomm where tipo_variazione = " + UtilityDB.valueToString(tipoVariazione) + " and data_iniz = convert(varchar, getdate(), 111)"; - } - - List list = new ResultSetMapper() - .mapQuerySetToList(multiDBTransactionManager.getPrimaryConnection(), sql, ProductDTOSW.class); - - for (ProductDTOSW productSW : list) { - logger.warn("SocialWeb - Tipo_variazione " + tipoVariazione + productSW.getModel()); - - productSW.getProductDescription().get(0).setName(productSW.getDescrizione()); - productSW.getProductDescription().get(0).setMetaTitle(productSW.getDescrizione()); - productSW.getProductDescription().get(0).setDescription(productSW.getDescrizione()); - if ("S".compareTo(newVersion) == 0) { - String codMsgrp = null; - sql = "SELECT mtb_sgrp.descrizione " + - "FROM mtb_aart, mtb_sgrp " + - "WHERE mtb_aart.cod_mgrp = mtb_sgrp.cod_mgrp and " + - " mtb_aart.cod_msgr = mtb_sgrp.cod_msgr and " + - " mtb_aart.cod_mart = " + UtilityDB.valueToString(productSW.getModel()); - PreparedStatement info = multiDBTransactionManager.getPrimaryConnection().prepareStatement(sql); - ResultSet res = info.executeQuery(); - while (res.next()) { - codMsgrp = res.getString(1); - } - res.close(); - info.close(); - - List category = new ArrayList(); - category.add(codMsgrp); - productSW.getProductDescription().get(0).setLanguageId(languageID); /*Deve essere 1 per vg e 5 per sevenbar*/ - productSW.setProductCategory(category); - } - -/* if ("S".compareTo(newVersion) == 0) { - sql = "select left(customer_group_id, len(customer_group_id) -1) as customer_group_id, " + - " tipo, " + - " price, " + - " priority, " + - " date_start, " + - " date_end " + - " from (select distinct dbo.f_listaClientiCatScoCliArt(vtb_scon.cod_sco_cli, vtb_scon.cod_sco_art) as customer_group_id, " + - " 'P' as tipo, " + - " convert(varchar, vtb_scon.perc_sco1) as price, " + - " convert(varchar, 1) as priority, " + - "'2019-01-01' as date_start, " + - "'2019-12-31' as date_end " + - "from vtb_scon, vtb_clie, mtb_aart " + - "where mtb_aart.cod_mart = " + UtilityDB.valueToString(productSW.getModel()) + " and " + - " vtb_scon.cod_sco_cli = vtb_clie.cod_sco_cli and " + - " vtb_scon.cod_sco_art = mtb_aart.cod_sco_art)dettSconti "; - - List productSpecialDTOSW = new ResultSetMapper() - .mapQuerySetToList(multiDBTransactionManager.getPrimaryConnection(), sql, ProductSpecialDTOSW.class); - productSW.setProductSpecial(productSpecialDTOSW); - }*/ - - StringWriter writer = new StringWriter(); - jsonObjectMapper.writeValue(writer, productSW); - - String jsonBody = writer.toString(); - final Client clientCheck = ClientBuilder.newClient(); - final WebTarget resourceCheck = clientCheck.target(endpoint - + "/index.php?route=rest/product_admin/getproductbysku&sku=" + productSW.getSku()); - Response responseCheck = resourceCheck.request().header("X-Oc-Restadmin-Id", password).get(); - String valueCheck = responseCheck.readEntity(String.class); - SocialwareResponse resp = jsonObjectMapper.readValue(valueCheck, SocialwareResponse.class); - - logger.warn("SocialWeb - JsonBody " + jsonBody); - - responseCheck.close(); - clientCheck.close(); - - if (!resp.getSuccess() || "U".compareTo(tipoVariazione) == 0) { - final Client client = ClientBuilder.newClient(); - final WebTarget resource = client.target(endpoint - + "/index.php?route=rest/product_admin/products"); - - Response response; - response = resource.request().header("X-Oc-Restadmin-Id", password).post(Entity.json(jsonBody)); - - /* Response response; - if ("U".compareTo(tipoVariazione) == 0) { - response = resource.request().header("X-Oc-Restadmin-Id", password).put(Entity.json(jsonBody)); - } else { - response = resource.request().header("X-Oc-Restadmin-Id", password).post(Entity.json(jsonBody)); - }*/ - - String value = response.readEntity(String.class); - SocialwareResponse respInsert = jsonObjectMapper.readValue(value, SocialwareResponse.class); - response.close(); - client.close(); - - if (!respInsert.getSuccess()) { - hasError = true; - logger.warn("SocialWeb - errore invocazione servizio " + UtilityString.streNull(respInsert.getError())); - } else { - logger.warn("SocialWeb - OK"); - } - } - } - - if ("S".compareTo(newVersion) == 0) { - if (!hasError) { - socialWebServiceBase.updateSetupGest(gestName, section, lastSuccessDateField); - } - } - } - - public void orderTrackingSW(String orderId) throws Exception { - String endpoint = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), "IMPORT_ORDINI WEB", "SOCIALWARE", "ENDPOINT_REST"); - if (UtilityString.isNullOrEmpty(endpoint)) - throw new Exception("ENDPOINT_REST NON CONFIGURATO"); - - String password = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), "IMPORT_ORDINI WEB", "SOCIALWARE", "PASSWORD"); - - - //ResultSetMapper mapper = new ResultSetMapper(); - //List list = mapper.mapQuerySetToList(multiDBTransactionManager.getPrimaryConnection(), sql, ProductDTOSW.class); - TrackingDTOSW trackingDTOSW = new TrackingDTOSW(); - - StringWriter writer = new StringWriter(); - jsonObjectMapper.writeValue(writer, trackingDTOSW); - - String jsonBody = writer.toString(); - - final Client client = ClientBuilder.newClient(); - final WebTarget resource = client.target(endpoint - + "/index.php?route=rest/order_admin/ordertracking&id=" + orderId); - - Response response = resource.request().header("X-Oc-Restadmin-Id", password) - .put(Entity.json(jsonBody)); - - String value = response.readEntity(String.class); - SocialwareResponse respInsert = jsonObjectMapper.readValue(value, SocialwareResponse.class); - response.close(); - client.close(); - } - - public FileItem updateProductSW() throws Exception { - FileItem xml = null; - String newVersion = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), "IMPORT_ORDINI WEB", "SOCIALWARE", "NEW_VERSION"); - if (UtilityString.isNullOrEmpty(newVersion)) - newVersion = "N"; - - if ("S".compareTo(newVersion) == 0) { - insertProductSW("U"); - } else { - String sql = "select sku, price, descrizione as 'nome', tax_class_id as 'cod_iva' " - + "from vvw_vgalimenti_get_art_ecomm where tipo_variazione='U' and data_iniz = convert(varchar, getdate(), 111)"; - - String xmlStr = UtilityXML.queryToXML(multiDBTransactionManager.getPrimaryConnection(), sql, "prodotti", "prodotto", - "Nessuna variazione disponibile"); - xml = new FileItem("VARIAZIONI_" + new SimpleDateFormat("yyyy_MM_dd").format(new Date()) - + ".xml", xmlStr, "xml"); - } - return xml; - } - - public List getGiacenzaEcommerce() throws Exception { - - String gestione = "V"; - String codVlis = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), className, section, "COD_VLIS"); - if (UtilityString.isNullOrEmpty(codVlis)) - throw new Exception("CODICE LISTINO NON CONFIGURATO"); - - String codMdep = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), className, section, "COD_MDEP_REST"); - if (UtilityString.isNullOrEmpty(codMdep)) - throw new Exception("CODICE DEPOSITO NON CONFIGURATO"); - String codMartSconto = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), className, section, "COD_MART_SCONTO"); - if (UtilityString.isNullOrEmpty(codMartSconto)) - throw new Exception("COD_MART_SCONTO NON CONFIGURATO"); - - String sql = "select mtb_aart.cod_mart as Articolo, " - + "CASE mtb_aart.posizione WHEN 'TERZI' THEN 'null' ELSE cast(isnull(mtb_part.qta_esistente, 0)-isNull(mtb_part.qta_imp_cli, 0)-isNull(mtb_part.qta_imp_lav, 0)" - + "+isNull(mtb_part.qta_ord_for, 0)-isNull(prenotazione.qta, 0)-isNull(colli.qta, 0) as varchar) END AS Giacenza, " - + "CASE mtb_aart.flag_stato WHEN 'A' THEN 'S' ELSE 'N' END as attivo " - + "from mtb_aart, dbo.getListinoVendita(GetDate()," - + UtilityDB.valueToString(codVlis) - + ",null) listino" - + " left outer join mtb_part on listino.cod_mart = mtb_part.cod_mart and mtb_part.cod_mdep = " - + UtilityDB.valueToString(codMdep) - + " left outer join (select wdtb_ordr.cod_mart, sum(wdtb_ordr.qta_ord) as qta" - + " from wdtb_ordt, wdtb_ordr" - + " where wdtb_ordt.gestione = wdtb_ordr.gestione and wdtb_ordt.data_ord = wdtb_ordr.data_ord" - + " and wdtb_ordt.num_ord = wdtb_ordr.num_ord and wdtb_ordt.gestione = " - + UtilityDB.valueToString(gestione) - + " and wdtb_ordt.cod_mdep = " - + UtilityDB.valueToString(codMdep) - + " and wdtb_ordt.flag_elaborato = 'N'" - + " group by wdtb_ordr.cod_mart, wdtb_ordr.cod_col, wdtb_ordr.cod_tagl" - + ") prenotazione on listino.cod_mart = prenotazione.cod_mart" - + " left outer join ( select mtb_colr.cod_mart, sum(mtb_colr.qta_col) as qta" - + " from mtb_colt, mtb_colr" - + " where mtb_colt.gestione = mtb_colr.gestione and" - + " mtb_colt.data_collo = mtb_colr.data_collo and" - + " mtb_colt.ser_collo = mtb_colr.ser_collo and" - + " mtb_colt.num_collo = mtb_colr.num_collo and" - + " mtb_colt.gestione = " - + UtilityDB.valueToString(gestione) - + " and mtb_colt.cod_mdep = " - + UtilityDB.valueToString(codMdep) - + " and mtb_colt.cod_dtip is null and" - + " mtb_colt.gestione = " - + UtilityDB.valueToString(gestione) - + " and mtb_colr.data_ord is null" - + " group by mtb_colr.cod_mart, mtb_colr.cod_col, mtb_colr.cod_tagl ) colli" - + " on listino.cod_mart = colli.cod_mart" - + " where mtb_aart.cod_mart <> " + UtilityDB.valueToString(codMartSconto) + " and mtb_aart.cod_mart = listino.cod_mart"; - - return new ResultSetMapper() - .mapQuerySetToList(multiDBTransactionManager.getPrimaryConnection(), sql, - GiacenzaEcommerceDTO.class); - } - - public List getOrdiniFidelitySocialWeb(GetOrdiniFidelitySocialWebRequest request) throws Exception { - - if (request.getDataIniz() == null || request.getDataIniz() == null) { - throw new Exception("Dati richiesta non validi"); - } - - String query = - "select dtb_ordt.cod_anag, gtb_anag.rag_soc, dtb_ordt.cod_vdes, vtb_dest.destinatario, dtb_ordt.data_ord, dtb_ordr.cod_mart, dtb_ordr.unt_ord, dtb_ordr.qta_ord, dtb_ordr.importo_riga, " + - "dtb_ordt.rif_ord as riferimento, " + - "'O' as tipologia, " + - "CASE WHEN dtb_ordt.flag_sospeso = 'S' THEN dtb_ordt.flag_sospeso " + - "ELSE " + - "CASE WHEN dtb_ordt.flag_annulla = 'S' THEN 'A' ELSE dtb_ordr.flag_evaso END END as stato " + - "from dtb_ordt LEFT OUTER JOIN vtb_dest ON dtb_ordt.cod_anag = vtb_dest.cod_anag and " + - "dtb_ordt.cod_vdes = vtb_dest.cod_vdes, " + - "gtb_anag, " + - "dtb_ordr " + - "where dtb_ordt.data_ord BETWEEN " + UtilityDB.valueToString(request.getDataIniz()) + " and " + UtilityDB.valueToString(request.getDataFine()) + " and " + - "dtb_ordt.gestione = 'V' and " + - "dtb_ordt.gestione = dtb_ordr.gestione and " + - "dtb_ordt.data_ord = dtb_ordr.data_ord and " + - "dtb_ordt.num_ord = dtb_ordr.num_ord and " + - "dtb_ordt.cod_anag = gtb_anag.cod_anag and " + - "dtb_ordr.cod_mart is not null and " + - "dtb_ordt.rif_ord is not null " + - "union all " + - "select dtb_doct.cod_anag, gtb_anag.rag_soc, dtb_doct.cod_vdes, vtb_dest.destinatario, dtb_doct.data_doc, dtb_docr.cod_mart, dtb_docr.unt_doc, dtb_docr.qta_doc, dtb_docr.importo_riga, " + - "convert(varchar(10),datepart(year, dtb_doct.data_doc)) + '/' + dtb_doct.ser_doc + '/' + CONVERT(varchar(10), dtb_doct.num_doc) as riferimento, " + - "'D' as tipologia, " + - "'E' as stato " + - "from dtb_doct LEFT OUTER JOIN vtb_dest ON dtb_doct.cod_anag = vtb_dest.cod_anag and " + - "dtb_doct.cod_vdes = vtb_dest.cod_vdes, " + - "gtb_anag, " + - "dtb_docr , " + - "dtb_tipi " + - "where dtb_doct.data_doc BETWEEN " + UtilityDB.valueToString(request.getDataIniz()) + " and " + UtilityDB.valueToString(request.getDataFine()) + " and " + - "dtb_doct.gestione = 'V' and " + - "dtb_doct.cod_dtip = dtb_docr.cod_dtip and " + - "dtb_doct.cod_anag = dtb_docr.cod_anag and " + - "dtb_doct.data_doc = dtb_docr.data_doc and " + - "dtb_doct.ser_doc = dtb_docr.ser_doc and " + - "dtb_doct.num_doc = dtb_docr.num_doc and " + - "dtb_doct.cod_dtip = dtb_tipi.cod_dtip and " + - "dtb_tipi.tipo_emissione = 'DIRETTA' and " + - "dtb_tipi.segno_qta_scar = 1 and " + - "dtb_doct.cod_anag = gtb_anag.cod_anag and " + - "dtb_docr.cod_mart is not null and " + - "dtb_doct.num_ord is null " + - "order by 1, 3, 5, 6, 11"; - - PreparedStatement ps = multiDBTransactionManager.prepareStatement(query); - ResultSet rs = ps.executeQuery(); - - List responseList = new ResultSetMapper() - .mapResultSetToList(rs, GetOrdiniFidelitySocialWebResponse.class); - - ps.close(); - rs.close(); - - if (responseList == null) { - return new ArrayList<>(); - } - - return responseList; - } - - public List getRicambiSocialWeb(GetRicambiSocialWebRequest request) throws Exception { - - if (request.getDataValidita() == null) { - throw new Exception("Dati richiesta non validi"); - } - - String query = - "select mtb_aart.cod_mart, " + - " mtb_aart.descrizione, " + - " mtb_aart.descrizione_estesa, " + - " mtb_aart.unt_mis, " + - " ISNULL(ultcosto.UltCostoAssoluto_DD, 0) as costo, " + - " ISNULL(mtb_partita_mag.partita_mag, '') as partita_mag, " + - " mtb_part.qta_esistente as giacenza " + - " from mtb_aart LEFT OUTER JOIN mtb_partita_mag ON mtb_aart.cod_mart = mtb_partita_mag.cod_mart " + - " LEFT OUTER JOIN mtb_part on mtb_aart.cod_mart = mtb_part.cod_mart AND " + - " mtb_part.cod_mdep = '10', " + - " getUltCostoArt(" + UtilityDB.valueToString(request.getDataValidita()) + ") ultcosto " + - "where mtb_aart.flag_stato = 'A' and " + - " ultcosto.cod_mart = mtb_aart.cod_mart " + - " order by mtb_aart.cod_mart, mtb_partita_mag.partita_mag"; - - GetRicambiSocialWebRequest.TipoArticolo tipoArticolo = request.getTipoArticolo(); - - String elenco = "", condGrupAll = "", condGrup = ""; - if (tipoArticolo != null) { - switch (tipoArticolo) { - case MACCHINARI: - elenco = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), "FIDELITY_SW", "MACCHINARI", "FILTRO"); - break; - case NON_SPECIFICATO: - break; - case RICAMBI: - elenco = setupGest.getSetup(multiDBTransactionManager.getPrimaryConnection(), "FIDELITY_SW", "RICAMBI", "FILTRO"); - break; - } - - if (!elenco.isEmpty()) { - String[] cond = elenco.split("\\|"); - for (int i = 0; i < cond.length; i++) { - String[] gruppi = cond[i].split(";"); - for (int a = 0; a < gruppi.length; a++) { - switch (a) { - case 0: - condGrup += "mtb_aart.cod_mgrp = " + UtilityDB.valueToString(gruppi[a]) + " AND "; - break; - case 1: - condGrup += "mtb_aart.cod_msgr = " + UtilityDB.valueToString(gruppi[a]) + " AND "; - break; - case 2: - condGrup += "mtb_aart.cod_msfa = " + UtilityDB.valueToString(gruppi[a]) + " AND "; - break; - } - } - condGrup = "(" + UtilityString.left(condGrup, condGrup.length() - 4) + ") OR "; - condGrupAll += condGrup; - } - condGrupAll = "(" + UtilityString.left(condGrupAll, condGrupAll.length() - 4) + ")"; - } - } else { - throw new Exception("Tipo articolo non previsto"); - } - - query = UtilityDB.addwhereCond(query, condGrupAll, false); - PreparedStatement ps = multiDBTransactionManager.prepareStatement(query); - ResultSet rs = ps.executeQuery(); - - List responseList = new ResultSetMapper() - .mapResultSetToList(rs, GetRicambiSocialWebResponse.class); - - ps.close(); - rs.close(); - - if (responseList == null) { - return new ArrayList<>(); - } - - return responseList; - - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/service/SocialWebBACService.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/service/SocialWebBACService.java deleted file mode 100644 index 096b8d15cf..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/service/SocialWebBACService.java +++ /dev/null @@ -1,265 +0,0 @@ -package it.integry.ems.order.socialware.service; - -import com.fasterxml.jackson.databind.ObjectMapper; -import it.integry.ems.order.socialware.dto.SocialWebBACDTO; -import it.integry.ems.order.socialware.dto.SocialWebDMACDTO; -import it.integry.ems.order.socialware.interceptor.SocialWebRequestInterceptor; -import it.integry.ems.order.socialware.rest.SocialWebHttpResponse; -import it.integry.ems.service.EntityProcessor; -import it.integry.ems.sync.MultiDBTransaction.MultiDBTransactionManager; -import it.integry.ems_model.db.ResultSetMapper; -import it.integry.ems_model.service.SetupGest; -import it.integry.ems_model.utility.UtilityDB; -import it.integry.ems_model.utility.UtilityString; -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.context.annotation.Scope; -import org.springframework.http.HttpEntity; -import org.springframework.http.HttpHeaders; -import org.springframework.http.HttpMethod; -import org.springframework.http.ResponseEntity; -import org.springframework.http.client.ClientHttpRequestInterceptor; -import org.springframework.http.client.HttpComponentsClientHttpRequestFactory; -import org.springframework.stereotype.Service; -import org.springframework.web.client.RestTemplate; - -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.Map; - -import static it.integry.ems_model.types.SetupGestKeySection.ENDPOINT_REST; -import static it.integry.ems_model.types.SetupGestKeySection.PASSWORD; - -@Service -@Scope(value = "request") -public class SocialWebBACService { - - @Autowired - MultiDBTransactionManager multiDBTransactionManager; - - @Autowired - SetupGest setupGest; - - @Autowired - EntityProcessor entityProcessor; - - @Autowired - SocialWebServiceBase socialWebServiceBase; - - private Logger logger = LogManager.getLogger(); - - public void createBACSW() throws Exception { - handleBACSW(BACType.BAC); - } - - public void createRBACSW() throws Exception { - handleBACSW(BACType.RBAC); - } - - public void createDMACSW() throws Exception { - String query; - boolean hasError = false; - - // Controllo valori setup gest - String gestName = "IMPORT_ORDINI WEB"; - String section = "SOCIALWARE"; - String lastSuccessDateField = "CREATE_" + BACType.DMAC.name() + "_LAST_SUCCESS"; - String codDtipField = "CREATE_" + BACType.DMAC.name() + "_CODDTIP"; - ObjectMapper objectMapper = new ObjectMapper(); - - List mandatoryValues = Arrays.asList(ENDPOINT_REST, lastSuccessDateField, PASSWORD, codDtipField); - Map setupSection = setupGest.getSetupSection(multiDBTransactionManager.getPrimaryConnection(), gestName, section); - - for (String value : mandatoryValues) { - if (UtilityString.isNullOrEmpty(setupSection.get(value))) { - throw new Exception(String.format("Parametro %s non configurato nella setupGest [GestName: %s, Section: %s]", value, gestName, section)); - } - } - - String headerParam = setupSection.get(PASSWORD); - String codDtip = setupSection.get(codDtipField); - String lastSuccessDate = setupSection.get(lastSuccessDateField); - - query = "SELECT dtb_docr.cod_mart as codice_macchina, " + - " dtb_docr.partita_mag as matricola " + - " FROM dtb_docr, dtb_doct " + - "WHERE dtb_docr.partita_mag IS NOT NULL " + - " AND dtb_doct.cod_dtip = " + UtilityDB.valueToString(codDtip) + - " AND dtb_doct.cod_dtip = dtb_docr.cod_dtip " + - " AND dtb_doct.cod_anag = dtb_docr.cod_anag " + - " AND dtb_doct.data_doc = dtb_docr.data_doc " + - " AND dtb_doct.ser_doc = dtb_docr.ser_doc " + - " AND dtb_doct.num_doc = dtb_docr.num_doc " + - " AND dtb_doct.data_ins >= " + UtilityDB.valueToString(lastSuccessDate); - - PreparedStatement preparedStatement = multiDBTransactionManager.prepareStatement(query); - ResultSet resultSet = preparedStatement.executeQuery(); - - List documents = new ResultSetMapper() - .mapResultSetToList(resultSet, SocialWebDMACDTO.class); - preparedStatement.close(); - - for (SocialWebDMACDTO document : documents) { - String endpoint = setupSection.get(ENDPOINT_REST); - endpoint = endpoint.concat("/index.php?route=rest/bac_admin/dmac"); - - final HttpComponentsClientHttpRequestFactory requestFactory = new HttpComponentsClientHttpRequestFactory(); - requestFactory.setConnectionRequestTimeout(10000); - RestTemplate restTemplate = new RestTemplate(requestFactory); - restTemplate.setErrorHandler(new SocialWebResponseErrorHandler()); - - List interceptors = new ArrayList(); - interceptors.add(new SocialWebRequestInterceptor()); - restTemplate.setInterceptors(interceptors); - - HttpHeaders httpHeaders = new HttpHeaders(); - httpHeaders.set("X-Oc-Restadmin-Id", headerParam); - - HttpEntity entity = new HttpEntity(document, httpHeaders); - - ResponseEntity responseEntity = restTemplate.exchange(endpoint, HttpMethod.POST, entity, String.class); - - if (!responseEntity.getStatusCode().is2xxSuccessful() && (!"404".equals(responseEntity.getStatusCode().toString()))) { - String error; - SocialWebHttpResponse response; - - try { - response = objectMapper.readValue(responseEntity.getBody(), SocialWebHttpResponse.class); - error = response.getError().toString(); - } catch (Exception ex) { - error = responseEntity.getBody(); - } - - logger.error(String.format("Errore %d durante la chiamata al servizio CREATE %s Cod. Macchina %s: %s", - responseEntity.getStatusCode().value(), BACType.DMAC.name(), document.getCodMacchina(), error)); - - hasError = true; - } - } - - if (!hasError && !documents.isEmpty()) { - socialWebServiceBase.updateSetupGest(gestName, section, lastSuccessDateField); - } - } - - private void handleBACSW(BACType bacType) throws Exception { - boolean hasError = false; - - // Controllo valori setup gest - String gestName = "IMPORT_ORDINI WEB"; - String section = "SOCIALWARE"; - String lastSuccessDateField = "CREATE_" + bacType.name() + "_LAST_SUCCESS"; - String codDtipField = "CREATE_" + bacType.name() + "_CODDTIP"; - ObjectMapper objectMapper = new ObjectMapper(); - - List mandatoryValues = Arrays.asList(ENDPOINT_REST, lastSuccessDateField, PASSWORD, codDtipField); - Map setupSection = setupGest.getSetupSection(multiDBTransactionManager.getPrimaryConnection(), gestName, section); - - for (String value : mandatoryValues) { - if (UtilityString.isNullOrEmpty(setupSection.get(value))) { - throw new Exception(String.format("Parametro %s non configurato nella setupGest [GestName: %s, Section: %s]", value, gestName, section)); - } - } - - String headerParam = setupSection.get(PASSWORD); - String codDtip = setupSection.get(codDtipField); - String lastSuccessDate = setupSection.get(lastSuccessDateField); - String query; - - switch (bacType) { - case BAC: - query = "SELECT dtb_doct.cod_anag AS cliente, mtb_aart.cod_mart AS codice_macchina, " + - " Isnull(mtb_aart.descrizione_estesa, mtb_aart.descrizione) AS descrizione, " + - " dtb_docr.partita_mag AS matricola, convert(varchar, dtb_doct.data_doc, 105) AS data_consegna, " + - " 'C' AS tipo_cessione"; - break; - case RBAC: - query = "SELECT dtb_doct.cod_anag AS cliente, mtb_aart.cod_mart AS codice_macchina, dtb_docr.partita_mag AS matricola"; - break; - default: - throw new Exception("Errore durante la creazione del documento " + bacType.name() + ": Codice Tipo Non Gestito"); - } - - query = query.concat(" FROM dtb_docr, dtb_doct, mtb_aart " + - "WHERE dtb_docr.partita_mag IS NOT NULL " + - " AND dtb_doct.cod_dtip = " + UtilityDB.valueToString(codDtip) + - " AND dtb_docr.cod_mart = mtb_aart.cod_mart " + - " AND dtb_doct.cod_dtip = dtb_docr.cod_dtip " + - " AND dtb_doct.cod_anag = dtb_docr.cod_anag " + - " AND dtb_doct.data_doc = dtb_docr.data_doc " + - " AND dtb_doct.ser_doc = dtb_docr.ser_doc " + - " AND dtb_doct.num_doc = dtb_docr.num_doc " + - " AND dtb_doct.data_ins >= " + UtilityDB.valueToString(lastSuccessDate)); - - PreparedStatement preparedStatement = multiDBTransactionManager.prepareStatement(query); - ResultSet resultSet = preparedStatement.executeQuery(); - - List documents = new ResultSetMapper() - .mapResultSetToList(resultSet, SocialWebBACDTO.class); - preparedStatement.close(); - - for (SocialWebBACDTO document : documents) { - String endpoint = setupSection.get(ENDPOINT_REST); - - switch (bacType) { - case BAC: - endpoint = endpoint.concat("/index.php?route=rest/bac_admin/bac&id=" + document.getCliente()); - break; - case RBAC: - endpoint = endpoint.concat("/index.php?route=rest/bac_admin/rbac"); - break; - default: - throw new Exception("Errore durante la creazione del documento " + bacType.name() + ": Codice Tipo Non Gestito"); - } - - final HttpComponentsClientHttpRequestFactory requestFactory = new HttpComponentsClientHttpRequestFactory(); - requestFactory.setConnectionRequestTimeout(10000); - RestTemplate restTemplate = new RestTemplate(requestFactory); - restTemplate.setErrorHandler(new SocialWebResponseErrorHandler()); - - List interceptors = new ArrayList(); - interceptors.add(new SocialWebRequestInterceptor()); - restTemplate.setInterceptors(interceptors); - - HttpHeaders httpHeaders = new HttpHeaders(); - httpHeaders.set("X-Oc-Restadmin-Id", headerParam); - - HttpEntity entity = new HttpEntity(document, httpHeaders); - - ResponseEntity responseEntity = restTemplate.exchange(endpoint, HttpMethod.POST, entity, String.class); - - if (!responseEntity.getStatusCode().is2xxSuccessful() && (!"404".equals(responseEntity.getStatusCode().toString()))) { - String error; - SocialWebHttpResponse response; - - try { - response = objectMapper.readValue(responseEntity.getBody(), SocialWebHttpResponse.class); - error = response.getError().toString(); - } catch (Exception ex) { - error = responseEntity.getBody(); - } - - logger.error(String.format("Errore %d durante la chiamata al servizio CREATE %s Cliente %s / Cod. Macchina %s: %s", - responseEntity.getStatusCode().value(), bacType.name(), document.getCliente(), document.getCodMacchina(), error)); - - hasError = true; - } - } - - if (!hasError && !documents.isEmpty()) { - socialWebServiceBase.updateSetupGest(gestName, section, lastSuccessDateField); - } - - } - - private enum BACType { - BAC, - RBAC, - DMAC - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/service/SocialWebCustomerService.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/service/SocialWebCustomerService.java deleted file mode 100644 index 7c2f2f71a5..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/service/SocialWebCustomerService.java +++ /dev/null @@ -1,251 +0,0 @@ -package it.integry.ems.order.socialware.service; - -import com.fasterxml.jackson.databind.JsonNode; -import com.fasterxml.jackson.databind.ObjectMapper; -import it.integry.ems.json.ResponseJSONObjectMapper; -import it.integry.ems.order.socialware.dto.CustomerAddressDTO; -import it.integry.ems.order.socialware.dto.CustomerDTOCustomField; -import it.integry.ems.order.socialware.dto.CustomerInsertDTO; -import it.integry.ems.order.socialware.dto.CustomerUpdateDTO; -import it.integry.ems.order.socialware.interceptor.SocialWebRequestInterceptor; -import it.integry.ems.order.socialware.rest.SocialWebHttpResponse; -import it.integry.ems.service.EntityProcessor; -import it.integry.ems.sync.MultiDBTransaction.MultiDBTransactionManager; -import it.integry.ems_model.db.ResultSetMapper; -import it.integry.ems_model.service.SetupGest; -import it.integry.ems_model.types.OperationType; -import it.integry.ems_model.utility.UtilityDB; -import it.integry.ems_model.utility.UtilityString; -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.context.annotation.Scope; -import org.springframework.http.*; -import org.springframework.http.client.ClientHttpRequestInterceptor; -import org.springframework.http.client.HttpComponentsClientHttpRequestFactory; -import org.springframework.stereotype.Service; -import org.springframework.web.client.RestTemplate; - -import java.io.StringWriter; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.util.ArrayList; -import java.util.Arrays; -import java.util.List; -import java.util.Map; - -import static it.integry.ems_model.types.SetupGestKeySection.ENDPOINT_REST; -import static it.integry.ems_model.types.SetupGestKeySection.PASSWORD; - -@Service -@Scope(value = "request") -public class SocialWebCustomerService { - - @Autowired - EntityProcessor entityProcessor; - - @Autowired - MultiDBTransactionManager multiDBTransactionManager; - - @Autowired - SetupGest setupGest; - - @Autowired - SocialWebServiceBase socialWebServiceBase; - - @Autowired - private - ResponseJSONObjectMapper jsonObjectMapper; - - private Logger logger = LogManager.getLogger(); - - public void handleCustomersSW(OperationType operationType) throws Exception { - boolean hasError = false; - String status = "1"; - - // Controllo valori setup gest - String gestName = "IMPORT_ORDINI WEB"; - String section = "SOCIALWARE"; - String lastSuccessDateField = operationType.value() + "CONSUMER_LAST_SUCCESS"; - String expDailyField = operationType.value() + "CONSUMER_EXP_DAILY"; - - List mandatoryValues = Arrays.asList(ENDPOINT_REST, lastSuccessDateField, PASSWORD, expDailyField); - Map setupSection = setupGest.getSetupSection(multiDBTransactionManager.getPrimaryConnection(), gestName, section); - - for (String value : mandatoryValues) { - if (UtilityString.isNullOrEmpty(setupSection.get(value))) { - throw new Exception(String.format("Parametro %s non configurato nella setupGest [GestName: %s, Section: %s]", value, gestName, section)); - } - } - - String headerParam = setupSection.get(PASSWORD); - String expDaily = setupSection.get(expDailyField); - - // Acquisizione condizione di where su tipo operazione, necessario perchè in alcuni casi la modifica di una entity complessa se non tocca la testata (vedi PB) imposta come tipo operazione NO_OP nella tabella di log - String condOperationType = ""; - switch (operationType) { - case INSERT: - condOperationType = "AND operation_type = " + UtilityDB.valueToString(operationType.value()); - break; - case UPDATE: - condOperationType = "AND (operation_type = " + UtilityDB.valueToString(operationType.value()) + " OR operation_type = 'NO_OP')"; - break; - } - - // Cerco modifiche/inserimenti - List customerCodeList = new ArrayList(); - ObjectMapper mapper = new ObjectMapper(); - String query = "select distinct primary_key from stb_log_entity where entity_name = 'gtb_anag' " + condOperationType; - - if (expDaily.equals("S")) { - query = UtilityDB.addwhereCond(query, "datetime_log > convert(varchar, getdate(), 111)", false); - } else { - query = UtilityDB.addwhereCond(query, "datetime_log > convert(varchar, convert(datetime, " + UtilityDB.valueToString(setupSection.get(lastSuccessDateField)) + "), 111)", false); - } - - PreparedStatement ps = multiDBTransactionManager.prepareStatement(query); - ResultSet rs = ps.executeQuery(); - - while (rs.next()) { - String primaryKey = rs.getString("primary_key"); - if (!customerCodeList.contains(primaryKey)) { - customerCodeList.add(primaryKey); - } - } - - rs.close(); - ps.close(); - - for (String customerCode : customerCodeList) { - JsonNode node = mapper.readTree(customerCode); - String codAnag = node.get("codAnag").asText(); - - // Header - query = "select vtb_tipi.descrizione as firstname, gtb_anag.rag_soc as lastname, gtb_anag.e_mail as email, gtb_anag.telefono as telephone, gtb_anag.fax " + - "from gtb_anag, vtb_clie left outer join vtb_tipi on vtb_clie.cod_vtip = vtb_tipi.cod_vtip " + - "where gtb_anag.cod_anag = " + UtilityDB.valueToString(codAnag) + " and " + - " gtb_anag.cod_anag = vtb_clie.cod_anag "; - ps = multiDBTransactionManager.getPrimaryConnection().prepareStatement(query, ResultSet.TYPE_SCROLL_INSENSITIVE, ResultSet.CONCUR_READ_ONLY); - rs = ps.executeQuery(); - - if (UtilityDB.countRow(rs) == 0) { - ps.close(); - rs.close(); - continue; - } - - CustomerUpdateDTO customerBaseData = new ResultSetMapper() - .mapResultSetToObject(rs, CustomerUpdateDTO.class); - ps.close(); - - // Custom Field Header - query = "select cod_fisc, part_iva, cod_anag from gtb_anag where cod_anag = " + UtilityDB.valueToString(codAnag); - ps = multiDBTransactionManager.prepareStatement(query); - rs = ps.executeQuery(); - - CustomerDTOCustomField customField = new ResultSetMapper() - .mapResultSetToObject(rs, CustomerDTOCustomField.class); - ps.close(); - - customerBaseData.setCustomField(customField); - CustomerInsertDTO customer = new CustomerInsertDTO(customerBaseData); - - if (operationType.equals(OperationType.INSERT)) { - customer.setPassword("password"); - customer.setConfirm("password"); - customer.setApproved("0"); - } - - // Verifica se si tratta di cliente attivo o meno - query = "select case when flag_stato = 'A' then '1' else '0' end as status from vtb_clie where cod_anag = " + UtilityDB.valueToString(codAnag); - ps = multiDBTransactionManager.getPrimaryConnection().prepareStatement(query); - rs = ps.executeQuery(); - if (rs.next()) { - status = rs.getString("status"); - } - rs.close(); - ps.close(); - - customer.getUpdateDTO().setStatus(status); - - // Children - query = "select gtb_anag.cod_anag + '-' + vtb_dest.cod_vdes as IDGestionale_Address, ISNULL(tipiDest.descrizione, tipiClie.descrizione) as firstname, vtb_dest.destinatario as lastname, gtb_anag.rag_soc as company, vtb_dest.citta as city, vtb_dest.indirizzo as address_1, vtb_dest.cap as postcode, vtb_dest.prov as zone_id " + - "from vtb_dest left outer join vtb_tipi tipiDest on vtb_dest.cod_vtip = tipiDest.cod_vtip, " + - " vtb_clie left outer join vtb_tipi tipiClie on vtb_clie.cod_vtip = tipiClie.cod_vtip, " + - " gtb_anag " + - "where vtb_clie.cod_anag = vtb_dest.cod_anag and " + - " vtb_clie.cod_anag = gtb_anag.cod_anag and" + - " gtb_anag.cod_anag = " + UtilityDB.valueToString(codAnag); - - ps = multiDBTransactionManager.prepareStatement(query); - rs = ps.executeQuery(); - - List customerAddresses = new ResultSetMapper() - .mapResultSetToList(rs, CustomerAddressDTO.class); - ps.close(); - - if (customerAddresses != null) { - customer.getUpdateDTO().setAddress(customerAddresses); - } - - String socialWebHost = setupSection.get(ENDPOINT_REST); - //String endpoint = socialWebHost + "/api/rest_admin/customers"; - String endpoint = socialWebHost + "/index.php?route=rest/customer_admin/customers"; - - final HttpComponentsClientHttpRequestFactory requestFactory = new HttpComponentsClientHttpRequestFactory(); - requestFactory.setConnectionRequestTimeout(10000); - RestTemplate restTemplate = new RestTemplate(requestFactory); - restTemplate.setErrorHandler(new SocialWebResponseErrorHandler()); - - List interceptors = new ArrayList(); - interceptors.add(new SocialWebRequestInterceptor()); - restTemplate.setInterceptors(interceptors); - - HttpHeaders httpHeaders = new HttpHeaders(); - httpHeaders.set("X-Oc-Restadmin-Id", headerParam); - ResponseEntity responseEntity = new ResponseEntity(HttpStatus.OK); - - StringWriter writer = new StringWriter(); - jsonObjectMapper.writeValue(writer, customer); - - String json; - switch (operationType) { - case INSERT: - HttpEntity entity = new HttpEntity(customer, httpHeaders); - json = entity.toString(); - responseEntity = restTemplate.exchange(endpoint, HttpMethod.POST, entity, String.class); - break; - case UPDATE: - HttpEntity updatedEntity = new HttpEntity(customer.getUpdateDTO(), httpHeaders); - json = updatedEntity.toString(); - responseEntity = restTemplate.exchange(endpoint, HttpMethod.PUT, updatedEntity, String.class); - break; - default: - // Do nothing - break; - } - - if (!responseEntity.getStatusCode().is2xxSuccessful() && (!"404".equals(responseEntity.getStatusCode().toString()))) { - String error; - SocialWebHttpResponse response; - - try { - response = mapper.readValue(responseEntity.getBody(), SocialWebHttpResponse.class); - error = response.getError().toString(); - } catch (Exception ex) { - error = responseEntity.getBody(); - } - - logger.error(String.format("Errore %d durante la chiamata al servizio %s CUSTOMER %s: %s", responseEntity.getStatusCode().value(), operationType.value(), - codAnag, error)); - - hasError = true; - } - } - - if (!hasError && !customerCodeList.isEmpty()) { - socialWebServiceBase.updateSetupGest(gestName, section, lastSuccessDateField); - } - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/service/SocialWebResponseErrorHandler.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/service/SocialWebResponseErrorHandler.java deleted file mode 100644 index 932ae0d2f2..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/service/SocialWebResponseErrorHandler.java +++ /dev/null @@ -1,25 +0,0 @@ -package it.integry.ems.order.socialware.service; - -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; -import org.springframework.http.client.ClientHttpResponse; -import org.springframework.stereotype.Component; -import org.springframework.web.client.ResponseErrorHandler; - -import java.io.IOException; - -@Component -public class SocialWebResponseErrorHandler implements ResponseErrorHandler { - - private Logger logger = LogManager.getLogger(); - - @Override - public boolean hasError(ClientHttpResponse response) throws IOException { - return !response.getStatusCode().is2xxSuccessful(); - } - - @Override - public void handleError(ClientHttpResponse response) throws IOException { - //logger.error(response.getStatusCode()); - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/order/socialware/service/SocialWebServiceBase.java b/ems-engine/src/main/java/it/integry/ems/order/socialware/service/SocialWebServiceBase.java deleted file mode 100644 index 90be16d8f0..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/order/socialware/service/SocialWebServiceBase.java +++ /dev/null @@ -1,34 +0,0 @@ -package it.integry.ems.order.socialware.service; - -import it.integry.ems.service.EntityProcessor; -import it.integry.ems.sync.MultiDBTransaction.MultiDBTransactionManager; -import it.integry.ems_model.entity.StbGestSetup; -import it.integry.ems_model.types.OperationType; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.context.annotation.Scope; -import org.springframework.stereotype.Service; - -import java.text.SimpleDateFormat; -import java.util.Date; - -@Service -@Scope(value = "request") -public class SocialWebServiceBase { - - @Autowired - EntityProcessor entityProcessor; - - @Autowired - MultiDBTransactionManager multiDBTransactionManager; - - public void updateSetupGest(String gestName, String section, String lastSuccessDateField) throws Exception { - StbGestSetup stbGestSetup = new StbGestSetup(); - stbGestSetup.setOperation(OperationType.UPDATE); - stbGestSetup.setGestName(gestName); - stbGestSetup.setSection(section); - stbGestSetup.setKeySection(lastSuccessDateField); - stbGestSetup.setValue(new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date())); - entityProcessor.processEntity(stbGestSetup, multiDBTransactionManager); - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/product/service/ContrattiDiAcquistoHandlerService.java b/ems-engine/src/main/java/it/integry/ems/product/service/ContrattiDiAcquistoHandlerService.java index 9713964013..8f23d715fa 100644 --- a/ems-engine/src/main/java/it/integry/ems/product/service/ContrattiDiAcquistoHandlerService.java +++ b/ems-engine/src/main/java/it/integry/ems/product/service/ContrattiDiAcquistoHandlerService.java @@ -13,6 +13,7 @@ import it.integry.ems_model.entity.AtbOffr; import it.integry.ems_model.entity.AtbOfft; import it.integry.ems_model.types.OperationType; import it.integry.ems_model.utility.UtilityDB; +import it.integry.ems_model.utility.UtilityTiming; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; @@ -20,7 +21,6 @@ import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; import java.util.ArrayList; -import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.concurrent.TimeUnit; @@ -71,21 +71,20 @@ public class ContrattiDiAcquistoHandlerService { } @Scheduled(fixedDelay = 10, timeUnit = TimeUnit.SECONDS, initialDelay = 60, zone = "Europe/Rome") - private void updateProgContrattoA() throws Exception { + private void updateProgContrattoA() { if (!canBeExecuted) return; final List availableConnections = settingsModel.getAvailableConnectionsWithoutDuplicatedProfiles(true); for (AvailableConnectionsModel connectionModel : availableConnections) { + boolean isEnabled = executionPermission.getOrDefault(connectionModel.getDbName(), false); + if (!isEnabled) continue; + try (MultiDBTransactionManager multiDBTransactionManager = new MultiDBTransactionManager(connectionModel, false)) { - boolean isEnabled = executionPermission.getOrDefault(connectionModel.getDbName(), false); - Date startDate = new Date(); - - if (isEnabled) - updateProgressivi(multiDBTransactionManager); - - logger.trace(ContrattiDiAcquistoHandlerService.class.getSimpleName() + ": Timing " + ((new Date().getTime() - startDate.getTime()) / 1000) + " secs"); + final int timingId = UtilityTiming.startNewTiming(getClass().getSimpleName()); + updateProgressivi(multiDBTransactionManager); + UtilityTiming.endTiming(timingId, true); } catch (Exception ex) { logger.error(ex.getMessage(), ex); diff --git a/ems-engine/src/main/java/it/integry/ems/product/service/ContrattiDiVenditaHandlerService.java b/ems-engine/src/main/java/it/integry/ems/product/service/ContrattiDiVenditaHandlerService.java index 72e405c4b1..f1bbe4eff7 100644 --- a/ems-engine/src/main/java/it/integry/ems/product/service/ContrattiDiVenditaHandlerService.java +++ b/ems-engine/src/main/java/it/integry/ems/product/service/ContrattiDiVenditaHandlerService.java @@ -13,6 +13,7 @@ import it.integry.ems_model.entity.VtbOffr; import it.integry.ems_model.entity.VtbOfft; import it.integry.ems_model.types.OperationType; import it.integry.ems_model.utility.UtilityDB; +import it.integry.ems_model.utility.UtilityTiming; import org.apache.logging.log4j.LogManager; import org.apache.logging.log4j.Logger; import org.springframework.beans.factory.annotation.Autowired; @@ -20,7 +21,6 @@ import org.springframework.scheduling.annotation.Scheduled; import org.springframework.stereotype.Component; import java.util.ArrayList; -import java.util.Date; import java.util.HashMap; import java.util.List; import java.util.concurrent.TimeUnit; @@ -76,15 +76,14 @@ public class ContrattiDiVenditaHandlerService { final List availableConnections = settingsModel.getAvailableConnectionsWithoutDuplicatedProfiles(true); for (AvailableConnectionsModel connectionModel : availableConnections) { + boolean isEnabled = executionPermission.getOrDefault(connectionModel.getDbName(), false); + if (!isEnabled) continue; + try (MultiDBTransactionManager multiDBTransactionManager = new MultiDBTransactionManager(connectionModel, false)) { - boolean isEnabled = executionPermission.getOrDefault(connectionModel.getDbName(), false); - Date startDate = new Date(); - - if (isEnabled) - updateProgressivi(multiDBTransactionManager); - - logger.trace(ContrattiDiAcquistoHandlerService.class.getSimpleName() + ": Timing " + ((new Date().getTime() - startDate.getTime()) / 1000) + " secs"); + final int timingId = UtilityTiming.startNewTiming(getClass().getSimpleName()); + updateProgressivi(multiDBTransactionManager); + UtilityTiming.endTiming(timingId, true); } catch (Exception ex) { logger.error(ex.getMessage(), ex); diff --git a/ems-engine/src/main/java/it/integry/ems/retail/service/GrigliaAcquistoHandlerService.java b/ems-engine/src/main/java/it/integry/ems/retail/service/GrigliaAcquistoHandlerService.java index 0d848dcc8f..1788297459 100644 --- a/ems-engine/src/main/java/it/integry/ems/retail/service/GrigliaAcquistoHandlerService.java +++ b/ems-engine/src/main/java/it/integry/ems/retail/service/GrigliaAcquistoHandlerService.java @@ -111,21 +111,18 @@ public class GrigliaAcquistoHandlerService { try (MultiDBTransactionManager multiDBTransactionManager = new MultiDBTransactionManager(connectionModel, false)) { - if (isGestioneAbilitata(connectionModel.getDbName())) { + HashMap checkDbDistributore = checkDbDistributore(multiDBTransactionManager); + boolean existSync = (boolean) checkDbDistributore.get("existSync"); - HashMap checkDbDistributore = checkDbDistributore(multiDBTransactionManager); - boolean existSync = (boolean) checkDbDistributore.get("existSync"); + if (!existSync) { + int timingId = UtilityTiming.startNewTiming(getClass().getSimpleName() + " (" + connectionModel.getProfileName() + ")"); - if (!existSync) { - int timingId = UtilityTiming.startNewTiming(getClass().getSimpleName() + " (" + connectionModel.getProfileName() + ")"); + List grigliaAcquistoDTO = getGrigliaAcquisto(multiDBTransactionManager); - List grigliaAcquistoDTO = getGrigliaAcquisto(multiDBTransactionManager); + if (!grigliaAcquistoDTO.isEmpty()) + grigliaAcquistoCachedData.put(connectionModel.getDbName().toUpperCase(), grigliaAcquistoDTO); - if (!grigliaAcquistoDTO.isEmpty()) - grigliaAcquistoCachedData.put(connectionModel.getDbName().toUpperCase(), grigliaAcquistoDTO); - - UtilityTiming.endTiming(timingId, true); - } + UtilityTiming.endTiming(timingId, true); } } catch (Exception e) { diff --git a/ems-engine/src/main/java/it/integry/ems/system/Import/AnagraficaImporter.java b/ems-engine/src/main/java/it/integry/ems/system/Import/AnagraficaImporter.java index 34d1901c6a..b7ec7d5654 100644 --- a/ems-engine/src/main/java/it/integry/ems/system/Import/AnagraficaImporter.java +++ b/ems-engine/src/main/java/it/integry/ems/system/Import/AnagraficaImporter.java @@ -3,7 +3,6 @@ package it.integry.ems.system.Import; import it.integry.ems.Import.base.BaseEntityImporter; import it.integry.ems.Import.base.IEntityImporter; import it.integry.ems.system.export.services.anagrafiche.AnagraficaIsidService; -import it.integry.ems.system.imports.AnagraficaVirtuemartService; import it.integry.ems.system.service.AnagImportCRIBISService; import it.integry.ems.system.service.AnagImportService; import it.integry.ems_model.base.EntityBase; @@ -23,10 +22,6 @@ public class AnagraficaImporter extends BaseEntityImporter> imp AnagraficaIsidService anagraficaIsidService = ContextLoader.getCurrentWebApplicationContext().getBean(AnagraficaIsidService.class); entities = anagraficaIsidService.importAnagrafica(format, requestDto, anomalie); break; - case VIRTUEMART: - AnagraficaVirtuemartService anagraficaVirtuemartService = ContextLoader.getCurrentWebApplicationContext().getBean(AnagraficaVirtuemartService.class); - entities = anagraficaVirtuemartService.importClienti(type, format, (String) requestDto.getRawContent()); - break; case BIOLEXCH: AnagImportService anagraficaImportService = ContextLoader.getCurrentWebApplicationContext().getBean(AnagImportService.class); entities = anagraficaImportService.importAnagraficheBiolevante(); diff --git a/ems-engine/src/main/java/it/integry/ems/system/imports/AnagraficaVirtuemartService.java b/ems-engine/src/main/java/it/integry/ems/system/imports/AnagraficaVirtuemartService.java deleted file mode 100644 index 7b7acdef34..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/system/imports/AnagraficaVirtuemartService.java +++ /dev/null @@ -1,268 +0,0 @@ -package it.integry.ems.system.imports; - -import it.integry.common.var.CommonConstants; -import it.integry.ems.datasource.DataSource; -import it.integry.ems.file_formatter.csv.CsvMapper; -import it.integry.ems.file_sharer.IFileSharerAttachment; -import it.integry.ems.file_sharer.sharers.email.EmailFileAttachment; -import it.integry.ems.properties.EmsProperties; -import it.integry.ems.service.EntityProcessor; -import it.integry.ems.service.MailService; -import it.integry.ems.sync.MultiDBTransaction.MultiDBTransactionManager; -import it.integry.ems.system.imports.dto.ClienteDTO; -import it.integry.ems_model.base.EntityBase; -import it.integry.ems_model.entity.StbEmailRecovery; -import it.integry.ems_model.entity.VtbFidelityAnag; -import it.integry.ems_model.service.SetupGest; -import it.integry.ems_model.types.OperationType; -import it.integry.ems_model.utility.UtilityBarcode; -import it.integry.ems_model.utility.UtilityDB; -import it.integry.ems_model.utility.UtilityHashMap; -import it.integry.ems_model.utility.UtilityString; -import org.apache.commons.io.IOUtils; -import org.apache.pdfbox.pdmodel.PDDocument; -import org.apache.pdfbox.pdmodel.PDDocumentCatalog; -import org.apache.pdfbox.pdmodel.interactive.form.PDAcroForm; -import org.springframework.beans.factory.annotation.Autowired; -import org.springframework.context.annotation.Scope; -import org.springframework.stereotype.Service; - -import java.io.ByteArrayOutputStream; -import java.io.File; -import java.io.InputStream; -import java.net.URL; -import java.sql.PreparedStatement; -import java.util.*; - -@Service -@Scope(value = "request") -public class AnagraficaVirtuemartService { - - @Autowired - private SetupGest setupGest; - - @Autowired - private EntityProcessor entityProcessor; - - @Autowired - private EmsProperties emsProperties; - - @Autowired - private MailService mailService; - - @Autowired - private MultiDBTransactionManager multiDBTransactionManager; - - public List importClienti(String type, String format, String rawContent) throws Exception { - - List entities = new ArrayList(); - - HashMap setupGestImportMap = (HashMap) setupGest.getImportSetupSection(multiDBTransactionManager.getPrimaryConnection(), type, format); - - String defaultTipoFidelity = UtilityHashMap.getValueIfExists(setupGestImportMap, "COD_FIDELITY"); - String pathFidelityTemplate = UtilityHashMap.getValueIfExists(setupGestImportMap, "PATH_FIDELITY"); - String mailSubject = UtilityHashMap.getValueIfExists(setupGestImportMap, "MAIL_SUBJECT"); - String mailTemplateUrl = UtilityHashMap.getValueIfExists(setupGestImportMap, "MAIL_TEMPLATE_URL"); - - if (UtilityString.isNullOrEmpty(mailTemplateUrl)) - throw new Exception("IMPORT_ORDINI WEB/CONQUIST/MAIL_TEMPLATE_URL non configurato correttamente"); - - URL url = new URL(mailTemplateUrl + "/mail_model.html"); - InputStream is = url.openStream(); - String mailText = IOUtils.toString(is); - is.close(); - - String from = UtilityHashMap.getValueIfExists(setupGestImportMap, "MAIL_FROM"); - String ccn = UtilityHashMap.getValueIfExists(setupGestImportMap, "MAIL_CCN"); - - if (UtilityString.isNullOrEmpty(defaultTipoFidelity)) - throw new Exception("IMPORT_ORDINI WEB/CONQUIST/COD_FIDELITY non configurato correttamente"); - - Map map = new HashMap(); - - CsvMapper mapper = new CsvMapper(); - List clienti = mapper.deserialize(rawContent, ClienteDTO.class, "\t"); - if (clienti == null) - throw new Exception("Nessun cliente da importare"); - - int counter = -1; - - for (ClienteDTO clienteDTO : clienti) { - VtbFidelityAnag anagOld = new VtbFidelityAnag(); - //GENERAZIONE EAN FIDELITY ED INVIO MAIL - String sql = - "SELECT ean_fidelity " + - "FROM vtb_fidelity_anag " + - "WHERE e_mail =" + UtilityDB.valueToString(clienteDTO.getEmail()) + " AND " + - "cod_fidelity = " + UtilityDB.valueToString(defaultTipoFidelity); - - List> resultsEanFidelty = UtilityDB.executeSimpleQuery(multiDBTransactionManager.getPrimaryConnection(), sql); - - if (!resultsEanFidelty.isEmpty()) { - HashMap firstEanFidelty = resultsEanFidelty.get(0); - clienteDTO.setCartaFidelity((String) UtilityHashMap.getValueIfExists(firstEanFidelty, "ean_fidelity")); - } else { - if (UtilityString.isNullOrEmpty(clienteDTO.getCartaFidelity())) { - sql = "SELECT concat(max(left(ean_fidelity, 3)), max_code) last_code" - + " FROM vtb_fidelity_anag, (SELECT max(right(ean_fidelity, 2)) as max_code" - + " FROM vtb_fidelity_anag where ean_fidelity like '[0-9]%' AND " - + " cod_fidelity = " + UtilityDB.valueToString(defaultTipoFidelity) + ") tmp" - + " where ean_fidelity like '[0-9]%' AND " + - " cod_fidelity = " + UtilityDB.valueToString(defaultTipoFidelity) - + " and right(ean_fidelity, 2) = tmp.max_code" - + " group by max_code"; - - - List> resultsFidelityAnag = UtilityDB.executeSimpleQuery(multiDBTransactionManager.getPrimaryConnection(), sql); - - - if (!resultsFidelityAnag.isEmpty()) { - String lastCode = UtilityHashMap.getValueIfExists(resultsFidelityAnag.get(0), "last_code"); - - counter++; - int val = Integer.parseInt(lastCode.substring(0, 3)) + counter; - - if (val == 999) { - val = 0; - String nextVal = UtilityString.getNextString(lastCode.substring(3)); - clienteDTO.setCartaFidelity(UtilityString.leftPad(String.valueOf(val), 3, '0') + nextVal); - } else { - val++; - clienteDTO.setCartaFidelity(UtilityString.leftPad(String.valueOf(val), 3, '0') + lastCode.substring(3)); - } - } else { - //AA=27 - String nextVal = UtilityString.getNextString(27); - clienteDTO.setCartaFidelity(UtilityString.leftPad("0", 3, '0') + nextVal); - } - - } - } - - anagOld.setCodFidelity(defaultTipoFidelity); - anagOld.setEanFidelity(clienteDTO.getCartaFidelity()); - anagOld.setOperation(OperationType.SELECT_OBJECT); - anagOld = entityProcessor.processEntity(anagOld, multiDBTransactionManager); - - VtbFidelityAnag fidelityAnag = new VtbFidelityAnag(); - fidelityAnag.setOperation(OperationType.INSERT_OR_UPDATE); - - fidelityAnag.setNome(clienteDTO.getFirstName()); - fidelityAnag.setCognome(clienteDTO.getLastName()); - fidelityAnag.setUserName(clienteDTO.getUsername()); - fidelityAnag.setNominativo(clienteDTO.getFirstName() + " " + clienteDTO.getLastName()); - - fidelityAnag.setIndirizzo(clienteDTO.getAddress1()); - fidelityAnag.setCap(clienteDTO.getZip()); - fidelityAnag.setCitta(clienteDTO.getCity()); - fidelityAnag.setTelefono(clienteDTO.getPhone1()); - fidelityAnag.seteMail(clienteDTO.getEmail()); - fidelityAnag.setEanFidelity(clienteDTO.getCartaFidelity()); - fidelityAnag.setCodFidelity(defaultTipoFidelity); - - fidelityAnag.setSesso(clienteDTO.getSesso()); - if (!UtilityString.isNullOrEmpty(clienteDTO.getDatanascita()) && !"0000-00-00".equals(clienteDTO.getDatanascita())) - fidelityAnag.setDataNascita(UtilityString.parseDate(clienteDTO.getDatanascita())); - fidelityAnag.setDataMod(new Date()); - if (anagOld != null) { - //cambiati dati fondamentali, i dati verranno salvati su tabella di log - if (!(anagOld.geteMail() != null && anagOld.geteMail().equals(clienteDTO.getEmail())) || - !(anagOld.getTelefono() != null && anagOld.getTelefono().equals(clienteDTO.getPhone1()))) { - map.put(anagOld.getEanFidelity(), anagOld); - } - } - entities.add(fidelityAnag); - } - - if (!entities.isEmpty()) { - List fideltyAnagsImported = entityProcessor.processEntityList(entities, true); - - String insertSQL = ""; - for (EntityBase vtbFidelityAnagEB : fideltyAnagsImported) { - - if (vtbFidelityAnagEB != null) { - VtbFidelityAnag vtbFidelityAnag = (VtbFidelityAnag) fideltyAnagsImported; - - String tempInsert = "INSERT INTO vtb_fidelity_anag_log " - + " (ean_fidelity, data_variaz, cod_fidelity, nominativo, indirizzo, cap, citta, prov, telefono, e_mail, cod_mdep, data_ins, data_mod)" - + " VALUES (" + UtilityDB.valueToString(vtbFidelityAnag.getEanFidelity()) + ", " - + " GetDate(), " - + UtilityDB.valueToString(vtbFidelityAnag.getCodFidelity()) + "," - + UtilityDB.valueToString(vtbFidelityAnag.getNominativo()) + "," - + UtilityDB.valueToString(vtbFidelityAnag.getIndirizzo()) + ", " - + UtilityDB.valueToString(vtbFidelityAnag.getCap()) + ", " - + UtilityDB.valueToString(vtbFidelityAnag.getCitta()) + ", " - + UtilityDB.valueToString(vtbFidelityAnag.getProv()) + ", " - + UtilityDB.valueToString(vtbFidelityAnag.getTelefono()) + ", " - + UtilityDB.valueToString(vtbFidelityAnag.geteMail()) + ", " - + UtilityDB.valueToString(vtbFidelityAnag.getCodMdep()) + ", " - + UtilityDB.valueDateToString(new Date(), "yyyy-MM-dd HH:mm:ss.SSS") + ", " - + UtilityDB.valueDateToString(new Date(), CommonConstants.DATETIME_FORMAT_YMD) + "); "; - - insertSQL += tempInsert; - - } - } - - if (!UtilityString.isNullOrEmpty(insertSQL)) { - DataSource dsConquist = new DataSource(); - dsConquist.initialize("MAFRAT2CONQUIST"); - - PreparedStatement ps = dsConquist.getConnection().prepareStatement(insertSQL); - ps.executeUpdate(); - - dsConquist.getConnection().commit(); - dsConquist.close(); - } - - String sql = "SELECT ean_fidelity, e_mail " + - "FROM vtb_fidelity_anag " + - "WHERE cod_fidelity = " + UtilityDB.valueToString(defaultTipoFidelity) + " AND " + - "Convert(varchar(10), data_ins, 121) = Convert(varchar(10), getDate(), 121)"; - - List> resultsFideltyMail = UtilityDB.executeSimpleQuery(multiDBTransactionManager.getPrimaryConnection(), sql); - - for (HashMap resultFideltyMail : resultsFideltyMail) { - String eanFildelity = UtilityHashMap.getValueIfExists(resultFideltyMail, "ean_fidelity"); - String to = UtilityHashMap.getValueIfExists(resultFideltyMail, "e_mail"); - - PDDocument pdfDoc = PDDocument.load(new File(pathFidelityTemplate + "/FIDELITY_CARD_TEMPLATE.pdf")); - PDDocumentCatalog docCatalog = pdfDoc.getDocumentCatalog(); - PDAcroForm acroForm = docCatalog.getAcroForm(); - - //CAMPO IN CHIARO - acroForm.getField("plain").setValue(eanFildelity); - acroForm.getField("plain").setReadOnly(true); - //CAMPO CODIFICATO - acroForm.getField("barcode").setValue(UtilityBarcode.encodeCode128(eanFildelity)); - acroForm.getField("barcode").setReadOnly(true); - - ByteArrayOutputStream baos = new ByteArrayOutputStream(); - pdfDoc.save(baos); - baos.close(); - pdfDoc.close(); - - mailText = mailText.replace("%%NUM_FIDELITY%%", eanFildelity); - - EmailFileAttachment emailFileAttachment = new EmailFileAttachment("Quore fidelity card.pdf", baos.toByteArray()); - List emailFileAttachmentList = new ArrayList(); - emailFileAttachmentList.add(emailFileAttachment); - - mailService.sendMailPrimary(multiDBTransactionManager.getPrimaryConnection(), from, null, to, null, ccn, - mailSubject, mailText, true, false, null, null, emailFileAttachmentList, false, null); - - StbEmailRecovery emailRecovery = new StbEmailRecovery(); - emailRecovery.setOperation(OperationType.INSERT); - emailRecovery.setFromMail(from); - emailRecovery.setToMail(to); - emailRecovery.setDataIns(new Date()); - emailRecovery.setSubject(mailSubject); - emailRecovery.setMsgtext(mailText); - entityProcessor.processEntity(emailRecovery, multiDBTransactionManager); - } - - } - - return entities; - } -} diff --git a/ems-engine/src/main/java/it/integry/ems/system/imports/dto/ClienteDTO.java b/ems-engine/src/main/java/it/integry/ems/system/imports/dto/ClienteDTO.java deleted file mode 100644 index 820add96a8..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/system/imports/dto/ClienteDTO.java +++ /dev/null @@ -1,186 +0,0 @@ -package it.integry.ems.system.imports.dto; - -import com.fasterxml.jackson.annotation.JsonProperty; - -public class ClienteDTO { - - @JsonProperty("name") - private String name; - - @JsonProperty("username") - private String username; - - @JsonProperty("email") - private String email; - - @JsonProperty("password") - private String password; - - @JsonProperty("first_name") - private String firstName; - - @JsonProperty("last_name") - private String lastName; - - @JsonProperty("address_1") - private String address1; - - @JsonProperty("civico") - private String civico; - - @JsonProperty("zip") - private String zip; - - @JsonProperty("city") - private String city; - - @JsonProperty("phone_1") - private String phone1; - - @JsonProperty("carta_fidelity") - private String cartaFidelity; - - @JsonProperty("usergroup_name") - private String usergroupName; - - @JsonProperty("address_type") - private String addressType; - - @JsonProperty("address_type_name") - private String addressTypeName; - - @JsonProperty("sesso") - private String sesso; - - @JsonProperty("datanascita") - private String datanascita; - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getUsername() { - return username; - } - - public void setUsername(String username) { - this.username = username; - } - - public String getEmail() { - return email; - } - - public void setEmail(String email) { - this.email = email; - } - - public String getPassword() { - return password; - } - - public void setPassword(String password) { - this.password = password; - } - - public String getFirstName() { - return firstName; - } - - public void setFirstName(String firstName) { - this.firstName = firstName; - } - - public String getLastName() { - return lastName; - } - - public void setLastName(String lastName) { - this.lastName = lastName; - } - - public String getAddress1() { - return address1; - } - - public void setAddress1(String address1) { - this.address1 = address1; - } - - public String getZip() { - return zip; - } - - public void setZip(String zip) { - this.zip = zip; - } - - public String getCity() { - return city; - } - - public void setCity(String city) { - this.city = city; - } - - public String getPhone1() { - return phone1; - } - - public void setPhone1(String phone1) { - this.phone1 = phone1; - } - - public String getCartaFidelity() { - return cartaFidelity; - } - - public void setCartaFidelity(String cartaFidelity) { - this.cartaFidelity = cartaFidelity; - } - - public String getUsergroupName() { - return usergroupName; - } - - public void setUsergroupName(String usergroupName) { - this.usergroupName = usergroupName; - } - - public String getAddressType() { - return addressType; - } - - public void setAddressType(String addressType) { - this.addressType = addressType; - } - - public String getAddressTypeName() { - return addressTypeName; - } - - public void setAddressTypeName(String addressTypeName) { - this.addressTypeName = addressTypeName; - } - - public String getSesso() { - return sesso; - } - - public void setSesso(String sesso) { - this.sesso = sesso; - } - - public String getDatanascita() { - return datanascita; - } - - public void setDatanascita(String datanascita) { - this.datanascita = datanascita; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/system/imports/dto/OrdineDTO.java b/ems-engine/src/main/java/it/integry/ems/system/imports/dto/OrdineDTO.java deleted file mode 100644 index 15f1ec7041..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/system/imports/dto/OrdineDTO.java +++ /dev/null @@ -1,472 +0,0 @@ -package it.integry.ems.system.imports.dto; - -import com.fasterxml.jackson.annotation.JsonProperty; - -import java.math.BigDecimal; -import java.util.Date; - -public class OrdineDTO { - - @JsonProperty("order_number") - private String orderNumber; - - @JsonProperty("created_on") - private Date createdOn; - - @JsonProperty("virtuemart_order_id") - private Integer virtuemartOrderId; - - @JsonProperty("virtuemart_product_id") - private Integer virtuemartProductId; - - @JsonProperty("full_name") - private String fullName; - - @JsonProperty("address_1") - private String address1; - - @JsonProperty("civico") - private String civico; - - @JsonProperty("zip") - private String zip; - - @JsonProperty("city") - private String city; - - @JsonProperty("country_name") - private String countryName; - - @JsonProperty("state_name") - private String stateName; - - @JsonProperty("phone_1") - private String phone1; - - @JsonProperty("username") - private String username; - - @JsonProperty("email") - private String email; - - @JsonProperty("customer_note") - private String customerNote; - - @JsonProperty("order_item_sku") - private String orderItemSku; - - @JsonProperty("order_item_name") - private String orderItemName; - - @JsonProperty("product_quantity") - private Integer productQuantity; - - @JsonProperty("product_item_price") - private BigDecimal productItemPrice; - - @JsonProperty("product_tax") - private BigDecimal productTax; - - @JsonProperty("product_final_price") - private BigDecimal productFinalPrice; - - @JsonProperty("order_shipment") - private BigDecimal orderShipment; - - @JsonProperty("order_shipment_tax") - private BigDecimal orderShipmentTax; - - @JsonProperty("order_payment") - private BigDecimal orderPayment; - - @JsonProperty("order_payment_tax") - private BigDecimal orderPaymentTax; - - @JsonProperty("order_total") - private BigDecimal orderTotal; - - @JsonProperty("total_order_items") - private Integer totalOrderItems; - - @JsonProperty("virtuemart_shipmentmethod_id") - private String virtuemartShipmentmethodId; - - @JsonProperty("virtuemart_paymentmethod_id") - private String virtuemartPaymentmethodId; - - @JsonProperty("user_currency") - private String userCurrency; - - @JsonProperty("order_status") - private String orderStatus; - - @JsonProperty("order_status_name") - private String orderStatusName; - - @JsonProperty("richiesta_fattura") - private String richiestaFattura; - - @JsonProperty("company") - private String company; - - @JsonProperty("codice_fiscale") - private String codiceFiscale; - - @JsonProperty("partita_iva") - private String partitaIva; - - @JsonProperty("cap_fattura") - private String capFattura; - - @JsonProperty("indirizzo_fattura") - private String indirizzoFattura; - - @JsonProperty("civico_fattura") - private String civicoFattura; - - @JsonProperty("citta_fattura") - private String cittaFattura; - - @JsonProperty("provincia_fattura") - private String provinciaFattura; - - @JsonProperty("negozio_scelto") - private String negozioScelto; - - public String getOrderNumber() { - return orderNumber; - } - - public void setOrderNumber(String orderNumber) { - this.orderNumber = orderNumber; - } - - public Date getCreatedOn() { - return createdOn; - } - - public void setCreatedOn(Date createdOn) { - this.createdOn = createdOn; - } - - public Integer getVirtuemartOrderId() { - return virtuemartOrderId; - } - - public void setVirtuemartOrderId(Integer virtuemartOrderId) { - this.virtuemartOrderId = virtuemartOrderId; - } - - public Integer getVirtuemartProductId() { - return virtuemartProductId; - } - - public void setVirtuemartProductId(Integer virtuemartProductId) { - this.virtuemartProductId = virtuemartProductId; - } - - public String getFullName() { - return fullName; - } - - public void setFullName(String fullName) { - this.fullName = fullName; - } - - public String getAddress1() { - return address1; - } - - public void setAddress1(String address1) { - this.address1 = address1; - } - - public String getCivico() { - return civico; - } - - public void setCivico(String civico) { - this.civico = civico; - } - - public String getZip() { - return zip; - } - - public void setZip(String zip) { - this.zip = zip; - } - - public String getCity() { - return city; - } - - public void setCity(String city) { - this.city = city; - } - - public String getCountryName() { - return countryName; - } - - public void setCountryName(String countryName) { - this.countryName = countryName; - } - - public String getStateName() { - return stateName; - } - - public void setStateName(String stateName) { - this.stateName = stateName; - } - - public String getPhone1() { - return phone1; - } - - public void setPhone1(String phone1) { - this.phone1 = phone1; - } - - public String getUsername() { - return username; - } - - public void setUsername(String username) { - this.username = username; - } - - public String getEmail() { - return email; - } - - public void setEmail(String email) { - this.email = email; - } - - public String getCustomerNote() { - return customerNote; - } - - public void setCustomerNote(String customerNote) { - this.customerNote = customerNote; - } - - public String getOrderItemSku() { - return orderItemSku; - } - - public void setOrderItemSku(String orderItemSku) { - this.orderItemSku = orderItemSku; - } - - public String getOrderItemName() { - return orderItemName; - } - - public void setOrderItemName(String orderItemName) { - this.orderItemName = orderItemName; - } - - public Integer getProductQuantity() { - return productQuantity; - } - - public void setProductQuantity(Integer productQuantity) { - this.productQuantity = productQuantity; - } - - public BigDecimal getProductItemPrice() { - return productItemPrice; - } - - public void setProductItemPrice(BigDecimal productItemPrice) { - this.productItemPrice = productItemPrice; - } - - public BigDecimal getProductTax() { - return productTax; - } - - public void setProductTax(BigDecimal productTax) { - this.productTax = productTax; - } - - public BigDecimal getProductFinalPrice() { - return productFinalPrice; - } - - public void setProductFinalPrice(BigDecimal productFinalPrice) { - this.productFinalPrice = productFinalPrice; - } - - public BigDecimal getOrderShipment() { - return orderShipment; - } - - public void setOrderShipment(BigDecimal orderShipment) { - this.orderShipment = orderShipment; - } - - public BigDecimal getOrderShipmentTax() { - return orderShipmentTax; - } - - public void setOrderShipmentTax(BigDecimal orderShipmentTax) { - this.orderShipmentTax = orderShipmentTax; - } - - public BigDecimal getOrderPayment() { - return orderPayment; - } - - public void setOrderPayment(BigDecimal orderPayment) { - this.orderPayment = orderPayment; - } - - public BigDecimal getOrderPaymentTax() { - return orderPaymentTax; - } - - public void setOrderPaymentTax(BigDecimal orderPaymentTax) { - this.orderPaymentTax = orderPaymentTax; - } - - public BigDecimal getOrderTotal() { - return orderTotal; - } - - public void setOrderTotal(BigDecimal orderTotal) { - this.orderTotal = orderTotal; - } - - public Integer getTotalOrderItems() { - return totalOrderItems; - } - - public void setTotalOrderItems(Integer totalOrderItems) { - this.totalOrderItems = totalOrderItems; - } - - public String getVirtuemartShipmentmethodId() { - return virtuemartShipmentmethodId; - } - - public void setVirtuemartShipmentmethodId(String virtuemartShipmentmethodId) { - this.virtuemartShipmentmethodId = virtuemartShipmentmethodId; - } - - public String getVirtuemartPaymentmethodId() { - return virtuemartPaymentmethodId; - } - - public void setVirtuemartPaymentmethodId(String virtuemartPaymentmethodId) { - this.virtuemartPaymentmethodId = virtuemartPaymentmethodId; - } - - public String getUserCurrency() { - return userCurrency; - } - - public void setUserCurrency(String userCurrency) { - this.userCurrency = userCurrency; - } - - public String getOrderStatus() { - return orderStatus; - } - - public void setOrderStatus(String orderStatus) { - this.orderStatus = orderStatus; - } - - public String getOrderStatusName() { - return orderStatusName; - } - - public void setOrderStatusName(String orderStatusName) { - this.orderStatusName = orderStatusName; - } - - public String getRichiestaFattura() { - return richiestaFattura; - } - - public void setRichiestaFattura(String richiestaFattura) { - this.richiestaFattura = richiestaFattura; - } - - public String getCompany() { - return company; - } - - public void setCompany(String company) { - this.company = company; - } - - public String getCodiceFiscale() { - return codiceFiscale; - } - - public void setCodiceFiscale(String codiceFiscale) { - this.codiceFiscale = codiceFiscale; - } - - public String getPartitaIva() { - return partitaIva; - } - - public void setPartitaIva(String partitaIva) { - this.partitaIva = partitaIva; - } - - public String getCapFattura() { - return capFattura; - } - - public void setCapFattura(String capFattura) { - this.capFattura = capFattura; - } - - public String getIndirizzoFattura() { - return indirizzoFattura; - } - - public void setIndirizzoFattura(String indirizzoFattura) { - this.indirizzoFattura = indirizzoFattura; - } - - public String getCivicoFattura() { - return civicoFattura; - } - - public void setCivicoFattura(String civicoFattura) { - this.civicoFattura = civicoFattura; - } - - public String getCittaFattura() { - return cittaFattura; - } - - public void setCittaFattura(String cittaFattura) { - this.cittaFattura = cittaFattura; - } - - public String getProvinciaFattura() { - return provinciaFattura; - } - - public void setProvinciaFattura(String provinciaFattura) { - this.provinciaFattura = provinciaFattura; - } - - public String getNegozioScelto() { - return negozioScelto; - } - - public void setNegozioScelto(String negozioScelto) { - this.negozioScelto = negozioScelto; - } - -} diff --git a/ems-engine/src/main/java/it/integry/ems/system/job/RecoveryMailJob.java b/ems-engine/src/main/java/it/integry/ems/system/job/RecoveryMailJob.java deleted file mode 100644 index a2eec654f7..0000000000 --- a/ems-engine/src/main/java/it/integry/ems/system/job/RecoveryMailJob.java +++ /dev/null @@ -1,121 +0,0 @@ -package it.integry.ems.system.job; - -import it.integry.common.var.CommonConstants; -import it.integry.ems.datasource.DataSource; -import it.integry.ems.json.ResponseJSONObjectMapper; -import it.integry.ems.properties.EmsProperties; -import it.integry.ems.response.EsitoType; -import it.integry.ems.response.ServiceRestResponse; -import it.integry.ems.schedule.cron_job.QuartzJobBeanWithConf; -import it.integry.ems_model.config.EmsRestConstants; -import it.integry.ems_model.service.SetupGest; -import it.integry.ems_model.utility.UtilityDB; -import it.integry.ems_model.utility.UtilityString; -import it.integry.security.utility.RestUtil; -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; -import org.quartz.JobExecutionContext; -import org.springframework.beans.factory.annotation.Autowired; - -import javax.ws.rs.client.Client; -import javax.ws.rs.client.ClientBuilder; -import javax.ws.rs.client.Entity; -import javax.ws.rs.client.WebTarget; -import javax.ws.rs.core.Response; -import java.sql.PreparedStatement; -import java.sql.ResultSet; -import java.util.Date; - -public class RecoveryMailJob extends QuartzJobBeanWithConf { - - private EmsProperties emsProperties; - private ResponseJSONObjectMapper jsonObjectMapper; - private SetupGest setupGest; - - private Logger logger = LogManager.getLogger(); - - public EmsProperties getEmsProperties() { - return emsProperties; - } - - @Autowired - public void setEmsProperties(EmsProperties emsProperties) { - this.emsProperties = emsProperties; - } - - public ResponseJSONObjectMapper getJsonObjectMapper() { - return jsonObjectMapper; - } - - @Autowired - public void setJsonObjectMapper(ResponseJSONObjectMapper jsonObjectMapper) { - this.jsonObjectMapper = jsonObjectMapper; - } - - public SetupGest getSetupGest() { - return setupGest; - } - - @Autowired - public void setSetupGest(SetupGest setupGest) { - this.setupGest = setupGest; - } - - @Override - protected void executeInternal(JobExecutionContext context) { - try { - String database = profileDb; - DataSource ds = new DataSource(); - ds.initialize(database); - - if (!UtilityString.isNullOrEmpty(branch)) { - String[] params = branch.split("\\|"); - Boolean enabled = setupGest.getSetupBoolean(ds.getConnection(), params[0], params[1], params[2] + "ENABLED"); - - if (enabled && "/ems-api".equals(emsProperties.getRootApi())) { - String sql = "SELECT * FROM stb_email_recovery"; - PreparedStatement ps = ds.getConnection().prepareStatement(sql); - ResultSet rs = ps.executeQuery(); - - while (rs.next()) { - String to = rs.getString("to"); - String from = rs.getString("from"); - String mailText = rs.getString("msg_text"); - Date dataIns = rs.getTimestamp("data_ins"); - String mailSubject = rs.getString("subject"); - String jsonBody = rs.getString("attachments"); - String auth = RestUtil.generateAuth(database, database, "POST", jsonBody, "application/json", - emsProperties.getRootApi() + EmsRestConstants.PATH_SEND_MAIL); - - final Client client = ClientBuilder.newClient(); - final WebTarget resource = client.target(emsProperties.getEndPointWS()) - .path(emsProperties.getRootApi() + EmsRestConstants.PATH_SEND_MAIL); - Response response = resource.queryParam(CommonConstants.PROFILE_DB, database).queryParam("from", from) - .queryParam("to", to).queryParam("subject", mailSubject).queryParam("msgText", mailText) - .request() - .header("Authorization", database + ":" + auth) - .post(Entity.json(jsonBody)); - String str = response.readEntity(String.class); - ServiceRestResponse resp = jsonObjectMapper.readValue(str, ServiceRestResponse.class); - if (resp.getEsito() == EsitoType.OK) { - String delete = "delete from stb_email_recovery where [from]=" + UtilityDB.valueToString(from) - + " and [to]=" + UtilityDB.valueToString(to) + " and data_ins=" + UtilityDB.valueDateToString(dataIns, CommonConstants.DATETIME_FORMAT_YMD); - PreparedStatement psDelete = ds.getConnection().prepareStatement(delete); - psDelete.executeUpdate(); - psDelete.close(); - ds.getConnection().commit(); - } - - response.close(); - client.close(); - } - rs.close(); - ps.close(); - } - } - ds.close(); - } catch (Exception e) { - e.printStackTrace(); - } - } -} diff --git a/ems-engine/src/main/java/it/integry/security/filter/RestLoggerBodyFilter.java b/ems-engine/src/main/java/it/integry/security/filter/RestLoggerBodyFilter.java index 0ec4072e2a..925e298b79 100644 --- a/ems-engine/src/main/java/it/integry/security/filter/RestLoggerBodyFilter.java +++ b/ems-engine/src/main/java/it/integry/security/filter/RestLoggerBodyFilter.java @@ -1,100 +1,147 @@ -package it.integry.security.filter; - -import it.integry.ems.document.export.DocumentiExporter; -import it.integry.ems.utility.UtilityDebug; -import org.apache.logging.log4j.LogManager; -import org.apache.logging.log4j.Logger; -import org.springframework.stereotype.Component; -import org.springframework.web.filter.AbstractRequestLoggingFilter; - -import javax.servlet.http.HttpServletRequest; -import java.util.Enumeration; - -@Component -public class RestLoggerBodyFilter extends AbstractRequestLoggingFilter { - - - public RestLoggerBodyFilter() { - setIncludeClientInfo(true); - setIncludeQueryString(true); - setIncludePayload(true); - setMaxPayloadLength(64000); - } - - private final Logger logger = LogManager.getLogger(); - - @Override - protected boolean shouldLog(HttpServletRequest request) { - return logger.isWarnEnabled() && shouldRequestBeLogged(request); - } - - /** - * Writes a log message before the request is processed. - */ - @Override - protected void beforeRequest(HttpServletRequest request, String message) { - if (shouldRequestBeLogged(request)) { - if (logger.isDebugEnabled()) { - logger.trace(request.getMethod() + " " + request.getContextPath() + request.getServletPath()); - Enumeration enums = request.getHeaderNames(); - while (enums.hasMoreElements()) { - String key = enums.nextElement(); - logger.trace("[KEY] " + key + " [VALUE] " + request.getHeader(key)); - } - - enums = request.getParameterNames(); - logger.trace("[PARAMS]"); - while (enums.hasMoreElements()) { - String key = enums.nextElement(); - logger.trace("[KEY] " + key + " [VALUE] " + request.getParameter(key)); - } - } - } - } - - /** - * Writes a log message after the request is processed. - */ - @Override - protected void afterRequest(HttpServletRequest request, String message) { - if (shouldRequestBeLogged(request)) { - logger.debug("BODY REST CALL AFTER REQUEST: " + message); - } - } - - - private boolean shouldRequestBeLogged(HttpServletRequest request) { - String serviceName = request.getServletPath(); - - while (serviceName.startsWith("/")) { - serviceName = serviceName.substring(1); - } - return !serviceName.startsWith("metric") && - !serviceName.startsWith("js") && - !serviceName.startsWith("font") && - !serviceName.startsWith("fonts") && - !serviceName.startsWith("assets") && - !serviceName.startsWith("css") && - !serviceName.startsWith("index.html") && - !serviceName.endsWith("favicon.ico") && - !serviceName.endsWith("status") && - !serviceName.contains("system/ok") && - !serviceName.contains("system/login") && - !serviceName.contains("logs") && - !serviceName.contains("getCurrentMachinesStatus") && - !serviceName.contains("getOrdiniLavorazione") && - !serviceName.contains("getOpenedSteps") && - !serviceName.contains("getCurrentPrintQueue") && - !serviceName.contains("loginWeb") && - !serviceName.startsWith("agribook/orders/attachment/") && - !serviceName.contains("upload") && - !serviceName.startsWith("users/") && - !serviceName.startsWith("exportVariazioniPv") && - !serviceName.startsWith("variazioni-negozi/") && - !serviceName.startsWith("decodeUcs/") && - !(serviceName.startsWith("export") && - !request.getQueryString().contains(DocumentiExporter.Format.FATTURE_FPR.getText())) && - (!serviceName.contains("processSql") || UtilityDebug.isDebugExecution()); - } - -} +package it.integry.security.filter; + +import it.integry.ems.document.export.DocumentiExporter; +import it.integry.ems.utility.UtilityDebug; +import org.apache.logging.log4j.LogManager; +import org.apache.logging.log4j.Logger; +import org.springframework.http.HttpHeaders; +import org.springframework.http.server.ServletServerHttpRequest; +import org.springframework.stereotype.Component; +import org.springframework.util.StringUtils; +import org.springframework.web.filter.AbstractRequestLoggingFilter; + +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpSession; +import java.util.Enumeration; + +@Component +public class RestLoggerBodyFilter extends AbstractRequestLoggingFilter { + + + public RestLoggerBodyFilter() { + setIncludeClientInfo(true); + setIncludeQueryString(true); + setIncludePayload(true); +// setMaxPayloadLength(64000); + } + + private final Logger logger = LogManager.getLogger(); + + @Override + protected boolean shouldLog(HttpServletRequest request) { + return logger.isDebugEnabled() && shouldRequestBeLogged(request); + } + + /** + * Writes a log message before the request is processed. + */ + @Override + protected void beforeRequest(HttpServletRequest request, String message) { + setIncludeHeaders(logger.isTraceEnabled()); + logger.debug("START " + message); + } + + /** + * Writes a log message after the request is processed. + */ + @Override + protected void afterRequest(HttpServletRequest request, String message) { + logger.debug("END " + message); + } + + @Override + protected String createMessage(HttpServletRequest request, String prefix, String suffix) { + StringBuilder msg = new StringBuilder(); +// msg.append(prefix); + msg.append("REQUEST ["); + msg.append(request.getMethod()).append(' '); + msg.append(request.getRequestURI()); + if (this.isIncludeQueryString()) { + String queryString = request.getQueryString(); + if (queryString != null) { + msg.append('?').append(queryString); + } + } + msg.append("]"); + + if (this.isIncludeClientInfo()) { + String client = request.getRemoteAddr(); + if (StringUtils.hasLength(client)) { + msg.append(" - Client: ").append(client); + } + + HttpSession session = request.getSession(false); + if (session != null) { + msg.append(" - Session: ").append(session.getId()); + } + + String user = request.getRemoteUser(); + if (user != null) { + msg.append(" - User: ").append(user); + } + } + + if (this.isIncludeHeaders()) { + HttpHeaders headers = (new ServletServerHttpRequest(request)).getHeaders(); + if (this.getHeaderPredicate() != null) { + Enumeration names = request.getHeaderNames(); + + while (names.hasMoreElements()) { + String header = names.nextElement(); + if (!this.getHeaderPredicate().test(header)) { + headers.set(header, "masked"); + } + } + } + + msg.append("\n Headers: ").append(headers); + } + + String contentType = request.getContentType(); + if (this.isIncludePayload() && contentType != null && contentType.contains("application/json")) { + String payload = this.getMessagePayload(request); + if (payload != null) { + msg.append("\n Body: ").append(payload); + } + } + +// msg.append(suffix); + return msg.toString(); + } + + + private boolean shouldRequestBeLogged(HttpServletRequest request) { + String serviceName = request.getServletPath(); + + while (serviceName.startsWith("/")) { + serviceName = serviceName.substring(1); + } + return !serviceName.startsWith("metric") && + !serviceName.startsWith("js") && + !serviceName.startsWith("font") && + !serviceName.startsWith("fonts") && + !serviceName.startsWith("assets") && + !serviceName.startsWith("css") && + !serviceName.startsWith("index.html") && + !serviceName.endsWith("favicon.ico") && + !serviceName.endsWith("status") && + !serviceName.contains("system/ok") && + !serviceName.contains("system/login") && + !serviceName.contains("logs") && + !serviceName.contains("getCurrentMachinesStatus") && + !serviceName.contains("getOrdiniLavorazione") && + !serviceName.contains("getOpenedSteps") && + !serviceName.contains("getCurrentPrintQueue") && + !serviceName.contains("loginWeb") && + !serviceName.startsWith("agribook/orders/attachment/") && + !serviceName.contains("upload") && + !serviceName.startsWith("users/") && + !serviceName.startsWith("exportVariazioniPv") && + !serviceName.startsWith("variazioni-negozi/") && + !serviceName.startsWith("decodeUcs/") && + !(serviceName.startsWith("export") && + request.getQueryString().contains(DocumentiExporter.Format.FATTURE_FPR.getText())) && + (!serviceName.contains("processSql") || UtilityDebug.isDebugExecution()); + } + +} diff --git a/ems-engine/src/main/resources/log4j2.xml b/ems-engine/src/main/resources/log4j2.xml index 91e9fb968a..7feb5c1ff0 100644 --- a/ems-engine/src/main/resources/log4j2.xml +++ b/ems-engine/src/main/resources/log4j2.xml @@ -1,95 +1,95 @@ - - - - ${sys:catalina.home}/logs/ - 30 - %d{yyyy-MM-dd HH:mm:ss} %-5p %c{1.1.9}.java:%L %X{username} - %m%n - - - %d{yyyy-MM-dd HH:mm:ss} %style{%-40c{1.}}{cyan} %highlight{ %.-1p }{FATAL=bg_red blink black bold, ERROR=bg_red black, WARN=bright bg_yellow black, INFO=bg_green, DEBUG=bg_cyan black, TRACE=bg_white black} %highlight{%msg%n%throwable}{FATAL=red blink bold, ERROR=red, WARN=bright yellow, INFO=green, DEBUG=cyan, TRACE=white} - - - - - - - - - - - - - - - - - - - - - - - ${logPattern} - - - - - - - - - - - ${logPattern} - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - + + + + ${sys:catalina.home}/logs/ + 30 + %d{yyyy-MM-dd HH:mm:ss} %-5p %c{1.1.9}.java:%L %X{username} - %m%n + + + %d{yyyy-MM-dd HH:mm:ss} %style{%-40c{1.}}{cyan} %highlight{ %.-1p }{FATAL=bg_red blink black bold, ERROR=bg_red black, WARN=bright bg_yellow black, INFO=bg_green, DEBUG=bg_cyan black, TRACE=bg_white black} %highlight{%msg%n%throwable}{FATAL=red blink bold, ERROR=red, WARN=bright yellow, INFO=green, DEBUG=cyan, TRACE=white} + + + + + + + + + + + + + + + + + + + + + + + ${logPattern} + + + + + + + + + + + ${logPattern} + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file