All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.samskivert.depot.impl.expression.ArgumentExp Maven / Gradle / Ivy

//
// Depot library - a Java relational persistence library
// https://github.com/threerings/depot/blob/master/LICENSE

package com.samskivert.depot.impl.expression;

import java.util.Collection;

import com.samskivert.depot.PersistentRecord;
import com.samskivert.depot.expression.FluentExp;
import com.samskivert.depot.expression.SQLExpression;

public abstract class ArgumentExp extends FluentExp
{
    protected ArgumentExp (SQLExpression... args)
    {
        _args = args;
    }

    public void addClasses (Collection> classSet)
    {
        for (SQLExpression arg : _args) {
            arg.addClasses(classSet);
        }
    }

    public SQLExpression[] getArgs ()
    {
        return _args;
    }

    protected SQLExpression[] _args;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy