Skip to content

Commit

Permalink
Updates to licensing
Browse files Browse the repository at this point in the history
Added new resource interfaces
  • Loading branch information
JREastonMarks committed Nov 9, 2015
1 parent e88eda1 commit 1ab00f3
Show file tree
Hide file tree
Showing 17 changed files with 1,675 additions and 162 deletions.
373 changes: 373 additions & 0 deletions MPL2.0.txt

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>edu.harvard.hms.dbmi.bd2k.irct</groupId>
<artifactId>IRCT-RI</artifactId>
<version>0.1</version>
<version>0.2</version>
<name>INTER-RESOURCE COMMUNICATION TOOL : Resource Interface</name>
<description> </description>
<dependencies>
Expand All @@ -29,7 +29,7 @@
<dependency>
<groupId>edu.harvard.hms.dbmi.i2b2</groupId>
<artifactId>i2b2-Java-API</artifactId>
<version>0.1</version>
<version>0.2</version>
</dependency>
</dependencies>
</project>
1 change: 1 addition & 0 deletions src/main/.gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
/resources/
Original file line number Diff line number Diff line change
@@ -0,0 +1,58 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package edu.harvard.hms.dbmi.bd2k.irct.ri.exac;

import edu.harvard.hms.dbmi.bd2k.irct.model.ontology.DataType;

public enum EXACDataType implements DataType {
VARIANT {
@Override
public byte[] toBytes(Object value) {
// TODO Auto-generated method stub
return null;
}

@Override
public Object fromBytes(byte[] bytes) {
// TODO Auto-generated method stub
return null;
}
}, GENE {
@Override
public byte[] toBytes(Object value) {
// TODO Auto-generated method stub
return null;
}

@Override
public Object fromBytes(byte[] bytes) {
// TODO Auto-generated method stub
return null;
}
}, TRANSCRIPT {
@Override
public byte[] toBytes(Object value) {
// TODO Auto-generated method stub
return null;
}

@Override
public Object fromBytes(byte[] bytes) {
// TODO Auto-generated method stub
return null;
}
}, REGION {
@Override
public byte[] toBytes(Object value) {
// TODO Auto-generated method stub
return null;
}

@Override
public Object fromBytes(byte[] bytes) {
// TODO Auto-generated method stub
return null;
}
};
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package edu.harvard.hms.dbmi.bd2k.irct.ri.exac;

import edu.harvard.hms.dbmi.bd2k.irct.model.ontology.OntologyRelationship;

/**
* A list of relationships that the i2b2 implementation can use
*
* @author Jeremy R. Easton-Marks
*
*/
public enum EXACOntologyRelationship implements OntologyRelationship {
PARENT {
public OntologyRelationship getInverse() {
return CHILD;
}
},
CHILD {
public OntologyRelationship getInverse() {
return PARENT;
}
}
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
/* This Source Code Form is subject to the terms of the Mozilla Public
* License, v. 2.0. If a copy of the MPL was not distributed with this
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
package edu.harvard.hms.dbmi.bd2k.irct.ri.exac;

import edu.harvard.hms.dbmi.bd2k.irct.model.resource.Resource;

/**
* A Base exAC Resource that can be implemented as a separate resource
*
* @author Jeremy R. Easton-Marks
*
*/

public class EXACResource extends Resource {

}
Loading

0 comments on commit 1ab00f3

Please sign in to comment.