public class TextConstraintImpl extends Object implements TextConstraint
Constraint.ModelElmtContextType
Modifier and Type | Field and Description |
---|---|
protected String |
constraintName
Name of the constraint
|
protected String |
constraintStatus
Constraint status.
|
protected String |
constraintText
The textual representation of the constraint
|
protected String |
constraintType
Type of the text-based constraint
|
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.
|
Constructor and Description |
---|
TextConstraintImpl() |
Modifier and Type | Method and Description |
---|---|
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.
|
String |
text()
Inquire the textual representation of the constraint.
|
String |
type()
Inquire type of the constraint.
|
protected Info contextModelElmt
protected Constraint.ModelElmtContextType contextModelElmtType
protected String constraintType
protected String constraintName
protected String constraintText
protected String constraintStatus
public String type()
type
in interface TextConstraint
public String name()
name
in interface Constraint
public String status()
status
in interface Constraint
public String text()
text
in interface Constraint
public Info contextModelElmt()
contextModelElmt
in interface Constraint
public Constraint.ModelElmtContextType contextModelElmtType()
contextModelElmtType
in interface Constraint
Copyright © 2018. All rights reserved.