|
Spring Data Document | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface MongoPersistentProperty
Mongo specific PersistentProperty
implementation.
Nested Class Summary | |
---|---|
static class |
MongoPersistentProperty.PropertyToFieldNameConverter
Simple Converter implementation to transform a MongoPersistentProperty into its field name. |
Method Summary | |
---|---|
DBRef |
getDBRef()
Returns the DBRef if the property is a reference. |
String |
getFieldName()
Returns the name of the field a property is persisted to. |
int |
getFieldOrder()
Returns the order of the field if defined. |
boolean |
isDbReference()
Returns whether the propert is a DBRef . |
Methods inherited from interface org.springframework.data.mapping.PersistentProperty |
---|
getAssociation, getComponentType, getField, getMapValueType, getName, getOwner, getPropertyDescriptor, getRawType, getSpelExpression, getType, getTypeInformation, isArray, isAssociation, isCollection, isComplexType, isEntity, isIdProperty, isMap, isTransient |
Method Detail |
---|
String getFieldName()
int getFieldOrder()
boolean isDbReference()
DBRef
. If this returns true you can expect
getDBRef()
to return an non-null value.
DBRef getDBRef()
DBRef
if the property is a reference.
isDbReference()
|
Spring Data Document | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |