public class PivotHelper extends Object
Constructor and Description |
---|
PivotHelper(EnvironmentFactory environmentFactory) |
public PivotHelper(EnvironmentFactory environmentFactory)
public BooleanLiteralExp createBooleanLiteralExp(boolean booleanSymbol)
public OCLExpression createCoercionCallExp(OCLExpression asExpression, Operation coercion)
public CollectionItem createCollectionItem(OCLExpression asItem)
public CollectionLiteralExp createCollectionLiteralExp(CollectionType asType, Iterable<CollectionLiteralPart> asParts)
public CollectionRange createCollectionRange(OCLExpression asFirst, OCLExpression asLast)
public IfExp createIfExp(OCLExpression asCondition, OCLExpression asThen, OCLExpression asElse)
public IntegerLiteralExp createIntegerLiteralExp(Number integerSymbol)
public InvalidLiteralExp createInvalidExpression()
public IterateExp createIterateExp(OCLExpression asSource, Iteration asIteration, List<? extends Variable> asIterators, Variable asResult, OCLExpression asBody)
public IteratorExp createIteratorExp(OCLExpression asSource, Iteration asIteration, List<? extends Variable> asIterators, OCLExpression asBody)
public IteratorVariable createIteratorVariable(String name, Type asType, boolean isRequired)
public LetExp createLetExp(Variable asVariable, OCLExpression asInExpression)
public LetVariable createLetVariable(String name, OCLExpression asInitExpression)
public LetVariable createLetVariable(String name, Type asType, boolean isRequired)
public LetVariable createLetVariable(String name, Type asType, boolean isRequired, OCLExpression asInitExpression)
public OCLExpression createMapLiteralExp(MapType asType, Iterable<MapLiteralPart> asParts)
public MapLiteralPart createMapLiteralPart(OCLExpression asKey, OCLExpression asValue)
public NavigationCallExp createNavigationCallExp(OCLExpression asSourceExpression, Property asProperty)
public NullLiteralExp createNullLiteralExp()
public OperationCallExp createOperationCallExp(OCLExpression asSourceExpression, String opName, OCLExpression... asArguments)
public OperationCallExp createOperationCallExp(OCLExpression asSourceExpression, Operation asOperation, List<OCLExpression> asArguments)
public Parameter createParameter(TypedElement typedElement)
public ParameterVariable createParameterVariable(String name, Type asType, boolean isRequired)
public RealLiteralExp createRealLiteralExp(Number realSymbol)
public ResultVariable createResultVariable(String name, Type asType, boolean isRequired, OCLExpression asInitExpression)
public OCLExpression createShadowExp(Class asClass, Iterable<ShadowPart> asParts)
public ShadowPart createShadowPart(Property asProperty, OCLExpression asValue)
public StringLiteralExp createStringLiteralExp(String stringSymbol)
public TupleLiteralExp createTupleLiteralExp(TupleType asType, Iterable<TupleLiteralPart> asParts)
public TupleLiteralPart createTupleLiteralPart(String name, Type asType, boolean isRequired, OCLExpression asValue)
public UnlimitedNaturalLiteralExp createUnlimitedNaturalLiteralExp(Number unlimitedNaturalSymbol)
@Deprecated public Variable createVariable(String name, OCLExpression asInitExpression)
@Deprecated public Variable createVariable(String name, Type asType, boolean isRequired, OCLExpression asInitExpression)
@Deprecated public Variable createVariable(TypedElement typedElement)
public VariableExp createVariableExp(VariableDeclaration asVariable)
public Class getDataTypeClass()
public Property getDataTypeValueProperty()
public EnvironmentFactory getEnvironmentFactory()
public StandardLibrary getStandardLibrary()
public <T extends EObject> void refreshList(List<? super T> oldElements, List<? extends T> newElements)
public void refreshName(NamedElement pivotNamedElement, String newName)
public void rewriteSafeNavigations(Element asTree)
public void setBehavioralType(TypedElement targetElement, TypedElement sourceElement)
public void setContextVariable(ExpressionInOCL pivotSpecification, String selfVariableName, Type contextType, Type contextInstance)
public void setOperationReturnType(CallExp asCallExp, Operation asOperation)
public void setType(OCLExpression asExpression, Type type, boolean isRequired, Type typeValue)
public void setType(VariableDeclaration asVariable, Type type, boolean isRequired, Type typeValue)
public void setType(TypedElement asTypedElement, Type type, boolean isRequired)
Copyright © 2005, 2018 IBM Corporation and others. All Rights Reserved.