|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectde.unikassel.android.sdcframework.data.independent.DeviceInformation
public class DeviceInformation
The device information does provide a unique generated uuid generated by the service itself and specific device data like the manufacturer, model, product and others.
Build
Field Summary | |
---|---|
private String |
device
The name of the industrial design. |
static String |
DEVICE_INFO_FILE
The filename for the serialized device info |
private String |
fingerprint
A string that uniquely identifies the build. |
private String |
id
Either a change list number, or a label like "M4-rc20". |
private String |
manufacturer
The manufacturer of the hardware. |
private String |
model
The end-user-visible name for the end product. |
private String |
product
The name of the overall product. |
private String |
release
The user-visible version string. |
private String |
uuid
A UUID created upon installation/first start of the application |
Constructor Summary | |
---|---|
DeviceInformation()
Constructor |
Method Summary | |
---|---|
boolean |
equals(Object o)
|
String |
getDevice()
Getter for the device |
String |
getFingerprint()
Getter for the fingerprint |
String |
getId()
Getter for the id |
String |
getManufacturer()
Getter for the manufacturer |
String |
getModel()
Getter for the model |
String |
getProduct()
Getter for the product |
String |
getRelease()
Getter for the release |
String |
getUuid()
Getter for the uuid |
void |
setDevice(String device)
Setter for the device |
void |
setFingerprint(String fingerprint)
Setter for the fingerprint |
void |
setId(String id)
Setter for the id |
void |
setManufacturer(String manufacturer)
Setter for the manufacturer |
void |
setModel(String model)
Setter for the model |
void |
setProduct(String product)
Setter for the product |
void |
setRelease(String release)
Setter for the release |
void |
setUuid(String uuid)
Setter for the uuid |
String |
toString()
|
String |
toXML()
Serialization from the type to it's XML representation |
Methods inherited from class java.lang.Object |
---|
clone, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
Field Detail |
---|
public static final String DEVICE_INFO_FILE
private String product
private String model
private String device
private String manufacturer
private String id
private String release
private String fingerprint
private String uuid
Constructor Detail |
---|
public DeviceInformation()
Method Detail |
---|
public boolean equals(Object o)
equals
in class Object
public String getUuid()
public void setUuid(String uuid)
uuid
- the uuid to setpublic final String getProduct()
public final void setProduct(String product)
product
- the product to setpublic final String getModel()
public final void setModel(String model)
model
- the model to setpublic final String getDevice()
public final void setDevice(String device)
device
- the device to setpublic final String getManufacturer()
public final void setManufacturer(String manufacturer)
manufacturer
- the manufacturer to setpublic final String getId()
public final void setId(String id)
id
- the id to setpublic final String getRelease()
public final void setRelease(String release)
release
- the release to setpublic final String getFingerprint()
public final void setFingerprint(String fingerprint)
fingerprint
- the fingerprint to setpublic final String toString()
toString
in class Object
public String toXML() throws Exception
SerializableData
toXML
in interface SerializableData
Exception
- if the schema for the object is not valid
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |