public UnsignedIntType getNumberOfInstancesElement() { 
      if (this.numberOfInstances == null)
        if (Configuration.errorOnAutoCreate())
          throw new Error("Attempt to auto-create ImagingStudy.numberOfInstances");
        else if (Configuration.doAutoCreate())
          this.numberOfInstances = new UnsignedIntType(); // bb
      return this.numberOfInstances;
    }
public UnsignedIntType getNumberOfInstancesElement ( ) { if ( this . numberOfInstances == null ) if ( Configuration . errorOnAutoCreate ( ) ) throw new Error ( "Attempt to auto-create ImagingStudy.numberOfInstances" ) ; else if ( Configuration . doAutoCreate ( ) ) this . numberOfInstances = new UnsignedIntType ( ) ; return this . numberOfInstances ; }
@return {@link #numberOfInstances} (Number of SOP Instances in Study.). This is the underlying object with id, value and extensions. The accessor "getNumberOfInstances" gives direct access to the value