Clarification on constructor in Criteria