net.stepniak.api.push.entity
Class DeviceEntity

java.lang.Object
  extended by net.stepniak.api.push.entity.DeviceEntity
All Implemented Interfaces:
net.stepniak.api.entities.Pojo

@Entity
public class DeviceEntity
extends Object
implements net.stepniak.api.entities.Pojo


Constructor Summary
DeviceEntity()
           
 
Method Summary
 String getAlias()
           
 String getForwardedFor()
           
 String getId()
           
 String getLocale()
           
 int getMessagesMask()
           
 net.stepniak.common.pojos.push.v1.PushDevice getPojos()
           
 String getRemoteAddress()
           
 String getTimezone()
           
 int getType()
           
 void setId(String id)
           
 DeviceEntity withAlias(String alias)
           
 DeviceEntity withForwardedFor(InetAddress forwardedFor)
           
 DeviceEntity withId(String id)
           
 DeviceEntity withLocale(net.stepniak.common.pojos.push.v1.device.PushDeviceLocale locale)
           
 DeviceEntity withMessagesMask(int messagesMask)
           
 DeviceEntity withRemoteAddress(InetAddress remoteAddress)
           
 DeviceEntity withTimezone(String timezone)
           
 DeviceEntity withType(net.stepniak.common.pojos.push.v1.device.PushDeviceType type)
           
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DeviceEntity

public DeviceEntity()
Method Detail

getId

public String getId()

getType

public int getType()

getMessagesMask

public int getMessagesMask()

getAlias

public String getAlias()

getLocale

public String getLocale()

getTimezone

public String getTimezone()

getRemoteAddress

public String getRemoteAddress()

getForwardedFor

public String getForwardedFor()

withId

public DeviceEntity withId(String id)

withType

public DeviceEntity withType(net.stepniak.common.pojos.push.v1.device.PushDeviceType type)

withMessagesMask

public DeviceEntity withMessagesMask(int messagesMask)

withAlias

public DeviceEntity withAlias(String alias)

withLocale

public DeviceEntity withLocale(net.stepniak.common.pojos.push.v1.device.PushDeviceLocale locale)

withTimezone

public DeviceEntity withTimezone(String timezone)

withRemoteAddress

public DeviceEntity withRemoteAddress(InetAddress remoteAddress)

withForwardedFor

public DeviceEntity withForwardedFor(InetAddress forwardedFor)

getPojos

public net.stepniak.common.pojos.push.v1.PushDevice getPojos()
Specified by:
getPojos in interface net.stepniak.api.entities.Pojo

setId

public void setId(String id)


Copyright © 2013. All Rights Reserved.