-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
- Loading branch information
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Large diffs are not rendered by default.
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,11 +1,17 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<module type="JAVA_MODULE" version="4"> | ||
<component name="NewModuleRootManager" inherit-compiler-output="true"> | ||
<exclude-output /> | ||
<module org.jetbrains.idea.maven.project.MavenProjectsManager.isMavenModule="true" type="JAVA_MODULE" version="4"> | ||
<component name="NewModuleRootManager" LANGUAGE_LEVEL="JDK_1_8"> | ||
<output url="file://$MODULE_DIR$/target/classes" /> | ||
<output-test url="file://$MODULE_DIR$/target/test-classes" /> | ||
<content url="file://$MODULE_DIR$"> | ||
<sourceFolder url="file://$MODULE_DIR$/src" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/main/java" isTestSource="false" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/main/resources" type="java-resource" /> | ||
<sourceFolder url="file://$MODULE_DIR$/src/test/java" isTestSource="true" /> | ||
</content> | ||
<orderEntry type="inheritedJdk" /> | ||
<orderEntry type="sourceFolder" forTests="false" /> | ||
<orderEntry type="library" name="Maven: javax.xml.bind:jaxb-api:2.3.0" level="project" /> | ||
<orderEntry type="library" name="Maven: com.sun.xml.bind:jaxb-core:2.3.0" level="project" /> | ||
<orderEntry type="library" name="Maven: com.sun.xml.bind:jaxb-impl:2.3.0" level="project" /> | ||
</component> | ||
</module> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,34 @@ | ||
<?xml version="1.0" encoding="UTF-8"?> | ||
<project xmlns="http://maven.apache.org/POM/4.0.0" | ||
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" | ||
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/xsd/maven-4.0.0.xsd"> | ||
<modelVersion>4.0.0</modelVersion> | ||
|
||
<groupId>groupId</groupId> | ||
<artifactId>SAX_2_Bueno</artifactId> | ||
<version>1.0-SNAPSHOT</version> | ||
|
||
<properties> | ||
<maven.compiler.source>15</maven.compiler.source> | ||
<maven.compiler.target>15</maven.compiler.target> | ||
</properties> | ||
|
||
<dependencies> | ||
<dependency> | ||
<groupId>javax.xml.bind</groupId> | ||
<artifactId>jaxb-api</artifactId> | ||
<version>2.3.0</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.sun.xml.bind</groupId> | ||
<artifactId>jaxb-core</artifactId> | ||
<version>2.3.0</version> | ||
</dependency> | ||
<dependency> | ||
<groupId>com.sun.xml.bind</groupId> | ||
<artifactId>jaxb-impl</artifactId> | ||
<version>2.3.0</version> | ||
</dependency> | ||
</dependencies> | ||
|
||
</project> |
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,174 @@ | ||
|
||
package practica; | ||
|
||
import javax.xml.bind.annotation.XmlAccessType; | ||
import javax.xml.bind.annotation.XmlAccessorType; | ||
import javax.xml.bind.annotation.XmlElement; | ||
import javax.xml.bind.annotation.XmlType; | ||
|
||
|
||
/** | ||
* <p>Clase Java para incidencia complex type. | ||
* | ||
* <p>El siguiente fragmento de esquema especifica el contenido que se espera que haya en esta clase. | ||
* | ||
* <pre> | ||
* <complexType name="incidencia"> | ||
* <complexContent> | ||
* <restriction base="{http://www.w3.org/2001/XMLSchema}anyType"> | ||
* <sequence> | ||
* <element name="usuario" type="{http://www.w3.org/2001/XMLSchema}string"/> | ||
* <element name="fecha" type="{http://www.w3.org/2001/XMLSchema}string"/> | ||
* <element name="evento" type="{http://www.w3.org/2001/XMLSchema}string"/> | ||
* <element name="importe" type="{http://www.w3.org/2001/XMLSchema}string"/> | ||
* <element name="motivoRechazo" type="{http://www.w3.org/2001/XMLSchema}string"/> | ||
* </sequence> | ||
* </restriction> | ||
* </complexContent> | ||
* </complexType> | ||
* </pre> | ||
* | ||
* | ||
*/ | ||
@XmlAccessorType(XmlAccessType.FIELD) | ||
@XmlType(name = "incidencia", propOrder = { | ||
"usuario", | ||
"fecha", | ||
"evento", | ||
"importe", | ||
"motivoRechazo" | ||
}) | ||
public class Incidencia { | ||
|
||
@XmlElement(required = true) | ||
protected String usuario; | ||
@XmlElement(required = true) | ||
protected String fecha; | ||
@XmlElement(required = true) | ||
protected String evento; | ||
@XmlElement(required = true) | ||
protected String importe; | ||
@XmlElement(required = true) | ||
protected String motivoRechazo; | ||
|
||
/** | ||
* Obtiene el valor de la propiedad usuario. | ||
* | ||
* @return | ||
* possible object is | ||
* {@link String } | ||
* | ||
*/ | ||
public String getUsuario() { | ||
return usuario; | ||
} | ||
|
||
/** | ||
* Define el valor de la propiedad usuario. | ||
* | ||
* @param value | ||
* allowed object is | ||
* {@link String } | ||
* | ||
*/ | ||
public void setUsuario(String value) { | ||
this.usuario = value; | ||
} | ||
|
||
/** | ||
* Obtiene el valor de la propiedad fecha. | ||
* | ||
* @return | ||
* possible object is | ||
* {@link String } | ||
* | ||
*/ | ||
public String getFecha() { | ||
return fecha; | ||
} | ||
|
||
/** | ||
* Define el valor de la propiedad fecha. | ||
* | ||
* @param value | ||
* allowed object is | ||
* {@link String } | ||
* | ||
*/ | ||
public void setFecha(String value) { | ||
this.fecha = value; | ||
} | ||
|
||
/** | ||
* Obtiene el valor de la propiedad evento. | ||
* | ||
* @return | ||
* possible object is | ||
* {@link String } | ||
* | ||
*/ | ||
public String getEvento() { | ||
return evento; | ||
} | ||
|
||
/** | ||
* Define el valor de la propiedad evento. | ||
* | ||
* @param value | ||
* allowed object is | ||
* {@link String } | ||
* | ||
*/ | ||
public void setEvento(String value) { | ||
this.evento = value; | ||
} | ||
|
||
/** | ||
* Obtiene el valor de la propiedad importe. | ||
* | ||
* @return | ||
* possible object is | ||
* {@link String } | ||
* | ||
*/ | ||
public String getImporte() { | ||
return importe; | ||
} | ||
|
||
/** | ||
* Define el valor de la propiedad importe. | ||
* | ||
* @param value | ||
* allowed object is | ||
* {@link String } | ||
* | ||
*/ | ||
public void setImporte(String value) { | ||
this.importe = value; | ||
} | ||
|
||
/** | ||
* Obtiene el valor de la propiedad motivoRechazo. | ||
* | ||
* @return | ||
* possible object is | ||
* {@link String } | ||
* | ||
*/ | ||
public String getMotivoRechazo() { | ||
return motivoRechazo; | ||
} | ||
|
||
/** | ||
* Define el valor de la propiedad motivoRechazo. | ||
* | ||
* @param value | ||
* allowed object is | ||
* {@link String } | ||
* | ||
*/ | ||
public void setMotivoRechazo(String value) { | ||
this.motivoRechazo = value; | ||
} | ||
|
||
} |