public class NumericIdProperty<E extends Number> extends NumericProperty<E> implements IdProperty<E>
expressionSupplier, name, type
Modifier | Constructor and Description |
---|---|
protected |
NumericIdProperty(String attribute,
String path,
String entityName,
Class<E> type)
Constructs a new property with the given name and expression
|
Modifier and Type | Method and Description |
---|---|
String |
getAttributeName() |
String |
getEntityName() |
abs, add, add, alias, avg, div, div, enclosing, max, min, mod, mod, mul, mul, neg, sqrt, sub, sub, sum
asc, ascInsensitive, ascInsensitives, ascs, count, countDistinct, desc, descInsensitive, descInsensitives, descs, 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 NumericIdProperty(String attribute, String path, String entityName, Class<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.createNumericId(String, String, String, Class)
public String getEntityName()
getEntityName
in interface IdProperty<E extends Number>
public String getAttributeName()
getAttributeName
in interface IdProperty<E extends Number>
Copyright © 2001–2021 Apache Cayenne. All rights reserved.