Added javadoc and reemoved getType from HQLCommand