Interface EntityMetadata

All Known Implementing Classes:
ReflectionBasedEntityMetadata

public interface EntityMetadata
Represents the metadata for a document entity.
Since:
2.2.0
Author:
Michael Nitschinger
  • Method Summary

    Modifier and Type Method Description
    boolean hasIdProperty()
    True if it contains an id property, false otherwise.
    PropertyMetadata idProperty()
    Returns the metadata for the id property if set, or null otherwise.
    List<PropertyMetadata> properties()
    Returns the metadata for all properties in this entity.
  • Method Details

    • properties

      List<PropertyMetadata> properties()
      Returns the metadata for all properties in this entity.
      Returns:
      the property information.
    • hasIdProperty

      boolean hasIdProperty()
      True if it contains an id property, false otherwise.
      Returns:
      true if there is one, false otherwise.
    • idProperty

      PropertyMetadata idProperty()
      Returns the metadata for the id property if set, or null otherwise.
      Returns:
      the metadata or null.