-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Showing
17 changed files
with
1,675 additions
and
162 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
/resources/ |
58 changes: 58 additions & 0 deletions
58
src/main/java/edu/harvard/hms/dbmi/bd2k/irct/ri/exac/EXACDataType.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
}; | ||
} |
25 changes: 25 additions & 0 deletions
25
src/main/java/edu/harvard/hms/dbmi/bd2k/irct/ri/exac/EXACOntologyRelationship.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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; | ||
} | ||
} | ||
} |
17 changes: 17 additions & 0 deletions
17
src/main/java/edu/harvard/hms/dbmi/bd2k/irct/ri/exac/EXACResource.java
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 { | ||
|
||
} |
Oops, something went wrong.