public Identifier getAccessionIdentifier() { 
      if (this.accessionIdentifier == null)
        if (Configuration.errorOnAutoCreate())
          throw new Error("Attempt to auto-create Specimen.accessionIdentifier");
        else if (Configuration.doAutoCreate())
          this.accessionIdentifier = new Identifier(); // cc
      return this.accessionIdentifier;
    }
public Identifier getAccessionIdentifier ( ) { if ( this . accessionIdentifier == null ) if ( Configuration . errorOnAutoCreate ( ) ) throw new Error ( "Attempt to auto-create Specimen.accessionIdentifier" ) ; else if ( Configuration . doAutoCreate ( ) ) this . accessionIdentifier = new Identifier ( ) ; return this . accessionIdentifier ; }
@return {@link #accessionIdentifier} (The identifier assigned by the lab when accessioning specimen(s). This is not necessarily the same as the specimen identifier, depending on local lab procedures.)