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

org.tinygroup.fulltext.field.AbstractField Maven / Gradle / Ivy

The newest version!
package org.tinygroup.fulltext.field;

public abstract class AbstractField {

    private String name;
	
    private T value;
    
    private boolean indexed;
    
    private boolean stored;
    
    private boolean tokenized;
	
	public AbstractField(String name,T value){
		this.name = name;
		this.value = value;
	}

	public String getName() {
		return name;
	}

	public T getValue() {
		return value;
	}

	public boolean isIndexed() {
		return indexed;
	}

	public void setIndexed(boolean indexed) {
		this.indexed = indexed;
	}

	public boolean isStored() {
		return stored;
	}

	public void setStored(boolean stored) {
		this.stored = stored;
	}

	public boolean isTokenized() {
		return tokenized;
	}

	public void setTokenized(boolean tokenized) {
		this.tokenized = tokenized;
	}

}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy