net.sourceforge.nrl.parser.ast.constraints
Interface IValidationFragmentDeclaration

All Superinterfaces:
IDeclaration, IMultipleContextDeclaration, INRLAstNode

public interface IValidationFragmentDeclaration
extends IMultipleContextDeclaration

Declaration of a validation fragment, a sub-constraint that is attached to a model element. Has an id, a context and a constraint.


Field Summary
 
Fields inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode
NEWLINE
 
Method Summary
 IConstraint getConstraint()
          Get the fragment constraint.
 NRLDataType getNRLDataType()
          Return the return type of the fragment.
 
Methods inherited from interface net.sourceforge.nrl.parser.ast.IMultipleContextDeclaration
getContextNames, getContextType
 
Methods inherited from interface net.sourceforge.nrl.parser.ast.IDeclaration
getId
 
Methods inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode
accept, dump, getColumn, getLine, getUserData, setUserData
 

Method Detail

getConstraint

IConstraint getConstraint()
Get the fragment constraint. Never returns null.

Returns:
the constraint

getNRLDataType

NRLDataType getNRLDataType()
Return the return type of the fragment.

Returns:
the NRL type


Copyright © 2006-2010 Christian Nentwich and others