/** * @return the country */ @ManyToOne @NotNull @ForeignKey(name = "registrationrequest_country_fk") public Country getCountry() { return country; }
/** * @return the term source to which this organism belongs */ @ManyToOne(optional = false) @Cascade(org.hibernate.annotations.CascadeType.SAVE_UPDATE) @NotNull public TermSource getTermSource() { return termSource; }
/** * Gets the term. * * @return the term */ @ManyToOne(optional = false) @Cascade(org.hibernate.annotations.CascadeType.SAVE_UPDATE) @ForeignKey(name = "term_fv_term_fk") @NotNull public Term getTerm() { return term; }
/** * Gets the workflow status of this project. Hibernate use only * * @return the true if this project is in a lock box. */ @NotNull @Column(name = "locked") @AttributePolicy(allow = SecurityPolicy.BROWSE_POLICY_NAME) public boolean isLocked() { return this.locked; }
/** * Gets the name. * * @return the name */ @NotNull @Length(min = 1, max = DEFAULT_STRING_COLUMN_SIZE) @Index(name = "idx_name") public String getName() { return this.name; }
/** * Gets the type. * * @return the type */ @ManyToOne @Cascade(CascadeType.SAVE_UPDATE) @ForeignKey(name = "factor_type_fk") @NotNull public Term getType() { return this.type; }
/** * Gets the title. * * @return the title */ @Length(min = 1, max = DEFAULT_STRING_COLUMN_SIZE) @NotNull @Index(name = "idx_title") @AttributePolicy(allow = SecurityPolicy.BROWSE_POLICY_NAME) public String getTitle() { return this.title; }
/** * Gets the organism for this Experiment. * * @return the organism */ @ManyToOne @ForeignKey(name = "experiment_organism_fk") @Cascade(org.hibernate.annotations.CascadeType.SAVE_UPDATE) @NotNull @AttributePolicy(allow = SecurityPolicy.BROWSE_POLICY_NAME) public Organism getOrganism() { return this.organism; }
/** * Gets the technologyType. * * @return the technologyType */ @NotNull @ManyToOne @Cascade(CascadeType.SAVE_UPDATE) @ForeignKey(name = "arraydesign_technology_fk") public Term getTechnologyType() { return this.technologyType; }
/** * Gets the provider. * * @return the provider */ @NotNull @ManyToOne @Cascade(CascadeType.SAVE_UPDATE) @ForeignKey(name = "arraydesign_provider_fk") public Organization getProvider() { return this.provider; }
/** * @return the designFiles */ @NotNull @Size(min = 1) @ManyToMany(fetch = FetchType.LAZY) @JoinTable(name = "array_design_design_file", joinColumns = @JoinColumn(name = "array_design"), inverseJoinColumns = @JoinColumn(name = "design_file")) @ForeignKey(name = "array_design_fk", inverseName = "design_file_fk") @Cascade(org.hibernate.annotations.CascadeType.ALL) public Set<CaArrayFile> getDesignFiles() { return this.designFiles; }
/** * Gets the assay type for this Experiment. * * @return the assay type */ @ManyToMany(fetch = FetchType.LAZY) @JoinColumn(name = "array_design") @ForeignKey(name = "array_design_assaytypes_ad_fk", inverseName = "array_design_assaytypes_at_fk") @AttributePolicy(allow = SecurityPolicy.BROWSE_POLICY_NAME) @Sort(type = SortType.NATURAL) @NotNull @Size(min = 1) @BatchSize(size = AbstractCaArrayObject.DEFAULT_BATCH_SIZE) public SortedSet<AssayType> getAssayTypes() { return this.assayTypes; }
/** * @return the organism */ @NotNull @ManyToOne @Cascade(CascadeType.SAVE_UPDATE) @ForeignKey(name = "arraydesign_organism_fk") public Organism getOrganism() { return this.organism; }
/** * Gets the type. * * @return the type */ @ManyToOne @Cascade(org.hibernate.annotations.CascadeType.SAVE_UPDATE) @ForeignKey(name = "protocol_type_fk") @NotNull public Term getType() { return this.type; }
/** * @return the source */ @ManyToOne @Cascade(org.hibernate.annotations.CascadeType.SAVE_UPDATE) @ForeignKey(name = "protocol_term_source_fk") @NotNull public TermSource getSource() { return this.source; }
/** * Gets the term. * * @return the term */ @ManyToOne(optional = false) @Cascade(org.hibernate.annotations.CascadeType.SAVE_UPDATE) @ForeignKey(name = "term_pv_term_fk") @NotNull public Term getTerm() { return term; }
/** * @return the protocol */ @ManyToOne @JoinColumn(updatable = false) @ForeignKey(name = "parameter_protocol_fk") @NotNull public Protocol getProtocol() { return this.protocol; }
/** * Gets the dataFile. * * @return the dataFile */ @OneToOne @JoinColumn(name = "data_file", unique = true) @NotNull @Cascade({CascadeType.SAVE_UPDATE, CascadeType.DELETE }) @ForeignKey(name = "arraydata_file_fk") public CaArrayFile getDataFile() { return dataFile; }
/** * Gets the source. * * @return the source */ @ManyToOne(optional = false) @Cascade(org.hibernate.annotations.CascadeType.SAVE_UPDATE) @NotNull(message = "{term.source.notNull}") public TermSource getSource() { return this.source; }
/** * Gets the name. * * @return the name */ @Length(min = 1, max = DEFAULT_STRING_COLUMN_SIZE) @NotNull public String getName() { return name; }
/** * @return the term source to which this category belongs */ @ManyToOne(optional = false) @Cascade(org.hibernate.annotations.CascadeType.SAVE_UPDATE) @NotNull public TermSource getSource() { return source; }
/** * @return the audit log record to which this security object applies. */ @NotNull @OneToOne @JoinColumn(name = "record") @ForeignKey(name = "audit_security_record_fk") public AuditLogRecord getRecord() { return record; }
/** * @return the firstName */ @Column(length = FIRST_NAME_FIELD_LENGTH) @NotNull @Length(min = 1, max = FIRST_NAME_FIELD_LENGTH) public String getFirstName() { return firstName; }
/** * @return the lastName */ @Column(length = LAST_NAME_FIELD_LENGTH) @NotNull @Length(min = 1, max = LAST_NAME_FIELD_LENGTH) public String getLastName() { return lastName; }
/** * @return the emaiId */ @Column(length = EMAIL_FIELD_LENGTH) @NotNull @Email @Length(min = 1, max = EMAIL_FIELD_LENGTH) public String getEmail() { return email; }
/** * @return the phone */ @Column(length = PHONE_NUMBER_FIELD_LENGTH) @NotNull @Length(min = 1, max = PHONE_NUMBER_FIELD_LENGTH) @Pattern(regex = "(\\+)?([-\\._\\(\\) ]?[\\d]{3,20}[-\\._\\(\\) ]?){2,10}") public String getPhone() { return phone; }
/** * @return the organization */ @Column(length = ORGANIZATION_FIELD_LENGTH) @NotNull @Length(min = 1, max = ORGANIZATION_FIELD_LENGTH) public String getOrganization() { return organization; }
/** * @return the address1 */ @Column(length = ADDRESS1_FIELD_LENGTH) @NotNull @Length(min = 1, max = ADDRESS1_FIELD_LENGTH) public String getAddress1() { return address1; }
/** * @return the city */ @Column(length = CITY_FIELD_LENGTH) @NotNull @Length(min = 1, max = CITY_FIELD_LENGTH) public String getCity() { return city; }
/** * @return the zip */ @Column(length = ZIP_FIELD_LENGTH) @NotNull @Length(min = 1, max = ZIP_FIELD_LENGTH) public String getZip() { return zip; }
/** * @return the category for this characteristic */ @ManyToOne(optional = false) @Cascade(org.hibernate.annotations.CascadeType.SAVE_UPDATE) @NotNull public Category getCategory() { return category; }
/** * Gets the term. * * @return the term */ @ManyToOne(optional = false, fetch = FetchType.LAZY) @Cascade(org.hibernate.annotations.CascadeType.SAVE_UPDATE) @ForeignKey(name = "characteristic_term_term_fk") @NotNull public Term getTerm() { return term; }
/** * @return the dataHandle */ @Column(length = DEFAULT_STRING_COLUMN_SIZE) @NotNull @Index(name = "idx_handle") @Type(type = "uri") public URI getDataHandle() { return this.dataHandle; }
@NotNull(message="Credit card number is required") @Length(min=16, max=16, message="Credit card number must 16 digits long") @Pattern(regex="^\\d*$", message="Credit card number must be numeric") public String getCreditCard() { return creditCard; }
@NotNull @Length(min=4,max=10) public String getTrack() { return track; }
@NotNull @UserPrincipal public String getUsername() { return username; }
@NotNull public String getName() { return name; }
/** * @return the scientificName */ @NotNull @Length(min = 1, max = AbstractCaArrayObject.DEFAULT_STRING_COLUMN_SIZE) public String getScientificName() { return scientificName; }