it.amattioli.dominate.specifications
Class AbstractSpecification<T extends Entity<?>>
java.lang.Object
it.amattioli.dominate.specifications.AbstractSpecification<T>
- All Implemented Interfaces:
- Specification<T>, PropertyChangeEmitter
- Direct Known Subclasses:
- BeanShellSpecification, ChainedSpecification, CompositeSpecification, FalseSpecification, NegatedSpecification, TrueSpecification
public abstract class AbstractSpecification<T extends Entity<?>>
- extends Object
- implements Specification<T>
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
AbstractSpecification
public AbstractSpecification()
addPropertyChangeListener
public void addPropertyChangeListener(PropertyChangeListener listener)
- Specified by:
addPropertyChangeListener in interface PropertyChangeEmitter
removePropertyChangeListener
public void removePropertyChangeListener(PropertyChangeListener listener)
- Specified by:
removePropertyChangeListener in interface PropertyChangeEmitter
firePropertyChange
public void firePropertyChange(String propertyName,
Object oldValue,
Object newValue)
setSatisfiedIfNotSet
public void setSatisfiedIfNotSet(boolean value)
- Description copied from interface:
Specification
- For a parametric specification sets the value to be returned by
Specification.isSatisfiedBy(Entity)
when the parameter(s) has not been set.
- Specified by:
setSatisfiedIfNotSet in interface Specification<T extends Entity<?>>
isSatisfiedIfNotSet
protected boolean isSatisfiedIfNotSet()
Copyright © 2011. All Rights Reserved.