net.anotheria.anodoc.data.TextProperty Maven / Gradle / Ivy
package net.anotheria.anodoc.data;
/**
* TextProperty is a derivative of a StringProperty which support full text search queries
* (if the underlying storage supports them too).
*/
public class TextProperty extends StringProperty {
/**
* Creates a new TextProperty with given name and null value.
*/
public TextProperty(String name) {
super(name);
}
/**
* Creates a new TextProperty with given name and value.
*/
public TextProperty(String name, String value) {
super(name, value);
}
@Override public PropertyType getPropertyType(){
return PropertyType.TEXT;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy