|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.xcmis.search.model.column.Column
public class Column
| Nested Class Summary | |
|---|---|
static interface |
Column.ColumnFunction
Basic interface for column operations. |
static class |
Column.ScoreFunction
This is a predicate function that encapsulates the full-text search capability that MAY be provided by a service. |
| Constructor Summary | |
|---|---|
Column(Column.ColumnFunction columnFunction,
String columnName)
|
|
Column(SelectorName selectorName)
Include a column for each of the single-valued, accessible properties on the node identified by the selector. |
|
Column(SelectorName selectorName,
String propertyName,
String columnName)
A column with the given name representing the named property on the node identified by the selector. |
|
| Method Summary | |
|---|---|
void |
accept(QueryObjectModelVisitor visitor)
Accepts a visitor and calls the appropriate visit method
depending on the type of this QOM node. |
boolean |
equals(Object obj)
|
Column.ColumnFunction |
getColumnFunction()
|
String |
getColumnName()
Get the name of the column. |
String |
getPropertyName()
Get the name of the property that this column represents. |
SelectorName |
getSelectorName()
Get the name of the selector for the node. |
int |
hashCode()
|
boolean |
isFunction()
|
String |
toString()
|
Column |
with(SelectorName newSelectorName)
Create a copy of this Column except that uses the supplied selector name instead. |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Column(SelectorName selectorName)
selectorName - the selector name
public Column(SelectorName selectorName,
String propertyName,
String columnName)
selectorName - the selector namepropertyName - the name of the propertycolumnName - the name of the column
public Column(Column.ColumnFunction columnFunction,
String columnName)
| Method Detail |
|---|
public void accept(QueryObjectModelVisitor visitor)
throws VisitException
QueryElementvisitor and calls the appropriate visit method
depending on the type of this QOM node.
accept in interface QueryElementvisitor - the visitor.
VisitExceptionQueryElement.accept(org.xcmis.search.QueryObjectModelVisitor)public boolean equals(Object obj)
equals in class ObjectObject.equals(java.lang.Object)public final String getColumnName()
selectorpublic final String getPropertyName()
selectorpublic final boolean isFunction()
public Column.ColumnFunction getColumnFunction()
public final SelectorName getSelectorName()
public String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class ObjectObject.hashCode()public Column with(SelectorName newSelectorName)
newSelectorName - the new selector name
IllegalArgumentException - if the supplied selector name is null
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||