|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IInstance
instance interface.
Method Summary | |
---|---|
boolean |
addFeature(IFeature p_Feature)
add one feature to the instance. |
java.lang.Object |
clone()
clone instance |
java.lang.String |
getDocID()
get the document ID of this instance |
IFeature |
getFeature(int p_Index)
get the feature of index p_Index |
IFeature |
getFeature(java.lang.String p_Name)
get the feature of this instance with p_Name |
java.lang.String |
getFeatureName(int p_Index)
get the name of feature of p_Index |
java.lang.String |
getFeatureValue(int p_Index)
get the feature value of feature of p_Index |
java.lang.String |
getFeatureValue(java.lang.String p_Name)
get the feature value of feature of p_Name |
java.lang.String |
getID()
get the ID of this instance |
java.lang.String |
getLexeltID()
get the lexelt ID of this instance |
java.util.ArrayList<java.lang.String> |
getTag()
get tag(s) of this instance |
boolean |
setDocID(java.lang.String p_DocID)
set document ID |
boolean |
setLexeltID(java.lang.String p_LexeltID)
set lexelt ID |
boolean |
setTag(java.lang.String p_Tag)
add p_Tag to tag list |
boolean |
setTag(java.lang.String p_Tag,
boolean p_Add)
add p_Tag to tag list if p_Add == true else remove all tags and set tag as p_Tag |
int |
size()
the the number of features in this instance |
Method Detail |
---|
boolean addFeature(IFeature p_Feature)
p_Feature
- feature
int size()
IFeature getFeature(java.lang.String p_Name)
p_Name
- feature name
IFeature getFeature(int p_Index)
p_Index
- feature index
java.lang.String getFeatureValue(int p_Index)
p_Index
- feature index
java.lang.String getFeatureValue(java.lang.String p_Name)
p_Name
- feature name
java.lang.String getFeatureName(int p_Index)
p_Index
- feature index
java.lang.String getID()
java.lang.String getDocID()
java.lang.String getLexeltID()
java.util.ArrayList<java.lang.String> getTag()
boolean setTag(java.lang.String p_Tag)
p_Tag
- tag
boolean setTag(java.lang.String p_Tag, boolean p_Add)
p_Tag
- tagp_Add
- append or replace
boolean setLexeltID(java.lang.String p_LexeltID)
p_LexeltID
- lexelt ID
boolean setDocID(java.lang.String p_DocID)
p_DocID
- document ID
java.lang.Object clone()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |