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

edu.stanford.protege.webprotege.frame.ManchesterSyntaxFrameParseError Maven / Gradle / Ivy

The newest version!
package edu.stanford.protege.webprotege.frame;


import org.semanticweb.owlapi.model.EntityType;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author Matthew Horridge, Stanford University, Bio-Medical Informatics Research Group, Date: 18/03/2014
 */
public class ManchesterSyntaxFrameParseError implements Serializable {

    private int line;

    private int col;

    private String message;

    private String token;

    private List> expectedEntityTypes;

    private ManchesterSyntaxFrameParseError() {

    }

    public ManchesterSyntaxFrameParseError(String message, int col, int line, String token, List> expectedEntityTypes) {
        this.message = message;
        this.col = col;
        this.line = line;
        this.token = token;
        this.expectedEntityTypes = new ArrayList>(expectedEntityTypes);
    }

    public int getLine() {
        return line;
    }

    public int getCol() {
        return col;
    }

    public String getMessage() {
        return message;
    }

    public String getToken() {
        return token;
    }

    public List> getExpectedEntityTypes() {
        return new ArrayList>(expectedEntityTypes);
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy