|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.gcube.contentmanagement.gcubedocumentlibrary.projections.BaseProjection<GCubeElement,PropertyTypes.ElementProperty,PropertyProjection>
org.gcube.contentmanagement.gcubedocumentlibrary.projections.PropertyProjection
public final class PropertyProjection
A Projection over GCubeElementProperty elements.
| Constructor Summary | |
|---|---|
PropertyProjection()
|
|
PropertyProjection(TreePredicate p)
|
|
| Method Summary | |
|---|---|
TreePredicate |
documentPredicate()
Returns a TreePredicate that characterises documents which match the projection. |
TreePredicate |
predicate()
Returns a TreePredicate that characterises elements that match the projection. |
PropertyProjection |
withKey(
Constrains the key of the property to satisy a given text Constraint. |
PropertyProjection |
withKey(java.lang.String name)
Constrains the key of the property to be a given string. |
| Methods inherited from class org.gcube.contentmanagement.gcubedocumentlibrary.projections.BaseProjection |
|---|
allexcept, constraints, equals, etc, hashCode, isConstrained, isExcluded, isFiltered, isIncluded, isOptional, toString, where, where, where, whereValue, with, with, with, withValue |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public PropertyProjection()
public PropertyProjection(TreePredicate p)
| Method Detail |
|---|
public TreePredicate documentPredicate()
TreePredicate that characterises documents which match the projection.
public PropertyProjection withKey(java.lang.String name)
predicate - the string.public PropertyProjection withKey(c)
Constraint.
predicate - the text Constraint.public TreePredicate predicate()
TreePredicate that characterises elements that match the projection.
This method behaves like Projection.documentPredicate() if the projection is defined over documents. It differs if it
is defined over inner elements.
predicate in interface Projection<GCubeElement,PropertyTypes.ElementProperty>predicate in class BaseProjection<GCubeElement,PropertyTypes.ElementProperty,PropertyProjection>
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||