Package ru.bitel.oss.systems.inventory.resource.common.bean

# Class IpResource

java.lang.Object
ru.bitel.common.model.Id
ru.bitel.oss.systems.inventory.resource.common.bean.IpResource

All Implemented Interfaces:
  `Serializable`, `GuiTitlable`, `Idable`

public class IpResource extends Id implements GuiTitlable

See Also:
  - Serialized Form

- ## Nested Class Summary

  Nested Classes
  Modifier and Type
  Class
  Description
  `static class`
  `IpResource.Builder`

- ## Field Summary

  ### Fields inherited from class ru.bitel.common.model.Id

  `id`

- ## Constructor Summary

  Constructors
  Constructor
  Description
  `IpResource()`

- ## Method Summary

  Modifier and Type
  Method
  Description
  `static IpResource.Builder`
  `builder()`
  `byte[]`
  `getAddressFrom()`
  `byte[]`
  `getAddressTo()`
  `int`
  `getCategoryId()`
  `String`
  `getComment()`
  `String`
  `getConfig()`
  `Date`
  `getDateFrom()`
  `Date`
  `getDateTo()`
  `String`
  `getDns()`
  `String`
  `getGuiTitle()`
  Строка - имя объекта.
  `short`
  `getPrefixLength()`
  `String`
  `getRouter()`
  `String`
  `getSubnetMask()`
  `boolean`
  `isReserveEnd()`
  `boolean`
  `isReserveStart()`
  `void`
  `setAddressFrom(byte[] addressFrom)`
  `void`
  `setAddressTo(byte[] addressTo)`
  `void`
  `setCategoryId(int categoryId)`
  `void`
  `setComment(String comment)`
  `void`
  `setConfig(String config)`
  `void`
  `setDateFrom(Date dateFrom)`
  `void`
  `setDateTo(Date dateTo)`
  `void`
  `setDns(String dns)`
  `void`
  `setPrefixLength(short prefixLength)`
  `void`
  `setReserveEnd(boolean reserveEnd)`
  `void`
  `setReserveStart(boolean reserveStart)`
  `void`
  `setRouter(String router)`
  `void`
  `setSubnetMask(String subnetMask)`
  `String`
  `toString()`

  ### Methods inherited from class ru.bitel.common.model.Id

  `copyTo, equals, getId, hashCode, newIdList, newIdSet, newIdSet, newIdSet, newIdSet, newMap, setId`

  ### Methods inherited from class java.lang.Object

  `clone, finalize, getClass, notify, notifyAll, wait, wait, wait`

- ## Constructor Details

  - ### IpResource

    public IpResource()

- ## Method Details

  - ### getCategoryId

    public int getCategoryId()

  - ### setCategoryId

    public void setCategoryId(int categoryId)

  - ### getAddressFrom

    public byte[] getAddressFrom()

  - ### setAddressFrom

    public void setAddressFrom(byte[] addressFrom)

  - ### getAddressTo

    public byte[] getAddressTo()

  - ### setAddressTo

    public void setAddressTo(byte[] addressTo)

  - ### getDateFrom

    public Date getDateFrom()

  - ### setDateFrom

    public void setDateFrom(Date dateFrom)

  - ### getDateTo

    public Date getDateTo()

  - ### setDateTo

    public void setDateTo(Date dateTo)

  - ### getRouter

    public String getRouter()

  - ### setRouter

    public void setRouter(String router)

  - ### getSubnetMask

    public String getSubnetMask()

  - ### setSubnetMask

    public void setSubnetMask(String subnetMask)

  - ### getDns

    public String getDns()

  - ### setDns

    public void setDns(String dns)

  - ### isReserveStart

    public boolean isReserveStart()

  - ### isReserveEnd

    public boolean isReserveEnd()

  - ### setReserveStart

    public void setReserveStart(boolean reserveStart)

  - ### setReserveEnd

    public void setReserveEnd(boolean reserveEnd)

  - ### getConfig

    public String getConfig()

  - ### setConfig

    public void setConfig(String config)

  - ### getComment

    public String getComment()

  - ### setComment

    public void setComment(String comment)

  - ### toString

    public String toString()
    Overrides:
      `toString` in class `Id`

  - ### getGuiTitle

    public String getGuiTitle()
    Description copied from interface: `GuiTitlable`
    Строка - имя объекта. Скорее всего уникальная. Используется в комбобоксах, например, итд.
    Specified by:
      `getGuiTitle` in interface `GuiTitlable`
    Returns:
      Строка - представление объекта.

  - ### getPrefixLength

    public short getPrefixLength()

  - ### setPrefixLength

    public void setPrefixLength(short prefixLength)

  - ### builder

    public static IpResource.Builder builder()