Class InetService
java.lang.Object
org.bgerp.model.base.tree.TreeItem<Integer, InetService>
ru.bgcrm.plugin.bgbilling.proto.model.inet.InetService
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final shortService state - deleted (from the associated devices)static final shortService/connection state - access disabledstatic final shortService/connection state - access enabledstatic final shortService state - means the state hasn't changedstatic final intstatic final intstatic final intDeprecated. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionintbyte[]byte[]intgetCid()intintintshortintgetDid()Synonym for compatibility with the billing serviceintintgetLogin()byte[]List<byte[]> intgetMask()intintintgetUname()Synonym for compatibility with the billing serviceintgetVlan()protected booleanvoidsetAccessCode(int accessCode) voidsetAccessCodeTitle(String accessCodeTitle) voidsetAddrFrom(byte[] addrFrom) voidsetAddrTo(byte[] addrTo) voidsetComment(String comment) voidsetContractId(int contractId) voidsetContractObjectId(int contractObjectId) voidsetDateFrom(Date dateFrom) voidvoidsetDeviceId(int deviceId) voidsetDeviceTitle(String deviceTitle) voidsetDevState(short devState) voidsetDid(int deviceId) Synonym for compatibility with the billing servicevoidsetIfaceId(int ifaceId) voidsetInterfaceTitle(String interfaceTitle) voidsetIpResId(int ipResourceId) voidvoidsetMacAddress(byte[] macAddress) voidsetMacAddressList(List<byte[]> macAddress) voidsetMacAddressStr(String macAddress) voidsetPassword(String password) voidsetSessionCountLimit(int sessionCountLimit) voidsetStatus(int status) voidsetTypeId(int typeId) voidsetTypeTitle(String typeTitle) voidSynonym for compatibility with the billing servicevoidsetVlan(int vlan) Methods inherited from class TreeItem
addChild, getAllChildIds, getById, getChild, getChildCount, getChildIds, getChildren, getIcon, getId, getParentId, getTextStyle, getTitle, isInPathTo, isRootNodeWithIntegerId, setChildren, setId, setParentId, setTitle
-
Field Details
-
STATUS_ACTIVE
public static final int STATUS_ACTIVE- See Also:
-
STATUS_CLOSED
public static final int STATUS_CLOSED- See Also:
-
STATUS_LOCKED
Deprecated.Absent from bgbilling since 9.2404- See Also:
-
STATE_NULL
public static final short STATE_NULLService state - means the state hasn't changed- See Also:
-
STATE_DELETED
public static final short STATE_DELETEDService state - deleted (from the associated devices)- See Also:
-
STATE_DISABLE
public static final short STATE_DISABLEService/connection state - access disabled- See Also:
-
STATE_ENABLE
public static final short STATE_ENABLEService/connection state - access enabled- See Also:
-
-
Constructor Details
-
InetService
public InetService()
-
-
Method Details
-
getPassword
-
setPassword
-
getContractId
public int getContractId() -
getCid
public int getCid() -
setContractId
public void setContractId(int contractId) -
getTypeId
public int getTypeId() -
setTypeId
public void setTypeId(int typeId) -
getTypeTitle
-
setTypeTitle
-
getLogin
-
setLogin
-
getUname
Synonym for compatibility with the billing service -
setUname
Synonym for compatibility with the billing service -
getDeviceId
public int getDeviceId() -
setDeviceId
public void setDeviceId(int deviceId) -
getDid
public int getDid()Synonym for compatibility with the billing service -
setDid
public void setDid(int deviceId) Synonym for compatibility with the billing service -
getDeviceTitle
-
setDeviceTitle
-
getIpResId
public int getIpResId() -
setIpResId
public void setIpResId(int ipResourceId) -
getAddrFrom
public byte[] getAddrFrom() -
setAddrFrom
public void setAddrFrom(byte[] addrFrom) -
getAddrTo
public byte[] getAddrTo() -
setAddrTo
public void setAddrTo(byte[] addrTo) -
getAddrFromStr
-
getAddrToStr
-
getMask
public int getMask() -
getIfaceId
public int getIfaceId() -
setIfaceId
public void setIfaceId(int ifaceId) -
getInterfaceTitle
-
setInterfaceTitle
-
getMacAddress
public byte[] getMacAddress()- Returns:
- the first MAC address
-
setMacAddress
public void setMacAddress(byte[] macAddress) - Parameters:
macAddress- the single MAC address to set
-
getMacAddressStr
- Returns:
- the first MAC address
-
setMacAddressStr
- Parameters:
macAddress- the single MAC address to set
-
getMacAddressList
-
setMacAddressList
-
getVlan
public int getVlan() -
setVlan
public void setVlan(int vlan) -
getStatus
public int getStatus() -
setStatus
public void setStatus(int status) -
getStatusTitle
-
getSessionCountLimit
public int getSessionCountLimit() -
setSessionCountLimit
public void setSessionCountLimit(int sessionCountLimit) -
getDateFrom
-
setDateFrom
-
getDateTo
-
setDateTo
-
getDevState
public short getDevState() -
setDevState
public void setDevState(short devState) -
getAccessCode
public int getAccessCode() -
setAccessCode
public void setAccessCode(int accessCode) -
getAccessCodeTitle
-
setAccessCodeTitle
-
getDevStateTitle
-
getComment
-
setComment
-
getContractObjectId
public int getContractObjectId() -
setContractObjectId
public void setContractObjectId(int contractObjectId) -
isRootNode
protected boolean isRootNode()- Specified by:
isRootNodein classTreeItem<Integer, InetService>
-