it.amattioli.dominate.specifications
Class LongSpecification<T extends Entity<?>>
java.lang.Object
it.amattioli.dominate.specifications.AbstractSpecification<T>
it.amattioli.dominate.specifications.ChainedSpecification<T>
it.amattioli.dominate.specifications.LongSpecification<T>
- All Implemented Interfaces:
- Specification<T>, PropertyChangeEmitter
- Direct Known Subclasses:
- CriteriaLongSpecification, DefaultLongSpecification, HqlLongSpecification
public abstract class LongSpecification<T extends Entity<?>>
- extends ChainedSpecification<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
LongSpecification
public LongSpecification()
LongSpecification
public LongSpecification(String propertyName)
newInstance
public static <T extends Entity<?>> LongSpecification<T> newInstance(String propertyName)
getPropertyName
protected String getPropertyName()
setPropertyName
protected void setPropertyName(String propertyName)
setValue
public void setValue(Long value)
getValue
public Long getValue()
getComparisonType
public TotalOrderComparisonType getComparisonType()
setComparisonType
public void setComparisonType(TotalOrderComparisonType comparisonType)
isSatisfiedBy
public boolean isSatisfiedBy(T entity)
- Description copied from interface:
Specification
- Check if an object satisfies this specification.
- Returns:
wasSet
public boolean wasSet()
- Description copied from interface:
Specification
- If this specification is parametric check if the parameter(s) has been set.
If this specification is not parametric always returns true.
- Returns:
Copyright © 2011. All Rights Reserved.