diff --git a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/Application.java b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/Application.java index 7303030..97d382a 100644 --- a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/Application.java +++ b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/Application.java @@ -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") diff --git a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/ApplicationIndication.java b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/ApplicationIndication.java index e449ba6..cacefc8 100644 --- a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/ApplicationIndication.java +++ b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/ApplicationIndication.java @@ -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) diff --git a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/ApplicationIngredient.java b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/ApplicationIngredient.java index 6124cda..91f29ae 100644 --- a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/ApplicationIngredient.java +++ b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/ApplicationIngredient.java @@ -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") diff --git a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/ApplicationProductName.java b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/ApplicationProductName.java index e2d6c5d..c048561 100644 --- a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/ApplicationProductName.java +++ b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/ApplicationProductName.java @@ -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") diff --git a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/additional/ApplicationHistory.java b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/additional/ApplicationHistory.java index ab1205d..fc4da10 100644 --- a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/additional/ApplicationHistory.java +++ b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/additional/ApplicationHistory.java @@ -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") diff --git a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/additional/ClinicalTrial.java b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/additional/ClinicalTrial.java index d8486ee..ee83047 100644 --- a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/additional/ClinicalTrial.java +++ b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/application/models/additional/ClinicalTrial.java @@ -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") @@ -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) diff --git a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationall/models/AppIndicationAll.java b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationall/models/AppIndicationAll.java index 7d6f0ae..e4b36e4 100644 --- a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationall/models/AppIndicationAll.java +++ b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationall/models/AppIndicationAll.java @@ -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 () {} diff --git a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationall/models/AppIngredientAll.java b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationall/models/AppIngredientAll.java index 5a7e78e..e71073a 100644 --- a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationall/models/AppIngredientAll.java +++ b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationall/models/AppIngredientAll.java @@ -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") diff --git a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationall/models/ApplicationAll.java b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationall/models/ApplicationAll.java index e675ae1..a25b0cd 100644 --- a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationall/models/ApplicationAll.java +++ b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationall/models/ApplicationAll.java @@ -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) diff --git a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationall/models/ProductNameSrsAll.java b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationall/models/ProductNameSrsAll.java index 550cf64..cba322a 100644 --- a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationall/models/ProductNameSrsAll.java +++ b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationall/models/ProductNameSrsAll.java @@ -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") diff --git a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationdarrts/models/ApplicationDarrts.java b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationdarrts/models/ApplicationDarrts.java index 93b4f67..cc4915c 100644 --- a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationdarrts/models/ApplicationDarrts.java +++ b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationdarrts/models/ApplicationDarrts.java @@ -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") diff --git a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationdarrts/models/ApplicationDarrtsIngredCompositePrimaryKeyId.java b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationdarrts/models/ApplicationDarrtsIngredCompositePrimaryKeyId.java index 0d41618..7324778 100644 --- a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationdarrts/models/ApplicationDarrtsIngredCompositePrimaryKeyId.java +++ b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationdarrts/models/ApplicationDarrtsIngredCompositePrimaryKeyId.java @@ -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() {}; diff --git a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationdarrts/models/ApplicationIndicationDarrts.java b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationdarrts/models/ApplicationIndicationDarrts.java index 6c4678b..ad23e02 100644 --- a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationdarrts/models/ApplicationIndicationDarrts.java +++ b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationdarrts/models/ApplicationIndicationDarrts.java @@ -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 () {} diff --git a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationdarrts/models/SubstanceKeyParentConcept.java b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationdarrts/models/SubstanceKeyParentConcept.java index af35021..78676a5 100644 --- a/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationdarrts/models/SubstanceKeyParentConcept.java +++ b/gsrs-module-applications-spring-boot-autoconfigure/src/main/java/gov/hhs/gsrs/application/applicationdarrts/models/SubstanceKeyParentConcept.java @@ -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 () {}