Interface Attribute<T>

Type Parameters:
T - entity class of the static metamodel.
All Known Subinterfaces:
SortableAttribute<T>, TextAttribute<T>
All Known Implementing Classes:
AttributeRecord, SortableAttributeRecord, TextAttributeRecord

public interface Attribute<T>
Represents an entity attribute in the StaticMetamodel.
  • Method Summary

    Modifier and Type
    Method
    Description
    Obtain the entity attribute name, suitable for use wherever the specification requires an entity attribute name.
  • Method Details

    • name

      String name()
      Obtain the entity attribute name, 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.