Skip to content

Commit

Permalink
Merge pull request #17 from ncats/columnDataLength3
Browse files Browse the repository at this point in the history
Column data length3
  • Loading branch information
blueSwordfish authored Sep 19, 2023
2 parents 3f3f9cb + b1111b4 commit 8f3ccf2
Show file tree
Hide file tree
Showing 14 changed files with 41 additions and 41 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -80,11 +80,11 @@ protected DateFormat initialValue() {
public String appNumber;

@Indexable(suggest = true, facet = true, name = "Title")
@Column(name = "APPLICATION_TITLE")
@Column(name = "APPLICATION_TITLE", length=1000)
public String title;

@Indexable(suggest = true, facet = true, name = "Sponsor Name", sortable = true)
@Column(name = "SPONSOR_NAME")
@Column(name = "SPONSOR_NAME", length=500)
public String sponsorName;

@Column(name = "NONPROPRIETARY_NAME")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class ApplicationIndication extends ApplicationCommanData {
public Long id;

@Indexable(suggest = true, facet = true, name = "Indication")
@Column(name="INDICATION")
@Column(name="INDICATION", length=4000)
public String indication;

@Indexable(indexed=false)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ public class ApplicationIngredient extends AbstractGsrsEntity {
@Column(name="APPLICATION_TYPE_ID")
public Long id;

@Column(name="APPLICANT_INGRED_NAME")
@Column(name="APPLICANT_INGRED_NAME", length=1000)
public String applicantIngredName;

@Indexable(facet = true, name = "Substance Key")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public class ApplicationProductName extends ApplicationCommanData {
public Long id;

@Indexable(suggest = true, facet=true, name = "Product Name", sortable = true)
@Column(name="PRODUCT_NAME")
@Column(name="PRODUCT_NAME", length=1000)
public String productName;

@Column(name="PRODUCT_NAME_TYPE")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,10 @@ public class ApplicationHistory extends AbstractGsrsEntity {
@Column(name="APPLICATION_ID")
public String applicationId;

@Column(name="PRODUCT_NAME")
@Column(name="PRODUCT_NAME", length=1000)
public String productName;

@Column(name="SPONSOR_NAME")
@Column(name="SPONSOR_NAME", length=500)
public String sponsorName;

@Column(name="STATUS")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -14,58 +14,58 @@
public class ClinicalTrial extends AbstractGsrsEntity {

@Id
@Column(name = "NCTN")
@Column(name = "NCTN", length=22)
@JsonProperty("nctNumber")
public String nctn;

@Column(name = "TITLE")
@Column(name = "TITLE", length=500)
public String title;

@Column(name = "RECRUITMENT")
@Column(name = "RECRUITMENT", length=200)
public String recruitment;

@Column(name = "RESULTS_FIRST_RECEIVED")
@Column(name = "RESULTS_FIRST_RECEIVED", length=100)
public String resultsFirstRecieved;

@Column(name = "CONDITIONS")
@Column(name = "CONDITIONS", length=4000)
public String conditions;

@Column(name = "INTERVENTION")
@Column(name = "INTERVENTION", length=1800)
public String intervention;

@Column(name = "SPONSOR")
@Column(name = "SPONSOR", length=4000)
public String sponsor;

@Column(name = "PHASES")
@Column(name = "PHASES", length=50)
public String phases;

@Column(name = "FUNDED_BYS")
@Column(name = "FUNDED_BYS", length=100)
public String fundedBys;

@Indexable(facet = true, name = "Study Types")
@Column(name = "STUDY_TYPES")
@Column(name = "STUDY_TYPES", length=150)
public String studyTypes;

@Column(name = "STUDY_DESIGNS")
@Column(name = "STUDY_DESIGNS", length=255)
public String studyDesigns;

@Indexable(facet = true, name = "Study Results")
@Column(name = "STUDY_RESULTS")
@Column(name = "STUDY_RESULTS", length=100)
public String studyResults;

@Column(name = "AGE_GROUPS")
@Column(name = "AGE_GROUPS", length=100)
public String ageGroups;

@Column(name = "GENDER")
@Column(name = "GENDER", length=50)
public String gender;

@Column(name = "ENROLLMENT")
@Column(name = "ENROLLMENT", length=100)
public String enrollment;

@Column(name = "OTHER_IDS")
@Column(name = "OTHER_IDS", length=550)
public String otherIds;

@Column(name = "ACRONYM")
@Column(name = "ACRONYM", length=100)
public String acronym;

@Column(name = "START_DATE")
Expand All @@ -86,10 +86,10 @@ public class ClinicalTrial extends AbstractGsrsEntity {
@Column(name = "LAST_UPDATED")
public Date lastUpdated;

@Column(name = "OUTCOME_MEASURES")
@Column(name = "OUTCOME_MEASURES", length=4000)
public String outcomeMeasures;

@Column(name = "URL")
@Column(name = "URL", length=100)
public String url;

/*@Column(name = "LOCATIONS", length=4000)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class AppIndicationAll extends AbstractGsrsEntity {
@Column(name="APP_NUMBER")
public String appNumber;

@Column(name="INDICATION")
@Column(name="INDICATION", length=4000)
public String indication;

public AppIndicationAll () {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ public class AppIngredientAll extends AbstractGsrsEntity {
@Column(name="PRODUCT_ID")
public String productId;

@Column(name="APPLICANT_INGRED_NAME")
@Column(name="APPLICANT_INGRED_NAME", length=1000)
public String applicantIngredName;

@Indexable(facet=true, name= "Substance Key")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,11 +35,11 @@ public class ApplicationAll extends AbstractGsrsEntity {
@Column(name="APP_NUMBER")
public String appNumber;

@Column(name="APPLICATION_TITLE")
@Column(name="APPLICATION_TITLE", length=1000)
public String title;

@Indexable(sortable = true)
@Column(name="SPONSOR_NAME")
@Column(name="SPONSOR_NAME", length=500)
public String sponsorName;

@Indexable(sortable = true)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ public class ProductNameSrsAll extends AbstractGsrsEntity {
public String id;

@Indexable(sortable = true)
@Column(name="PRODUCT_NAME")
@Column(name="PRODUCT_NAME", length=1000)
public String productName;

@Column(name="FROMTABLE")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -33,13 +33,13 @@ public class ApplicationDarrts extends AbstractGsrsEntity {
@Column(name="APP_SUB_TYPE_DESC")
public String appSubTypeDesc;

@Column(name="PRODUCT_NAME")
@Column(name="PRODUCT_NAME", length=1000)
public String productName;

@Column(name="DOSAGE_FORM_DESC")
public String dosageFormDesc;

@Column(name="SPONSOR_NAME")
@Column(name="SPONSOR_NAME", length=500)
public String sponsorName;

@Column(name="DIVISION_CLASS")
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,16 @@

public class ApplicationDarrtsIngredCompositePrimaryKeyId implements Serializable {

@Column(name="APP_TYPE")
@Column(name="APP_TYPE", length=100)
private String appType;

@Column(name="APP_NUMBER")
@Column(name="APP_NUMBER", length=50)
public String appNumber;

@Column(name="SUBSTANCE_KEY")
@Column(name="SUBSTANCE_KEY", length=100)
public String substanceKey;

@Column(name="PRODUCT_NO")
@Column(name="PRODUCT_NO", length=50)
public String productNo;

public ApplicationDarrtsIngredCompositePrimaryKeyId() {};
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class ApplicationIndicationDarrts extends AbstractGsrsEntity {
@Column(name="APP_NUMBER")
public String appNumber;

@Column(name="INDICATION")
@Column(name="INDICATION", length=4000)
public String indication;

public ApplicationIndicationDarrts () {}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,16 @@ public class SubstanceKeyParentConcept extends AbstractGsrsEntity {
@Column(name="SUBSTANCE_KEY")
public String substanceKey;

@Column(name="NAME")
@Column(name="NAME", length=4000)
public String name;

@Column(name="DISPLAY_TERM")
@Column(name="DISPLAY_TERM", length=2000)
public String displayTerm;

@Column(name="PARENT_SUBSTANCE_KEY")
public String parentSubstanceKey;

@Column(name="PARENT_DISPLAY_TERM")
@Column(name="PARENT_DISPLAY_TERM", length=2000)
public String parentDisplayTerm;

public SubstanceKeyParentConcept () {}
Expand Down

0 comments on commit 8f3ccf2

Please sign in to comment.