Package ru.ilb.jfunction.map.accessors
Class MapAccessorImpl
- java.lang.Object
-
- ru.ilb.jfunction.map.accessors.MapAccessorImpl
-
- All Implemented Interfaces:
MapAccessor
@Named public class MapAccessorImpl extends Object implements MapAccessor
-
-
Constructor Summary
Constructors Constructor Description MapAccessorImpl(Map<String,Object> values)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Map<String,Object>asMap()BooleangetBooleanProperty(String name)IntegergetIntegerProperty(String name)List<String>getListStringProperty(String name)LonggetLongProperty(String name)Map<String,Object>getMapProperty(String name)ObjectgetProperty(String name)StringgetStringProperty(String name)
-
-
-
Method Detail
-
asMap
public Map<String,Object> asMap()
- Specified by:
asMapin interfaceMapAccessor
-
getProperty
public Object getProperty(String name)
- Specified by:
getPropertyin interfaceMapAccessor
-
getMapProperty
public Map<String,Object> getMapProperty(String name)
- Specified by:
getMapPropertyin interfaceMapAccessor
-
getStringProperty
public String getStringProperty(String name)
- Specified by:
getStringPropertyin interfaceMapAccessor
-
getIntegerProperty
public Integer getIntegerProperty(String name)
- Specified by:
getIntegerPropertyin interfaceMapAccessor
-
getLongProperty
public Long getLongProperty(String name)
- Specified by:
getLongPropertyin interfaceMapAccessor
-
getBooleanProperty
public Boolean getBooleanProperty(String name)
- Specified by:
getBooleanPropertyin interfaceMapAccessor
-
getListStringProperty
public List<String> getListStringProperty(String name)
- Specified by:
getListStringPropertyin interfaceMapAccessor
-
-