public Enumeration<InstanceAvailability> getAvailabilityElement() { 
      if (this.availability == null)
        if (Configuration.errorOnAutoCreate())
          throw new Error("Attempt to auto-create ImagingStudy.availability");
        else if (Configuration.doAutoCreate())
          this.availability = new Enumeration<InstanceAvailability>(new InstanceAvailabilityEnumFactory()); // bb
      return this.availability;
    }
public Enumeration < InstanceAvailability > getAvailabilityElement ( ) { if ( this . availability == null ) if ( Configuration . errorOnAutoCreate ( ) ) throw new Error ( "Attempt to auto-create ImagingStudy.availability" ) ; else if ( Configuration . doAutoCreate ( ) ) this . availability = new Enumeration < InstanceAvailability > ( new InstanceAvailabilityEnumFactory ( ) ) ; return this . availability ; }
@return {@link #availability} (Availability of study (online, offline or nearline).). This is the underlying object with id, value and extensions. The accessor "getAvailability" gives direct access to the value