-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #82 from KPMP/KPMP-4001_GetRepoCounts
Kpmp 4001 get repo counts
- Loading branch information
Showing
56 changed files
with
1,950 additions
and
526 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -31,3 +31,4 @@ build | |
.settings | ||
bin | ||
.gradle | ||
.DS_Store |
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
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
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
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
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 |
---|---|---|
@@ -1,45 +1,48 @@ | ||
package org.kpmp.cellType; | ||
|
||
import javax.persistence.FetchType; | ||
import javax.persistence.Id; | ||
import java.io.Serializable; | ||
|
||
import javax.persistence.Column; | ||
import javax.persistence.Entity; | ||
import javax.persistence.FetchType; | ||
import javax.persistence.Id; | ||
import javax.persistence.IdClass; | ||
import javax.persistence.JoinColumn; | ||
import javax.persistence.ManyToOne; | ||
import javax.persistence.Table; | ||
import java.io.Serializable; | ||
|
||
@Entity | ||
@Table(name = "celltype_synonym") | ||
@IdClass(CellTypeSynonymId.class) | ||
public class CellTypeSynonym implements Serializable { | ||
|
||
@Id | ||
@Column(name="cell_type_id") | ||
private int cellTypeId; | ||
private static final long serialVersionUID = -5650797130903696615L; | ||
|
||
@Id | ||
@Column(name = "cell_type_id") | ||
private int cellTypeId; | ||
|
||
@Id | ||
@Column(name="cell_type_synonym") | ||
private String cellTypeSynonym; | ||
@Id | ||
@Column(name = "cell_type_synonym") | ||
private String cellTypeSynonym; | ||
|
||
@ManyToOne(fetch = FetchType.EAGER) | ||
@JoinColumn(name="cell_type_id", nullable = false, insertable = false, updatable = false) | ||
private CellType cellType; | ||
@ManyToOne(fetch = FetchType.EAGER) | ||
@JoinColumn(name = "cell_type_id", nullable = false, insertable = false, updatable = false) | ||
private CellType cellType; | ||
|
||
public int getCellTypeId() { | ||
return cellTypeId; | ||
} | ||
public int getCellTypeId() { | ||
return cellTypeId; | ||
} | ||
|
||
public void setCellTypeId(int cellTypeId) { | ||
this.cellTypeId = cellTypeId; | ||
} | ||
public void setCellTypeId(int cellTypeId) { | ||
this.cellTypeId = cellTypeId; | ||
} | ||
|
||
public String getCellTypeSynonym() { | ||
return cellTypeSynonym; | ||
} | ||
public String getCellTypeSynonym() { | ||
return cellTypeSynonym; | ||
} | ||
|
||
public void setCellTypeSynonym(String cellTypeSynonym) { | ||
this.cellTypeSynonym = cellTypeSynonym; | ||
} | ||
public void setCellTypeSynonym(String cellTypeSynonym) { | ||
this.cellTypeSynonym = cellTypeSynonym; | ||
} | ||
} |
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.