org.eclipse.gmt.umlx.eqvtr.cst.environment
Class QVTrEnvironment
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.cst.environment.CSTEnvironment
org.eclipse.gmt.umlx.eqvt.cst.environment.QVTEnvironment
org.eclipse.gmt.umlx.eqvtr.cst.environment.QVTrEnvironment
- 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:
- QVTrDomainEnvironment, QVTrExpressionEnvironment, QVTrNestedEnvironment, QVTrQueryEnvironment, QVTrRelationEnvironment, QVTrTopLevelEnvironment, QVTrTransformationEnvironment, QVTrTypeEnvironment
public abstract class QVTrEnvironment
- extends QVTEnvironment
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 |
Method Summary |
org.eclipse.ocl.ecore.Variable |
createVariableDeclaration(IdentifierCS identifierCS,
org.eclipse.emf.ecore.EClassifier type)
|
java.util.List<org.eclipse.gmt.umlx.eqvtbase.Function> |
findMatchingQueries(org.eclipse.gmt.umlx.eqvtrelation.RelationalTransformation transformation,
java.lang.String queryName,
java.util.List<org.eclipse.ocl.ecore.OCLExpression> args)
|
org.eclipse.gmt.umlx.eqvtbase.Function |
findMatchingQuery(org.eclipse.gmt.umlx.eqvtrelation.RelationalTransformation transformation,
java.lang.String name,
java.util.List<org.eclipse.gmt.umlx.eqvtbase.FunctionParameter> parameters)
|
QVTrEnvironment |
getParent()
|
java.util.List<org.eclipse.gmt.umlx.eqvtbase.Function> |
getQueries(java.lang.String queryName,
java.util.List<org.eclipse.ocl.ecore.OCLExpression> args)
|
org.eclipse.gmt.umlx.eqvtrelation.Relation |
getRelation(java.util.List<java.lang.String> pathName,
java.lang.String name)
|
org.eclipse.gmt.umlx.eqvtrelation.RelationalTransformation |
getRelationalTransformation()
|
org.eclipse.gmt.umlx.eqvtrelation.RelationalTransformation |
getRelationalTransformation(java.util.List<java.lang.String> pathName)
|
java.lang.String |
toString()
|
Methods inherited from class org.eclipse.gmt.umlx.eqvt.cst.environment.QVTEnvironment |
checkFeatureCompatibility, getMapping, getMetaModelClassifier, getMetaModelClassifiers, getMetaModelContents, getMetaModelContents, getTypeResolver, getVariable, isAssignableTo, lookupClassifier, lookupImplicitSourceForOperation, lookupImportedTransformation, lookupOperation |
Methods inherited from class org.eclipse.gmt.umlx.cst.environment.CSTEnvironment |
formatName, formatPath, formatString, formatType, getCSTNode, getErrorHandler, getUMLReflection, semanticError |
Methods inherited from class org.eclipse.ocl.ecore.EcoreEnvironment |
defineAttribute, defineOperation, findPackage, findPackage, getDefinition, getFactory, getOCLFactory, getOCLStandardLibrary, getStates, 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 |
createVariableDeclaration
public org.eclipse.ocl.ecore.Variable createVariableDeclaration(IdentifierCS identifierCS,
org.eclipse.emf.ecore.EClassifier type)
findMatchingQueries
public java.util.List<org.eclipse.gmt.umlx.eqvtbase.Function> findMatchingQueries(org.eclipse.gmt.umlx.eqvtrelation.RelationalTransformation transformation,
java.lang.String queryName,
java.util.List<org.eclipse.ocl.ecore.OCLExpression> args)
findMatchingQuery
public org.eclipse.gmt.umlx.eqvtbase.Function findMatchingQuery(org.eclipse.gmt.umlx.eqvtrelation.RelationalTransformation transformation,
java.lang.String name,
java.util.List<org.eclipse.gmt.umlx.eqvtbase.FunctionParameter> parameters)
getParent
public QVTrEnvironment 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 QVTEnvironment
getQueries
public java.util.List<org.eclipse.gmt.umlx.eqvtbase.Function> getQueries(java.lang.String queryName,
java.util.List<org.eclipse.ocl.ecore.OCLExpression> args)
getRelation
public org.eclipse.gmt.umlx.eqvtrelation.Relation getRelation(java.util.List<java.lang.String> pathName,
java.lang.String name)
getRelationalTransformation
public org.eclipse.gmt.umlx.eqvtrelation.RelationalTransformation getRelationalTransformation()
getRelationalTransformation
public org.eclipse.gmt.umlx.eqvtrelation.RelationalTransformation getRelationalTransformation(java.util.List<java.lang.String> pathName)
toString
public java.lang.String toString()
- Overrides:
toString
in class java.lang.Object