Class IpResourceNet
java.lang.Object
ru.bitel.common.inet.IpNet
ru.bitel.oss.systems.inventory.resource.common.bean.IpResourceNet
- All Implemented Interfaces:
 Serializable,GuiTitlable,IpResourceInstance,Resource
- See Also:
 
- 
Field Summary
 - 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionСтрока - имя объекта.intstatic voidnewIpResourceNetList(Iterable<IpResourceRange> rangeList, int mask, int max, List<IpResourceNet> result) static voidnewIpResourceNetList(IpResource resource, List<IpResourceSubscription> subscriptionList, String filter, int mask, int max, List<IpResourceNet> result) Разделение ресурса на свободные диапазоны и последуещее разделение на подсети.voidsetIpResourceId(int ipResourceId) Methods inherited from class ru.bitel.common.inet.IpNet
equals, getBroadcast, getBroadcast, getHostMax, getHostMin, getMask, getMask, getMaxIp, getNetmask, getNetmask, getNetmaskWildcard, getNetmaskWildcard, getSubnet, hashCode, inNet, inNet, maskToInt, newInstance, setMask, setSubnet, toRFCString, toString, toString, toStringMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface ru.bitel.oss.systems.inventory.resource.common.bean.IpResourceInstance
toString 
- 
Constructor Details
- 
IpResourceNet
public IpResourceNet() - 
IpResourceNet
public IpResourceNet(int ipResourceId, byte[] subnet, int mask)  
 - 
 - 
Method Details
- 
getIpResourceId
public int getIpResourceId()- Specified by:
 getIpResourceIdin interfaceIpResourceInstance
 - 
setIpResourceId
public void setIpResourceId(int ipResourceId) - Specified by:
 setIpResourceIdin interfaceIpResourceInstance
 - 
newIpResourceNetList
public static void newIpResourceNetList(IpResource resource, List<IpResourceSubscription> subscriptionList, String filter, int mask, int max, List<IpResourceNet> result) Разделение ресурса на свободные диапазоны и последуещее разделение на подсети.- Parameters:
 resource-subscriptionList-mask-max-result-
 - 
newIpResourceNetList
public static void newIpResourceNetList(Iterable<IpResourceRange> rangeList, int mask, int max, List<IpResourceNet> result)  - 
getGuiTitle
Description copied from interface:GuiTitlableСтрока - имя объекта. Скорее всего уникальная. Используется в комбобоксах, например, итд.- Specified by:
 getGuiTitlein interfaceGuiTitlable- Returns:
 - Строка - представление объекта.
 
 
 -