Package org.andromda.translation.ocl.node

Examples of org.andromda.translation.ocl.node.ARelationalExpression


     * @return the left and right parenthesis in [0] and [1] of the String[]
     */
    public static String[] getLeftAndRightExpressions(PRelationalExpression relationalExpression)
    {
        String[] expressions = new String[2];
        ARelationalExpression expression = (ARelationalExpression)relationalExpression;

        // set the left expression
        expressions[0] = TranslationUtils.trimToEmpty(expression.getAdditiveExpression());

        ARelationalExpressionTail expressionTail = (ARelationalExpressionTail)expression.getRelationalExpressionTail();

        // set the right expression
        expressions[1] = TranslationUtils.trimToEmpty(expressionTail.getAdditiveExpression());

        return expressions;
View Full Code Here

TOP

Related Classes of org.andromda.translation.ocl.node.ARelationalExpression

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.