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

All Superinterfaces:
IConstraint, INRLAstNode, IPredicate
All Known Implementing Classes:
IsSubtypePredicateImpl

public interface IIsSubtypePredicate
extends IPredicate

Checks if a model reference refers to a sub-type of a specified type.

Abstract syntax reference: IsSubtypePredicateImpl ::= ModelReference ISA ModelElement

Author:
Christian Nentwich

Field Summary
 
Fields inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode
NEWLINE
 
Method Summary
 IModelReference getReference()
          Return the model reference to check
 IModelElement getTargetType()
          Return the type to check.
 
Methods inherited from interface net.sourceforge.nrl.parser.ast.constraints.IConstraint
getNRLDataType, setNRLDataType
 
Methods inherited from interface net.sourceforge.nrl.parser.ast.INRLAstNode
accept, dump, getColumn, getLine, getUserData, setUserData
 

Method Detail

getReference

IModelReference getReference()
Return the model reference to check

Returns:
the reference

getTargetType

IModelElement getTargetType()
Return the type to check.

Returns:
the type


Copyright © 2006-2013. All Rights Reserved.