public enum MatchType extends Enum<MatchType>
MatchType
enumerates the allowable match modes when
searching for a member based on its unique name.Enum Constant and Description |
---|
AFTER
If no exact match, return the next member
|
BEFORE
If no exact match, return the preceding member
|
EXACT
Match the unique name exactly
|
EXACT_SCHEMA
Match the unique name exactly, do not query database for members
|
FIRST
Return the first child
|
LAST
Return the last child
|
Modifier and Type | Method and Description |
---|---|
boolean |
isExact()
Return true if either Exact or Exact Schema value
is selected.
|
static MatchType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static MatchType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final MatchType EXACT_SCHEMA
public static final MatchType EXACT
public static final MatchType BEFORE
public static final MatchType AFTER
public static final MatchType FIRST
public static final MatchType LAST
public static MatchType[] values()
for (MatchType c : MatchType.values()) System.out.println(c);
public static MatchType valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullpublic boolean isExact()
Copyright © 2018 Hitachi Vantara. All rights reserved.