public Enumeration<DeviceMetricOperationalStatus> getOperationalStatusElement() { 
      if (this.operationalStatus == null)
        if (Configuration.errorOnAutoCreate())
          throw new Error("Attempt to auto-create DeviceMetric.operationalStatus");
        else if (Configuration.doAutoCreate())
          this.operationalStatus = new Enumeration<DeviceMetricOperationalStatus>(new DeviceMetricOperationalStatusEnumFactory()); // bb
      return this.operationalStatus;
    }
public Enumeration < DeviceMetricOperationalStatus > getOperationalStatusElement ( ) { if ( this . operationalStatus == null ) if ( Configuration . errorOnAutoCreate ( ) ) throw new Error ( "Attempt to auto-create DeviceMetric.operationalStatus" ) ; else if ( Configuration . doAutoCreate ( ) ) this . operationalStatus = new Enumeration < DeviceMetricOperationalStatus > ( new DeviceMetricOperationalStatusEnumFactory ( ) ) ; return this . operationalStatus ; }
@return {@link #operationalStatus} (Indicates current operational state of the device. For example: On, Off, Standby, etc.). This is the underlying object with id, value and extensions. The accessor "getOperationalStatus" gives direct access to the value