Package javax.jcr.query.qom
Interface Column
-
- All Known Implementing Classes:
ColumnImpl
public interface ColumnDefines a column to include in the tabular view of query results.If
propertyis not specified, a column is included for each single-valued non-residual property of the node type specified by thenodeTypeattribute ofselector.If
propertyis specified,columnNameis required and used to name the column in the tabular results. Ifpropertyis not specified,columnNamemust not be specified, and the included columns will be named "selector.propertyName".- Since:
- JCR 2.0
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.StringgetColumnName()Gets the column name.java.lang.StringgetPropertyName()Gets the name of the property.java.lang.StringgetSelectorName()Gets the name of the selector.
-
-
-
Method Detail
-
getSelectorName
java.lang.String getSelectorName()
Gets the name of the selector.- Returns:
- the selector name; non-null
-
getPropertyName
java.lang.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
java.lang.String getColumnName()
Gets the column name.- Returns:
- the column name; must be null if
getPropertyNameis null and non-null otherwise
-
-