org.springframework.data.mongodb.core.mapping

Interface MongoPersistentProperty

    • Property Detail

      • isExplicitId

        boolean isExplicitIdProperty
        Gets the value of the property explicitIdProperty.
      • isLanguage

        boolean isLanguageProperty
        Gets the value of the property languageProperty.
        Since:
        1.6
      • isExplicitLanguage

        boolean isExplicitLanguageProperty
        Gets the value of the property explicitLanguageProperty.
        Since:
        1.6.1
      • isTextScore

        boolean isTextScoreProperty
        Gets the value of the property textScoreProperty.
        Since:
        1.6
    • Method Detail

      • getFieldName

        String getFieldName()
        Returns the name of the field a property is persisted to.
        Returns:
      • getFieldOrder

        int getFieldOrder()
        Returns the order of the field if defined. Will return -1 if undefined.
        Returns:
      • isDbReference

        boolean isDbReference()
        Returns whether the property is a DBRef. If this returns true you can expect getDBRef() to return an non-null value.
        Returns:
      • isExplicitIdProperty

        boolean isExplicitIdProperty()
        Gets the value of the property explicitIdProperty.
      • isLanguageProperty

        boolean isLanguageProperty()
        Gets the value of the property languageProperty.
        Since:
        1.6
      • isExplicitLanguageProperty

        boolean isExplicitLanguageProperty()
        Gets the value of the property explicitLanguageProperty.
        Since:
        1.6.1
      • isTextScoreProperty

        boolean isTextScoreProperty()
        Gets the value of the property textScoreProperty.
        Since:
        1.6