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

edu.stanford.protege.webprotege.issues.Mention Maven / Gradle / Ivy

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


import edu.stanford.protege.webprotege.common.UserId;

import javax.annotation.Nonnull;
import java.util.Optional;

/**
 * Matthew Horridge
 * Stanford Center for Biomedical Informatics Research
 * 26 Sep 16
 *
 * Represents the mention of some object in String
 */
public abstract class Mention {

    /**
     * If this mention mentions a UserId then this method returns the UserId.
     * @return The UserId.
     */
    @Nonnull
    public Optional getMentionedUserId() {
        return Optional.empty();
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy