|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.eclipse.emf.ecore.util.EcoreUtil org.eclipse.ocl.examples.pivot.utilities.AbstractConversion org.eclipse.ocl.examples.pivot.context.AbstractBase2PivotConversion
public abstract class AbstractBase2PivotConversion
AbstractBase2PivotConversion provides the Xtext independent support for Concrete Syntax to Pivot conversion.
Nested Class Summary |
---|
Nested classes/interfaces inherited from class org.eclipse.ocl.examples.pivot.utilities.AbstractConversion |
---|
AbstractConversion.Predicate<T extends org.eclipse.emf.ecore.EObject> |
Nested classes/interfaces inherited from class org.eclipse.emf.ecore.util.EcoreUtil |
---|
org.eclipse.emf.ecore.util.EcoreUtil.AbstractFilteredSettingsIterator<E>, org.eclipse.emf.ecore.util.EcoreUtil.ContentTreeIterator<E>, org.eclipse.emf.ecore.util.EcoreUtil.Copier, org.eclipse.emf.ecore.util.EcoreUtil.CrossReferencer, org.eclipse.emf.ecore.util.EcoreUtil.EGenericTypeConverter, org.eclipse.emf.ecore.util.EcoreUtil.EqualityHelper, org.eclipse.emf.ecore.util.EcoreUtil.ExternalCrossReferencer, org.eclipse.emf.ecore.util.EcoreUtil.FilteredSettingsIterator, org.eclipse.emf.ecore.util.EcoreUtil.ProperContentIterator<E>, org.eclipse.emf.ecore.util.EcoreUtil.ProxyCrossReferencer, org.eclipse.emf.ecore.util.EcoreUtil.UnresolvedProxyCrossReferencer, org.eclipse.emf.ecore.util.EcoreUtil.UsageCrossReferencer |
Field Summary |
---|
Fields inherited from class org.eclipse.ocl.examples.pivot.utilities.AbstractConversion |
---|
metaModelManager |
Fields inherited from class org.eclipse.emf.ecore.util.EcoreUtil |
---|
GEN_MODEL_PACKAGE_NS_URI, GET, IS_SET, SET, UNSET |
Constructor Summary | |
---|---|
protected |
AbstractBase2PivotConversion(MetaModelManager metaModelManager)
|
Method Summary | |
---|---|
protected void |
addUnderspecifiedTypedElement(TypedElement pivotElement)
|
void |
refreshName(NamedElement pivotNamedElement,
java.lang.String newName)
|
protected Type |
resolveUnderspecifiedType(Type type)
|
protected void |
resolveUnderspecifiedTypes()
|
void |
setClassifierContext(ExpressionInOCL pivotSpecification,
Type contextType)
|
void |
setContextVariable(ExpressionInOCL pivotSpecification,
java.lang.String selfVariableName,
Type contextType)
|
void |
setOperationContext(ExpressionInOCL pivotSpecification,
Operation contextOperation,
java.lang.String resultName)
|
void |
setParameterVariables(ExpressionInOCL pivotSpecification,
java.util.List<Parameter> parameters)
|
void |
setParameterVariables(ExpressionInOCL pivotSpecification,
java.util.Map<java.lang.String,Type> parameters)
|
void |
setPropertyContext(ExpressionInOCL pivotSpecification,
Property contextProperty)
|
void |
setResultVariable(ExpressionInOCL pivotSpecification,
Operation contextOperation,
java.lang.String resultName)
|
void |
setType(TypedElement pivotElement,
Type type)
Set the type and so potentially satisfy some TypeOfDependency. |
void |
setTypeWithMultiplicity(TypedElement typedElement,
TypedMultiplicityElement typedMultiplicityElement)
|
Methods inherited from class org.eclipse.ocl.examples.pivot.utilities.AbstractConversion |
---|
basicGet, getEPackage, isId, refreshList, refreshSet |
Methods inherited from class org.eclipse.emf.ecore.util.EcoreUtil |
---|
computeDiagnostic, convertToString, copy, copyAll, create, createFromString, delete, delete, equals, equals, filterDescendants, freeze, generateUUID, generateUUID, getAdapter, getAdapterFactory, getAllContents, getAllContents, getAllContents, getAllContents, getAllContents, getAllProperContents, getAllProperContents, getAllProperContents, getAllProperContents, getAnnotation, getConstraints, getConversionDelegateFactory, getConversionDelegates, getDocumentation, getExistingAdapter, getID, getIdentification, getInvocationDelegateFactory, getInvocationDelegates, getObjectByType, getObjectsByType, getRegisteredAdapter, getRegisteredAdapter, getRootContainer, getRootContainer, getSettingDelegateFactory, getSettingDelegates, getURI, getValidationDelegates, indexOf, isAncestor, isAncestor, isAncestor, isAncestor, isInvariant, isSuppressedVisibility, isSuppressedVisibility, remove, remove, remove, replace, replace, replace, resolve, resolve, resolve, resolveAll, resolveAll, resolveAll, setAnnotation, setConstraints, setConversionDelegates, setDocumentation, setEList, setEList, setID, setInvocationDelegates, setSettingDelegates, setSuppressedVisibility, setSuppressedVisibility, setValidationDelegates, toJavaInstanceTypeName, wrapperClassFor |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
protected AbstractBase2PivotConversion(MetaModelManager metaModelManager)
Method Detail |
---|
protected void addUnderspecifiedTypedElement(TypedElement pivotElement)
public void refreshName(NamedElement pivotNamedElement, java.lang.String newName)
protected void resolveUnderspecifiedTypes()
protected Type resolveUnderspecifiedType(Type type)
public void setContextVariable(ExpressionInOCL pivotSpecification, java.lang.String selfVariableName, Type contextType)
setContextVariable
in interface Base2PivotConversion
public void setClassifierContext(ExpressionInOCL pivotSpecification, Type contextType)
setClassifierContext
in interface Base2PivotConversion
public void setOperationContext(ExpressionInOCL pivotSpecification, Operation contextOperation, java.lang.String resultName)
public void setParameterVariables(ExpressionInOCL pivotSpecification, java.util.List<Parameter> parameters)
setParameterVariables
in interface Base2PivotConversion
public void setParameterVariables(ExpressionInOCL pivotSpecification, java.util.Map<java.lang.String,Type> parameters)
setParameterVariables
in interface Base2PivotConversion
public void setPropertyContext(ExpressionInOCL pivotSpecification, Property contextProperty)
public void setResultVariable(ExpressionInOCL pivotSpecification, Operation contextOperation, java.lang.String resultName)
setResultVariable
in interface Base2PivotConversion
public void setType(TypedElement pivotElement, Type type)
pivotExpression
- type
- public void setTypeWithMultiplicity(TypedElement typedElement, TypedMultiplicityElement typedMultiplicityElement)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |