public enum SearchMode extends java.lang.Enum<SearchMode> implements de.ims.icarus.util.id.Identity
Enum Constant and Description |
---|
HITS
Deprecated.
The interaction of this search mode and the
grouping operator
causes undesired side effects in result set creation that are not easily fixed. Therefore searching will be restricted
to only use the other 2 "basic" modes! |
INDEPENDENT_HITS
Every single hit encountered in a target graph
should be reported independently.
|
MATCHES
Only the first hit in a target graph should be reported.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getDescription() |
javax.swing.Icon |
getIcon() |
java.lang.String |
getId() |
java.lang.String |
getName() |
java.lang.Object |
getOwner() |
boolean |
isExhaustive() |
static SearchMode[] |
supportedModes() |
static SearchMode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static SearchMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
@Deprecated public static final SearchMode HITS
grouping operator
causes undesired side effects in result set creation that are not easily fixed. Therefore searching will be restricted
to only use the other 2 "basic" modes!public static final SearchMode INDEPENDENT_HITS
public static final SearchMode MATCHES
public static SearchMode[] values()
for (SearchMode c : SearchMode.values()) System.out.println(c);
public static SearchMode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant
with the specified namejava.lang.NullPointerException
- if the argument is nullpublic java.lang.String getId()
getId
in interface de.ims.icarus.util.id.Identity
Identity.getId()
public java.lang.String getName()
getName
in interface de.ims.icarus.util.id.Identity
Identity.getName()
public java.lang.String getDescription()
getDescription
in interface de.ims.icarus.util.id.Identity
Identity.getDescription()
public javax.swing.Icon getIcon()
getIcon
in interface de.ims.icarus.util.id.Identity
Identity.getIcon()
public java.lang.Object getOwner()
getOwner
in interface de.ims.icarus.util.id.Identity
Identity.getOwner()
public boolean isExhaustive()
public static SearchMode[] supportedModes()