Package oracle.adf.view.rich.model

Examples of oracle.adf.view.rich.model.Criterion


            throw new UnsupportedOperationException("ConjunctionCriterionImpl.addCriterion can only add an AttributeCriterion.");
        }
        final AttributeCriterion attrCrit = (AttributeCriterion) criterion;
        boolean found = false;
        for (int i = 0; i < criteria.size(); i++) {
            final Criterion iterCrit = criteria.get(i);
            if (!(iterCrit instanceof AttributeCriterion)) {
                continue;
            }
            final AttributeCriterion iterAttrCrit = (AttributeCriterion) iterCrit;
            if (found && !iterAttrCrit.getAttribute().equals(attrCrit.getAttribute())) {
View Full Code Here


    public void reset() {
        conjunction = ConjunctionCriterion.Conjunction.OR;
        final Iterator<Criterion> iterator = criteria.iterator();
        while (iterator.hasNext()) {
            final Criterion crit = iterator.next();
            if (crit instanceof AttributeCriterion) {
                final AttributeCriterion ac = (AttributeCriterion) crit;
                if (ac.isRemovable()) {
                    iterator.remove();
                } else {
View Full Code Here

    }

    protected List<Criterion> createCriteria(final TableModelImpl tableModel) {
        final List<Criterion> retval = new ArrayList<Criterion>();
        for (AttributeDescriptor attr : tableModel.getAttributes()) {
            final Criterion crit = createCriterion(attr);
            if (crit != null) {
                retval.add(crit);
            }
        }
        return retval;
View Full Code Here

TOP

Related Classes of oracle.adf.view.rich.model.Criterion

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.