构造器和说明 |
---|
UserDeviceInfo() |
UserDeviceInfo(java.lang.String username,
java.lang.String macAddress,
java.lang.String deviceName,
boolean passed) |
限定符和类型 | 方法和说明 |
---|---|
boolean |
equals4Properties(java.lang.Object obj)
属性是否相同
|
DeviceInfo |
getDeviceInfo() |
java.lang.String |
getDeviceName() |
java.lang.String |
getMacAddress() |
java.lang.String |
getUsername() |
protected int |
hashCode4Properties() |
boolean |
isPassed() |
void |
setDeviceName(java.lang.String deviceName) |
void |
setMacAddress(java.lang.String macAddress) |
void |
setPassed(boolean passed) |
void |
setUsername(java.lang.String username) |
JSONObject |
toJSONObject()
对象json格式
|
public UserDeviceInfo()
public UserDeviceInfo(java.lang.String username, java.lang.String macAddress, java.lang.String deviceName, boolean passed)
public java.lang.String getUsername()
public void setUsername(java.lang.String username)
public java.lang.String getMacAddress()
public void setMacAddress(java.lang.String macAddress)
public java.lang.String getDeviceName()
public void setDeviceName(java.lang.String deviceName)
public boolean isPassed()
public void setPassed(boolean passed)
public DeviceInfo getDeviceInfo()
protected int hashCode4Properties()
hashCode4Properties
在类中 DAOBean
public boolean equals4Properties(java.lang.Object obj)
DAOBean
equals4Properties
在类中 DAOBean
obj
- 指定的对象public JSONObject toJSONObject() throws JSONException
JSONException