MetadataProjection
Date: 2013-06-18

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD

## org.gcube.contentmanagement.gcubedocumentlibrary.projections
Class MetadataProjection

    java.lang.Object
      org.gcube.contentmanagement.gcubedocumentlibrary.projections.BaseProjection<GCubeMetadata,PropertyTypes.MetadataProperty,MetadataProjection>
          org.gcube.contentmanagement.gcubedocumentlibrary.projections.MetadataProjection

All Implemented Interfaces:
  Projection<GCubeMetadata,PropertyTypes.MetadataProperty>

    public final class MetadataProjection

extends BaseProjection<GCubeMetadata,PropertyTypes.MetadataProperty,MetadataProjection>

A `Projection` over `GCubeMetadata` elements.

Author:
  Fabio Simeoni (University of Strathclyde)

Constructor Summary
`MetadataProjection(TreePredicate p)` Creates an instance from a tree predicate, extracting only relevant constraints.

Method Summary
`TreePredicate` | `documentPredicate()` Returns a `TreePredicate` that characterises documents which match the projection.

Methods inherited from class org.gcube.contentmanagement.gcubedocumentlibrary.projections.BaseProjection
`allexcept, constraints, equals, etc, hashCode, isConstrained, isExcluded, isFiltered, isIncluded, isOptional, predicate, toString, where, where, where, whereValue, with, with, with, withValue`

Methods inherited from class java.lang.Object
`getClass, notify, notifyAll, wait, wait, wait`

Constructor Detail

### MetadataProjection

    public MetadataProjection(TreePredicate p)

  Creates an instance from a tree predicate, extracting only relevant constraints.

  Parameters:
    `p` - the predicate.

Method Detail

### documentPredicate

    public TreePredicate documentPredicate()

  Returns a `TreePredicate` that characterises documents which match the projection.

  Returns:
    the predicate.

Overview | Package | Class | Use | Tree | Deprecated | Index | Help
PREV CLASS NEXT CLASS | FRAMES NO FRAMES
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD