Examples of InOutDefinition


Examples of org.apache.camel.model.InOutDefinition

    }

    @SuppressWarnings("rawtypes")
    @Override
    public ProcessorDefinition createCamelDefinition() {
        InOutDefinition answer = new InOutDefinition();

        answer.setUri(toXmlPropertyValue(PROPERTY_URI, this.getUri()));

        super.savePropertiesToCamelDefinition(answer);
        return answer;
    }
View Full Code Here

Examples of org.apache.camel.model.InOutDefinition

    @Override
    protected void loadPropertiesFromCamelDefinition(ProcessorDefinition processor) {
        super.loadPropertiesFromCamelDefinition(processor);

        if (processor instanceof InOutDefinition) {
            InOutDefinition node = (InOutDefinition) processor;

            this.setUri(node.getUri());
        } else {
            throw new IllegalArgumentException("ProcessorDefinition not an instanceof InOutDefinition. Was " + processor.getClass().getName());
        }
    }
View Full Code Here

Examples of org.jooq.util.InOutDefinition

            // It's much more reliable, than mysql.proc pattern matching...

            param = param.trim();
            matcher = PARAMETER_PATTERN.matcher(param);
            while (matcher.find()) {
                InOutDefinition inOut = InOutDefinition.getFromString(matcher.group(2));
                addParameter(inOut, createParameter(matcher, 3, i + 1));
            }
        }
    }
View Full Code Here

Examples of org.jooq.util.InOutDefinition

            String paramName = record.getValue(SYSPROCPARM.PARM_NAME);
            Boolean paramModeIn = record.getValueAsBoolean(SYSPROCPARM.PARM_MODE_IN, false);
            Boolean paramModeOut = record.getValueAsBoolean(SYSPROCPARM.PARM_MODE_OUT, false);
            int parmType = record.getValue(SYSPROCPARM.PARM_TYPE);

            InOutDefinition inOutDefinition;
            if (parmType == 4) {
                inOutDefinition = InOutDefinition.RETURN;
                paramName = "RETURN_VALUE";
            }
            else if (paramModeIn && paramModeOut) {
View Full Code Here

Examples of org.jooq.util.InOutDefinition

            // single data type entry that does not mean anything...?
            .and(ALL_ARGUMENTS.DATA_TYPE.isNotNull())
            .orderBy(ALL_ARGUMENTS.POSITION.asc()).fetch();

      for (Record record : result) {
          InOutDefinition inOut =
                InOutDefinition.getFromString(record.getValue(ALL_ARGUMENTS.IN_OUT));

            DataTypeDefinition type = new DefaultDataTypeDefinition(
                getDatabase(),
                getSchema(),
View Full Code Here

Examples of org.jooq.util.InOutDefinition

            // It's much more reliable, than mysql.proc pattern matching...

            param = param.trim();
            matcher = PARAMETER_PATTERN.matcher(param);
            while (matcher.find()) {
                InOutDefinition inOut = InOutDefinition.getFromString(matcher.group(2));
                addParameter(inOut, createParameter(matcher, 3, i + 1));
            }
        }
    }
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.