|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.apelon.dts.common.subset.PreviewOptions
public class PreviewOptions
Class for setting options when previewing full and differences between subset expressions.
Copyright: Copyright (c) 2005
Company: Apelon Inc.
| Field Summary | |
|---|---|
static int |
DIFF_ADDITIONS
|
static int |
DIFF_DELETIONS
|
static int |
FULL
|
static PreviewOptions |
PREVIEW_DIFF_ADDITIONS
|
static PreviewOptions |
PREVIEW_DIFF_DELETIONS
|
static PreviewOptions |
PREVIEW_FULL
|
| Constructor Summary | |
|---|---|
PreviewOptions()
No-arg constructor. |
|
| Method Summary | |
|---|---|
int |
getLimit()
Gets the limit on the number of preview results to be returned. |
int |
getPreviewType()
Returns the preview type set on this object. |
String |
getSubsetExpression()
The subset expression which for which preview is computed. |
int |
getSubsetId()
Gets the id of the subset against which the preview difference is computed. |
void |
setLimit(int limit)
Sets the maximum number of results that should be returned for the preview. |
void |
setPreviewType(int previewType)
Sets the preview type. |
void |
setSubsetExpression(String expression)
The subset expression whose preview needs to be computed. |
void |
setSubsetId(int subsetId)
The id of the subset against which preview differences ( DIFF_ADDITIONS or
DIFF_DELETIONS) needs to be computed. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static final int DIFF_ADDITIONS
public static final int DIFF_DELETIONS
public static final int FULL
public static final PreviewOptions PREVIEW_FULL
public static final PreviewOptions PREVIEW_DIFF_ADDITIONS
public static final PreviewOptions PREVIEW_DIFF_DELETIONS
| Constructor Detail |
|---|
public PreviewOptions()
| Method Detail |
|---|
public void setPreviewType(int previewType)
previewType - Valid types are DIFF_ADDITIONS or DIFF_DELETIONS or
FULLpublic int getPreviewType()
public void setLimit(int limit)
limit - the search limitpublic int getLimit()
public void setSubsetId(int subsetId)
DIFF_ADDITIONS or
DIFF_DELETIONS) needs to be computed.
Note: id is only used for computing differences and not while previewing full (FULL).
subsetId - The id of the subsetpublic int getSubsetId()
public void setSubsetExpression(String expression)
FULL and (DIFF_ADDITIONS or
DIFF_DELETIONS) cases.
expression - Subset expression whose preview is to be generated
The expression is a XML string generated by the XMLEncoderpublic String getSubsetExpression()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||