Class EntityColumnDetails

java.lang.Object
io.github.blyznytsiaorg.bibernate.entity.metadata.EntityColumnDetails

public class EntityColumnDetails extends Object
Represents metadata about an entity class, including details about its columns, indexes, and relationships. This class provides methods to manipulate and retrieve metadata associated with the entity.
Since:
1.0
Author:
Blyzhnytsia Team
See Also:
  • Field Details

  • Constructor Details

    • EntityColumnDetails

      public EntityColumnDetails()
  • Method Details

    • getCascadeTypes

      public List<CascadeType> getCascadeTypes()
      Retrieves the cascade types associated with the entity column.
      Returns:
      A list of cascade types associated with the entity column.
    • addCascadeTypes

      private <T> void addCascadeTypes(List<CascadeType> types, Function<T,List<CascadeType>> function, T obj)
      Adds cascade types to the list if they are not null.
      Type Parameters:
      T - The type of the object.
      Parameters:
      types - The list of cascade types to add to.
      function - The function to retrieve cascade types from the object.
      obj - The object containing cascade types.