Interface EntityMetadata
-
- All Known Implementing Classes:
ReflectionBasedEntityMetadata
public interface EntityMetadataRepresents the metadata for a document entity.- Since:
- 2.2.0
- Author:
- Michael Nitschinger
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description booleanhasIdProperty()True if it contains an id property, false otherwise.PropertyMetadataidProperty()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 Detail
-
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.
-
-