de.interactive_instruments.ShapeChange.Model.EA
Class OclConstraintEA
java.lang.Object
de.interactive_instruments.ShapeChange.Model.OclConstraintImpl
de.interactive_instruments.ShapeChange.Model.EA.OclConstraintEA
- All Implemented Interfaces:
- Constraint, OclConstraint
public class OclConstraintEA
- extends OclConstraintImpl
- implements OclConstraint
This implements the OclConstraint interface for the Enterprise Architect
model platform.
- The concepts of name and status are directly taken from
the corresponding dialog fields.
- The constraint text is directly from the Notes field of the dialog.
- The context is determined from the particular context of Ctor invocation.
- Condition type (inv:, etc) is part of the constraint
interpretation, which also delivers a syntax tree of OCL specific node types.
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
document
protected EADocument document
- The model object
eaConstraintClass
protected org.sparx.Constraint eaConstraintClass
- The EA OCL constraint object
eaConstraintAttribute
protected org.sparx.AttributeConstraint eaConstraintAttribute
OclConstraintEA
public OclConstraintEA(EADocument doc,
ClassInfoEA ci,
org.sparx.Constraint constr)
- Ctor from class context
OclConstraintEA
public OclConstraintEA(EADocument doc,
PropertyInfoEA pi,
org.sparx.AttributeConstraint constr)
- Ctor from attribute context
Copyright © 2015. All rights reserved.