|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Column
Defines a column to include in the tabular view of query results.
Ifproperty
is not specified, a column is included
for each single-valued non-residual property of the node type specified by
the nodeType
attribute of selector
.
If property
is specified,
columnName
is required and used to name the column
in the tabular results. If property
is not
specified, columnName
must not be specified, and
the included columns will be named
"selector
.propertyName".
The query is invalid if:
selector
is not the name of a selector in the
query, orproperty
is specified but it not a a
syntactically valid JCR name, orproperty
is specified but does not evaluate to
a scalar value, orproperty
is specified but
columnName
is omitted, orproperty
is omitted but
columnName
is specified, orcolumnName
(if
property
is specified) or generated as
described above (if property
is omitted).property
is specified but, for a node-tuple, the
selector node does not have a property named property
,
the query is valid and the column has null value.
Method Summary | |
---|---|
String |
getColumnName()
Gets the column name. |
String |
getPropertyName()
Gets the name of the property. |
String |
getSelectorName()
Gets the name of the selector. |
Method Detail |
---|
String getSelectorName()
String getPropertyName()
String getColumnName()
getPropertyName
is null and non-null
otherwise
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |