Package org.anchoranalysis.bean.shared
Class StringMap
- Author:
- Owen Feehan
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class org.anchoranalysis.bean.AnchorBean
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
-
Constructor Details
-
StringMap
public StringMap()
-
-
Method Details
-
create
Derives aMap
representation for the mapping.Each
StringMapItem.getSource()
should be unique inlist
, otherwise an exception is thrown.- Returns:
- a newly created
Map
representing the items inlist
. - Throws:
CreateException
- if the values ofStringMapItem.getSource()
inlist
are not unique.
-
getList
A list of mappings between a single-items in the respective sets. -
setList
A list of mappings between a single-items in the respective sets.
-