Examples of ValueCollection


Examples of org.foray.fotree.value.ValueCollection

     * @param fobj The FO for which this value is needed.
     * @return The value of this property.
     */
    private org.axsl.common.value.BorderStyle getCollectionValue(
            final FoContext context, final Compass direction, final FObj fobj) {
        final ValueCollection collection = (ValueCollection) value();
        final int whichElement = PropertyCollection.whichElementForDirectional(
                direction, collection.getCount());
        final PropertyValue insideValue = collection.getItem(whichElement);
        final DtBorderStyle borderStyleProperty = (DtBorderStyle)
                insideValue;
        return borderStyleProperty.getValue();
    }
View Full Code Here

Examples of org.foray.fotree.value.ValueCollection

        }
        final StringTokenizer st = new StringTokenizer(value);
        if (st.countTokens() < 1) {
            throw unexpectedValue(value, fobj);
        }
        final ValueCollection collection = new ValueCollection();
        while (st.hasMoreTokens()) {
            final String token = st.nextToken();
            pv = DtName.makeNameDT(token);
            if (pv == null) {
                throw unexpectedValue(value, fobj);
            }
            collection.addItem(pv);
        }
        return collection;
    }
View Full Code Here

Examples of org.foray.fotree.value.ValueCollection

     * @return The value of this property if it is a collection of names, or
     * null otherwise.
     */
    public String[] getValueNames() {
        if (value() instanceof ValueCollection) {
            final ValueCollection vc = (ValueCollection) value();
            return vc.toStringArray();
        }
        throw this.unexpectedRetrieval();
    }
View Full Code Here

Examples of org.gdbms.engine.values.ValueCollection

                for (int j = 0; j < values.length; j++) {
                    values[j] = expressions[j].evaluate(i);
                }
            }

            ValueCollection vc = ValueFactory.createValue(values);

            if (!h.contains(vc)) {
                idx[index] = i;
                index++;
                h.add(vc);
View Full Code Here

Examples of org.gdbms.engine.values.ValueCollection

        if (original.get((int)row)){
            /*
             * Avoid store two times an UpdateEditionInfo object
             */
            if (ei instanceof NoEditionInfo) {
                ValueCollection pk = ((NoEditionInfo) ei).getPk();

                UpdateEditionInfo uei = new UpdateEditionInfo(tableName,getDS().getPKNames(),
                        getDS(), driver, (int) index, pk, internalBuffer);
                info.set((int) row, uei);
            }
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.