All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.openfact.ubl.data.model.ModelSupportedAttribute Maven / Gradle / Ivy

package org.openfact.ubl.data.model;

import java.util.Arrays;
import java.util.Optional;

public enum ModelSupportedAttribute {

    OF_MODEL_ID;

    public static ModelSupportedAttribute fromString(String text) {
        Optional op = Arrays.stream(ModelSupportedAttribute.values())
                .filter(p -> p.toString().equals(text))
                .findFirst();
        return op.isPresent() ? op.get() : null;
    }

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy