Package org.apache.torque

Examples of org.apache.torque.ColumnImpl


     * @param column String name of column.
     * @return A String with the value of object at key.
     */
    public String getString(String table, String column)
    {
        return getString(new ColumnImpl(table, column));
    }
View Full Code Here


     * @param column String name of column.
     * @return A List with the value of object at key.
     */
    public List<Object> getList(String table, String column)
    {
        return getList(new ColumnImpl(table, column));
    }
View Full Code Here

     * @param column String name of column.
     * @return An Object with the value of object at key.
     */
    public Object getValue(String table, String column)
    {
        return getValue(new ColumnImpl(table, column));
    }
View Full Code Here

     * @param column String name of column.
     * @return A String with the value of object at key.
     */
    public ObjectKey getObjectKey(String table, String column)
    {
        return getObjectKey(new ColumnImpl(table, column));
    }
View Full Code Here

     *
     * @return A modified Criteria object.
     */
    public Criteria add(String column, Object value, SqlEnum comparison)
    {
        Column columnImpl = new ColumnImpl(column);
        criterionMap.put(
                columnImpl,
                new Criterion(columnImpl, value, comparison));
        return this;
    }
View Full Code Here

    public Criteria add(String table,
            String column,
            Object value,
            SqlEnum comparison)
    {
        Column columnImpl = new ColumnImpl(table, column);
        criterionMap.put(columnImpl,
                new Criterion(columnImpl, value, comparison));
        return this;
    }
View Full Code Here

     * @return A modified Criteria object.
     */
    public Criteria addJoin(String left, String right, JoinType operator)
    {
        joins.add(new Join(
                new ColumnImpl(left),
                new ColumnImpl(right),
                Criteria.EQUAL,
                operator));

        return this;
    }
View Full Code Here

     * @param column A String with the name of the select column.
     * @return A modified Criteria object.
     */
    public Criteria addSelectColumn(String column)
    {
        selectColumns.add(new ColumnImpl(column));
        return this;
    }
View Full Code Here

     * @param groupBy The name of the column to group by.
     * @return A modified Criteria object.
     */
    public Criteria addGroupByColumn(String groupBy)
    {
        groupByColumns.add(new ColumnImpl(groupBy));
        return this;
    }
View Full Code Here

     * @return A modified Criteria object.
     */
    public Criteria addAscendingOrderByColumn(String column)
    {
        orderByColumns.add(
                new OrderBy(new ColumnImpl(column), SqlEnum.ASC, false));
        return this;
    }
View Full Code Here

TOP

Related Classes of org.apache.torque.ColumnImpl

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.