Open Source Repository

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


org/hibernate/engine/query/ReturnMetadata.java
package org.hibernate.engine.query;

import org.hibernate.type.Type;

import java.io.Serializable;

/**
 @author <a href="mailto:[email protected]">Steve Ebersole </a>
 */
public class ReturnMetadata implements Serializable {
  private final String[] returnAliases;
  private final Type[] returnTypes;

  public ReturnMetadata(String[] returnAliases, Type[] returnTypes) {
    this.returnAliases = returnAliases;
    this.returnTypes = returnTypes;
  }

  public String[] getReturnAliases() {
    return returnAliases;
  }

  public Type[] getReturnTypes() {
    return returnTypes;
  }
}