|
TC Java 2011 Version |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectgov.nih.nlm.nls.tc.FilterApi.OutputFilterOption
public class OutputFilterOption
This class is the option object for output filter. It includes:
History:
| Field Summary | |
|---|---|
static int |
AUTO_SCORE_MULTIPLY_FACTOR
|
static int |
RESULT_TYPE_BOTH
|
static int |
RESULT_TYPE_DC
|
static int |
RESULT_TYPE_WC
|
| Constructor Summary | |
|---|---|
OutputFilterOption()
Initiate the OutputFilterOption object. |
|
OutputFilterOption(int outputNum,
boolean useNoOutputMsg,
java.lang.String noOutputMsg,
boolean useCluster,
float clusterInc,
int clusterNum,
java.util.Vector<java.lang.String> candidates,
int resultType,
int showResult,
int roundOffDecimals,
int scoreMultiplyFactor,
java.util.Vector<java.lang.Integer> outputFieldList)
Initiate the PreProcessOption object by specifying all options. |
|
| Method Summary | |
|---|---|
java.util.Vector<java.lang.String> |
GetCandidates()
Get the Vector to specify candidates, JD/ST. |
float |
GetClusterInc()
Get the increment of cluster. |
int |
GetClusterNum()
Get the number of cluster. |
java.lang.String |
GetNoOutputMsg()
Get the message string for no output. |
java.util.Vector<java.lang.Integer> |
GetOutputFieldList()
Get the output fields list to display |
int |
GetOutputNum()
Get the number of output result to display |
int |
GetResultType()
Get the result type for the overall result pick |
int |
GetRoundOffDecimals()
Get the decimals to round off. |
int |
GetScoreMultiplyFactor()
Get the score multiple factor |
int |
GetShowResult()
Get the type of shown result score |
boolean |
GetUseCluster()
Get the booealn flag to display results in cluster. |
boolean |
GetUseNoOutputMsg()
Get the boolean flag to show no output message. |
void |
SetCandidates(java.util.Vector<java.lang.String> candidates)
Set the candidate for display |
void |
SetClusterInc(float clusterInc)
Set the value of the increment of cluster |
void |
SetClusterNum(int clusterNum)
Set the value of the number of cluster |
void |
SetNoOutputMsg(java.lang.String noOutputMsg)
Set the message for no output. |
void |
SetOutputFieldList(java.util.Vector<java.lang.Integer> outputFieldList)
Set the output fields list |
void |
SetOutputNum(int outputNum)
Set the number of output result to display. |
void |
SetResultType(int resultType)
Set the value of type for the overall result pick. |
void |
SetRoundOffDecimals(int roundOffDecimals)
Set the decimals to round off |
void |
SetScoreMultiplyFactor(int scoreMultiplyFactor)
Set the value of score multiply factor. |
void |
SetShowResult(int showResult)
Set the value of type for the shown result. |
void |
SetUseCluster(boolean useCluster)
Set the boolean flag to display results in cluster. |
void |
SetUseNoOutputMsg(boolean useNoOutputMsg)
Set the boolean flag to show no output message. |
java.lang.String |
ToString(JournalDescriptors jds)
Get a String of showing all output filter option. |
java.lang.String |
ToString(SemanticTypes sts)
Get a String of showing all output filter option. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int RESULT_TYPE_WC
public static final int RESULT_TYPE_DC
public static final int RESULT_TYPE_BOTH
public static final int AUTO_SCORE_MULTIPLY_FACTOR
| Constructor Detail |
|---|
public OutputFilterOption()
public OutputFilterOption(int outputNum,
boolean useNoOutputMsg,
java.lang.String noOutputMsg,
boolean useCluster,
float clusterInc,
int clusterNum,
java.util.Vector<java.lang.String> candidates,
int resultType,
int showResult,
int roundOffDecimals,
int scoreMultiplyFactor,
java.util.Vector<java.lang.Integer> outputFieldList)
outputNum - the number of output result to displayuseNoOutputMsg - a boolean flag to show no output messagenoOutputMsg - message string for no outputuseCluster - a booealn flag to display results in clusterclusterInc - the increment of clusterclusterNum - the number of clustercandidates - a Vector to specify candidates, JD/STresultType - type for the overall result pick, TYPE_WC for
word count and TYPE_DC for document countshowResult - type for result, TYPE_WC for word count,
TYPE_DC for document count, TYPE_BOTH for bothroundOffDecimals - the decimals to round offscoreMultiplyFactor - the score multiply factoroutputFieldList - a Vector to specify the output fields| Method Detail |
|---|
public void SetOutputNum(int outputNum)
outputNum - the number of output result to displaypublic void SetScoreMultiplyFactor(int scoreMultiplyFactor)
scoreMultiplyFactor - the value of score multiply factorpublic void SetUseNoOutputMsg(boolean useNoOutputMsg)
useNoOutputMsg - a boolean flag to show no output messagepublic void SetNoOutputMsg(java.lang.String noOutputMsg)
noOutputMsg - message string for no outputpublic void SetUseCluster(boolean useCluster)
useCluster - a booealn flag to display results in clusterpublic void SetClusterInc(float clusterInc)
clusterInc - the increment of clusterpublic void SetClusterNum(int clusterNum)
clusterNum - the number of clusterpublic void SetCandidates(java.util.Vector<java.lang.String> candidates)
candidates - a Vector to specify candidates, JD/STpublic void SetResultType(int resultType)
resultType - type for the overall result pick, TYPE_WC for
word count and TYPE_DC for document countpublic void SetShowResult(int showResult)
showResult - type for the result scores, TYPE_WC for
word count, TYPE_DC for document count, and TYPE_BOTH for bothpublic void SetRoundOffDecimals(int roundOffDecimals)
roundOffDecimals - the decimals to round offpublic void SetOutputFieldList(java.util.Vector<java.lang.Integer> outputFieldList)
outputFieldList - the list of fields to displaypublic int GetOutputNum()
public int GetScoreMultiplyFactor()
public boolean GetUseNoOutputMsg()
public java.lang.String GetNoOutputMsg()
public boolean GetUseCluster()
public float GetClusterInc()
public int GetClusterNum()
public java.util.Vector<java.lang.String> GetCandidates()
public int GetResultType()
public int GetShowResult()
public int GetRoundOffDecimals()
public java.util.Vector<java.lang.Integer> GetOutputFieldList()
public java.lang.String ToString(JournalDescriptors jds)
jds - journal descriptors
public java.lang.String ToString(SemanticTypes sts)
sts - semantic types
|
TC Java 2011 Version |
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||