Class BaseIdProperty<E>

java.lang.Object
org.apache.cayenne.exp.property.BaseProperty<E>
org.apache.cayenne.exp.property.BaseIdProperty<E>
All Implemented Interfaces:
IdProperty<E>, Property<E>

public class BaseIdProperty<E> extends BaseProperty<E> implements IdProperty<E>
Property that represents non-numeric PK
Since:
4.2
  • Constructor Details

    • BaseIdProperty

      protected BaseIdProperty(String attribute, String path, String entityName, Class<? super E> type)
      Constructs a new property with the given name and expression
      Parameters:
      attribute - PK attribute name (optional, can be omitted for single PK entity)
      path - cayenne path (optional, can be omitted for ID of the root)
      entityName - name of the entity (mandatory)
      type - of the property (mandatory)
      See Also:
  • Method Details