Class IpResourceRange
java.lang.Object
ru.bitel.common.inet.IpRange
ru.bitel.oss.systems.inventory.resource.common.bean.IpResourceRange
- All Implemented Interfaces:
GuiTitlable
,IpResourceInstance
,Resource
- Direct Known Subclasses:
IpResourceAddress
-
Field Summary
Fields inherited from class ru.bitel.common.inet.IpRange
addressFrom, addressTo
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionСтрока - имя объекта.int
static void
newIpRangeList
(IpResource resource, List<IpResourceSubscription> subscriptionList, String filter, int range, int max, List<IpResourceRange> result) Разделение ресурса на свободные диапазоны указанного размера.void
setIpResourceId
(int ipResourceId) Methods inherited from class ru.bitel.common.inet.IpRange
getAddressFrom, getAddressTo, inRange, intersects, newInstance, newInstance, newInstance, setAddressFrom, setAddressTo, toString, toString, toString
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface ru.bitel.oss.systems.inventory.resource.common.bean.IpResourceInstance
toString
-
Constructor Details
-
IpResourceRange
public IpResourceRange() -
IpResourceRange
public IpResourceRange(int ipResourceId, byte[] addressFrom, byte[] addressTo)
-
-
Method Details
-
getIpResourceId
public int getIpResourceId()- Specified by:
getIpResourceId
in interfaceIpResourceInstance
-
setIpResourceId
public void setIpResourceId(int ipResourceId) - Specified by:
setIpResourceId
in interfaceIpResourceInstance
-
newIpRangeList
public static void newIpRangeList(IpResource resource, List<IpResourceSubscription> subscriptionList, String filter, int range, int max, List<IpResourceRange> result) Разделение ресурса на свободные диапазоны указанного размера.- Parameters:
resource
-subscriptionList
-range
-max
-
-
getGuiTitle
Description copied from interface:GuiTitlable
Строка - имя объекта. Скорее всего уникальная. Используется в комбобоксах, например, итд.- Specified by:
getGuiTitle
in interfaceGuiTitlable
- Returns:
- Строка - представление объекта.
-