de.unikassel.android.sdcframework.data.independent
Class GSMNeighborCell

Package class diagram package GSMNeighborCell
java.lang.Object
  extended by de.unikassel.android.sdcframework.data.independent.GSMNeighborCell

public final class GSMNeighborCell
extends Object

A simple class to hold neighbor GSM cell information.

See Also:
GSMSampleData

Field Summary
private  int cellId
          The GSM cell ID
private  int signalStrength
          The GSM received signal strength indicator
 
Constructor Summary
GSMNeighborCell()
          Constructor
GSMNeighborCell(int cellId, int signalStrength)
          Constructor
 
Method Summary
 int getCellId()
          Getter for the cellId
 int getSignalStrength()
          Getter for the signal strength
 void setCellId(int cellId)
          Setter for the cellId
 void setSignalStrength(int signalStrength)
          Setter for the signal strength
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

cellId

private int cellId
The GSM cell ID


signalStrength

private int signalStrength
The GSM received signal strength indicator

Constructor Detail

GSMNeighborCell

public GSMNeighborCell()
Constructor


GSMNeighborCell

public GSMNeighborCell(int cellId,
                       int signalStrength)
Constructor

Parameters:
cellId - the cell id
signalStrength - the signal strength
Method Detail

getCellId

public final int getCellId()
Getter for the cellId

Returns:
the cellId

setCellId

public final void setCellId(int cellId)
Setter for the cellId

Parameters:
cellId - the cellId to set

getSignalStrength

public final int getSignalStrength()
Getter for the signal strength

Returns:
the signal strength

setSignalStrength

public final void setSignalStrength(int signalStrength)
Setter for the signal strength

Parameters:
signalStrength - the signal strength to set