Spring Data Document

Annotation Type FieldName

public @interface FieldName

Annotation to allow defining the name of the field a property should use in a Mongo document. This will cause the property annotated being persisted to a field with the configured name as wells as being read from it.

Oliver Gierke

Required Element Summary
 String value

Element Detail


public abstract String value

Spring Data Document

Copyright © 2011. All Rights Reserved.