|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object org.modeshape.graph.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. |
String |
columnName()
Get the name of the column. |
boolean |
equals(Object obj)
|
int |
hashCode()
|
String |
propertyName()
Get the name of the property that this column represents. |
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. |
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 final String propertyName()
selector
public final String columnName()
selector
public String toString()
toString
in class Object
Object.toString()
public int hashCode()
hashCode
in class Object
Object.hashCode()
public boolean equals(Object obj)
equals
in class Object
Object.equals(java.lang.Object)
public Column with(SelectorName newSelectorName)
newSelectorName
- the new selector name
IllegalArgumentException
- if the supplied selector name is nullpublic void accept(Visitor visitor)
accept
in interface Visitable
visitor
- the visitor; never nullVisitable.accept(org.modeshape.graph.query.model.Visitor)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |