public abstract class AbstractBase2ASConversion extends AbstractConversion implements Base2ASConversion
AbstractConversion.Predicate<T extends org.eclipse.emf.ecore.EObject>
completeEnvironment, environmentFactory, metamodelManager, standardLibrary
Modifier | Constructor and Description |
---|---|
protected |
AbstractBase2ASConversion(EnvironmentFactoryInternal environmentFactory) |
Modifier and Type | Method and Description |
---|---|
protected void |
addUnderspecifiedTypedElement(TypedElement pivotElement) |
void |
refreshName(NamedElement pivotNamedElement,
java.lang.String newName) |
void |
refreshNsURI(Package pivotPackage,
java.lang.String newNsURI) |
void |
setBehavioralType(TypedElement targetElement,
TypedElement sourceElement) |
void |
setClassifierContext(ExpressionInOCL pivotSpecification,
Type contextType) |
void |
setContextVariable(ExpressionInOCL pivotSpecification,
java.lang.String selfVariableName,
Type contextType,
Type contextInstance) |
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(OCLExpression pivotElement,
Type type,
boolean isRequired,
Type typeValue) |
void |
setType(TypedElement pivotElement,
Type type)
Deprecated.
|
void |
setType(TypedElement pivotElement,
Type type,
boolean isRequired) |
void |
setType(VariableDeclaration pivotElement,
Type type,
boolean isRequired,
Type typeValue) |
basicGet, getEnvironmentFactory, getEPackage, getMetamodelManager, getStandardLibrary, isId, refreshList, refreshSet
protected AbstractBase2ASConversion(@NonNull EnvironmentFactoryInternal environmentFactory)
protected void addUnderspecifiedTypedElement(@NonNull TypedElement pivotElement)
public void refreshName(@NonNull NamedElement pivotNamedElement, @Nullable java.lang.String newName)
public void refreshNsURI(Package pivotPackage, java.lang.String newNsURI)
public void setBehavioralType(@NonNull TypedElement targetElement, @NonNull TypedElement sourceElement)
public void setContextVariable(@NonNull ExpressionInOCL pivotSpecification, @NonNull java.lang.String selfVariableName, @Nullable Type contextType, @Nullable Type contextInstance)
setContextVariable
in interface Base2ASConversion
public void setClassifierContext(@NonNull ExpressionInOCL pivotSpecification, @NonNull Type contextType)
setClassifierContext
in interface Base2ASConversion
public void setOperationContext(@NonNull ExpressionInOCL pivotSpecification, @NonNull Operation contextOperation, @Nullable java.lang.String resultName)
public void setParameterVariables(@NonNull ExpressionInOCL pivotSpecification, @NonNull java.util.List<Parameter> parameters)
setParameterVariables
in interface Base2ASConversion
public void setParameterVariables(@NonNull ExpressionInOCL pivotSpecification, @NonNull java.util.Map<java.lang.String,Type> parameters)
setParameterVariables
in interface Base2ASConversion
public void setPropertyContext(@NonNull ExpressionInOCL pivotSpecification, @NonNull Property contextProperty)
public void setResultVariable(@NonNull ExpressionInOCL pivotSpecification, @NonNull Operation contextOperation, @NonNull java.lang.String resultName)
setResultVariable
in interface Base2ASConversion
@Deprecated public void setType(@NonNull TypedElement pivotElement, Type type)
public void setType(@NonNull OCLExpression pivotElement, Type type, boolean isRequired, @Nullable Type typeValue)
public void setType(@NonNull VariableDeclaration pivotElement, Type type, boolean isRequired, @Nullable Type typeValue)
public void setType(@NonNull TypedElement pivotElement, Type type, boolean isRequired)