Interface PropertyMetadata

    • Method Detail

      • isId

        boolean isId()
        If this property represents the Document ID.
        Returns:
        true if it does, false otherwise.
      • isField

        boolean isField()
        If this property represents a field in the Document.
        Returns:
        true if it does, false otherwise.
      • name

        String name()
        The name of the field inside the document. If an alias is used, it is reflected in here. If the raw field name in the entity is needed, use realName().
        Returns:
        the name of the field.
      • realName

        String realName()
        The name of the actual property inside the java entity.
        Returns:
        the real field name.
      • get

        Object get​(Object source)
        Returns the content of the field property.
        Parameters:
        source - the source object.
        Returns:
        the content of the field.
      • set

        void set​(Object value,
                 Object source)
        Sets the content of the field property.
        Parameters:
        value - the value to set.
        source - the source object.
      • type

        Class<?> type()
        The type of the field property.
        Returns:
        the type.
      • encryptionProviderName

        String encryptionProviderName()
        Get the encryption crypto algorithm provider name set
        Returns:
        the crypto provider name