@@ -0,0 +1,1805 @@
+/*%0A * Copyright 2017 Open mHealth%0A *%0A * Licensed under the Apache License, Version 2.0 (the %22License%22);%0A * you may not use this file except in compliance with the License.%0A * You may obtain a copy of the License at%0A *%0A *     http://www.apache.org/licenses/LICENSE-2.0%0A *%0A * Unless required by applicable law or agreed to in writing, software%0A * distributed under the License is distributed on an %22AS IS%22 BASIS,%0A * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.%0A * See the License for the specific language governing permissions and%0A * limitations under the License.%0A */%0A%0Apackage org.openmhealth.schema.domain.omh;%0A%0Aimport com.fasterxml.jackson.annotation.JsonCreator;%0Aimport com.fasterxml.jackson.annotation.JsonValue;%0A%0Aimport javax.annotation.Nullable;%0Aimport java.util.HashMap;%0Aimport java.util.Map;%0A%0A%0A/**%0A * A unit of a signal-to-noise ratio.%0A *%0A * @author Emerson Farrugia%0A * @version 1.0%0A * @see %3Ca href=%22http://www.openmhealth.org/documentation/#/schema-docs/schema-library/schemas/omh_geoposition%22%3Egeoposition%3C/a%3E%0A */%0Apublic enum SignalToNoiseRatioUnit implements Unit %7B%0A%0A    DECIBEL(%22dB%22);%0A%0A    private String schemaValue;%0A    private static final Map%3CString, SignalToNoiseRatioUnit%3E constantsBySchemaValue = new HashMap%3C%3E();%0A%0A    static %7B%0A        for (SignalToNoiseRatioUnit constant : values()) %7B%0A            constantsBySchemaValue.put(constant.getSchemaValue(), constant);%0A        %7D%0A    %7D%0A%0A    SignalToNoiseRatioUnit(String schemaValue) %7B%0A        this.schemaValue = schemaValue;%0A    %7D%0A%0A    @Override%0A    @JsonValue%0A    public String getSchemaValue() %7B%0A        return this.schemaValue;%0A    %7D%0A%0A    @Nullable%0A    @JsonCreator%0A    public static SignalToNoiseRatioUnit findBySchemaValue(String schemaValue) %7B%0A        return constantsBySchemaValue.get(schemaValue);%0A    %7D%0A%7D%0A

Add an enum for SNR units