Home » hibernate-entitymanager-3.3.2.GA » org.hibernate » engine » query » [javadoc | source]
    1   package org.hibernate.engine.query;
    2   
    3   import org.hibernate.type.Type;
    4   
    5   import java.io.Serializable;
    6   
    7   /**
    8    * @author <a href="mailto:steve@hibernate.org">Steve Ebersole </a>
    9    */
   10   public class NamedParameterDescriptor implements Serializable {
   11   	private final String name;
   12   	private final Type expectedType;
   13   	private final int[] sourceLocations;
   14   
   15   	public NamedParameterDescriptor(String name, Type expectedType, int[] sourceLocations) {
   16   		this.name = name;
   17   		this.expectedType = expectedType;
   18   		this.sourceLocations = sourceLocations;
   19   	}
   20   
   21   	public String getName() {
   22   		return name;
   23   	}
   24   
   25   	public Type getExpectedType() {
   26   		return expectedType;
   27   	}
   28   
   29   	public int[] getSourceLocations() {
   30   		return sourceLocations;
   31   	}
   32   }

Save This Page
Home » hibernate-entitymanager-3.3.2.GA » org.hibernate » engine » query » [javadoc | source]