Examples of FromOverride


Examples of com.samskivert.depot.clause.FromOverride

    protected Integer assignStringCode (final Stat.Type type, final String value)
    {
        for (int ii = 0; ii < 10; ii++) {
            MaxStatCodeRecord maxRecord = load(
                MaxStatCodeRecord.class,
                new FromOverride(StringCodeRecord.class),
                new FieldDefinition(MaxStatCodeRecord.MAX_CODE, Funcs.max(StringCodeRecord.CODE)),
                new Where(StringCodeRecord.STAT_CODE, type.code()));

            int code = maxRecord != null ? maxRecord.maxCode + 1 : 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.