public abstract class QvtEnvironmentBase extends EcoreEnvironment implements QVTOEnvironment
Modifier and Type | Class and Description |
---|---|
static class |
QvtEnvironmentBase.CollisionStatus |
Environment.Internal<PK,C,O,P,EL,PM,S,COA,SSA,CT,CLS,E>, Environment.Lookup<PK,C,O,P>, Environment.Registry
Modifier and Type | Field and Description |
---|---|
static String |
GENERATED_NAME_SPECIAL_PREFIX
Special prefix for generated identifiers
|
OCL_STANDARD_LIBRARY_NS_URI
OCL_NAMESPACE_URI, RESULT_VARIABLE_NAME, SELF_VARIABLE_NAME
defineAttribute, defineOperation, findPackage, findPackage, getDefinition, getFactory, getHiddenOppositeProperties, getOCLFactory, getOCLStandardLibrary, getOppositeEndFinder, getOppositePropertyType, getStates, isInPostcondition, lookupClassifier, lookupImplicitSourceForOppositeProperty, lookupOppositeProperty, lookupPackage, setParent, tryLookupOppositeProperty, tryLookupProperty, undefine
addElement, addHelperOperation, addHelperProperty, deleteElement, dispose, getAdapter, getAdditionalAttributes, getBodyCondition, getContextClassifier, getContextOperation, getContextPackage, getContextProperty, getDeriveConstraint, getInitConstraint, getInternalParent, getParent, getSelfVariable, getVariables, isEmpty, lookup, lookupAssociationClassReference, lookupImplicitSourceForAssociationClass, lookupImplicitSourceForSignal, lookupImplicitSourceForState, lookupLocal, lookupOperation, lookupProperty, lookupSignal, lookupState, notOK, setBodyCondition, setDeriveConstraint, setInitConstraint, setInternalParent, setSelfVariable, tryLookupAssociationClassReference, tryLookupClassifier, tryLookupOperation, tryLookupPackage, tryLookupSignal
analyzerError, analyzerError, analyzerError, analyzerWarning, clearOptions, getASTMapping, getASTNodeToCSTNodeMap, getFormatter, getOptions, getParser, getProblemHandler, getValue, initASTMapping, initASTMapping, isEnabled, lexerError, problem, putOptions, removeOption, removeOptions, setASTNodeToCSTNodeMap, setOption, setParser, setProblemHandler, utilityError, validatorError
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
lookupPropertyAlias
addElement, defineAttribute, defineOperation, deleteElement, getAdditionalAttributes, getBodyCondition, getContextClassifier, getContextOperation, getContextPackage, getContextProperty, getDefinition, getDeriveConstraint, getFactory, getInitConstraint, getOCLFactory, getOCLStandardLibrary, getParent, getSelfVariable, getStates, getVariables, isEmpty, isInPostcondition, lookup, lookupAssociationClassReference, lookupClassifier, lookupImplicitSourceForAssociationClass, lookupImplicitSourceForSignal, lookupImplicitSourceForState, lookupLocal, lookupOperation, lookupPackage, lookupProperty, lookupSignal, lookupState, setBodyCondition, setDeriveConstraint, setInitConstraint, setParent, setSelfVariable, undefine
analyzerError, analyzerError, analyzerError, analyzerWarning, getASTMapping, getFormatter, getParser, getProblemHandler, initASTMapping, lexerError, problem, setParser, setProblemHandler, utilityError, validatorError
clearOptions, getOptions, getValue, isEnabled, putOptions, removeOption, removeOptions, setOption
public static final String GENERATED_NAME_SPECIAL_PREFIX
public abstract Module getModuleContextType()
getModuleContextType
in interface QVTOEnvironment
public void addImplicitVariableForProperties(String name, Variable<EClassifier,EParameter> elem)
public Collection<Variable> getImplicitVariables()
public Variable<EClassifier,EParameter> lookupImplicitSourceForOperation(String name, List<? extends TypedElement<EClassifier>> args)
lookupImplicitSourceForOperation
in interface Environment<EPackage,EClassifier,EOperation,EStructuralFeature,EEnumLiteral,EParameter,EObject,CallOperationAction,SendSignalAction,Constraint,EClass,EObject>
lookupImplicitSourceForOperation
in class AbstractEnvironment<EPackage,EClassifier,EOperation,EStructuralFeature,EEnumLiteral,EParameter,EObject,CallOperationAction,SendSignalAction,Constraint,EClass,EObject>
public Variable<EClassifier,EParameter> tryLookupImplicitSourceForOperation(String name, List<? extends TypedElement<EClassifier>> args) throws LookupException
LookupException
public Variable<EClassifier,EParameter> lookupImplicitSourceForProperty(String name)
lookupImplicitSourceForProperty
in interface Environment<EPackage,EClassifier,EOperation,EStructuralFeature,EEnumLiteral,EParameter,EObject,CallOperationAction,SendSignalAction,Constraint,EClass,EObject>
lookupImplicitSourceForProperty
in class AbstractEnvironment<EPackage,EClassifier,EOperation,EStructuralFeature,EEnumLiteral,EParameter,EObject,CallOperationAction,SendSignalAction,Constraint,EClass,EObject>
public QVTOTypeResolver getTypeResolver()
getTypeResolver
in interface QVTOEnvironment
getTypeResolver
in interface Environment<EPackage,EClassifier,EOperation,EStructuralFeature,EEnumLiteral,EParameter,EObject,CallOperationAction,SendSignalAction,Constraint,EClass,EObject>
getTypeResolver
in class EcoreEnvironment
public QVTOStandardLibrary getQVTStandardLibrary()
getQVTStandardLibrary
in interface QVTOEnvironment
public List<EOperation> getAdditionalOperations(EClassifier classifier)
getAdditionalOperations
in interface Environment<EPackage,EClassifier,EOperation,EStructuralFeature,EEnumLiteral,EParameter,EObject,CallOperationAction,SendSignalAction,Constraint,EClass,EObject>
getAdditionalOperations
in class AbstractEnvironment<EPackage,EClassifier,EOperation,EStructuralFeature,EEnumLiteral,EParameter,EObject,CallOperationAction,SendSignalAction,Constraint,EClass,EObject>
public UMLReflection<EPackage,EClassifier,EOperation,EStructuralFeature,EEnumLiteral,EParameter,EObject,CallOperationAction,SendSignalAction,Constraint> getUMLReflection()
getUMLReflection
in interface Environment<EPackage,EClassifier,EOperation,EStructuralFeature,EEnumLiteral,EParameter,EObject,CallOperationAction,SendSignalAction,Constraint,EClass,EObject>
getUMLReflection
in class EcoreEnvironment
public void close()
close
in interface QVTOEnvironment
public final void addImport(ImportKind kind, QvtEnvironmentBase importedEnv)
public final List<QvtEnvironmentBase> getImportsByAccess()
public List<QvtEnvironmentBase> getAllExtendedModules()
public final List<QvtEnvironmentBase> getImportsByExtends()
public String generateTemporaryName()
public boolean isTemporaryElement(String name)
public void parserError(int errorCode, int leftToken, int rightToken, String tokenText)
parserError
in interface BasicEnvironment
parserError
in class AbstractBasicEnvironment
Copyright © 2008, 2018 Borland Software Corporation and others. All Rights Reserved.