package util.gdl.grammar;

import java.util.List;

@SuppressWarnings("serial")
public abstract class GdlSentence extends GdlLiteral
{

	public abstract int arity();

	public abstract GdlTerm get(int index);

	public abstract GdlConstant getName();

	@Override
	public abstract boolean isGround();

	@Override
	public abstract String toString();

	public abstract GdlTerm toTerm();
	
	//TODO: remove if not needed
	public abstract List<GdlTerm> getBody();

}

package util.gdl.grammar;

import java.util.List;

@SuppressWarnings("serial")
public abstract class GdlSentence extends GdlLiteral
{

	public abstract int arity();

	public abstract GdlTerm get(int index);

	public abstract GdlConstant getName();

	@Override
	public abstract boolean isGround();

	@Override
	public abstract String toString();

	public abstract GdlTerm toTerm();
	
	public abstract List<GdlTerm> getBody();

}

Remove outdated comment.