@Immutable public class Column extends Object implements LanguageObject, Column
| Constructor and Description |
|---|
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.
|
| Modifier and Type | Method and Description |
|---|---|
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) |
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 columnpublic final SelectorName selectorName()
public String getSelectorName()
getSelectorName in interface Columnpublic final String getPropertyName()
getPropertyName in interface Columnpublic final String getColumnName()
getColumnName in interface Columnpublic Column with(SelectorName newSelectorName)
newSelectorName - the new selector nameIllegalArgumentException - if the supplied selector name is nullCopyright © 2008-2014 JBoss, a division of Red Hat. All Rights Reserved.