public class AttributeAliasingMapper extends MapperWrapper
Mapper.ImplicitCollectionMapping, Mapper.Null
Constructor and Description |
---|
AttributeAliasingMapper(Mapper wrapped) |
Modifier and Type | Method and Description |
---|---|
void |
addAliasFor(String attributeName,
String alias) |
String |
aliasForAttribute(String attribute)
Get the alias for an attrbute's name.
|
String |
attributeForAlias(String alias)
Get the attribut's name for an alias.
|
aliasForAttribute, attributeForAlias, attributeForClassDefiningField, attributeForEnumType, attributeForImplementationClass, attributeForReadResolveField, defaultImplementationOf, getConverterFromAttribute, getConverterFromAttribute, getConverterFromItemType, getConverterFromItemType, getConverterFromItemType, getFieldNameForItemTypeAndName, getImplicitCollectionDefForFieldName, getItemTypeForItemFieldName, getLocalConverter, isImmutableValueType, lookupMapperOfType, realClass, realMember, serializedClass, serializedMember, shouldSerializeMember
public AttributeAliasingMapper(Mapper wrapped)
public String aliasForAttribute(String attribute)
Mapper
aliasForAttribute
in interface Mapper
aliasForAttribute
in class MapperWrapper
attribute
- the attributepublic String attributeForAlias(String alias)
Mapper
attributeForAlias
in interface Mapper
attributeForAlias
in class MapperWrapper
alias
- the aliasCopyright © 2016 Internet2. All rights reserved.