org.eclipse.gmt.umlx.eqvtc.cst.environment
Class QVTcPatternEnvironment

java.lang.Object
  extended by 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>
      extended by org.eclipse.ocl.ecore.EcoreEnvironment
          extended by org.eclipse.gmt.umlx.eqvtc.cst.environment.QVTEnvironment
              extended by org.eclipse.gmt.umlx.eqvtc.cst.environment.QVTcEnvironment
                  extended by org.eclipse.gmt.umlx.eqvtc.cst.environment.QVTcPatternEnvironment
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>
Direct Known Subclasses:
QVTcBottomPatternEnvironment, QVTcGuardPatternEnvironment

public abstract class QVTcPatternEnvironment
extends QVTcEnvironment


Nested Class Summary
 
Nested classes/interfaces inherited from interface org.eclipse.ocl.Environment
org.eclipse.ocl.Environment.Registry
 
Field Summary
 
Fields inherited from interface org.eclipse.ocl.Environment
OCL_NAMESPACE_URI, RESULT_VARIABLE_NAME, SELF_VARIABLE_NAME
 
Constructor Summary
QVTcPatternEnvironment(QVTcDomainEnvironment domainEnvironment, PatternCS patternCS)
           
 
Method Summary
 org.eclipse.ocl.ecore.Variable createVariableDeclaration(java.lang.String name, org.eclipse.emf.ecore.EClassifier type, RealizedVariableCS cstNode)
           
 QVTcDomainEnvironment getParent()
           
abstract  org.eclipse.gmt.umlx.eqvtcore.CorePattern getPattern()
           
 org.eclipse.ocl.ecore.Variable getVariable(java.lang.String name)
           
 
Methods inherited from class org.eclipse.gmt.umlx.eqvtc.cst.environment.QVTcEnvironment
getTransformation, getTransformation, toString
 
Methods inherited from class org.eclipse.gmt.umlx.eqvtc.cst.environment.QVTEnvironment
checkFeatureCompatibility, formatName, formatPath, formatString, formatType, getCSTNode, getErrorHandler, getMapping, getMetaModelClassifier, getMetaModelClassifiers, getMetaModelContents, getMetaModelContents, getUMLReflection, lookupClassifier, lookupImplicitSourceForOperation, lookUpImportedTransformation, lookupOperation, semanticError
 
Methods inherited from class org.eclipse.ocl.ecore.EcoreEnvironment
defineAttribute, defineOperation, findPackage, findPackage, getDefinition, getFactory, getOCLFactory, getOCLStandardLibrary, getStates, 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, wait, wait, wait
 

Constructor Detail

QVTcPatternEnvironment

public QVTcPatternEnvironment(QVTcDomainEnvironment domainEnvironment,
                              PatternCS patternCS)
Method Detail

createVariableDeclaration

public org.eclipse.ocl.ecore.Variable createVariableDeclaration(java.lang.String name,
                                                                org.eclipse.emf.ecore.EClassifier type,
                                                                RealizedVariableCS cstNode)

getParent

public QVTcDomainEnvironment 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 QVTcEnvironment

getPattern

public abstract org.eclipse.gmt.umlx.eqvtcore.CorePattern getPattern()

getVariable

public org.eclipse.ocl.ecore.Variable getVariable(java.lang.String name)
Overrides:
getVariable in class QVTEnvironment