public class StringMap extends AnchorBean<StringMap>
Constructor and Description |
---|
StringMap() |
Modifier and Type | Method and Description |
---|---|
Map<String,String> |
create()
Derives a
Map representation for the mapping. |
List<StringMapItem> |
getList()
A list of mappings between a single-items in the respective sets.
|
void |
setList(List<StringMapItem> list)
A list of mappings between a single-items in the respective sets.
|
checkMisconfigured, describeBean, describeChildren, duplicateBean, fields, findFieldsOfClass, getBeanName, getLocalPath, localise, toString
public Map<String,String> create() throws CreateException
Map
representation for the mapping.
Each StringMapItem.getSource()
should be unique in list
, otherwise an
exception is thrown.
Map
representing the items in list
.CreateException
- if the values of StringMapItem.getSource()
in list
are not unique.public List<StringMapItem> getList()
public void setList(List<StringMapItem> list)
Copyright © 2010–2023 Owen Feehan, ETH Zurich, University of Zurich, Hoffmann-La Roche. All rights reserved.