org.eclipse.gmt.umlx.eqvtr.cst.environment
Class QVTrRelationEnvironment
java.lang.Object
org.eclipse.ocl.AbstractEnvironment<org.eclipse.emf.ecore.EPackage,org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EOperation,org.eclipse.emf.ecore.EStructuralFeature,org.eclipse.emf.ecore.EEnumLiteral,org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EObject,org.eclipse.ocl.ecore.CallOperationAction,org.eclipse.ocl.ecore.SendSignalAction,org.eclipse.ocl.ecore.Constraint,org.eclipse.emf.ecore.EClass,org.eclipse.emf.ecore.EObject>
org.eclipse.ocl.ecore.EcoreEnvironment
org.eclipse.gmt.umlx.eqvtr.cst.environment.QVTrEnvironment
org.eclipse.gmt.umlx.eqvtr.cst.environment.QVTrRelationEnvironment
- All Implemented Interfaces:
- org.eclipse.ocl.Environment<org.eclipse.emf.ecore.EPackage,org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EOperation,org.eclipse.emf.ecore.EStructuralFeature,org.eclipse.emf.ecore.EEnumLiteral,org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EObject,org.eclipse.ocl.ecore.CallOperationAction,org.eclipse.ocl.ecore.SendSignalAction,org.eclipse.ocl.ecore.Constraint,org.eclipse.emf.ecore.EClass,org.eclipse.emf.ecore.EObject>
public class QVTrRelationEnvironment
- extends QVTrEnvironment
Nested classes/interfaces inherited from interface org.eclipse.ocl.Environment |
org.eclipse.ocl.Environment.Registry |
Fields inherited from interface org.eclipse.ocl.Environment |
OCL_NAMESPACE_URI, RESULT_VARIABLE_NAME, SELF_VARIABLE_NAME |
Methods inherited from class org.eclipse.gmt.umlx.eqvtr.cst.environment.QVTrEnvironment |
checkFeatureCompatibility, formatName, formatPath, formatString, formatType, getCSTNode, getErrorHandler, getMetaModelClassifier, getMetaModelClassifiers, getMetaModelContents, getMetaModelContents, getRelationalTransformation, getUMLReflection, lookupClassifier, lookupImplicitSourceForOperation, lookUpImportedTransformation, lookupOperation, semanticError |
Methods inherited from class org.eclipse.ocl.ecore.EcoreEnvironment |
defineAttribute, defineOperation, findPackage, findPackage, getDefinition, getFactory, getOCLStandardLibrary, getStates, getTypeFactory, getTypeResolver, isInPostcondition, lookupPackage, setParent, undefine |
Methods inherited from class org.eclipse.ocl.AbstractEnvironment |
addElement, deleteElement, getAdditionalAttributes, getAdditionalOperations, getBodyCondition, getContextClassifier, getContextOperation, getContextPackage, getContextProperty, getDeriveConstraint, getInitConstraint, getSelfVariable, getVariables, isEmpty, lookup, lookupAssociationClassReference, lookupImplicitSourceForAssociationClass, lookupImplicitSourceForProperty, lookupImplicitSourceForSignal, lookupImplicitSourceForState, lookupLocal, lookupProperty, lookupSignal, lookupState, setBodyCondition, setDeriveConstraint, setInitConstraint, setSelfVariable |
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
QVTrRelationEnvironment
public QVTrRelationEnvironment(QVTrTransformationEnvironment env,
RelationCS relationCS)
createEnvironment
public QVTrDomainEnvironment createEnvironment(DomainCS domainCS)
createEnvironment
public QVTrDomainEnvironment createEnvironment(PrimitiveTypeDomainCS domainCS)
createReferencedVariables
public void createReferencedVariables(AbstractQVTrParser parser)
createVariableDeclaration
public void createVariableDeclaration(org.eclipse.ocl.internal.cst.VariableExpCS variableExpCS,
org.eclipse.emf.ecore.EClassifier type,
org.eclipse.gmt.umlx.eqvtbase.Domain domain,
boolean isInvocation)
createVariableDeclaration
public org.eclipse.ocl.expressions.Variable<org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EParameter> createVariableDeclaration(IdentifierCS identifierCS,
org.eclipse.emf.ecore.EClassifier type)
- Overrides:
createVariableDeclaration
in class QVTrEnvironment
getEnvironment
public QVTrDomainEnvironment getEnvironment(DomainCS domainCS)
getParent
public QVTrTransformationEnvironment getParent()
- Specified by:
getParent
in interface org.eclipse.ocl.Environment<org.eclipse.emf.ecore.EPackage,org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EOperation,org.eclipse.emf.ecore.EStructuralFeature,org.eclipse.emf.ecore.EEnumLiteral,org.eclipse.emf.ecore.EParameter,org.eclipse.emf.ecore.EObject,org.eclipse.ocl.ecore.CallOperationAction,org.eclipse.ocl.ecore.SendSignalAction,org.eclipse.ocl.ecore.Constraint,org.eclipse.emf.ecore.EClass,org.eclipse.emf.ecore.EObject>
- Overrides:
getParent
in class QVTrEnvironment
getRelation
public org.eclipse.gmt.umlx.eqvtrelation.Relation getRelation()
getRelation
public org.eclipse.gmt.umlx.eqvtrelation.Relation getRelation(java.util.List<java.lang.String> pathName,
java.lang.String relationName)
- Overrides:
getRelation
in class QVTrEnvironment
getRelationalTransformation
public org.eclipse.gmt.umlx.eqvtrelation.RelationalTransformation getRelationalTransformation()
getVariable
public org.eclipse.ocl.expressions.Variable<org.eclipse.emf.ecore.EClassifier,org.eclipse.emf.ecore.EParameter> getVariable(java.lang.String name)
- Overrides:
getVariable
in class QVTrEnvironment