nl.vpro.domain.api.AbstractTextSearch Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of api-domain Show documentation
Show all versions of api-domain Show documentation
Contains the objects used by the Frontend API, like forms and result objects
/*
* Copyright (C) 2014 All rights reserved
* VPRO The Netherlands
*/
package nl.vpro.domain.api;
import lombok.EqualsAndHashCode;
import javax.validation.Valid;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlSeeAlso;
import javax.xml.bind.annotation.XmlTransient;
import nl.vpro.domain.api.media.MediaSearch;
import nl.vpro.domain.api.page.PageSearch;
/**
* A Search interface but JAXB won't handle interfaces
*
* @author Michiel Meeuwissen
* @since 4.2
*/
@XmlAccessorType(XmlAccessType.FIELD)
@XmlSeeAlso({MediaSearch.class, PageSearch.class})
@XmlTransient
@EqualsAndHashCode(callSuper = true)
public abstract class AbstractTextSearch extends AbstractSearch {
@Valid
protected SimpleTextMatcher text;
public SimpleTextMatcher getText() {
return text;
}
public void setText(SimpleTextMatcher text) {
this.text = text;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy