Package org.ofbiz.base.util.collections

Examples of org.ofbiz.base.util.collections.OrderedSet


            addParam(newParam);
        }
    }

    public Set getAllParamNames() {
        Set nameList = new OrderedSet();
        Iterator i = this.contextParamList.iterator();

        while (i.hasNext()) {
            ModelParam p = (ModelParam) i.next();
            nameList.add(p.name);
        }
        return nameList;
    }
View Full Code Here


        }
        return nameList;
    }

    public Set getInParamNames() {
        Set nameList = new OrderedSet();
        Iterator i = this.contextParamList.iterator();

        while (i.hasNext()) {
            ModelParam p = (ModelParam) i.next();
            // don't include OUT parameters in this list, only IN and INOUT
            if ("OUT".equals(p.mode)) continue;
            nameList.add(p.name);
        }
        return nameList;
    }
View Full Code Here

        return count;
    }

    public Set getOutParamNames() {
        Set nameList = new OrderedSet();
        Iterator i = this.contextParamList.iterator();

        while (i.hasNext()) {
            ModelParam p = (ModelParam) i.next();
            // don't include IN parameters in this list, only OUT and INOUT
            if ("IN".equals(p.mode)) continue;
            nameList.add(p.name);
        }
        return nameList;
    }
View Full Code Here

TOP

Related Classes of org.ofbiz.base.util.collections.OrderedSet

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.