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

org.protege.editor.owl.model.annotation.DefaultUserNameAnnotationPropertyIriProvider Maven / Gradle / Ivy

Go to download

OWL ontology editing infrastructure used by the Protege desktop application.

The newest version!
package org.protege.editor.owl.model.annotation;

import org.semanticweb.owlapi.model.IRI;

import javax.inject.Inject;
import javax.inject.Provider;

/**
 * Matthew Horridge
 * Stanford Center for Biomedical Informatics Research
 * 27/01/16
 */
public class DefaultUserNameAnnotationPropertyIriProvider implements Provider {

    private final EntityCreationMetadataPreferencesManager preferencesManager;

    @Inject
    public DefaultUserNameAnnotationPropertyIriProvider(EntityCreationMetadataPreferencesManager preferencesManager) {
        this.preferencesManager = preferencesManager;
    }

    @Override
    public IRI get() {
        return preferencesManager.getCreatedByAnnotationPropertyIRI();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy