|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.modeshape.jcr.query.model.Column
@Immutable public class Column
Constructor Summary | |
---|---|
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(Visitor visitor)
Accept the supplied visitor, which should call back to the visitor to complete the double-dispatch operation. |
boolean |
equals(Object obj)
|
String |
getColumnName()
|
String |
getPropertyName()
|
String |
getSelectorName()
|
int |
hashCode()
|
SelectorName |
selectorName()
Get the name of the selector for the node. |
String |
toString()
|
Column |
with(SelectorName newSelectorName)
Create a copy of this Column except that uses the supplied selector name instead. |
Column |
withColumnName(String columnName)
|
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Constructor Detail |
---|
public Column(SelectorName selectorName)
selectorName
- the selector namepublic Column(SelectorName selectorName, String propertyName, String columnName)
selectorName
- the selector namepropertyName
- the name of the propertycolumnName
- the name of the columnMethod Detail |
---|
public final SelectorName selectorName()
public String getSelectorName()
getSelectorName
in interface Column
public final String getPropertyName()
getPropertyName
in interface Column
public final String getColumnName()
getColumnName
in interface Column
public String toString()
toString
in class Object
public int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public Column with(SelectorName newSelectorName)
newSelectorName
- the new selector name
IllegalArgumentException
- if the supplied selector name is nullpublic Column withColumnName(String columnName)
public void accept(Visitor visitor)
Visitable
accept
in interface Visitable
visitor
- the visitor; never null
|
ModeShape Distribution 3.0.0.Beta4 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |