Class DataPackage
- java.lang.Object
-
- de.kaffeemitkoffein.tinyweatherforecastgermany.DataPackage
-
public class DataPackage extends java.lang.Object
-
-
Field Summary
Fields Modifier and Type Field Description static int
FIELD_TYPE_BOOLEAN
static int
FIELD_TYPE_LONG
int
id
long
timestamp
int
type
byte[]
valueBlob
float
valueFloat
int
valueInt
long
valueLong
java.lang.String
valueString
-
Constructor Summary
Constructors Constructor Description DataPackage(int id, long timestamp, int type, byte[] valueBlob, int valueInt, long valueLong, float valueFloat, java.lang.String valueString)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getId()
long
getTimestamp()
int
getType()
java.lang.String
toString()
static java.lang.String
toString(DataPackage dataPackage)
-
-
-
Field Detail
-
id
public int id
-
timestamp
public long timestamp
-
type
public int type
-
valueBlob
public byte[] valueBlob
-
valueInt
public int valueInt
-
valueLong
public long valueLong
-
valueFloat
public float valueFloat
-
valueString
public java.lang.String valueString
-
FIELD_TYPE_BOOLEAN
public static final int FIELD_TYPE_BOOLEAN
- See Also:
- Constant Field Values
-
FIELD_TYPE_LONG
public static final int FIELD_TYPE_LONG
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public int getType()
-
getId
public int getId()
-
getTimestamp
public long getTimestamp()
-
toString
public static java.lang.String toString(DataPackage dataPackage)
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
-