Package org.apache.cayenne.exp.property
Class NumericIdProperty<E extends Number>
java.lang.Object
org.apache.cayenne.exp.property.BaseProperty<E>
org.apache.cayenne.exp.property.NumericProperty<E>
org.apache.cayenne.exp.property.NumericIdProperty<E>
- All Implemented Interfaces:
- ComparableProperty<E>,- IdProperty<E>,- Property<E>
public class NumericIdProperty<E extends Number>
extends NumericProperty<E>
implements IdProperty<E>
Property that represents numeric PK
- Since:
- 4.2
- 
Field SummaryFields inherited from class org.apache.cayenne.exp.property.BasePropertyexpressionSupplier, path, type
- 
Constructor SummaryConstructorsModifierConstructorDescriptionprotectedNumericIdProperty(String attribute, CayennePath path, String entityName, Class<E> type) Constructs a new property with the given name and expression
- 
Method SummaryMethods inherited from class org.apache.cayenne.exp.property.NumericPropertyabs, add, add, alias, avg, div, div, enclosing, max, min, mod, mod, mul, mul, neg, sqrt, sub, sub, sumMethods inherited from class org.apache.cayenne.exp.property.BasePropertyaggregate, asc, ascInsensitive, ascInsensitives, ascs, count, countDistinct, desc, descInsensitive, descInsensitives, descs, eq, eq, equals, function, function, getAlias, getExpression, getFrom, getFromAll, getName, getPath, getType, hashCode, in, in, in, isFalse, isNotNull, isNull, isTrue, ne, ne, nin, nin, nin, operator, operator, setIn, setInAllMethods inherited from class java.lang.Objectclone, finalize, getClass, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface org.apache.cayenne.exp.property.ComparablePropertybetween, between, gt, gt, gtAll, gtAny, gte, gte, gteAll, gteAny, lt, lt, ltAll, ltAny, lte, lte, lteAll, lteAnyMethods inherited from interface org.apache.cayenne.exp.property.IdPropertyeq
- 
Constructor Details- 
NumericIdPropertyConstructs 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- 
getEntityName- Specified by:
- getEntityNamein interface- IdProperty<E extends Number>
 
- 
getAttributeName- Specified by:
- getAttributeNamein interface- IdProperty<E extends Number>
 
 
-