org.gcube.contentmanagement.gcubedocumentlibrary.properties
Interface Property

All Known Subinterfaces:
PropertyTypes.AlternativeProperty, PropertyTypes.AnnotationProperty, PropertyTypes.DocumentProperty, PropertyTypes.MetadataProperty, PropertyTypes.PartProperty
All Known Implementing Classes:
BaseProperty, PropertyTypes.CommonProperty, PropertyTypes.ElementProperty

public interface Property

A property of a GCubeElement that can be constrained in a Projection.

Author:
Fabio Simeoni (University of Strathclyde)

Method Summary
 javax.xml.namespace.QName name()
          Returns the name of the property.
 EdgePredicate newPredicate()
          Returns an EdgePredicate for the property with the default constraint on the target node.
 EdgePredicate newPredicate(Predicate p)
          Returns an EdgePredicate for the property with a given constraint on the target node.
 

Method Detail

name

javax.xml.namespace.QName name()
Returns the name of the property.

Returns:
the name of the property.

newPredicate

EdgePredicate newPredicate(Predicate p)
Returns an EdgePredicate for the property with a given constraint on the target node.

Parameters:
p - the constraint.
Returns:
the EdgePredicate.

newPredicate

EdgePredicate newPredicate()
Returns an EdgePredicate for the property with the default constraint on the target node.

Returns:
the EdgePredicate.