Spring Data MongoDB - Core

org.springframework.data.mongodb.core.aggregation
Interface Field


public interface Field

Abstraction for a field.

Since:
1.3
Author:
Oliver Gierke

Method Summary
 String getName()
          Returns the name of the field.
 String getTarget()
          Returns the target of the field.
 

Method Detail

getName

String getName()
Returns the name of the field.

Returns:
must not be null.

getTarget

String getTarget()
Returns the target of the field. In case no explicit target is available getName() should be returned.

Returns:
must not be null.

Spring Data MongoDB - Core

Copyright © 2011-2013-2013 Pivotal. All Rights Reserved.