|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.interactive_instruments.ShapeChange.Model.OclConstraintImpl
public abstract class OclConstraintImpl
The OclConstraintImpl class is the common root of all OclConstraint interface implementations of the supported input models.
Nested Class Summary |
---|
Nested classes/interfaces inherited from interface de.interactive_instruments.ShapeChange.Model.OclConstraint |
---|
OclConstraint.ConditionType |
Nested classes/interfaces inherited from interface de.interactive_instruments.ShapeChange.Model.Constraint |
---|
Constraint.ModelElmtContextType |
Field Summary | |
---|---|
protected String[] |
comments
Comments contained in the constraint |
protected OclConstraint.ConditionType |
conditionType
Condition Type - the nature of the condition |
protected String |
constraintName
Name of the constraint |
protected String |
constraintStatus
Constraint status. |
protected String |
constraintText
The textual representation of the constraint |
protected ClassInfo |
contextClass
Class Context - the class, which represents 'self' |
protected Info |
contextModelElmt
Model Element Context - class, attribute, operation, etc. |
protected Constraint.ModelElmtContextType |
contextModelElmtType
Model Element Context Type - the nature of the model context the OCL expression is specified in. |
protected OclNode.Expression |
syntaxTree
Compiled representation |
Constructor Summary | |
---|---|
OclConstraintImpl()
|
Method Summary | |
---|---|
String[] |
comments()
The comments contained in the OCL expression |
OclConstraint.ConditionType |
conditionType()
Inquire the condition type. |
ClassInfo |
contextClass()
Inquire the context class of the OCL constraint - the 'self' |
Info |
contextModelElmt()
Inquire the model element context. |
Constraint.ModelElmtContextType |
contextModelElmtType()
Find out about the type of the context model element. |
String |
name()
Inquire name of the constraint. |
String |
status()
Inquire status of the constraint. |
OclNode.Expression |
syntaxTree()
If compilation went well, this returns the OCL syntax tree. |
String |
text()
Inquire the textual representation of the OCL expression. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
---|
protected ClassInfo contextClass
protected Info contextModelElmt
protected Constraint.ModelElmtContextType contextModelElmtType
protected OclConstraint.ConditionType conditionType
protected String constraintName
protected String constraintText
protected String constraintStatus
protected OclNode.Expression syntaxTree
protected String[] comments
Constructor Detail |
---|
public OclConstraintImpl()
Method Detail |
---|
public OclConstraint.ConditionType conditionType()
conditionType
in interface OclConstraint
public ClassInfo contextClass()
contextClass
in interface OclConstraint
public Info contextModelElmt()
contextModelElmt
in interface Constraint
public Constraint.ModelElmtContextType contextModelElmtType()
contextModelElmtType
in interface Constraint
public String name()
name
in interface Constraint
public String status()
status
in interface Constraint
public String text()
text
in interface Constraint
public OclNode.Expression syntaxTree()
syntaxTree
in interface OclConstraint
public String[] comments()
comments
in interface OclConstraint
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |