FileDocCategorySizeDatePackage
SemanticPredicateEvent.javaAPI DocGlassfish v2 API988Wed Feb 08 12:31:30 GMT 2006persistence.antlr.debug

SemanticPredicateEvent

public class SemanticPredicateEvent extends GuessingEvent

Fields Summary
public static final int
VALIDATING
public static final int
PREDICTING
private int
condition
private boolean
result
Constructors Summary
public SemanticPredicateEvent(Object source)



	   
		super(source);
	
public SemanticPredicateEvent(Object source, int type)

		super(source, type);
	
Methods Summary
public intgetCondition()

		return condition;
	
public booleangetResult()

		return result;
	
voidsetCondition(int condition)

		this.condition = condition;
	
voidsetResult(boolean result)

		this.result = result;
	
voidsetValues(int type, int condition, boolean result, int guessing)
This should NOT be called from anyone other than ParserEventSupport!

		super.setValues(type, guessing);
		setCondition(condition);
		setResult(result);
	
public java.lang.StringtoString()

		return "SemanticPredicateEvent [" + 
		       getCondition() + "," + getResult() + "," + getGuessing() + "]";