-
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 #3 from ncats/archUpdate
added actuator health and print statements
- Loading branch information
Showing
6 changed files
with
124 additions
and
6 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
47 changes: 47 additions & 0 deletions
47
...-autoconfigure/src/main/java/gov/hhs/gsrs/invitropharmacology/models/InvitroAssaySet.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,47 @@ | ||
package gov.hhs.gsrs.invitropharmacology.models; | ||
|
||
import ix.core.SingleParent; | ||
import ix.core.models.Indexable; | ||
import ix.core.models.IndexableRoot; | ||
import ix.core.models.ParentReference; | ||
|
||
import com.fasterxml.jackson.annotation.JsonIgnore; | ||
|
||
import lombok.Data; | ||
import lombok.EqualsAndHashCode; | ||
import lombok.ToString; | ||
|
||
import org.hibernate.annotations.LazyCollection; | ||
import org.hibernate.annotations.LazyCollectionOption; | ||
|
||
import javax.persistence.*; | ||
|
||
import java.util.Date; | ||
import java.util.ArrayList; | ||
import java.util.List; | ||
|
||
@SingleParent | ||
@Data | ||
@Entity | ||
@Table(name="GSRS_INVITRO_ASSAY_SET") | ||
public class InvitroAssaySet extends InvitroPharmacologyCommanData { | ||
|
||
@Id | ||
@SequenceGenerator(name="invitroAssaySetSeq", sequenceName="GSRS_INVITRO_ASSAY_SET_SEQ",allocationSize=1) | ||
@GeneratedValue(strategy = GenerationType.AUTO, generator = "invitroAssaySetSeq") | ||
@Column(name="ID") | ||
public Long id; | ||
|
||
@Indexable(suggest = true, facet=true, name= "Assay Set", sortable = true) | ||
@Column(name="ASSAY_SET") | ||
public String assaySet; | ||
|
||
public InvitroAssaySet () {} | ||
|
||
// Many To Many, InvitroAssayInformation | ||
@JsonIgnore | ||
@ManyToMany(fetch = FetchType.EAGER, cascade= CascadeType.ALL) | ||
@JoinTable(name="GSRS_INVITRO_ASSAY_SET_DET", joinColumns = @JoinColumn(name = "INVITRO_ASSAY_SET_ID"), | ||
inverseJoinColumns = @JoinColumn(name = "INVITRO_ASSAY_INFO_ID")) | ||
public List<InvitroAssayInformation> invitroAssayInformations = new ArrayList<>(); | ||
} |
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