The type attribute will define the Java type that the persistence layer will receive as a parameter in the query.
type (attribute of property)