- All Known Implementing Classes:
AbstractBeanAliasMap,BeanAliasMapEmpty,BeanAliasMapMultiple,BeanAliasMapSingle
public interface BeanAliasMap
An alias is an alternative for a
property name. It allows to retrieve a property not only via its primary
name but also under one or multiple aliases. An alias could e.g. be a legacy name
after a property has been renamed or to use a technical name containing special characters
(e.g. "@" or ".") for very specific cases.-
Method Summary
-
Method Details
-
getName
- Parameters:
alias- the alias of aproperty name.- Returns:
- the primary
property namefor the givenaliasornullif no such alias is defined. - See Also:
-
getAliases
Inverse operation ofgetName(String).- Parameters:
name- the primaryproperty name.- Returns:
- a
Listwith all registeredaliasesfor the givenname. Will be empty if no suchaliasis defined. - See Also:
-