Modifier and Type | Method and Description |
---|---|
CGConstraint |
AS2CGVisitor.visitConstraint(Constraint element) |
Modifier and Type | Method and Description |
---|---|
static String |
NameQueries.getUniqueText(Element context,
Constraint constraint)
Return a valid Java identifier suffix encoding of string that is unique within the scope of element.
|
Modifier and Type | Method and Description |
---|---|
CGConstraint |
OCLinEcoreAS2CGVisitor.visitConstraint(Constraint element) |
Object |
OCLinEcoreTablesUtils.EmitLiteralVisitor.visitConstraint(Constraint constraint) |
Modifier and Type | Method and Description |
---|---|
ExpressionInOCL |
OCLValidationDelegate.getExpressionInOCL(MetamodelManager metamodelManager,
Constraint constraint) |
ExpressionInOCL |
OCLInvocationDelegate.getExpressionInOCL(MetamodelManager metamodelManager,
Constraint constraint) |
Modifier and Type | Method and Description |
---|---|
Constraint |
DebugDialog.getConstraint() |
Modifier and Type | Method and Description |
---|---|
Constraint |
PivotFactory.createConstraint()
Returns a new object of class 'Constraint'.
|
Constraint |
Transition.getOwnedGuard()
Returns the value of the 'Owned Guard' containment reference.
|
Constraint |
State.getOwnedStateInvariant()
Returns the value of the 'Owned State Invariant' containment reference.
|
Constraint |
LanguageExpression.getOwningConstraint()
Returns the value of the 'Owning Constraint' container reference.
|
Modifier and Type | Method and Description |
---|---|
List<Constraint> |
Namespace.getOwnedConstraints()
Returns the value of the 'Owned Constraints' containment reference list.
|
List<Constraint> |
Class.getOwnedInvariants()
Returns the value of the 'Owned Invariants' containment reference list.
|
List<Constraint> |
Operation.getOwnedPostconditions()
Returns the value of the 'Owned Postconditions' containment reference list.
|
List<Constraint> |
Operation.getOwnedPreconditions()
Returns the value of the 'Owned Preconditions' containment reference list.
|
List<Constraint> |
Constraint.getRedefinedConstraints()
Returns the value of the 'Redefined Constraints' reference list.
|
Modifier and Type | Method and Description |
---|---|
void |
Transition.setOwnedGuard(Constraint value)
Sets the value of the '
Owned Guard ' containment reference. |
void |
State.setOwnedStateInvariant(Constraint value)
Sets the value of the '
Owned State Invariant ' containment reference. |
void |
LanguageExpression.setOwningConstraint(Constraint value)
Sets the value of the '
Owning Constraint ' container reference. |
Modifier and Type | Class and Description |
---|---|
class |
ConstraintImpl
An implementation of the model object 'Constraint'.
|
Modifier and Type | Method and Description |
---|---|
Constraint |
PivotFactoryImpl.createConstraint() |
Constraint |
TransitionImpl.getOwnedGuard() |
Constraint |
StateImpl.getOwnedStateInvariant() |
Constraint |
LanguageExpressionImpl.getOwningConstraint() |
Modifier and Type | Method and Description |
---|---|
List<Constraint> |
NamespaceImpl.getOwnedConstraints() |
List<Constraint> |
ClassImpl.getOwnedConstraints() |
List<Constraint> |
OperationImpl.getOwnedConstraints() |
List<Constraint> |
ClassImpl.getOwnedInvariants() |
List<Constraint> |
OperationImpl.getOwnedPostconditions() |
List<Constraint> |
OperationImpl.getOwnedPreconditions() |
List<Constraint> |
ConstraintImpl.getRedefinedConstraints() |
Modifier and Type | Method and Description |
---|---|
NotificationChain |
TransitionImpl.basicSetOwnedGuard(Constraint newOwnedGuard,
NotificationChain msgs) |
NotificationChain |
StateImpl.basicSetOwnedStateInvariant(Constraint newOwnedStateInvariant,
NotificationChain msgs) |
NotificationChain |
LanguageExpressionImpl.basicSetOwningConstraint(Constraint newOwningConstraint,
NotificationChain msgs) |
void |
TransitionImpl.setOwnedGuard(Constraint newOwnedGuard) |
void |
StateImpl.setOwnedStateInvariant(Constraint newOwnedStateInvariant) |
void |
LanguageExpressionImpl.setOwningConstraint(Constraint newOwningConstraint) |
Constructor and Description |
---|
DiagnosticContext(ClassContext parserContext,
Constraint constraint) |
Modifier and Type | Method and Description |
---|---|
Constraint |
ValidationBehavior.getConstraint(MetamodelManager metamodelManager,
EClassifier eClassifier,
String constraintName) |
Modifier and Type | Method and Description |
---|---|
EAnnotation |
DelegateInstaller.createConstraintDelegate(EModelElement eModelElement,
Constraint pivotConstraint,
URI ecoreURI) |
static String |
DelegateInstaller.getAnnotationKey(Constraint pivotConstraint) |
ExpressionInOCL |
ValidationBehavior.getQueryOrThrow(MetamodelManager metamodelManager,
Constraint constraint)
Return the operation body associated with operation, if necessary using
ocl to create the relevant parsing environment for a textual
definition. |
ExpressionInOCL |
OCLInvocationDelegate.getQueryOrThrow(MetamodelManager metamodelManager,
Constraint constraint) |
Modifier and Type | Method and Description |
---|---|
static void |
AS2Ecore.copyAnnotationComments(EAnnotation eModelElement,
Constraint pivotConstraint) |
static EOperation |
AS2Ecore.createConstraintEOperation(Constraint pivotConstraint,
String operationName,
Map<String,Object> options) |
EObject |
AS2EcoreDeclarationVisitor.visitConstraint(Constraint pivotConstraint) |
EObject |
AS2EcoreReferenceVisitor.visitConstraint(Constraint pivotConstraint) |
Modifier and Type | Method and Description |
---|---|
List<Constraint> |
AbstractExecutorPackage.getOwnedConstraints() |
List<Constraint> |
AbstractExecutorOperation.getOwnedConstraints() |
List<Constraint> |
AbstractExecutorClass.getOwnedConstraints() |
List<Constraint> |
AbstractExecutorClass.getOwnedInvariants() |
List<Constraint> |
AbstractExecutorOperation.getOwnedPostconditions() |
List<Constraint> |
AbstractExecutorOperation.getOwnedPreconditions() |
Modifier and Type | Method and Description |
---|---|
Object |
TracingEvaluationVisitor.visitConstraint(Constraint constraint) |
Object |
AbstractEvaluationVisitorDecorator.visitConstraint(Constraint constraint)
Delegates to my decorated visitor.
|
Object |
AbstractEvaluationVisitor.visitConstraint(Constraint constraint)
This default implementation asserts that the constraint is
boolean-valued if it is an invariant, pre-condition, or post-condition
constraint and returns the value of its body expression by delegation to
Visitable.accept(Visitor) . |
Modifier and Type | Method and Description |
---|---|
List<Constraint> |
EcoreReflectiveType.getOwnedConstraints() |
List<Constraint> |
EcoreReflectiveType.getOwnedInvariants() |
Modifier and Type | Method and Description |
---|---|
List<Constraint> |
ExecutorType.getOwnedConstraints() |
List<Constraint> |
DomainReflectiveType.getOwnedConstraints() |
List<Constraint> |
ExecutorPackage.getOwnedConstraints() |
List<Constraint> |
ExecutorOperation.getOwnedConstraints() |
List<Constraint> |
ExecutorType.getOwnedInvariants() |
List<Constraint> |
DomainReflectiveType.getOwnedInvariants() |
List<Constraint> |
ExecutorOperation.getOwnedPostconditions() |
List<Constraint> |
ExecutorOperation.getOwnedPreconditions() |
Modifier and Type | Field and Description |
---|---|
static List<Constraint> |
PivotMetamodelManager.EMPTY_CONSTRAINT_LIST |
Modifier and Type | Method and Description |
---|---|
Iterable<Constraint> |
MetamodelManagerInternal.getAllInvariants(Type pivotType) |
Iterable<Constraint> |
PivotMetamodelManager.getAllInvariants(Type pivotType)
Return all constraints applicable to a type and its superclasses.
|
Iterable<Constraint> |
PivotMetamodelManager.getLocalInvariants(Class type) |
Modifier and Type | Method and Description |
---|---|
Object |
EssentialOCLPrettyPrintVisitor.visitConstraint(Constraint object) |
Modifier and Type | Method and Description |
---|---|
static String |
PivotUtilInternal.getStereotype(Constraint object) |
Modifier and Type | Method and Description |
---|---|
Diagnostic |
PivotEObjectValidator.ValidationAdapter.validate(Constraint constraint,
Object object,
Map<Object,Object> context)
Validate constraint for object using context to elaborate the validation context.
|
Modifier and Type | Method and Description |
---|---|
org.eclipse.uml2.uml.Constraint |
AS2UMLDeclarationVisitor.visitConstraint(Constraint pivotConstraint) |
Modifier and Type | Method and Description |
---|---|
Constraint |
UML2ASUseSwitch.caseConstraint(org.eclipse.uml2.uml.Constraint umlConstraint) |
Constraint |
UML2ASDeclarationSwitch.caseConstraint(org.eclipse.uml2.uml.Constraint umlConstraint) |
Constructor and Description |
---|
Ecore(EClassifier targetType,
Constraint constraint,
int code) |
LoadableConstraintDescriptor(T targetType,
Constraint constraint,
String targetNamespace,
String targetName,
int code) |
UML(Stereotype targetType,
Constraint constraint,
int code) |
Modifier and Type | Method and Description |
---|---|
T |
PivotSwitch.caseConstraint(Constraint object)
Returns the result of interpreting the object as an instance of 'Constraint'.
|
boolean |
PivotValidator.validateConstraint_validateUniqueName(Constraint constraint,
DiagnosticChain diagnostics,
Map<Object,Object> context)
Validates the validateUniqueName constraint of 'Constraint'.
|
boolean |
PivotValidator.validateConstraint(Constraint constraint,
DiagnosticChain diagnostics,
Map<Object,Object> context) |
R |
Visitor.visitConstraint(Constraint object) |
R |
AbstractWrappingVisitor.visitConstraint(Constraint object) |
R |
AbstractNullVisitor.visitConstraint(Constraint object)
Deprecated.
|
R |
AbstractMergedVisitor.visitConstraint(Constraint object) |
R |
AbstractExtendingVisitor.visitConstraint(Constraint object) |
R |
AbstractDelegatingVisitor.visitConstraint(Constraint object) |
Modifier and Type | Method and Description |
---|---|
static Constraint |
PivotUtil.getContainingConstraint(Element element) |
Modifier and Type | Method and Description |
---|---|
static Iterable<Constraint> |
PivotUtil.getOwnedInvariants(Class asClass) |
static Iterable<Constraint> |
PivotUtil.getOwnedPostconditions(Operation asOperation) |
static Iterable<Constraint> |
PivotUtil.getOwnedPreconditions(Operation asOperation) |
Modifier and Type | Method and Description |
---|---|
boolean |
OCL.check(Object context,
Constraint constraint)
Checks whether a constraint is satisfied by an object.
|
Query |
OCL.createQuery(Constraint constraint)
Creates a new
Query encapsulating a constraint with the current
environment and extent map. |
ExpressionInOCL |
OCL.getSpecification(Constraint constraint)
Return the Constraint specification as an ExpressionInOCL, parsing any OpaqueExpression
that may be encountered.
|
void |
OCL.validate(Constraint constraint)
Deprecated.
|
String |
ToStringVisitor.visitConstraint(Constraint constraint)
Renders a constraint with its context and expression.
|
Boolean |
AS2XMIidVisitor.visitConstraint(Constraint object)
Deprecated.
|
Object |
AS2MonikerVisitor.visitConstraint(Constraint object) |
Modifier and Type | Method and Description |
---|---|
ElementCS |
BaseDeclarationVisitor.visitConstraint(Constraint object) |
Modifier and Type | Method and Description |
---|---|
String |
BaseLabelProvider.text(Constraint ele) |
Modifier and Type | Method and Description |
---|---|
EObject |
CompleteOCLSplitter.Separator.caseConstraint(Constraint object) |
ElementCS |
CompleteOCLDeclarationVisitor.visitConstraint(Constraint object) |
Modifier and Type | Method and Description |
---|---|
ElementCS |
EssentialOCLDeclarationVisitor.visitConstraint(Constraint object) |
Modifier and Type | Method and Description |
---|---|
ElementCS |
OCLinEcoreDeclarationVisitor.visitConstraint(Constraint object) |
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.