Back to project page blink.
The source code is released under:
Apache License
If you think the Android project blink listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.nashlincoln.blink.model; //from ww w. j a v a 2s . c o m // THIS CODE IS GENERATED BY greenDAO, EDIT ONLY INSIDE THE "KEEP"-SECTIONS // KEEP INCLUDES - put your custom includes here // KEEP INCLUDES END /** * Entity mapped to table DEVICE_TYPE. */ public class DeviceType { private Long id; private String description; // KEEP FIELDS - put your custom fields here // KEEP FIELDS END public DeviceType() { } public DeviceType(Long id) { this.id = id; } public DeviceType(Long id, String description) { this.id = id; this.description = description; } public Long getId() { return id; } public void setId(Long id) { this.id = id; } public String getDescription() { return description; } public void setDescription(String description) { this.description = description; } // KEEP METHODS - put your custom methods here public boolean isEnabled() { return 257 == id; } // KEEP METHODS END }