|
Spring Data Document | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectorg.springframework.data.mapping.BasicPersistentProperty
org.springframework.data.document.mongodb.mapping.MongoPersistentProperty
public class MongoPersistentProperty
Mongo specific
PersistentProperty
implementation.
Field Summary |
---|
Fields inherited from class org.springframework.data.mapping.BasicPersistentProperty |
---|
association, field, information, isTransient, name, owner, propertyDescriptor, value |
Constructor Summary | |
---|---|
MongoPersistentProperty(Field field,
PropertyDescriptor propertyDescriptor,
org.springframework.data.util.TypeInformation owningTypeInformation)
Creates a new MongoPersistentProperty . |
Method Summary | |
---|---|
boolean |
isIdProperty()
Also considers fields as id that are of supported id type and name. |
Methods inherited from class org.springframework.data.mapping.BasicPersistentProperty |
---|
getAssociation, getComponentType, getField, getMapValueType, getName, getOwner, getPropertyDescriptor, getType, getTypeInformation, getValueAnnotation, isArray, isAssociation, isCollection, isComplexType, isEntity, isMap, isTransient, setAssociation, setOwner |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public MongoPersistentProperty(Field field, PropertyDescriptor propertyDescriptor, org.springframework.data.util.TypeInformation owningTypeInformation)
MongoPersistentProperty
.
field
- propertyDescriptor
- owningTypeInformation
- Method Detail |
---|
public boolean isIdProperty()
isIdProperty
in interface org.springframework.data.mapping.model.PersistentProperty
isIdProperty
in class org.springframework.data.mapping.BasicPersistentProperty
SUPPORTED_ID_PROPERTY_NAMES
,
SUPPORTED_ID_TYPES
|
Spring Data Document | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |