-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
8 changed files
with
465 additions
and
16 deletions.
There are no files selected for viewing
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
45 changes: 45 additions & 0 deletions
45
bionetdb-core/src/main/java/org/opencb/bionetdb/core/VariantsPair.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,45 @@ | ||
package org.opencb.bionetdb.core; | ||
|
||
import org.opencb.biodata.models.variant.Variant; | ||
|
||
public class VariantsPair { | ||
private Variant variant1; | ||
private Variant variant2; | ||
private String gene; | ||
|
||
public VariantsPair() { | ||
} | ||
|
||
public VariantsPair(Variant variant1, Variant variant2, String gene) { | ||
this.variant1 = variant1; | ||
this.variant2 = variant2; | ||
this.gene = gene; | ||
} | ||
|
||
public Variant getVariant1() { | ||
return variant1; | ||
} | ||
|
||
public VariantsPair setVariant1(Variant variant1) { | ||
this.variant1 = variant1; | ||
return this; | ||
} | ||
|
||
public Variant getVariant2() { | ||
return variant2; | ||
} | ||
|
||
public VariantsPair setVariant2(Variant variant2) { | ||
this.variant2 = variant2; | ||
return this; | ||
} | ||
|
||
public String getGene() { | ||
return gene; | ||
} | ||
|
||
public VariantsPair setGene(String gene) { | ||
this.gene = gene; | ||
return this; | ||
} | ||
} |
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
Oops, something went wrong.