All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nl.vpro.domain.api.AbstractTextSearch Maven / Gradle / Ivy

Go to download

Contains the objects used by the Frontend API, like forms and result objects

There is a newer version: 8.3.3
Show newest version
/*
 * 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