@Override protected OCLFactory createOCLFactory( Environment<PK, C, O, P, EL, PM, S, COA, SSA, CT, CLS, E> env) { history = env.getFactory().createOCLFactoryWithHistory(env); return history; }
/** * Delegates to my decorated visitor. */ public Object visitAssociationClassCallExp( AssociationClassCallExp<C, P> callExp) { return getDelegate().visitAssociationClassCallExp(callExp); }
/** * Delegates to my decorated visitor. */ public Object visitEnumLiteralExp(EnumLiteralExp<C, EL> literalExp) { return getDelegate().visitEnumLiteralExp(literalExp); }
/** * I dispose my type resolver, if it is an {@link AbstractTypeResolver} * and I am the root environment (which owns the resolver). * * @since 1.2 */ public void dispose() { if ((getInternalParent() == null) && (getTypeResolver() instanceof AbstractTypeResolver<?, ?, ?, ?, ?>)) { ((AbstractTypeResolver<?, ?, ?, ?, ?>) getTypeResolver()).dispose(); } }
/** * Delegates to my decorated visitor. */ public Object visitMessageExp(MessageExp<C, COA, SSA> messageExp) { return getDelegate().visitMessageExp(messageExp); }
/** * Delegates to my decorated visitor. */ public Object visitTypeExp(TypeExp<C> typeExp) { return getDelegate().visitTypeExp(typeExp); }
public P getContextProperty() { if (contextProperty != null) { return contextProperty; } else if (getInternalParent() != null) { return getInternalParent().getContextProperty(); } return null; }
@Override protected TupleType<O, P> resolveTupleType( EList<? extends TypedElement<C>> parts) { return getTypeResolver().resolveTupleType(parts); } };
/** * Obtains my delegate's evaluation environment. */ public EvaluationEnvironment<C, O, P, CLS, E> getEvaluationEnvironment() { return getDelegate().getEvaluationEnvironment(); }
/** * Delegates to my decorated visitor. */ public Object visitConstraint(CT constraint) { return getDelegate().visitConstraint(constraint); }
/** * Delegates to my decorated visitor. */ public Object visitCollectionRange(CollectionRange<C> range) { return getDelegate().visitCollectionRange(range); }
/** * Delegates to my decorated visitor. */ public Object visitIntegerLiteralExp(IntegerLiteralExp<C> literalExp) { return getDelegate().visitIntegerLiteralExp(literalExp); }
/** * Delegates to my decorated visitor. */ public Object visitOperationCallExp(OperationCallExp<C, O> callExp) { return getDelegate().visitOperationCallExp(callExp); }
/** * Delegates to my decorated visitor. */ public Object visitStringLiteralExp(StringLiteralExp<C> literalExp) { return getDelegate().visitStringLiteralExp(literalExp); }
/** * Delegates to my decorated visitor. */ public Object visitTupleLiteralExp(TupleLiteralExp<C, P> literalExp) { return getDelegate().visitTupleLiteralExp(literalExp); }
/** * Delegates to my decorated visitor. */ public Object visitVariable(Variable<C, PM> variable) { return getDelegate().visitVariable(variable); }
/** * Obtains my delegate's environment. */ public Environment<PK, C, O, P, EL, PM, S, COA, SSA, CT, CLS, E> getEnvironment() { return getDelegate().getEnvironment(); }
/** * Delegates to my decorated visitor. */ public Object visitPropertyCallExp(PropertyCallExp<C, P> callExp) { return getDelegate().visitPropertyCallExp(callExp); }
/** * Delegates to my decorated visitor. */ public Object visitVariableExp(VariableExp<C, PM> variableExp) { return getDelegate().visitVariableExp(variableExp); } }
/** * Delegates to my decorated visitor. */ public Object visitMessageExp(MessageExp<C, COA, SSA> messageExp) { return getDelegate().visitMessageExp(messageExp); }