org.springframework.data.mongodb.core.convert
Class MongoPropertyDescriptors
java.lang.Object
org.springframework.data.mongodb.core.convert.MongoPropertyDescriptors
- All Implemented Interfaces:
- Iterable<MongoPropertyDescriptors.MongoPropertyDescriptor>
public class MongoPropertyDescriptors
- extends Object
- implements Iterable<MongoPropertyDescriptors.MongoPropertyDescriptor>
An iterable of MongoPropertyDescriptors.MongoPropertyDescriptor
s that allows dedicated access to the MongoPropertyDescriptors.MongoPropertyDescriptor
that captures the id-property.
- Author:
- Oliver Gierke
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MongoPropertyDescriptors
public MongoPropertyDescriptors(Class<?> type)
- Creates the
MongoPropertyDescriptors
for the given type.
- Parameters:
type
-
getIdDescriptor
public MongoPropertyDescriptors.MongoPropertyDescriptor getIdDescriptor()
- Returns the
MongoPropertyDescriptors.MongoPropertyDescriptor
for the id property.
- Returns:
- the idDescriptor
iterator
public Iterator<MongoPropertyDescriptors.MongoPropertyDescriptor> iterator()
- Specified by:
iterator
in interface Iterable<MongoPropertyDescriptors.MongoPropertyDescriptor>
Copyright © 2011. All Rights Reserved.