de.siemens.icn.hipath.dls.apiv100.device
Class Device

java.lang.Object
  extended by de.siemens.icn.hipath.dls.apiv100.device.Device

public class Device
extends java.lang.Object

This device is a model tailored for sip key configuration based on the e164 number.


Constructor Summary
Device()
           
Device(java.lang.String type, java.lang.String softwareType, java.lang.String softwareVersion, boolean isRegistered)
           
 
Method Summary
 java.lang.String getE164()
           
 boolean getIsRegistered()
           
 Key[] getKeys()
           
 Layout getLayout()
           
 java.lang.String getSoftwareType()
           
 java.lang.String getSoftwareVersion()
           
 java.lang.String getType()
           
 void setE164(java.lang.String e164)
           
 void setKeys(Key[] keys)
           
 void setLayout(Layout layout)
           
 java.lang.String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

Device

public Device()

Device

public Device(java.lang.String type,
              java.lang.String softwareType,
              java.lang.String softwareVersion,
              boolean isRegistered)
Method Detail

getType

public java.lang.String getType()
Returns:
The device type (e.g. 'optiPoint 420 advance').

getSoftwareType

public java.lang.String getSoftwareType()

getSoftwareVersion

public java.lang.String getSoftwareVersion()

getIsRegistered

public boolean getIsRegistered()

getE164

public java.lang.String getE164()
Returns:
The e164Basic number.

setE164

public void setE164(java.lang.String e164)

getLayout

public Layout getLayout()
Returns:
The key layout configured for this device

setLayout

public void setLayout(Layout layout)

getKeys

public Key[] getKeys()
Returns:
All keys configured for this device.

setKeys

public void setKeys(Key[] keys)

toString

public java.lang.String toString()
Overrides:
toString in class java.lang.Object