Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
INB
GA4GH
ga4gh-consent-policy
Commits
27d105c8
Commit
27d105c8
authored
Apr 14, 2021
by
redmitry@list.ru
Browse files
initial commit
parents
Changes
3
Hide whitespace changes
Inline
Side-by-side
pom.xml
0 → 100644
View file @
27d105c8
<?xml version="1.0" encoding="UTF-8"?>
<!--
Copyright (C) 2021 Spanish National Bioinformatics Institute (INB) and
Barcelona Supercomputing Center
Modifications to the initial code base are copyright of their respective
authors, or their employers as appropriate.
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
License as published by the Free Software Foundation; either
version 2.1 of the License, or (at your option) any later version.
This library 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
Lesser General Public License for more details.
You should have received a copy of the GNU Lesser General Public
License along with this library; if not, write to the Free Software
Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
MA 02110-1301 USA
-->
<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>
es.bsc.inb.ga4gh
</groupId>
<artifactId>
ga4gh-consent-policy
</artifactId>
<version>
1.1.0
</version>
<packaging>
jar
</packaging>
<name>
ga4gh-consent-policy
</name>
<developers>
<developer>
<id>
redmitry
</id>
<name>
Dmitry Repchevsky
</name>
<email>
redmitry@list.ru
</email>
</developer>
</developers>
<properties>
<project.build.sourceEncoding>
UTF-8
</project.build.sourceEncoding>
<maven.compiler.source>
11
</maven.compiler.source>
<maven.compiler.target>
11
</maven.compiler.target>
</properties>
</project>
src/main/java/es/bsc/inb/ga4gh/consent/model/ConsentCodeDataUse.java
0 → 100644
View file @
27d105c8
/**
* *****************************************************************************
* Copyright (C) 2021 ELIXIR ES, Spanish National Bioinformatics Institute (INB)
* and Barcelona Supercomputing Center (BSC)
*
* Modifications to the initial code base are copyright of their respective
* authors, or their employers as appropriate.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301 USA
*****************************************************************************
*/
package
es.bsc.inb.ga4gh.consent.model
;
import
java.util.List
;
/**
* @author Dmitry Repchevsky
*/
public
class
ConsentCodeDataUse
{
private
ConsentCodeDataUseCondition
primary_category
;
private
List
<
ConsentCodeDataUseCondition
>
secondary_categories
;
private
String
version
;
public
ConsentCodeDataUse
()
{}
public
ConsentCodeDataUseCondition
getPrimaryCategory
()
{
return
primary_category
;
}
public
void
setPrimaryCategory
(
ConsentCodeDataUseCondition
primary_category
)
{
this
.
primary_category
=
primary_category
;
}
public
List
<
ConsentCodeDataUseCondition
>
getSecondaryCategories
()
{
return
secondary_categories
;
}
public
void
setSecondaryCategories
(
List
<
ConsentCodeDataUseCondition
>
secondary_categories
)
{
this
.
secondary_categories
=
secondary_categories
;
}
public
String
getVersion
()
{
return
version
;
}
public
void
setVersion
(
String
version
)
{
this
.
version
=
version
;
}
}
src/main/java/es/bsc/inb/ga4gh/consent/model/ConsentCodeDataUseCondition.java
0 → 100644
View file @
27d105c8
/**
* *****************************************************************************
* Copyright (C) 2021 ELIXIR ES, Spanish National Bioinformatics Institute (INB)
* and Barcelona Supercomputing Center (BSC)
*
* Modifications to the initial code base are copyright of their respective
* authors, or their employers as appropriate.
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2.1 of the License, or (at your option) any later version.
*
* This library 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
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
* MA 02110-1301 USA
*****************************************************************************
*/
package
es.bsc.inb.ga4gh.consent.model
;
/**
* @author Dmitry Repchevsky
*/
public
class
ConsentCodeDataUseCondition
{
private
String
code
;
private
String
description
;
public
ConsentCodeDataUseCondition
()
{}
public
ConsentCodeDataUseCondition
(
String
code
,
String
description
)
{
this
.
code
=
code
;
this
.
description
=
description
;
}
public
String
getCode
()
{
return
code
;
}
public
void
setCode
(
String
code
)
{
this
.
code
=
code
;
}
public
String
getDescription
()
{
return
description
;
}
public
void
setDescription
(
String
description
)
{
this
.
description
=
description
;
}
}
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment