public abstract class OclConstraintImpl extends Object implements OclConstraint
OclConstraint.ConditionType
Constraint.ModelElmtContextType
Modifier and Type | Field and Description |
---|---|
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 and Description |
---|
OclConstraintImpl() |
Modifier and Type | Method and Description |
---|---|
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.
|
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
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
null
Copyright © 2018. All rights reserved.