it.amattioli.encapsulate.money.specifications
Class MoneySpecification<T extends it.amattioli.dominate.Entity<?>>
java.lang.Object
it.amattioli.dominate.specifications.AbstractSpecification<T>
it.amattioli.dominate.specifications.ChainedSpecification<T>
it.amattioli.encapsulate.money.specifications.MoneySpecification<T>
- All Implemented Interfaces:
- it.amattioli.dominate.Specification<T>, it.amattioli.dominate.util.PropertyChangeEmitter
- Direct Known Subclasses:
- CriteriaMoneySpecification, DefaultMoneySpecification, HqlMoneySpecification
public abstract class MoneySpecification<T extends it.amattioli.dominate.Entity<?>>
- extends it.amattioli.dominate.specifications.ChainedSpecification<T>
| Methods inherited from class it.amattioli.dominate.specifications.ChainedSpecification |
assembleQuery, chainAssembler, createChain, getNextInChain, itselfAssembleQuery, itselfSupportsAssembler, setNextInChain, supportsAssembler |
| Methods inherited from class it.amattioli.dominate.specifications.AbstractSpecification |
addPropertyChangeListener, firePropertyChange, isSatisfiedIfNotSet, removePropertyChangeListener, setSatisfiedIfNotSet |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MoneySpecification
public MoneySpecification()
MoneySpecification
public MoneySpecification(String propertyName)
newInstance
public static <T extends it.amattioli.dominate.Entity<?>> MoneySpecification<T> newInstance(String propertyName)
getPropertyName
protected String getPropertyName()
setPropertyName
protected void setPropertyName(String propertyName)
setValue
public void setValue(Range<Money> value)
getValue
public Range<Money> getValue()
isSatisfiedBy
public boolean isSatisfiedBy(T entity)
wasSet
public boolean wasSet()
Copyright © 2011. All Rights Reserved.