Class ColumnImpl
- java.lang.Object
-
- org.apache.jackrabbit.spi.commons.query.qom.AbstractQOMNode
-
- org.apache.jackrabbit.spi.commons.query.qom.ColumnImpl
-
- All Implemented Interfaces:
Column
public class ColumnImpl extends AbstractQOMNode implements Column
ColumnImpl
...
-
-
Field Summary
Fields Modifier and Type Field Description static ColumnImpl[]
EMPTY_ARRAY
EmptyColumnImpl
array.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.Object
accept(QOMTreeVisitor visitor, java.lang.Object data)
Accepts avisitor
and calls the appropriate visit method depending on the type of this QOM node.java.lang.String
getColumnName()
Gets the column name.java.lang.String
getPropertyName()
Gets the name of the property.Name
getPropertyQName()
Gets the name of the property.java.lang.String
getSelectorName()
Gets the name of the selector.Name
getSelectorQName()
Gets the name of the selector.java.lang.String
toString()
-
-
-
Field Detail
-
EMPTY_ARRAY
public static final ColumnImpl[] EMPTY_ARRAY
EmptyColumnImpl
array.
-
-
Method Detail
-
getSelectorQName
public Name getSelectorQName()
Gets the name of the selector.- Returns:
- the selector name; non-null
-
getPropertyQName
public Name getPropertyQName()
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
-
getSelectorName
public java.lang.String getSelectorName()
Gets the name of the selector.- Specified by:
getSelectorName
in interfaceColumn
- Returns:
- the selector name; non-null
-
getPropertyName
public java.lang.String getPropertyName()
Gets the name of the property.- Specified by:
getPropertyName
in interfaceColumn
- Returns:
- the property name, or null to include a column for each single-value non-residual property of the selector's node type
-
getColumnName
public java.lang.String getColumnName()
Gets the column name.- Specified by:
getColumnName
in interfaceColumn
- Returns:
- the column name; must be null if
getPropertyName
is null and non-null otherwise
-
accept
public java.lang.Object accept(QOMTreeVisitor visitor, java.lang.Object data) throws java.lang.Exception
Accepts avisitor
and calls the appropriate visit method depending on the type of this QOM node.- Specified by:
accept
in classAbstractQOMNode
- Parameters:
visitor
- the visitor.data
- user defined data, which is passed to the visit method.- Throws:
java.lang.Exception
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-