de.interactive_instruments.ShapeChange.Model
Interface OclConstraint

All Superinterfaces:
Constraint
All Known Implementing Classes:
GenericOclConstraint, OclConstraintEA, OclConstraintGSIP, OclConstraintImpl, OclConstraintXmi10

public interface OclConstraint
extends Constraint

The interface OclConstraint handles constraints specified in Object Constraint Language (OCL). OCL expressions are represented by a syntax tree similar to the one implied by the OCL specification, however, only part of the language is supported.


Nested Class Summary
static class OclConstraint.ConditionType
          Type for possible OCL expressions
 
Nested classes/interfaces inherited from interface de.interactive_instruments.ShapeChange.Model.Constraint
Constraint.ModelElmtContextType
 
Method Summary
 String[] comments()
          Get comments contained in the OCL expression
 OclConstraint.ConditionType conditionType()
          Inquire condition type
 ClassInfo contextClass()
          Inquire context class - i.e.
 OclNode.Expression syntaxTree()
          Inquire constraint syntax tree
 
Methods inherited from interface de.interactive_instruments.ShapeChange.Model.Constraint
contextModelElmt, contextModelElmtType, name, status, text
 

Method Detail

contextClass

ClassInfo contextClass()
Inquire context class - i.e. 'self'


conditionType

OclConstraint.ConditionType conditionType()
Inquire condition type


syntaxTree

OclNode.Expression syntaxTree()
Inquire constraint syntax tree


comments

String[] comments()
Get comments contained in the OCL expression



Copyright © 2015. All rights reserved.