Back to project page sqlite-provider.
The source code is released under:
Apache License
If you think the Android project sqlite-provider 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.novoda.sqliteprovider.demo.domain; //from www . ja v a 2 s .c o m import java.io.Serializable; public class Firework implements Serializable { private final String name; private final String color; private final String type; private final String noise; private final double price; public Firework(String name, String color, String type, String noise, double price) { this.name = name; this.color = color; this.type = type; this.noise = noise; this.price = price; } @Override public String toString() { return getName(); } public String getName() { return name; } public String getColor() { return color; } public String getType() { return type; } public String getNoise() { return noise; } public double getPrice() { return price; } public String getFormattedPrice() { return "" + price; } public static Firework getNullSafeFirework() { return new Firework("", "", "", "", 0); } }