Commit 70020b48 authored by Nicola Fulvio Calabria's avatar Nicola Fulvio Calabria
Browse files

Switched ownerId field type in ShortJobDescription from

JAXBElement<String> to String for job list retrieval convenience.
parent 2d20eec2
Pipeline #894 passed with stages
in 54 seconds
<?xml version="1.0" encoding="UTF-8"?>
<project-shared-configuration>
<!--
This file contains additional configuration written by modules in the NetBeans IDE.
The configuration is intended to be shared among all the users of project and
therefore it is assumed to be part of version control checkout.
Without this configuration present, some functionality in the IDE may be limited or fail altogether.
-->
<properties xmlns="http://www.netbeans.org/ns/maven-properties-data/1">
<!--
Properties that influence various parts of the IDE, especially code formatting and the like.
You can copy and paste the single properties, into the pom.xml file and the IDE will pick them up.
That way multiple projects can share the same settings (useful for formatting rules for example).
Any value defined here will override the pom.xml file value but is only applicable to the current project.
-->
<netbeans.hint.jdkPlatform>JDK_14</netbeans.hint.jdkPlatform>
</properties>
</project-shared-configuration>
......@@ -58,8 +58,8 @@ public class ShortJobDescription {
@XmlSchemaType(name = "string")
protected ExecutionPhase phase;
protected String runId;
@XmlElementRef(name = "ownerId", namespace = "http://www.ivoa.net/xml/UWS/v1.0", type = JAXBElement.class, required = false)
protected JAXBElement<String> ownerId;
@XmlElement(required = true, nillable = true)
protected String ownerId;
@XmlSchemaType(name = "dateTime")
protected XMLGregorianCalendar creationTime;
@XmlAttribute(name = "id", required = true)
......@@ -127,7 +127,7 @@ public class ShortJobDescription {
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public JAXBElement<String> getOwnerId() {
public String getOwnerId() {
return ownerId;
}
......@@ -139,7 +139,7 @@ public class ShortJobDescription {
* {@link JAXBElement }{@code <}{@link String }{@code >}
*
*/
public void setOwnerId(JAXBElement<String> value) {
public void setOwnerId(String value) {
this.ownerId = value;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment