Changeset 6446


Ignore:
Timestamp:
Apr 15, 2014, 8:32:34 AM (8 years ago)
Author:
Nicklas Nordborg
Message:

Fixes #1803: Jobs should provide reverse links to derived bioassays and other items

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/core/net/sf/basedb/core/data/JobData.java

    r6432 r6446  
    597597  }
    598598
     599  private Set<DerivedBioAssayData> derivedBioAssays;
     600  /**
     601    This is the inverse end.
     602    @see DerivedBioAssayData#getJob()
     603    @hibernate.set lazy="true" inverse="true"
     604    @hibernate.collection-key column="`job_id`"
     605    @hibernate.collection-one-to-many class="net.sf.basedb.core.data.DerivedBioAssayData"
     606    @since 3.3
     607  */
     608  Set<DerivedBioAssayData> getDerivedBioAssays()
     609  {
     610    return derivedBioAssays;
     611  }
     612  void setDerivedBioAssays(Set<DerivedBioAssayData> derivedBioAssays)
     613  {
     614    this.derivedBioAssays = derivedBioAssays;
     615  }
     616
     617  private Set<RawBioAssayData> rawBioAssays;
     618  /**
     619    This is the inverse end.
     620    @see RawBioAssayData#getJob()
     621    @hibernate.set lazy="true" inverse="true"
     622    @hibernate.collection-key column="`job_id`"
     623    @hibernate.collection-one-to-many class="net.sf.basedb.core.data.RawBioAssayData"
     624    @since 3.3
     625  */
     626  Set<RawBioAssayData> getRawBioAssays()
     627  {
     628    return rawBioAssays;
     629  }
     630  void setRawBioAssays(Set<RawBioAssayData> rawBioAssays)
     631  {
     632    this.rawBioAssays = rawBioAssays;
     633  }
     634
     635  private Set<ArrayDesignData> arrayDesigns;
     636  /**
     637    This is the inverse end.
     638    @see ArrayDesignData#getJob()
     639    @hibernate.set lazy="true" inverse="true"
     640    @hibernate.collection-key column="`job_id`"
     641    @hibernate.collection-one-to-many class="net.sf.basedb.core.data.ArrayDesignData"
     642    @since 3.3
     643  */
     644  Set<ArrayDesignData> getArrayDesigns()
     645  {
     646    return arrayDesigns;
     647  }
     648  void setArrayDesigns(Set<ArrayDesignData> arrayDesigns)
     649  {
     650    this.arrayDesigns = arrayDesigns;
     651  }
     652
     653  private Set<TransformationData> transformations;
     654  /**
     655    This is the inverse end.
     656    @see TransformationData#getJob()
     657    @hibernate.set lazy="true" inverse="true"
     658    @hibernate.collection-key column="`job_id`"
     659    @hibernate.collection-one-to-many class="net.sf.basedb.core.data.TransformationData"
     660    @since 3.3
     661  */
     662  Set<TransformationData> getTransformations()
     663  {
     664    return transformations;
     665  }
     666  void setTransformations(Set<TransformationData> transformations)
     667  {
     668    this.transformations = transformations;
     669  }
    599670
    600671}
Note: See TracChangeset for help on using the changeset viewer.