Interface AttributeInfo


public interface AttributeInfo
Implemented by the Jakarta Data provider to initialize an attribute field in the StaticMetamodel.
  • Method Summary

    Modifier and Type
    Method
    Description
    asc()
    Returns a request for an ascending Sort based on the entity attribute.
    Returns a request for an ascending, case insensitive Sort based on the entity attribute.
    Returns a request for a descending Sort based on the entity attribute.
    Returns a request for a descending, case insensitive Sort based on the entity attribute.
    Returns the name of the entity attribute, suitable for use wherever the specification requires an entity attribute name.
  • Method Details

    • asc

      Sort asc()
      Returns a request for an ascending Sort based on the entity attribute.
      Returns:
      a request for an ascending Sort based on the entity attribute.
    • ascIgnoreCase

      Sort ascIgnoreCase()
      Returns a request for an ascending, case insensitive Sort based on the entity attribute.
      Returns:
      a request for an ascending, case insensitive sort on the entity attribute.
    • desc

      Sort desc()
      Returns a request for a descending Sort based on the entity attribute.
      Returns:
      a request for a descending Sort based on the entity attribute.
    • descIgnoreCase

      Sort descIgnoreCase()
      Returns a request for a descending, case insensitive Sort based on the entity attribute.
      Returns:
      a request for a descending, case insensitive sort on the entity attribute.
    • name

      String name()
      Returns the name of the entity attribute, suitable for use wherever the specification requires an entity attribute name. For example, as the parameter to Sort.asc(String).
      Returns:
      the entity attribute name.