public final class SearchStrategyKey extends Object
Modifier and Type | Field and Description |
---|---|
static SearchStrategyKey |
BOOLEAN |
static SearchStrategyKey |
CODE |
static SearchStrategyKey |
COLOR |
static SearchStrategyKey |
COMPLEX |
static SearchStrategyKey |
DATE |
static SearchStrategyKey |
DATETIME |
static SearchStrategyKey |
DECIMAL |
static SearchStrategyKey |
EMAIL |
static SearchStrategyKey |
HTML |
static SearchStrategyKey |
INT |
static SearchStrategyKey |
INTEGER |
static SearchStrategyKey |
JARO_WINKLER |
static SearchStrategyKey |
LOCALE |
static SearchStrategyKey |
NAME |
static SearchStrategyKey |
ORESOURCE |
static SearchStrategyKey |
PASSWORD |
static SearchStrategyKey |
PK |
static SearchStrategyKey |
REFERENCE |
static SearchStrategyKey |
STRING |
static SearchStrategyKey |
TEXT |
static SearchStrategyKey |
UNOPTIMIZED
Only used to set a key to an unoptimized search
|
static SearchStrategyKey |
URI |
static SearchStrategyKey |
VOID |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
format()
Returns a persistent identifier for this service key.
|
static SearchStrategyKey |
forModuleStrategyName(String aModuleName,
String aStrategyName) |
static SearchStrategyKey |
forName(String aStrategyName) |
String |
getModuleName() |
String |
getStrategyName()
Returns the local name of the strategy, by removing the
prefix before and including the '@' character.
|
int |
hashCode() |
boolean |
isBuiltInStrategy()
Returns
true if this instance identifies a built-in strategy. |
static SearchStrategyKey |
parse(String aString) |
String |
toString() |
public static final SearchStrategyKey TEXT
public static final SearchStrategyKey STRING
public static final SearchStrategyKey BOOLEAN
public static final SearchStrategyKey CODE
public static final SearchStrategyKey NAME
public static final SearchStrategyKey HTML
public static final SearchStrategyKey EMAIL
public static final SearchStrategyKey PASSWORD
public static final SearchStrategyKey LOCALE
public static final SearchStrategyKey COLOR
public static final SearchStrategyKey DECIMAL
public static final SearchStrategyKey INT
public static final SearchStrategyKey INTEGER
public static final SearchStrategyKey DATE
public static final SearchStrategyKey DATETIME
public static final SearchStrategyKey REFERENCE
public static final SearchStrategyKey COMPLEX
public static final SearchStrategyKey PK
public static final SearchStrategyKey URI
public static final SearchStrategyKey ORESOURCE
public static final SearchStrategyKey VOID
public static final SearchStrategyKey JARO_WINKLER
public static final SearchStrategyKey UNOPTIMIZED
SchemaNodeSearchStrategy_Unoptimized
public static SearchStrategyKey parse(String aString)
IllegalArgumentException
- if the specified key does not match the
regular expression ([-\\d\\pL:_.]*)@?(%?[-\\d\\pL:_. /]+)
.public static SearchStrategyKey forName(String aStrategyName)
public static SearchStrategyKey forModuleStrategyName(String aModuleName, String aStrategyName)
public String getModuleName()
public String getStrategyName()
public boolean isBuiltInStrategy()
true
if this instance identifies a built-in strategy.public String format()
The strategy key can be re-obtained by parsing this persistent identifier using the method
parse(String)
.