/** * Adds an order specification to this query node. * * @param property the name of the property. * @param ascending if <code>true</code> values of this properties are * ordered ascending; descending if <code>false</code>. * @deprecated use {@link #addOrderSpec(Path , boolean)} instead. */ public void addOrderSpec(Name property, boolean ascending) { addOrderSpec(createPath(property), ascending); }
/** * Adds an order specification to this query node. * * @param property the name of the property. * @param ascending if <code>true</code> values of this properties are * ordered ascending; descending if <code>false</code>. * @deprecated use {@link #addOrderSpec(Path , boolean)} instead. */ public void addOrderSpec(Name property, boolean ascending) { addOrderSpec(createPath(property), ascending); }