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

nl.vpro.domain.api.ExtendedTextFacet 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) 2013 All rights reserved
 * VPRO The Netherlands
 */
package nl.vpro.domain.api;

import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlAttribute;
import javax.xml.bind.annotation.XmlTransient;

/**
 * @author Michiel Meeuwissen
 * @since 4.6
 */
@XmlAccessorType(XmlAccessType.NONE)
@XmlTransient
public abstract class ExtendedTextFacet extends TextFacet implements Facet {

    @XmlAttribute
    private Boolean caseSensitive;


    public ExtendedTextFacet(Integer threshold, FacetOrder sort, Integer max) {
        super(threshold, sort, max);
    }

    public ExtendedTextFacet() {
    }

    public Boolean getCaseSensitive() {
        return caseSensitive;
    }

    public void setCaseSensitive(Boolean caseSensitive) {
        this.caseSensitive = caseSensitive;
    }
    @XmlTransient
    public boolean isCaseSensitive() {
        return caseSensitive == null || caseSensitive;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy