/** * generated by Xtext 2.21.0 */ package org.eclipse.viatra.solver.language.solverLanguage; /** * * A representation of the model object 'Predicate Definition'. * * *

* The following features are supported: *

* * * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition() * @model * @generated */ public interface PredicateDefinition extends Statement { /** * Returns the value of the 'Head' containment reference. * * * @return the value of the 'Head' containment reference. * @see #setHead(Expression) * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition_Head() * @model containment="true" * @generated */ Expression getHead(); /** * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getHead Head}' containment reference. * * * @param value the new value of the 'Head' containment reference. * @see #getHead() * @generated */ void setHead(Expression value); /** * Returns the value of the 'Body' containment reference. * * * @return the value of the 'Body' containment reference. * @see #setBody(Expression) * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition_Body() * @model containment="true" * @generated */ Expression getBody(); /** * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#getBody Body}' containment reference. * * * @param value the new value of the 'Body' containment reference. * @see #getBody() * @generated */ void setBody(Expression value); /** * Returns the value of the 'Functional' attribute. * * * @return the value of the 'Functional' attribute. * @see #setFunctional(boolean) * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition_Functional() * @model * @generated */ boolean isFunctional(); /** * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isFunctional Functional}' attribute. * * * @param value the new value of the 'Functional' attribute. * @see #isFunctional() * @generated */ void setFunctional(boolean value); /** * Returns the value of the 'Error' attribute. * * * @return the value of the 'Error' attribute. * @see #setError(boolean) * @see org.eclipse.viatra.solver.language.solverLanguage.SolverLanguagePackage#getPredicateDefinition_Error() * @model * @generated */ boolean isError(); /** * Sets the value of the '{@link org.eclipse.viatra.solver.language.solverLanguage.PredicateDefinition#isError Error}' attribute. * * * @param value the new value of the 'Error' attribute. * @see #isError() * @generated */ void setError(boolean value); } // PredicateDefinition