public static enum DataMapper.MappingRule extends Enum<DataMapper.MappingRule>
Enum Constant and Description |
---|
KEYWORD_MATCHING
field name match by
Keyword equality. |
STRICT_MATCHING
field name must match exactly.
|
Modifier and Type | Method and Description |
---|---|
boolean |
keywordMatching() |
static DataMapper.MappingRule |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DataMapper.MappingRule[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DataMapper.MappingRule STRICT_MATCHING
public static final DataMapper.MappingRule KEYWORD_MATCHING
Keyword
equality.
For example, `foo_bar` in source can be mapped to `fooBar` in targetpublic static DataMapper.MappingRule[] values()
for (DataMapper.MappingRule c : DataMapper.MappingRule.values()) System.out.println(c);
public static DataMapper.MappingRule 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 keywordMatching()
Copyright © 2014–2018 OSGL (Open Source General Library). All rights reserved.