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.
 boolean isAliased()
          Returns whether the Field is aliased, which means it has a name set different from the target.
 

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.

isAliased

boolean isAliased()
Returns whether the Field is aliased, which means it has a name set different from the target.

Returns:

Spring Data MongoDB - Core

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