java.lang.Object
io.github.mmm.bean.impl.AbstractBeanAliasMap
io.github.mmm.bean.impl.BeanAliasMapMultiple
- All Implemented Interfaces:
BeanAliasMap
Implementation of
BeanAliasMap that has a multiple mappings.-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAliases(String name) Inverse operation ofBeanAliasMap.getName(String).toString()
-
Constructor Details
-
BeanAliasMapMultiple
The constructor.- Parameters:
name- the primaryproperty name.alias- the associatedalias.
-
-
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
Description copied from interface:BeanAliasMapInverse operation ofBeanAliasMap.getName(String).- Parameters:
name- the primaryproperty name.- Returns:
- a
Listwith all registeredaliasesfor the givenname. Will be empty if no suchaliasis defined. - See Also:
-
add
- Specified by:
addin classAbstractBeanAliasMap- Parameters:
name- the primaryproperty name.alias- thealias mappingfor the givenname.- Returns:
- the
AbstractBeanAliasMapwith the given mapping added.
-
toString
-