Package oracle.binding.meta

Examples of oracle.binding.meta.OperationReturnDefinition


        cache.put(struct.getFullName(), struct);
        // recursive call of buildStructCache for operation results
        for (Iterator iter = struct.getOperationDefinitions().iterator(); iter.hasNext();) {
            Object obj = iter.next();
            if (obj instanceof OperationDefinition) {
                OperationReturnDefinition returnDef = ((OperationDefinition) obj).getOperationReturnType();
                if (returnDef.isAccessor()) {
                    buildStructCache(((AccessorDefinition) returnDef).getStructure(), cache);
                }
            }
        }
        // recursive call of buildStructCache for all structures in accessors
View Full Code Here


     * @see StructureDef#getOperationDefinitions
     */
    private void customizeMethodReturns(final DefinitionContainer operations) {
        for (Iterator iterator = operations.iterator(); iterator.hasNext();) {
            OperationDefinition operation = (OperationDefinition) iterator.next();
            OperationReturnDefinition returnDef = operation.getOperationReturnType();
            if (returnDef instanceof MethodReturnDef) {
                MethodReturnDef mrd = (MethodReturnDef) returnDef;
                StructureDefinition definition = mrd.getStructure();
                if (definition instanceof StructureDef) {
                    customize((StructureDef) definition);
View Full Code Here

     * Entry point to the customizer class. Applies all customizations to the supplied MethodDef
     * and all its descendants.
     * @param method
     */
    public void customize(MethodDef method) {
        OperationReturnDefinition operReturn = method.getOperationReturnType();
        if (!(operReturn instanceof MethodReturnDef)) {
            return;
        }
        final StructureDefinition structDef = ((MethodReturnDef) operReturn).getStructure();
        if (structDef instanceof StructureDef) {
View Full Code Here

TOP

Related Classes of oracle.binding.meta.OperationReturnDefinition

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.