|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.jboss.dna.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. |
boolean |
equals(Object obj)
|
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()
|
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 |
|---|
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| Method Detail |
|---|
public final SelectorName getSelectorName()
public final String getPropertyName()
selectorpublic final String getColumnName()
selectorpublic String toString()
toString in class ObjectObject.toString()public int hashCode()
hashCode in class ObjectObject.hashCode()public boolean equals(Object obj)
equals in class ObjectObject.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 Visitablevisitor - the visitor; never nullVisitable.accept(org.jboss.dna.graph.query.model.Visitor)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||