de.interactive_instruments.ShapeChange.Model.Generic
Class GenericOclConstraint
java.lang.Object
de.interactive_instruments.ShapeChange.Model.OclConstraintImpl
de.interactive_instruments.ShapeChange.Model.Generic.GenericOclConstraint
- All Implemented Interfaces:
- Constraint, OclConstraint
public class GenericOclConstraint
- extends OclConstraintImpl
- Author:
- echterhoff
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
GenericOclConstraint
public GenericOclConstraint(GenericClassInfo ci,
OclConstraint constr)
- Creates a new OCL constraint from the given constraint (with same
context, but having parsed the OCL anew from the text of the given
constraint).
- Parameters:
ci
- context of the constraintconstr
- original constraint from which to create a copy
GenericOclConstraint
public GenericOclConstraint(GenericPropertyInfo pi,
OclConstraint constr)
- Creates a new OCL constraint from the given constraint (with same
context, but having parsed the OCL anew from the text of the given
constraint).
- Parameters:
pi
- context model element of the constraint (its inClass() defines
the context class)constr
- original constraint from which to create a copy
setContext
public void setContext(ClassInfo contextClass,
Info contextModelElement)
Copyright © 2015. All rights reserved.