Class InetDevice
java.lang.Object
ru.bitel.common.model.Id
ru.bitel.common.model.IdTitle
ru.bitel.oss.kernel.entity.common.bean.AbstractEntity
ru.bitel.oss.kernel.entity.common.bean.Entity
ru.bitel.oss.systems.inventory.resource.common.bean.Device<InetDevice,InetDeviceType>
ru.bitel.bgbilling.modules.inet.common.bean.InetDevice
- All Implemented Interfaces:
java.io.Serializable
,GuiTitlable
,Idable
,ListItem
,TreeNode<InetDevice>
public class InetDevice extends Device<InetDevice,InetDeviceType>
- See Also:
- Serialized Form
-
Field Summary
Fields inherited from class ru.bitel.oss.systems.inventory.resource.common.bean.Device
children, comment, config, dateFrom, dateTo, deviceGroupIds, deviceType, deviceTypeId, host, identifier, orderManagerDisabled, parentId, secret, uptime, uptimeTime
Fields inherited from class ru.bitel.oss.kernel.entity.common.bean.AbstractEntity
entitySpecId
-
Constructor Summary
Constructors Constructor Description InetDevice()
-
Method Summary
Modifier and Type Method Description void
fromInvDevice(InvDevice device)
java.lang.String
getConfig()
int
getDeviceTypeId()
java.lang.String
getFullTitle()
java.lang.String
getHost()
java.lang.String
getIdentifier()
java.lang.String
getInvConfig()
java.util.Set<java.lang.Integer>
getInvDeviceGroupIds()
int
getInvDeviceId()
int
getInvDeviceTypeId()
java.lang.String
getInvHost()
java.lang.String
getInvIdentifier()
java.lang.String
getInvTitle()
int
getSvlan()
void
setInvConfig(java.lang.String invConfig)
void
setInvDeviceGroupIds(java.util.Set<java.lang.Integer> invDeviceGroupIds)
void
setInvDeviceId(int invDeviceId)
void
setInvDeviceTypeId(int invDeviceTypeId)
void
setInvHost(java.lang.String invHost)
void
setInvIdentifier(java.lang.String invIdentifier)
void
setInvTitle(java.lang.String invTitle)
void
setSvlan(int svlan)
InvDevice
toInvDevice()
Methods inherited from class ru.bitel.oss.systems.inventory.resource.common.bean.Device
findCodePath, generateTitle, generateTitle, getChildren, getComment, getDateFrom, getDateTo, getDeviceGroupIds, getDeviceType, getHosts, getHostsAsString, getParentId, getPassword, getSecret, getUptime, getUptimeTime, getUsername, isOrderManagerDisabled, main, setChildren, setComment, setConfig, setDateFrom, setDateTo, setDeviceGroupIds, setDeviceType, setDeviceTypeId, setHost, setIdentifier, setOrderManagerDisabled, setParentId, setPassword, setSecret, setUptime, setUptimeTime, setUsername
Methods inherited from class ru.bitel.oss.kernel.entity.common.bean.Entity
copyTo, getEntityId, setEntityId
Methods inherited from class ru.bitel.oss.kernel.entity.common.bean.AbstractEntity
copyTo, getEntityAttributes, getEntitySpecId, setEntityAttributes, setEntitySpecId
Methods inherited from class ru.bitel.common.model.IdTitle
copyTo, getGuiTitle, getTitle, setTitle, toIdTitle, 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
-
Field Details
-
SERV_SEARCH_MODE_LOGIN
public static final int SERV_SEARCH_MODE_LOGINПоиск по логину- See Also:
- Constant Field Values
-
SERV_SEARCH_MODE_INTERFACE_ON_DEVICE
public static final int SERV_SEARCH_MODE_INTERFACE_ON_DEVICEПоиск по интерфейсу- See Also:
- Constant Field Values
-
SERV_SEARCH_MODE_VLAN_ON_DEVICE
public static final int SERV_SEARCH_MODE_VLAN_ON_DEVICEПоиск по vlan- See Also:
- Constant Field Values
-
SERV_SEARCH_MODE_VLAN_ON_CHILD_DEVICE
public static final int SERV_SEARCH_MODE_VLAN_ON_CHILD_DEVICEПоиск по vlan с учетом всех дочерних устройств- See Also:
- Constant Field Values
-
SERV_SEARCH_MODE_VLAN_WITH_ADDRESS_ON_DEVICE
public static final int SERV_SEARCH_MODE_VLAN_WITH_ADDRESS_ON_DEVICE- See Also:
- Constant Field Values
-
SERV_SEARCH_MODE_INTERFACE_WITH_MAC
public static final int SERV_SEARCH_MODE_INTERFACE_WITH_MAC- See Also:
- Constant Field Values
-
SERV_SEARCH_MODE_MAC_ON_DEVICE
public static final int SERV_SEARCH_MODE_MAC_ON_DEVICE- See Also:
- Constant Field Values
-
SERV_SEARCH_MODE_MAC_ON_CHILD_DEVICE
public static final int SERV_SEARCH_MODE_MAC_ON_CHILD_DEVICEПоиск по mac с учетом всех дочерних устройств- See Also:
- Constant Field Values
-
SERV_SEARCH_MODE_ADDRESS
public static final int SERV_SEARCH_MODE_ADDRESS- See Also:
- Constant Field Values
-
SERV_SEARCH_MODE_ADDRESS_ON_AGENT_DEVICE
public static final int SERV_SEARCH_MODE_ADDRESS_ON_AGENT_DEVICE- See Also:
- Constant Field Values
-
SERV_SEARCH_MODE_MAC_ON_ROOT
public static final int SERV_SEARCH_MODE_MAC_ON_ROOTПоиск по MAC-адресу по всем аккаунтам в rootDeviceId- See Also:
- Constant Field Values
-
SERV_SEARCH_MODE_VLAN_AND_MAC_ON_PARENT_AND_CHILD_DEVICE
public static final int SERV_SEARCH_MODE_VLAN_AND_MAC_ON_PARENT_AND_CHILD_DEVICEПоиск по VLAN и MAC-адресу на самом устройстве, а также на его потомках и его предках.- See Also:
- Constant Field Values
-
SERV_SEARCH_MODE_INTERFACE_WITH_VLAN
public static final int SERV_SEARCH_MODE_INTERFACE_WITH_VLANПоиск по VLAN и порту на самом устройстве.- See Also:
- Constant Field Values
-
SERV_SEARCH_MODE_MAC_ON_DEVICE_AND_INTERFACE
public static final int SERV_SEARCH_MODE_MAC_ON_DEVICE_AND_INTERFACE- See Also:
- Constant Field Values
-
SERV_SEARCH_MODE_MAC_ON_AGENT_AND_CHILD_DEVICE
public static final int SERV_SEARCH_MODE_MAC_ON_AGENT_AND_CHILD_DEVICEПоиск по mac на агентском устройстве с учетом всех дочерних устройств- See Also:
- Constant Field Values
-
SERV_SEARCH_MODE_LOGIN_ON_PARENT_AND_CHILD_DEVICE
public static final int SERV_SEARCH_MODE_LOGIN_ON_PARENT_AND_CHILD_DEVICEПоиск по логину только на устройстве и дочерних.- See Also:
- Constant Field Values
-
SERV_SUB_SEARCH_MODE_OFF
public static final int SERV_SUB_SEARCH_MODE_OFF- See Also:
- Constant Field Values
-
SERV_SUB_SEARCH_MODE_MAC
public static final int SERV_SUB_SEARCH_MODE_MAC- See Also:
- Constant Field Values
-
SERV_SUB_SEARCH_MODE_MAC_IF_EXIST
public static final int SERV_SUB_SEARCH_MODE_MAC_IF_EXIST- See Also:
- Constant Field Values
-
SERV_SUB_SEARCH_MODE_ADDRESS
public static final int SERV_SUB_SEARCH_MODE_ADDRESS- See Also:
- Constant Field Values
-
SERV_SUB_SEARCH_MODE_ADDRESS_IF_EXIST
public static final int SERV_SUB_SEARCH_MODE_ADDRESS_IF_EXIST- See Also:
- Constant Field Values
-
SERV_SUB_SEARCH_MODE_ADDRESS_WITH_ROOT
public static final int SERV_SUB_SEARCH_MODE_ADDRESS_WITH_ROOT- See Also:
- Constant Field Values
-
SERV_SUB_SEARCH_MODE_ADDRESS_IF_EXIST_WITH_ROOT
public static final int SERV_SUB_SEARCH_MODE_ADDRESS_IF_EXIST_WITH_ROOT- See Also:
- Constant Field Values
-
SERV_DEVICE_LINK_OFF
public static final int SERV_DEVICE_LINK_OFF- See Also:
- Constant Field Values
-
SERV_DEVICE_LINK_ON
public static final int SERV_DEVICE_LINK_ON- See Also:
- Constant Field Values
-
SERV_DEVICE_LINK_ON_CHILD
public static final int SERV_DEVICE_LINK_ON_CHILD- See Also:
- Constant Field Values
-
invDeviceGroupIds
protected java.util.Set<java.lang.Integer> invDeviceGroupIds
-
-
Constructor Details
-
InetDevice
public InetDevice()
-
-
Method Details
-
getInvDeviceTypeId
public int getInvDeviceTypeId() -
setInvDeviceTypeId
public void setInvDeviceTypeId(int invDeviceTypeId) -
getInvTitle
public java.lang.String getInvTitle() -
setInvTitle
public void setInvTitle(java.lang.String invTitle) -
getInvDeviceId
public int getInvDeviceId() -
setInvDeviceId
public void setInvDeviceId(int invDeviceId) -
getInvIdentifier
public java.lang.String getInvIdentifier() -
setInvIdentifier
public void setInvIdentifier(java.lang.String invIdentifier) -
getInvHost
public java.lang.String getInvHost() -
setInvHost
public void setInvHost(java.lang.String invHost) -
getInvConfig
public java.lang.String getInvConfig() -
setInvConfig
public void setInvConfig(java.lang.String invConfig) -
getInvDeviceGroupIds
public java.util.Set<java.lang.Integer> getInvDeviceGroupIds() -
setInvDeviceGroupIds
public void setInvDeviceGroupIds(java.util.Set<java.lang.Integer> invDeviceGroupIds) -
getDeviceTypeId
public int getDeviceTypeId()- Overrides:
getDeviceTypeId
in classDevice<InetDevice,InetDeviceType>
-
getIdentifier
public java.lang.String getIdentifier()- Overrides:
getIdentifier
in classDevice<InetDevice,InetDeviceType>
-
getHost
public java.lang.String getHost()- Overrides:
getHost
in classDevice<InetDevice,InetDeviceType>
-
getConfig
public java.lang.String getConfig()- Overrides:
getConfig
in classDevice<InetDevice,InetDeviceType>
-
toInvDevice
-
fromInvDevice
-
getFullTitle
public java.lang.String getFullTitle() -
getSvlan
public int getSvlan() -
setSvlan
public void setSvlan(int svlan)
-