Open Source Repository

Home /hibernate/hibernate-3.2.6.ga | Repository Home


org/hibernate/hql/ast/tree/ExpectedTypeAwareNode.java
package org.hibernate.hql.ast.tree;

import org.hibernate.type.Type;

/**
 * Interface for nodes which wish to be made aware of any determined "expected
 * type" based on the context within they appear in the query.
 *
 @author Steve Ebersole
 */
public interface ExpectedTypeAwareNode {
  public void setExpectedType(Type expectedType);
  public Type getExpectedType();
}