|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||

java.lang.Objectde.unikassel.android.sdcframework.data.independent.AbstractSampleData
de.unikassel.android.sdcframework.data.independent.GSMSampleData
public final class GSMSampleData
The device specific sample data of a GSM sensor device are the operator name, the cell id, the location area code and the signal strength.
GSMDevice,
GSMDeviceScanner| Field Summary | |
|---|---|
private int |
cellId
The GSM cell ID |
private int |
locationAreaCode
The GSM location area code |
private List<GSMNeighborCell> |
neighbors
|
private String |
operator
The operator name if available ( null if unknown ) |
private int |
signalStrength
The GSM received signal strength indicator |
| Constructor Summary | |
|---|---|
GSMSampleData()
Constructor |
|
GSMSampleData(GSMSampleData sampleData)
Copy Constructor |
|
| Method Summary | |
|---|---|
SampleData |
doClone()
Method to clone sample data |
boolean |
equals(Object o)
|
int |
getCellId()
Getter for the cell Id |
int |
getLocationAreaCode()
Getter for the location area code |
List<GSMNeighborCell> |
getNeighbors()
Getter for the neighbors cell list |
String |
getOperator()
Getter for the operator |
int |
getSignalStrength()
Getter for the signal strength |
void |
setCellId(int cellId)
Setter for the cell Id |
void |
setLocationAreaCode(int locationAreaCode)
Setter for the location area code |
void |
setNeighbors(List<GSMNeighborCell> neighbors)
Setter for the neighbors cell list |
void |
setOperator(String operator)
Setter for the operator |
void |
setSignalStrength(int signalStrength)
Setter for the signal strength |
| Methods inherited from class de.unikassel.android.sdcframework.data.independent.AbstractSampleData |
|---|
clone, getRelatedData, toXML, updateRelatedData |
| Methods inherited from class java.lang.Object |
|---|
finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
private String operator
private int cellId
private int locationAreaCode
private int signalStrength
private List<GSMNeighborCell> neighbors
| Constructor Detail |
|---|
public GSMSampleData()
public GSMSampleData(GSMSampleData sampleData)
sampleData - the sample to copy from| Method Detail |
|---|
public final SampleData doClone()
SampleData
public final boolean equals(Object o)
equals in class Objectpublic final List<GSMNeighborCell> getNeighbors()
public final void setNeighbors(List<GSMNeighborCell> neighbors)
neighbors - the neighbors cell list to setpublic final String getOperator()
public final void setOperator(String operator)
operator - the operator to setpublic final int getCellId()
public final void setCellId(int cellId)
cellId - the cell Id to setpublic final int getLocationAreaCode()
public final void setLocationAreaCode(int locationAreaCode)
locationAreaCode - the location area code to setpublic final int getSignalStrength()
public final void setSignalStrength(int signalStrength)
signalStrength - the signal strength to set
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||