public Device setStatus(FHIRDeviceStatus value) { 
      if (value == null)
        this.status = null;
      else {
        if (this.status == null)
          this.status = new Enumeration<FHIRDeviceStatus>(new FHIRDeviceStatusEnumFactory());
        this.status.setValue(value);
      }
      return this;
    }
public Device setStatus ( FHIRDeviceStatus value ) { if ( value == null ) this . status = null ; else { if ( this . status == null ) this . status = new Enumeration < FHIRDeviceStatus > ( new FHIRDeviceStatusEnumFactory ( ) ) ; this . status . setValue ( value ) ; } return this ; }
@param value Status of the Device availability.