Skip to content
New issue

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

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

Already on GitHub? Sign in to your account

OC-7441 New OpenClinica Extensions for Import ODM #2

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
1 change: 1 addition & 0 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -44,6 +44,7 @@
<plugin>
<groupId>org.codehaus.mojo</groupId>
<artifactId>jaxb2-maven-plugin</artifactId>

<executions>

<execution>
Expand Down
64 changes: 64 additions & 0 deletions src/main/java/org/cdisc/ns/odm/v1/CLDataType.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.09.14 at 08:43:35 PM EDT
//


package org.cdisc.ns.odm.v1;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
* <p>Java class for CLDataType.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* &lt;simpleType name="CLDataType">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="integer"/>
* &lt;enumeration value="float"/>
* &lt;enumeration value="text"/>
* &lt;enumeration value="string"/>
* &lt;/restriction>
* &lt;/simpleType>
* </pre>
*
*/
@XmlType(name = "CLDataType")
@XmlEnum
public enum CLDataType {

@XmlEnumValue("integer")
INTEGER("integer"),
@XmlEnumValue("float")
FLOAT("float"),
@XmlEnumValue("text")
TEXT("text"),
@XmlEnumValue("string")
STRING("string");
private final String value;

CLDataType(String v) {
value = v;
}

public String value() {
return value;
}

public static CLDataType fromValue(String v) {
for (CLDataType c: CLDataType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}

}
58 changes: 58 additions & 0 deletions src/main/java/org/cdisc/ns/odm/v1/CommentType.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.09.14 at 08:43:35 PM EDT
//


package org.cdisc.ns.odm.v1;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
* <p>Java class for CommentType.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* &lt;simpleType name="CommentType">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="Sponsor"/>
* &lt;enumeration value="Site"/>
* &lt;/restriction>
* &lt;/simpleType>
* </pre>
*
*/
@XmlType(name = "CommentType")
@XmlEnum
public enum CommentType {

@XmlEnumValue("Sponsor")
SPONSOR("Sponsor"),
@XmlEnumValue("Site")
SITE("Site");
private final String value;

CommentType(String v) {
value = v;
}

public String value() {
return value;
}

public static CommentType fromValue(String v) {
for (CommentType c: CommentType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}

}
57 changes: 57 additions & 0 deletions src/main/java/org/cdisc/ns/odm/v1/Comparator.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,57 @@
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.09.14 at 08:43:35 PM EDT
//


package org.cdisc.ns.odm.v1;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlType;


/**
* <p>Java class for Comparator.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* &lt;simpleType name="Comparator">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="LT"/>
* &lt;enumeration value="LE"/>
* &lt;enumeration value="GT"/>
* &lt;enumeration value="GE"/>
* &lt;enumeration value="EQ"/>
* &lt;enumeration value="NE"/>
* &lt;enumeration value="IN"/>
* &lt;enumeration value="NOTIN"/>
* &lt;/restriction>
* &lt;/simpleType>
* </pre>
*
*/
@XmlType(name = "Comparator")
@XmlEnum
public enum Comparator {

LT,
LE,
GT,
GE,
EQ,
NE,
IN,
NOTIN;

public String value() {
return name();
}

public static Comparator fromValue(String v) {
return valueOf(v);
}

}
111 changes: 111 additions & 0 deletions src/main/java/org/cdisc/ns/odm/v1/DataType.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,111 @@
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.09.14 at 08:43:35 PM EDT
//


package org.cdisc.ns.odm.v1;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
* <p>Java class for DataType.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* &lt;simpleType name="DataType">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="integer"/>
* &lt;enumeration value="float"/>
* &lt;enumeration value="date"/>
* &lt;enumeration value="datetime"/>
* &lt;enumeration value="time"/>
* &lt;enumeration value="text"/>
* &lt;enumeration value="string"/>
* &lt;enumeration value="double"/>
* &lt;enumeration value="URI"/>
* &lt;enumeration value="boolean"/>
* &lt;enumeration value="hexBinary"/>
* &lt;enumeration value="base64Binary"/>
* &lt;enumeration value="hexFloat"/>
* &lt;enumeration value="base64Float"/>
* &lt;enumeration value="partialDate"/>
* &lt;enumeration value="partialTime"/>
* &lt;enumeration value="partialDatetime"/>
* &lt;enumeration value="durationDatetime"/>
* &lt;enumeration value="intervalDatetime"/>
* &lt;enumeration value="incompleteDatetime"/>
* &lt;/restriction>
* &lt;/simpleType>
* </pre>
*
*/
@XmlType(name = "DataType")
@XmlEnum
public enum DataType {

@XmlEnumValue("integer")
INTEGER("integer"),
@XmlEnumValue("float")
FLOAT("float"),
@XmlEnumValue("date")
DATE("date"),
@XmlEnumValue("datetime")
DATETIME("datetime"),
@XmlEnumValue("time")
TIME("time"),
@XmlEnumValue("text")
TEXT("text"),
@XmlEnumValue("string")
STRING("string"),
@XmlEnumValue("double")
DOUBLE("double"),
URI("URI"),
@XmlEnumValue("boolean")
BOOLEAN("boolean"),
@XmlEnumValue("hexBinary")
HEX_BINARY("hexBinary"),
@XmlEnumValue("base64Binary")
BASE_64_BINARY("base64Binary"),
@XmlEnumValue("hexFloat")
HEX_FLOAT("hexFloat"),
@XmlEnumValue("base64Float")
BASE_64_FLOAT("base64Float"),
@XmlEnumValue("partialDate")
PARTIAL_DATE("partialDate"),
@XmlEnumValue("partialTime")
PARTIAL_TIME("partialTime"),
@XmlEnumValue("partialDatetime")
PARTIAL_DATETIME("partialDatetime"),
@XmlEnumValue("durationDatetime")
DURATION_DATETIME("durationDatetime"),
@XmlEnumValue("intervalDatetime")
INTERVAL_DATETIME("intervalDatetime"),
@XmlEnumValue("incompleteDatetime")
INCOMPLETE_DATETIME("incompleteDatetime");
private final String value;

DataType(String v) {
value = v;
}

public String value() {
return value;
}

public static DataType fromValue(String v) {
for (DataType c: DataType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}

}
61 changes: 61 additions & 0 deletions src/main/java/org/cdisc/ns/odm/v1/EditPointType.java
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
//
// This file was generated by the JavaTM Architecture for XML Binding(JAXB) Reference Implementation, v2.2.7
// See <a href="http://java.sun.com/xml/jaxb">http://java.sun.com/xml/jaxb</a>
// Any modifications to this file will be lost upon recompilation of the source schema.
// Generated on: 2016.09.14 at 08:43:35 PM EDT
//


package org.cdisc.ns.odm.v1;

import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;


/**
* <p>Java class for EditPointType.
*
* <p>The following schema fragment specifies the expected content contained within this class.
* <p>
* <pre>
* &lt;simpleType name="EditPointType">
* &lt;restriction base="{http://www.w3.org/2001/XMLSchema}string">
* &lt;enumeration value="Monitoring"/>
* &lt;enumeration value="DataManagement"/>
* &lt;enumeration value="DBAudit"/>
* &lt;/restriction>
* &lt;/simpleType>
* </pre>
*
*/
@XmlType(name = "EditPointType")
@XmlEnum
public enum EditPointType {

@XmlEnumValue("Monitoring")
MONITORING("Monitoring"),
@XmlEnumValue("DataManagement")
DATA_MANAGEMENT("DataManagement"),
@XmlEnumValue("DBAudit")
DB_AUDIT("DBAudit");
private final String value;

EditPointType(String v) {
value = v;
}

public String value() {
return value;
}

public static EditPointType fromValue(String v) {
for (EditPointType c: EditPointType.values()) {
if (c.value.equals(v)) {
return c;
}
}
throw new IllegalArgumentException(v);
}

}
Loading