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

edu.stanford.protege.webprotege.lang.DictionaryLanguageUsage Maven / Gradle / Ivy

There is a newer version: 2.0.2-WHO
Show newest version
package edu.stanford.protege.webprotege.lang;

import com.google.auto.value.AutoValue;
import edu.stanford.protege.webprotege.common.DictionaryLanguage;

import javax.annotation.Nonnull;

/**
 * Matthew Horridge
 * Stanford Center for Biomedical Informatics Research
 * 21 Aug 2018
 */
@AutoValue

public abstract class DictionaryLanguageUsage {

    public static DictionaryLanguageUsage get(@Nonnull DictionaryLanguage language,
                                              int referenceCount) {
        return new AutoValue_DictionaryLanguageUsage(language, referenceCount);
    }

    @Nonnull
    public abstract DictionaryLanguage getDictionaryLanguage();

    public abstract int getReferenceCount();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy