Skip to content
Snippets Groups Projects
Commit 353ad132 authored by Juergen Gremmels's avatar Juergen Gremmels
Browse files

Testprogramm-XSD-Schema erweitert.

parent eaac4820
No related branches found
No related tags found
No related merge requests found
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema id="TestProgram" targetNamespace="http://tempuri.org/TestProgram_2.0.xsd"
elementFormDefault="qualified" xmlns="http://tempuri.org/TestProgram_2.0.xsd"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="TESTPROGRAM" type="TestProgramType" />
<xsd:complexType name="TestProgramType">
<xsd:sequence>
<xsd:element name="PARAMETER" type="ParameterType" minOccurs="1" maxOccurs="unbounded" />
</xsd:sequence>
<xsd:attribute name="ID" type="xsd:int" use="required" />
<xsd:attribute name="VERSION" type="xsd:string" />
<xsd:attribute name="OBJECT" type="xsd:string" />
<xsd:attribute name="OBJECT_TYPE" type="xsd:int" />
<xsd:attribute name="NAME" type="xsd:string" />
<xsd:attribute name="DESCRIPTION" type="xsd:string" />
</xsd:complexType>
<xsd:complexType name="ParameterType">
<xsd:choice minOccurs="1" maxOccurs="unbounded">
<xsd:element name="ATTRIBUTE" type="AttributeType" minOccurs="1" maxOccurs="unbounded" />
<xsd:element name="ATTRIBUTE_CATEGORICAL" type="AttributeCategoricalType" minOccurs="1" maxOccurs="unbounded" />
</xsd:choice>
<xsd:attribute name="ID" type="xsd:int" use="required" />
<xsd:attribute name="NAME_E" type="xsd:string" />
<xsd:attribute name="NAME_D" type="xsd:string" />
</xsd:complexType>
<xsd:complexType name="AttributeType">
<xsd:sequence>
<xsd:element name="VALUE" type="ValueType" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
<xsd:attribute name="ID" type="xsd:int" use="required" />
<xsd:attribute name="NAME_E" type="xsd:string" />
<xsd:attribute name="NAME_D" type="xsd:string" />
<xsd:attribute name="ORDER_NUMBER" type="xsd:int" />
</xsd:complexType>
<xsd:complexType name="AttributeCategoricalType">
<xsd:sequence>
<xsd:element name="VALUE_CATEGORICAL" type="ValueCategoricalType" minOccurs="1" maxOccurs="unbounded" />
</xsd:sequence>
<xsd:attribute name="ID" type="xsd:int" use="required" />
<xsd:attribute name="NAME_E" type="xsd:string" />
<xsd:attribute name="NAME_D" type="xsd:string" />
<xsd:attribute name="ORDER_NUMBER" type="xsd:int" />
</xsd:complexType>
<xsd:complexType name="ValueType">
<xsd:attribute name="NAME_E" type="xsd:string" />
<xsd:attribute name="NAME_D" type="xsd:string" />
<xsd:attribute name="IMAGE_FILE" type="xsd:string" />
<xsd:attribute name="FORMAT_PATTERN" type="xsd:string" />
<xsd:attribute name="DATA_TYPE">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="integer" />
<xsd:enumeration value="double" />
<xsd:enumeration value="yes/no" />
<xsd:enumeration value="date" />
<xsd:enumeration value="other" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="ValueCategoricalType">
<xsd:attribute name="ID" type="xsd:int" use="required" />
<xsd:attribute name="NAME_E" type="xsd:string" />
<xsd:attribute name="NAME_D" type="xsd:string" />
<xsd:attribute name="IMAGE_FILE" type="xsd:string" />
<xsd:attribute name="ORDER_NUMBER" type="xsd:int" />
</xsd:complexType>
</xsd:schema>
File deleted
<?xml version="1.0" encoding="utf-8"?>
<xsd:schema id="TestProgram" targetNamespace="http://tempuri.org/TestProgram_2.0.xsd"
elementFormDefault="qualified" xmlns="http://tempuri.org/TestProgram_2.0.xsd"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<xsd:element name="TESTPROGRAM" type="TestProgramType" />
<xsd:complexType name="TestProgramType">
<xsd:sequence>
<xsd:element name="PARAMETER" type="ParameterType" minOccurs="1" maxOccurs="unbounded" />
</xsd:sequence>
<xsd:attribute name="ID" type="xsd:int" use="required" />
<xsd:attribute name="VERSION" type="xsd:string" />
<xsd:attribute name="OBJECT" type="xsd:string" />
<xsd:attribute name="OBJECT_TYPE" type="xsd:int" />
<xsd:attribute name="NAME" type="xsd:string" />
<xsd:attribute name="DESCRIPTION" type="xsd:string" />
</xsd:complexType>
<xsd:complexType name="ParameterType">
<xsd:choice minOccurs="1" maxOccurs="unbounded">
<xsd:element name="ATTRIBUTE" type="AttributeType" minOccurs="1" maxOccurs="unbounded" />
<xsd:element name="ATTRIBUTE_CATEGORICAL" type="AttributeCategoricalType" minOccurs="1" maxOccurs="unbounded" />
</xsd:choice>
<xsd:attribute name="ID" type="xsd:int" use="required" />
<xsd:attribute name="NAME_E" type="xsd:string" />
<xsd:attribute name="NAME_D" type="xsd:string" />
</xsd:complexType>
<xsd:complexType name="AttributeType">
<xsd:sequence>
<xsd:element name="VALUE" type="ValueType" minOccurs="1" maxOccurs="1" />
</xsd:sequence>
<xsd:attribute name="ID" type="xsd:int" use="required" />
<xsd:attribute name="NAME_E" type="xsd:string" />
<xsd:attribute name="NAME_D" type="xsd:string" />
<xsd:attribute name="ORDER_NUMBER" type="xsd:int" />
</xsd:complexType>
<xsd:complexType name="AttributeCategoricalType">
<xsd:sequence>
<xsd:element name="VALUE_CATEGORICAL" type="ValueCategoricalType" minOccurs="1" maxOccurs="unbounded" />
</xsd:sequence>
<xsd:attribute name="ID" type="xsd:int" use="required" />
<xsd:attribute name="NAME_E" type="xsd:string" />
<xsd:attribute name="NAME_D" type="xsd:string" />
<xsd:attribute name="ORDER_NUMBER" type="xsd:int" />
</xsd:complexType>
<xsd:complexType name="ValueType">
<xsd:attribute name="NAME_E" type="xsd:string" />
<xsd:attribute name="NAME_D" type="xsd:string" />
<xsd:attribute name="IMAGE_FILE" type="xsd:string" />
<xsd:attribute name="FORMAT_PATTERN" type="xsd:string" />
<xsd:attribute name="DATA_TYPE">
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="integer" />
<xsd:enumeration value="double" />
<xsd:enumeration value="yes/no" />
<xsd:enumeration value="date" />
<xsd:enumeration value="other" />
</xsd:restriction>
</xsd:simpleType>
</xsd:attribute>
</xsd:complexType>
<xsd:complexType name="ValueCategoricalType">
<xsd:attribute name="ID" type="xsd:int" use="required" />
<xsd:attribute name="NAME_E" type="xsd:string" />
<xsd:attribute name="NAME_D" type="xsd:string" />
<xsd:attribute name="IMAGE_FILE" type="xsd:string" />
<xsd:attribute name="ORDER_NUMBER" type="xsd:int" />
</xsd:complexType>
</xsd:schema>
/*
Phenotyper - a tool for collecting phenotyping data using mobile terminals
Copyright (C) 2015, jgremmels(at)bioinformatics.org
Phenotyper is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program. If not, see <http://www.gnu.org/licenses/>
Contributors:
jgremmels(at)bioinformatics.org - initial API and implementation
*/
package mpimp.phenotypingschemecomposer.db;
public class RoleRecord extends TPCDataRecord {
public Integer getRoleId() {
return roleId_;
}
public void setRoleId(Integer roleId) {
roleId_ = roleId;
}
public String getRoleName() {
return roleName_;
}
public void setRoleName(String roleName) {
roleName_ = roleName;
}
private Integer roleId_;
private String roleName_;
}
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment