|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ILexelt
lexelt interface. contains instances of the same lexelt id.
Method Summary | |
---|---|
boolean |
addInstance(IInstance p_iInstance)
the same as addInstance(p_iInstance, false) |
boolean |
addInstance(IInstance p_iInstance,
boolean p_AddToStat)
add one instance into Lexelt. |
java.lang.String |
getID()
get the ID of this lexelt |
IInstance |
getInstance(int p_Index)
get instance with index p_Index |
java.lang.String |
getInstanceDocID(int p_Index)
get the document id of instance p_Index |
java.lang.String |
getInstanceID(int p_Index)
get the instance id of instance p_Index |
java.util.ArrayList<java.lang.String> |
getInstanceIDs()
get the instance id list of all the instances in Lexelt |
IStatistic |
getStatistic()
get the statistic information of this lexelt |
java.util.ArrayList<java.lang.String> |
getTag(int p_Index)
get the tags of instance |
java.util.ArrayList<java.lang.String> |
getTag(java.lang.String p_InstanceID)
get the tag of p_InstanceID |
java.lang.String |
getValue(int p_Index,
int p_KeyIndex)
get the p_Key's value of instance p_Index |
java.lang.String |
getValue(int p_Index,
java.lang.String p_Key)
get the p_Key's value of instance p_Index |
java.lang.String |
getValue(java.lang.String p_InstanceID,
java.lang.String p_Key)
get the p_Key's value of instance p_InstanceID |
IInstance |
removeInstance(int p_Index)
remove the instance of index p_Index. |
IInstance |
removeInstance(java.lang.String p_InstanceID)
remove the instance of index p_Index. |
boolean |
setStatistic(IStatistic p_iStatistic)
set the statistic information to the lexelt |
int |
size()
get the number of instances in lexelt |
Method Detail |
---|
boolean addInstance(IInstance p_iInstance, boolean p_AddToStat)
p_iInstance
- instancep_AddToStat
- add to statistic or not
boolean addInstance(IInstance p_iInstance)
p_iInstance
- instance
IInstance removeInstance(int p_Index)
p_Index
- instance index
IInstance removeInstance(java.lang.String p_InstanceID)
p_InstanceID
- instance id
IStatistic getStatistic()
boolean setStatistic(IStatistic p_iStatistic)
p_iStatistic
- statistic information
java.util.ArrayList<java.lang.String> getInstanceIDs()
java.lang.String getID()
java.util.ArrayList<java.lang.String> getTag(int p_Index)
p_Index
- instance index
java.util.ArrayList<java.lang.String> getTag(java.lang.String p_InstanceID)
p_InstanceID
- instance id
int size()
java.lang.String getInstanceID(int p_Index)
p_Index
- instance id
java.lang.String getInstanceDocID(int p_Index)
p_Index
- instance id
java.lang.String getValue(java.lang.String p_InstanceID, java.lang.String p_Key)
p_InstanceID
- instance idp_Key
- feature name
java.lang.String getValue(int p_Index, java.lang.String p_Key)
p_Index
- instance indexp_Key
- feature name
java.lang.String getValue(int p_Index, int p_KeyIndex)
p_Index
- instance indexp_KeyIndex
- feature index
IInstance getInstance(int p_Index)
p_Index
- instance index
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |