* @package phpcr
* @subpackage query
*/
interface Row
{
/**
* Returns an array of all the values in the same order as the property names
* (column names) returned by {@link QueryResult#getPropertyNames()}.
*
* @return a Value
array.
* @throws RepositoryException if an error occurs
*/
public function getValues();
/**
* Returns the value of the indicated property in this Row
.
*
propertyName
is not among the column names of the query result
* table, an ItemNotFoundException
is thrown.
*
* @return a Value
* @throws ItemNotFoundException if propertyName
s not among the
* column names of the query result table
* @throws RepositoryException if anopther error occurs.
*/
public function getValue( $propertyName );
}
?>