/* * Copyright (c) 2010 Mysema Ltd. * All rights reserved. * */ package com.mysema.query; import javax.annotation.Nullable; import com.mysema.query.types.Expression; public interface Projection { @Nullable T get(Expression expr); @Nullable T get(int index, Class type); @Nullable Expression getExpr(Expression expr); @Nullable Expression getExpr(int index, Class type); Object[] toArray(); }