public class BaseIdProperty<E> extends BaseProperty<E> implements IdProperty<E>
expressionSupplier, name, type
Modifier | Constructor and Description |
---|---|
protected |
BaseIdProperty(String attribute,
String path,
String entityName,
Class<? super E> type)
Constructs a new property with the given name and expression
|
Modifier and Type | Method and Description |
---|---|
String |
getAttributeName() |
String |
getEntityName() |
alias, asc, ascInsensitive, ascInsensitives, ascs, count, countDistinct, desc, descInsensitive, descInsensitives, descs, enclosing, eq, eq, equals, function, function, getAlias, getExpression, getFrom, getFromAll, getName, getType, hashCode, in, in, in, isFalse, isNotNull, isNull, isTrue, ne, ne, nin, nin, nin, operator, operator, path, setIn, setInAll
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
eq
getAlias, getExpression, getName, getType
protected BaseIdProperty(String attribute, String path, String entityName, Class<? super E> type)
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)PropertyFactory.createBaseId(String, String, String, Class)
public String getEntityName()
getEntityName
in interface IdProperty<E>
public String getAttributeName()
getAttributeName
in interface IdProperty<E>
Copyright © 2001–2021 Apache Cayenne. All rights reserved.