Package javax.jcr.query.qom
Interface Column
- All Known Implementing Classes:
ColumnImpl
public interface Column
Defines a column to include in the tabular view of query results.
If property 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".
- Since:
- JCR 2.0
-
Method Summary
Modifier and TypeMethodDescriptionGets the column name.Gets the name of the property.Gets the name of the selector.
-
Method Details
-
getSelectorName
String getSelectorName()Gets the name of the selector.- Returns:
- the selector name; non-null
-
getPropertyName
String getPropertyName()Gets the name of the property.- Returns:
- the property name, or null to include a column for each single-value non-residual property of the selector's node type
-
getColumnName
String getColumnName()Gets the column name.- Returns:
- the column name; must be null if
getPropertyNameis null and non-null otherwise
-