org.jsmpp.bean
Class Bind

java.lang.Object
  extended by org.jsmpp.bean.Command
      extended by org.jsmpp.bean.Bind

public class Bind
extends Command

This class represent SMPP bind command.

Version:
1.0
Author:
uudashr

Field Summary
 
Fields inherited from class org.jsmpp.bean.Command
commandId, commandLength, commandStatus, sequenceNumber
 
Constructor Summary
Bind()
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 java.lang.String getAddressRange()
          Get the address_range.
 byte getAddrNpi()
          Get the addr_npi.
 byte getAddrTon()
          Get the addr_ton.
 byte getInterfaceVersion()
          Get the interface_version.
 java.lang.String getPassword()
          Get the password.
 java.lang.String getSystemId()
          Get the system_id.
 java.lang.String getSystemType()
          Get the system_type.
 int hashCode()
           
 void setAddressRange(java.lang.String addressRange)
          Set the address_range.
 void setAddrNpi(byte addrNpi)
          Set the addr_npi.
 void setAddrTon(byte addrTon)
          Set the addr_ton.
 void setInterfaceVersion(byte interfaceVersion)
          Set the interface_version.
 void setPassword(java.lang.String password)
          Set the password.
 void setSystemId(java.lang.String systemId)
          Set the system_id.
 void setSystemType(java.lang.String systemType)
          Set the system_type.
 
Methods inherited from class org.jsmpp.bean.Command
getCommandId, getCommandIdAsHex, getCommandLength, getCommandStatus, getCommandStatusAsHex, getSequenceNumber, setCommandId, setCommandLength, setCommandStatus, setSequenceNumber, toString
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Bind

public Bind()
Method Detail

getAddressRange

public java.lang.String getAddressRange()
Get the address_range.

Returns:
the address_range.

setAddressRange

public void setAddressRange(java.lang.String addressRange)
Set the address_range.

Parameters:
addressRange - is the address_range.

getAddrNpi

public byte getAddrNpi()
Get the addr_npi.

Returns:
the addr_npi.

setAddrNpi

public void setAddrNpi(byte addrNpi)
Set the addr_npi.

Parameters:
addrNpi - is the addr_npi.

getAddrTon

public byte getAddrTon()
Get the addr_ton.

Returns:
the addr_ton.

setAddrTon

public void setAddrTon(byte addrTon)
Set the addr_ton.

Parameters:
addrTon - is the addr_ton.

getInterfaceVersion

public byte getInterfaceVersion()
Get the interface_version.

Returns:
the interface_version.

setInterfaceVersion

public void setInterfaceVersion(byte interfaceVersion)
Set the interface_version.

Parameters:
interfaceVersion - is the interface_version.

getPassword

public java.lang.String getPassword()
Get the password.

Returns:
the password.

setPassword

public void setPassword(java.lang.String password)
Set the password.

Parameters:
password - is the password.

getSystemId

public java.lang.String getSystemId()
Get the system_id.

Returns:
the system_id.

setSystemId

public void setSystemId(java.lang.String systemId)
Set the system_id.

Parameters:
systemId - is the system_id.

getSystemType

public java.lang.String getSystemType()
Get the system_type.

Returns:
the system_type.

setSystemType

public void setSystemType(java.lang.String systemType)
Set the system_type.

Parameters:
systemType - is the system_type.

hashCode

public int hashCode()
Overrides:
hashCode in class Command

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class Command