Back to project page digital-ocean-swimmer.
The source code is released under:
MIT License
If you think the Android project digital-ocean-swimmer 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.yassirh.digitalocean.data; /* w w w. j a va 2 s. com*/ public class DropletTable extends TableHelper { public static final String NAME = "name"; public static final String MEMORY = "memory"; public static final String CPU = "cpu"; public static final String DISK = "disk"; public static final String IMAGE_ID = "image_id"; public static final String SIZE_SLUG = "size_slug"; public static final String REGION_SLUG = "region_slug"; public static final String LOCKED = "locked"; public static final String STATUS = "status"; public static final String BACKUPS_ENABLED = "backups_enabled"; public static final String IPV6_ENABLED = "ipv6_enabled"; public static final String PRIVATE_NETWORKING_ENABLED = "private_networking_enabled"; public static final String VIRTIO_ENABLED = "virtio_enabled"; public static final String CREATED_AT = "created_at"; public DropletTable(){ columns.put(ID, "integer primary key"); columns.put(NAME, "text"); columns.put(MEMORY, "integer"); columns.put(CPU, "integer"); columns.put(DISK, "integer"); columns.put(IMAGE_ID, "integer"); columns.put(SIZE_SLUG, "string"); columns.put(REGION_SLUG, "string"); columns.put(LOCKED, "integer"); columns.put(STATUS, "text"); columns.put(BACKUPS_ENABLED, "integer"); columns.put(IPV6_ENABLED, "integer"); columns.put(PRIVATE_NETWORKING_ENABLED, "integer"); columns.put(VIRTIO_ENABLED, "integer"); columns.put(CREATED_AT, "long"); TABLE_NAME = "droplets"; } }