|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.modeshape.graph.query.model.Column
org.modeshape.jcr.query.qom.JcrColumn
public class JcrColumn

An implementation of JCR's Column and specialization of the Graph API's Column.
| Constructor Summary | |
|---|---|
JcrColumn(SelectorName selectorName)
Include a column for each of the single-valued, accessible properties on the node identified by the selector. |
|
JcrColumn(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 | |
|---|---|
String |
getColumnName()
|
String |
getPropertyName()
|
String |
getSelectorName()
|
Column |
with(SelectorName newSelectorName)
Create a copy of this Column except that uses the supplied selector name instead. |
| Methods inherited from class org.modeshape.graph.query.model.Column |
|---|
accept, columnName, equals, hashCode, propertyName, selectorName, toString |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public JcrColumn(SelectorName selectorName)
selectorName - the selector name
public JcrColumn(SelectorName selectorName,
String propertyName,
String columnName)
selectorName - the selector namepropertyName - the name of the propertycolumnName - the name of the column| Method Detail |
|---|
public String getSelectorName()
getSelectorName in interface ColumnColumn.getSelectorName()public String getPropertyName()
getPropertyName in interface ColumnColumn.getPropertyName()public String getColumnName()
getColumnName in interface ColumnColumn.getColumnName()public Column with(SelectorName newSelectorName)
with in class ColumnnewSelectorName - 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 | |||||||||