/** | ||
| * Need a review on Interface. Shall return a QueryResult Object that encapsulate some additional data... about that special moment of query fire. | ||
| * data returned from LuceneQuery | ||
| * | ||
| */ | ||
| package org.nanotek.lucene.query; | ||
| import java.util.Map; | ||
| import org.nanotek.Actor; | ||
| import org.nanotek.util.Base; | ||
| @SuppressWarnings("serial") | ||
| public class BaseQueryObject implements Actor<QueryResult, QueryObject<String>,String> , QueryObject<String>{ | ||
Draft comment:Edit
Change for the "Kong model Hierarchy" a type hierarchy with bi-direction recursion. | ||
| private String id; | ||
| private Map<String,Base<?>> queryParameters; | ||
| private SurrougateMap<String , Base<?>> pirateMap; | ||
| public BaseQueryObject() { | ||
| } | ||
| @Override | ||
| public String getId() { | ||
| return id; | ||
| } | ||
| @Override | ||
| public String getQuery() { | ||
| return null; | ||
| } | ||
| @Override | ||
| public String doAct(QueryObject<String> role, QueryResult type, String merde) { | ||
| return null; | ||
| } | ||
| } |

