public abstract class CategoryMapping<S,T> extends Object
| Constructor and Description |
|---|
CategoryMapping() |
| Modifier and Type | Method and Description |
|---|---|
static <S,T> CategoryMapping<S,T> |
create(String algorithm) |
static <S,T> CategoryMapping<S,T> |
create(String sourceAttributeName,
Map<S,T> map) |
static <S,T> CategoryMapping<S,T> |
create(String sourceAttributeName,
Map<S,T> map,
T defaultValue) |
static <S,T> CategoryMapping<S,T> |
create(String sourceAttributeName,
Map<S,T> map,
T defaultValue,
T nullValue) |
static <S,T> CategoryMapping<S,T> |
createEmpty(String attributeName) |
String |
getAlgorithm() |
abstract T |
getDefaultValue() |
abstract Map<S,T> |
getMap() |
abstract T |
getNullValue() |
abstract String |
getSourceAttributeName() |
abstract boolean |
isDefaultValueUndefined() |
abstract boolean |
isNullValueUndefined() |
public abstract String getSourceAttributeName()
public abstract boolean isDefaultValueUndefined()
public abstract boolean isNullValueUndefined()
public static <S,T> CategoryMapping<S,T> create(String sourceAttributeName, Map<S,T> map)
public static <S,T> CategoryMapping<S,T> create(String sourceAttributeName, Map<S,T> map, T defaultValue)
public static <S,T> CategoryMapping<S,T> create(String sourceAttributeName, Map<S,T> map, T defaultValue, T nullValue)
public String getAlgorithm()
public static <S,T> CategoryMapping<S,T> createEmpty(String attributeName)
public static <S,T> CategoryMapping<S,T> create(String algorithm)
Copyright © 2018 Pivotal Software, Inc.. All rights reserved.