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 thenodeType
attribute ofselector
.If
property
is specified,columnName
is required and used to name the column in the tabular results. Ifproperty
is not specified,columnName
must 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.String
getColumnName()
Gets the column name.java.lang.String
getPropertyName()
Gets the name of the property.java.lang.String
getSelectorName()
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
getPropertyName
is null and non-null otherwise
-
-