public class EzySimpleZonesSetting extends Object implements EzyZonesSetting
| Modifier and Type | Field and Description |
|---|---|
protected List<EzyZoneSetting> |
zones |
protected Map<Integer,EzySimpleZoneSetting> |
zonesByIds |
protected Map<String,EzySimpleZoneSetting> |
zonesByNames |
| Constructor and Description |
|---|
EzySimpleZonesSetting() |
| Modifier and Type | Method and Description |
|---|---|
int |
getSize() |
EzySimpleZoneSetting |
getZoneById(Integer id) |
EzySimpleZoneSetting |
getZoneByName(String name) |
Set<Integer> |
getZoneIds() |
Set<String> |
getZoneNames() |
void |
setItem(EzySimpleZoneSetting item) |
Map<Object,Object> |
toMap() |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetZonesprotected final List<EzyZoneSetting> zones
protected final Map<Integer,EzySimpleZoneSetting> zonesByIds
protected final Map<String,EzySimpleZoneSetting> zonesByNames
public void setItem(EzySimpleZoneSetting item)
public Set<String> getZoneNames()
getZoneNames in interface EzyZonesSettingpublic Set<Integer> getZoneIds()
getZoneIds in interface EzyZonesSettingpublic EzySimpleZoneSetting getZoneByName(String name)
getZoneByName in interface EzyZonesSettingpublic EzySimpleZoneSetting getZoneById(Integer id)
getZoneById in interface EzyZonesSettingpublic int getSize()
getSize in interface EzyZonesSettingCopyright © 2021 Young Monkeys. All rights reserved.