de.interactive_instruments.ShapeChange.Model.EA
Class TextConstraintEA

java.lang.Object
  extended by de.interactive_instruments.ShapeChange.Model.TextConstraintImpl
      extended by de.interactive_instruments.ShapeChange.Model.EA.TextConstraintEA
All Implemented Interfaces:
Constraint, TextConstraint

public class TextConstraintEA
extends TextConstraintImpl
implements TextConstraint

This is the implementation of TextConstraint for the Enterprise Architect model source. The constraint text is obtained from the Notes field of the The type, status and name concepts are directly mapped to the corresponding EA dialog fields.


Nested Class Summary
 
Nested classes/interfaces inherited from interface de.interactive_instruments.ShapeChange.Model.Constraint
Constraint.ModelElmtContextType
 
Field Summary
protected  EADocument document
          The model object
protected  org.sparx.Constraint eaConstraint
          The EA constraint object
protected  org.sparx.AttributeConstraint eaConstraintAttribute
           
 
Fields inherited from class de.interactive_instruments.ShapeChange.Model.TextConstraintImpl
constraintName, constraintStatus, constraintText, constraintType, contextModelElmt, contextModelElmtType
 
Constructor Summary
TextConstraintEA(EADocument doc, ClassInfoEA ci, org.sparx.Constraint constr)
          Ctor from class context
TextConstraintEA(EADocument doc, PropertyInfoEA pi, org.sparx.AttributeConstraint constr)
          Ctor from attribute context
 
Method Summary
 
Methods inherited from class de.interactive_instruments.ShapeChange.Model.TextConstraintImpl
contextModelElmt, contextModelElmtType, name, status, text, type
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface de.interactive_instruments.ShapeChange.Model.TextConstraint
type
 
Methods inherited from interface de.interactive_instruments.ShapeChange.Model.Constraint
contextModelElmt, contextModelElmtType, name, status, text
 

Field Detail

document

protected EADocument document
The model object


eaConstraint

protected org.sparx.Constraint eaConstraint
The EA constraint object


eaConstraintAttribute

protected org.sparx.AttributeConstraint eaConstraintAttribute
Constructor Detail

TextConstraintEA

public TextConstraintEA(EADocument doc,
                        ClassInfoEA ci,
                        org.sparx.Constraint constr)
Ctor from class context


TextConstraintEA

public TextConstraintEA(EADocument doc,
                        PropertyInfoEA pi,
                        org.sparx.AttributeConstraint constr)
Ctor from attribute context



Copyright © 2015. All rights reserved.