panda.idx.IDocument Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of panda-core Show documentation
Show all versions of panda-core Show documentation
Panda Core is the core module of Panda Framework, it contains commonly used utility classes similar to apache-commons.
package panda.idx;
import java.util.Date;
import java.util.List;
public interface IDocument {
String getId();
void setId(String id);
String getTextField(String name);
List getTextFields(String name);
void addTextField(String name, String text);
Date getDateField(String name);
List getDateFields(String name);
void addDateField(String name, Date date);
Number getNumberField(String name);
List getNumberFields(String name);
void addNumberField(String name, Number num);
String getAtomField(String name);
List getAtomFields(String name);
void addAtomField(String name, String str);
}