sk.seges.sesam.dao.NotExpression Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of sesam-core Show documentation
Show all versions of sesam-core Show documentation
Core interfaces and support classes to ease
information systems development. Usually requirement is to implement
multi-tier application using database, DAOs, services, models and
listeners.
The newest version!
/**
*
*/
package sk.seges.sesam.dao;
/**
* @author ladislav.gazo
*/
public class NotExpression implements Criterion {
private static final long serialVersionUID = -6011585536168355602L;
private Criterion criterion;
public NotExpression() {}
public NotExpression(Criterion criterion) {
this.criterion = criterion;
}
/* (non-Javadoc)
* @see sk.seges.sesam.dao.Criterion#getOperation()
*/
@Override
public String getOperation() {
return "not";
}
public Criterion getCriterion() {
return criterion;
}
public void setCriterion(Criterion criterion) {
this.criterion = criterion;
}
}