com.aiyc.server.standalone.core
类 Measurement

java.lang.Object
  继承者 com.aiyc.base.core.Measurement
      继承者 com.aiyc.server.standalone.core.Measurement
所有已实现的接口:
com.aiyc.base.core.IMeasurement, IEntity<Integer>

public class Measurement
extends com.aiyc.base.core.Measurement
implements com.aiyc.base.core.IMeasurement, IEntity<Integer>

作者:
felly
另请参见:
Measurement

字段摘要
 
从类 com.aiyc.base.core.Measurement 继承的字段
bluetoothReadings, gsmReadings, timestamp, wifiReadings
 
构造方法摘要
Measurement()
           
Measurement(Vector<GSMReading> gsmReadings, Vector<WiFiReading> wifiReadings, Vector<BluetoothReading> bluetoothReadings)
           
 
方法摘要
 boolean equals(Object obj)
           
 Vector<BluetoothReading> getBluetoothReadings()
           
 Vector<GSMReading> getGsmReadings()
           
 Integer getId()
          gets the primary key
 Vector<WiFiReading> getWiFiReadings()
           
 boolean isSimilar(com.aiyc.base.core.Measurement m)
           
 void setBluetoothReadings(Vector<BluetoothReading> br)
           
 void setGSMReadings(Vector<GSMReading> gr)
           
 void setId(Integer id)
          sets the primary key
 void setWiFiReadings(Vector<WiFiReading> wr)
           
 int similarityLevel(com.aiyc.base.core.Measurement m)
           
 
从类 com.aiyc.base.core.Measurement 继承的方法
addBluetoothReading, addGSMReading, addWiFiReading, getTimestamp, setTimestamp
 
从类 java.lang.Object 继承的方法
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

构造方法详细信息

Measurement

public Measurement()

Measurement

public Measurement(Vector<GSMReading> gsmReadings,
                   Vector<WiFiReading> wifiReadings,
                   Vector<BluetoothReading> bluetoothReadings)
方法详细信息

getId

public Integer getId()
从接口 IEntity 复制的描述
gets the primary key

指定者:
接口 IEntity<Integer> 中的 getId
返回:
the database id

setId

public void setId(Integer id)
从接口 IEntity 复制的描述
sets the primary key

指定者:
接口 IEntity<Integer> 中的 setId
参数:
id - the id to set

getBluetoothReadings

public Vector<BluetoothReading> getBluetoothReadings()
覆盖:
com.aiyc.base.core.Measurement 中的 getBluetoothReadings
返回:
Bluetooth readings vector

getGsmReadings

public Vector<GSMReading> getGsmReadings()
覆盖:
com.aiyc.base.core.Measurement 中的 getGsmReadings
返回:
GSM readings vector

getWiFiReadings

public Vector<WiFiReading> getWiFiReadings()
覆盖:
com.aiyc.base.core.Measurement 中的 getWiFiReadings
返回:
WiFi readings vector

setBluetoothReadings

public void setBluetoothReadings(Vector<BluetoothReading> br)
参数:
br - Bluetooth readings vector

setWiFiReadings

public void setWiFiReadings(Vector<WiFiReading> wr)
参数:
wr - WiFi readings vector

setGSMReadings

public void setGSMReadings(Vector<GSMReading> gr)
参数:
gr - GSMreadings vector

isSimilar

public boolean isSimilar(com.aiyc.base.core.Measurement m)
指定者:
接口 com.aiyc.base.core.IMeasurement 中的 isSimilar

similarityLevel

public int similarityLevel(com.aiyc.base.core.Measurement m)
指定者:
接口 com.aiyc.base.core.IMeasurement 中的 similarityLevel

equals

public boolean equals(Object obj)
覆盖:
Object 中的 equals


Copyright © 2017. All Rights Reserved.