|
||||||||||
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 namepublic JcrColumn(SelectorName selectorName, String propertyName, String columnName)
selectorName
- the selector namepropertyName
- the name of the propertycolumnName
- the name of the columnMethod Detail |
---|
public String getSelectorName()
getSelectorName
in interface Column
Column.getSelectorName()
public String getPropertyName()
getPropertyName
in interface Column
Column.getPropertyName()
public String getColumnName()
getColumnName
in interface Column
Column.getColumnName()
public Column with(SelectorName newSelectorName)
with
in class Column
newSelectorName
- 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 |