es.javocsoft.android.lib.toucan.client.request.bean
Class DeviceRegistrationBean

java.lang.Object
  extended by es.javocsoft.android.lib.toucan.client.request.bean.DeviceRegistrationBean

public class DeviceRegistrationBean
extends Object

Device registration information bean.

Version:
1.0 $Rev: 795 $ $Author: admin $ $Date: 2015-10-23 12:32:49 +0200 (Fri, 23 Oct 2015) $
Author:
JavocSoft Team

Constructor Summary
DeviceRegistrationBean()
           
DeviceRegistrationBean(int id, int appVersion, int extId, String notToken, String devId, String devOs, String devExtra, String devLocale, String devResType, String installReferral, Date tsCreation, Date tsUpdate)
           
 
Method Summary
 int getAppVersion()
           
 String getDataAsString()
          gets the data as an string with field separated by ;#;
 String getDevExtra()
           
 String getDevId()
           
 String getDevLocale()
           
 String getDevOs()
           
 String getDevResType()
           
 int getExtId()
           
 int getId()
           
 String getInstallReferral()
           
 String getNotToken()
           
 String getSecurityHash(String key)
          Creates a hash using a key for afterwards verify the data.
 Date getTsCreation()
           
 Date getTsUpdate()
           
 void setAppVersion(int appVersion)
           
 void setDevExtra(String devExtra)
           
 void setDevId(String devId)
           
 void setDevLocale(String devLocale)
           
 void setDevOs(String devOs)
           
 void setDevResType(String devResType)
           
 void setExtId(int extId)
           
 void setId(int id)
           
 void setInstallReferral(String installReferral)
           
 void setNotToken(String notToken)
           
 void setTsCreation(Date tsCreation)
           
 void setTsUpdate(Date tsUpdate)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceRegistrationBean

public DeviceRegistrationBean(int id,
                              int appVersion,
                              int extId,
                              String notToken,
                              String devId,
                              String devOs,
                              String devExtra,
                              String devLocale,
                              String devResType,
                              String installReferral,
                              Date tsCreation,
                              Date tsUpdate)

DeviceRegistrationBean

public DeviceRegistrationBean()
Method Detail

getSecurityHash

public String getSecurityHash(String key)
Creates a hash using a key for afterwards verify the data.

Parameters:
key - A unique key for the application.
Returns:

getDataAsString

public String getDataAsString()
gets the data as an string with field separated by ;#;

Returns:

getId

public int getId()

setId

public void setId(int id)

getAppVersion

public int getAppVersion()

setAppVersion

public void setAppVersion(int appVersion)

getExtId

public int getExtId()

setExtId

public void setExtId(int extId)

getNotToken

public String getNotToken()

setNotToken

public void setNotToken(String notToken)

getDevId

public String getDevId()

setDevId

public void setDevId(String devId)

getDevOs

public String getDevOs()

setDevOs

public void setDevOs(String devOs)

getDevExtra

public String getDevExtra()

setDevExtra

public void setDevExtra(String devExtra)

getDevLocale

public String getDevLocale()

setDevLocale

public void setDevLocale(String devLocale)

getDevResType

public String getDevResType()

setDevResType

public void setDevResType(String devResType)

getInstallReferral

public String getInstallReferral()

setInstallReferral

public void setInstallReferral(String installReferral)

getTsCreation

public Date getTsCreation()

setTsCreation

public void setTsCreation(Date tsCreation)

getTsUpdate

public Date getTsUpdate()

setTsUpdate

public void setTsUpdate(Date tsUpdate)


Copyright © 2015-2016 JavocSoft. All Rights Reserved.