fr.ifremer.allegro.data.sample
Class Sample.Factory

java.lang.Object
  extended by fr.ifremer.allegro.data.sample.Sample.Factory
Enclosing class:
Sample

public static final class Sample.Factory
extends java.lang.Object

Constructs new instances of Sample.


Constructor Summary
Sample.Factory()
           
 
Method Summary
static Sample newInstance()
          Constructs a new instance of Sample.
static Sample newInstance(java.lang.String label, java.util.Date creationDate, Matrix matrix, Program program, Department recorderDepartment, QualityFlag qualityFlag)
          Constructs a new instance of Sample, taking all required and/or read-only properties as arguments.
static Sample newInstance(java.lang.String label, java.util.Date sampleDate, java.lang.Short individualCount, java.lang.Float size, java.lang.String comments, java.util.Date creationDate, java.util.Date controlDate, java.util.Date validationDate, java.util.Date qualificationDate, java.lang.String qualificationComments, java.sql.Timestamp updateDate, java.util.Collection sampleMeasurements, Sample parentSample, java.util.Collection childSamples, Matrix matrix, Unit sizeUnit, Batch batch, TaxonGroup taxonGroup, ReferenceTaxon referenceTaxon, User recorderUser, Program program, Department recorderDepartment, QualityFlag qualityFlag, FishingOperation fishingOperation, java.util.Collection fishingAreas)
          Constructs a new instance of Sample, taking all possible properties (except the identifier(s))as arguments.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Sample.Factory

public Sample.Factory()
Method Detail

newInstance

public static Sample newInstance()
Constructs a new instance of Sample.


newInstance

public static Sample newInstance(java.lang.String label,
                                 java.util.Date creationDate,
                                 Matrix matrix,
                                 Program program,
                                 Department recorderDepartment,
                                 QualityFlag qualityFlag)
Constructs a new instance of Sample, taking all required and/or read-only properties as arguments.


newInstance

public static Sample newInstance(java.lang.String label,
                                 java.util.Date sampleDate,
                                 java.lang.Short individualCount,
                                 java.lang.Float size,
                                 java.lang.String comments,
                                 java.util.Date creationDate,
                                 java.util.Date controlDate,
                                 java.util.Date validationDate,
                                 java.util.Date qualificationDate,
                                 java.lang.String qualificationComments,
                                 java.sql.Timestamp updateDate,
                                 java.util.Collection sampleMeasurements,
                                 Sample parentSample,
                                 java.util.Collection childSamples,
                                 Matrix matrix,
                                 Unit sizeUnit,
                                 Batch batch,
                                 TaxonGroup taxonGroup,
                                 ReferenceTaxon referenceTaxon,
                                 User recorderUser,
                                 Program program,
                                 Department recorderDepartment,
                                 QualityFlag qualityFlag,
                                 FishingOperation fishingOperation,
                                 java.util.Collection fishingAreas)
Constructs a new instance of Sample, taking all possible properties (except the identifier(s))as arguments.



Copyright © 2008-2010 IFREMER. All Rights Reserved.