|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object com.eurotech.framework.core.message.EsfDeviceProfile
public class EsfDeviceProfile
The EsfDeviceProfile is a container class that holds the parameters that make up the from of a device. This information is used to build the birth and disconnect certificates that are published when connecting to and disconnecting from the broker.
Constructor Summary | |
---|---|
EsfDeviceProfile()
Empty constructor for an EsfDeviceProfile. |
|
EsfDeviceProfile(Properties props)
Constructs an EsfDeviceProfile from a Properties object that contains all the parameters that make up the profile. |
|
EsfDeviceProfile(String uptime,
String displayName,
String modelName,
String modelId,
String partNumber,
String serialNumber,
String firmwareVersion,
String biosVersion,
String os,
String osVersion,
String jvmName,
String jvmVersion,
String jvmProfile,
String connectionInterface,
String connectionIp)
Creates an EsfDeviceProfile using the values of the supplied parameters. |
|
EsfDeviceProfile(String uptime,
String displayName,
String modelName,
String modelId,
String partNumber,
String serialNumber,
String firmwareVersion,
String biosVersion,
String os,
String osVersion,
String jvmName,
String jvmVersion,
String jvmProfile,
String connectionInterface,
String connectionIp,
Double latitude,
Double longitude,
Double altitude)
Creates an EsfDeviceProfile using the values of the supplied parameters. |
|
EsfDeviceProfile(String uptime,
String displayName,
String modelName,
String modelId,
String partNumber,
String serialNumber,
String firmwareVersion,
String biosVersion,
String os,
String osVersion,
String jvmName,
String jvmVersion,
String jvmProfile,
String connectionInterface,
String connectionIp,
Double latitude,
Double longitude,
Double altitude,
String availableProcessors,
String totalMemory,
String osArch,
String osgiFramework,
String osgiFrameworkVersion)
Creates an EsfDeviceProfile using the values of the supplied parameters. |
|
EsfDeviceProfile(String uptime,
String displayName,
String modelName,
String modelId,
String partNumber,
String serialNumber,
String firmwareVersion,
String biosVersion,
String os,
String osVersion,
String jvmName,
String jvmVersion,
String jvmProfile,
String connectionInterface,
String connectionIp,
String availableProcessors,
String totalMemory,
String osArch,
String osgiFramework,
String osgiFrameworkVersion)
Creates an EsfDeviceProfile using the values of the supplied parameters. |
Method Summary | |
---|---|
Double |
getAltitude()
Returns the altitude of the device's location. |
String |
getAvailableProcessors()
|
String |
getBiosVersion()
Returns the version of the BIOS on the device. |
String |
getConnectionInterface()
Returns the name of the interface used to connect to the cloud. |
String |
getConnectionIp()
Returns the IP address of the interface used to connect to the cloud. |
String |
getDisplayName()
Returns the readable display name for the device. |
String |
getFirmwareVersion()
Returns the version of firmware running on the device. |
String |
getJvmName()
Returns the name of the JVM. |
String |
getJvmProfile()
Returns the profile of the JVM. |
String |
getJvmVersion()
Returns the version of the JVM. |
Double |
getLatitude()
Returns the latitude of the device's location. |
Double |
getLongitude()
Returns the longitude of the device's location. |
String |
getModelId()
Returns the device model ID. |
String |
getModelName()
Returns the device model name |
String |
getOs()
Returns the name of the operating system. |
String |
getOsArch()
|
String |
getOsgiFramework()
|
String |
getOsgiFrameworkVersion()
|
String |
getOsVersion()
Returns the version of the operating system. |
String |
getPartNumber()
Returns the part number of the device. |
String |
getSerialNumber()
Returns the serial number of the device. |
String |
getTotalMemory()
|
String |
getUptime()
Returns The length of time the unit has been powered on. |
void |
setAltitude(Double altitude)
Sets the altitude of the device's location. |
void |
setAvailableProcessors(String availableProcessors)
|
void |
setBiosVersion(String biosVersion)
Sets the version of the BIOS on the device. |
void |
setConnectionInterface(String connectionInterface)
Sets the name of the interface used to connect to the cloud. |
void |
setConnectionIp(String connectionIp)
Sets the IP address of the interface used to connect to the cloud. |
void |
setDisplayName(String displayName)
Sets the readable display name for the device |
void |
setFirmwareVersion(String firmwareVersion)
Sets the version of firmware running on the device. |
void |
setJvmName(String jvmName)
Sets the name of the JVM. |
void |
setJvmProfile(String jvmProfile)
Sets the profile of the JVM. |
void |
setJvmVersion(String jvmVersion)
Sets the version of the JVM. |
void |
setLatitude(Double latitude)
Sets the latitude of the device's location. |
void |
setLongitude(Double longitude)
Sets the longitude of the device's location. |
void |
setModelId(String modelId)
Sets the device model ID. |
void |
setModelName(String modelName)
Sets the device model name. |
void |
setOs(String os)
Sets the name of the operating system. |
void |
setOsArch(String osArch)
|
void |
setOsgiFramework(String osgiFramework)
|
void |
setOsgiFrameworkVersion(String osgiFrameworkVersion)
|
void |
setOsVersion(String osVersion)
Sets the version of the operating system. |
void |
setPartNumber(String partNumber)
Sets the part number of the device. |
void |
setSerialNumber(String serialNumber)
Sets the serial number of the device. |
void |
setTotalMemory(String totalMemory)
|
void |
setUptime(String uptime)
Sets the length of time the unit has been powered on. |
Methods inherited from class java.lang.Object |
---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Constructor Detail |
---|
public EsfDeviceProfile()
public EsfDeviceProfile(Properties props)
props
- A Properties object containing all the device parameters.public EsfDeviceProfile(String uptime, String displayName, String modelName, String modelId, String partNumber, String serialNumber, String firmwareVersion, String biosVersion, String os, String osVersion, String jvmName, String jvmVersion, String jvmProfile, String connectionInterface, String connectionIp, Double latitude, Double longitude, Double altitude)
uptime
- The length of time the unit has been powered on.displayName
- A readable display name for the device.modelName
- The device model name.modelId
- The device model ID.partNumber
- The part number of the device.serialNumber
- The serial number of the device.firmwareVersion
- The version of firmware running on the device.biosVersion
- The version of the BIOS on the device.os
- The name of the operating systemosVersion
- The version of the operating systemjvmName
- The name of the JVMjvmVersion
- The version of the JVMjvmProfile
- The profile of the JVMconnectionInterface
- The name of the interface used to connect to the cloudconnectionIp
- The IP address of the interface used to connect to the cloudlatitude
- The latitude of the device's locationlongitude
- The longitude of the device's locationaltitude
- The altitude of the device's locationpublic EsfDeviceProfile(String uptime, String displayName, String modelName, String modelId, String partNumber, String serialNumber, String firmwareVersion, String biosVersion, String os, String osVersion, String jvmName, String jvmVersion, String jvmProfile, String connectionInterface, String connectionIp)
uptime
- The length of time the unit has been powered on.displayName
- A readable display name for the device.modelName
- The device model name.modelId
- The device model ID.partNumber
- The part number of the device.serialNumber
- The serial number of the device.firmwareVersion
- The version of firmware running on the device.biosVersion
- The version of the BIOS on the device.os
- The name of the operating systemosVersion
- The version of the operating systemjvmName
- The name of the JVMjvmVersion
- The version of the JVMjvmProfile
- The profile of the JVMconnectionInterface
- The name of the interface used to connect to the cloudconnectionIp
- The IP address of the interface used to connect to the cloudpublic EsfDeviceProfile(String uptime, String displayName, String modelName, String modelId, String partNumber, String serialNumber, String firmwareVersion, String biosVersion, String os, String osVersion, String jvmName, String jvmVersion, String jvmProfile, String connectionInterface, String connectionIp, String availableProcessors, String totalMemory, String osArch, String osgiFramework, String osgiFrameworkVersion)
uptime
- The length of time the unit has been powered on.displayName
- A readable display name for the device.modelName
- The device model name.modelId
- The device model ID.partNumber
- The part number of the device.serialNumber
- The serial number of the device.firmwareVersion
- The version of firmware running on the device.biosVersion
- The version of the BIOS on the device.os
- The name of the operating systemosVersion
- The version of the operating systemjvmName
- The name of the JVMjvmVersion
- The version of the JVMjvmProfile
- The profile of the JVMconnectionInterface
- The name of the interface used to connect to the cloudconnectionIp
- The IP address of the interface used to connect to the cloudavailableProcessors
- The number of available processors for the JVMtotalMemory
- The total memory available for the JVMosArch
- The architecture of the JVM (32 or 64)osgiFramework
- The OSGI Framework in useosgiFrameworkVersion
- The version of the OSGI Framework in usepublic EsfDeviceProfile(String uptime, String displayName, String modelName, String modelId, String partNumber, String serialNumber, String firmwareVersion, String biosVersion, String os, String osVersion, String jvmName, String jvmVersion, String jvmProfile, String connectionInterface, String connectionIp, Double latitude, Double longitude, Double altitude, String availableProcessors, String totalMemory, String osArch, String osgiFramework, String osgiFrameworkVersion)
uptime
- The length of time the unit has been powered on.displayName
- A readable display name for the device.modelName
- The device model name.modelId
- The device model ID.partNumber
- The part number of the device.serialNumber
- The serial number of the device.firmwareVersion
- The version of firmware running on the device.biosVersion
- The version of the BIOS on the device.os
- The name of the operating systemosVersion
- The version of the operating systemjvmName
- The name of the JVMjvmVersion
- The version of the JVMjvmProfile
- The profile of the JVMconnectionInterface
- The name of the interface used to connect to the cloudconnectionIp
- The IP address of the interface used to connect to the cloudlatitude
- The latitude of the device's locationlongitude
- The longitude of the device's locationaltitude
- The altitude of the device's locationMethod Detail |
---|
public String getUptime()
public String getDisplayName()
public String getModelName()
public String getModelId()
public String getPartNumber()
public String getSerialNumber()
public String getFirmwareVersion()
public String getBiosVersion()
public String getOs()
public String getOsVersion()
public String getJvmName()
public String getJvmVersion()
public String getJvmProfile()
public String getConnectionInterface()
public String getConnectionIp()
public Double getLatitude()
public Double getLongitude()
public Double getAltitude()
public void setUptime(String uptime)
uptime
- A String representing the length of time the unit has been powered on.public void setDisplayName(String displayName)
displayName
- A String representing the readable display name for the devicepublic void setModelName(String modelName)
modelName
- A String representing the device model name.public void setModelId(String modelId)
modelId
- A String representing the device model ID.public void setPartNumber(String partNumber)
partNumber
- A String representing the part number of the device.public void setSerialNumber(String serialNumber)
serialNumber
- A String representing the serial number of the device.public void setFirmwareVersion(String firmwareVersion)
firmwareVersion
- A String representing the version of firmware running on the device.public void setBiosVersion(String biosVersion)
biosVersion
- A String representing the version of the BIOS on the device.public void setOs(String os)
os
- A String representing the name of the operating system.public void setOsVersion(String osVersion)
osVersion
- A String representing the version of the operating system.public void setJvmName(String jvmName)
jvmName
- A String representing the name of the JVM.public void setJvmVersion(String jvmVersion)
jvmVersion
- A String representing the version of the JVM.public void setJvmProfile(String jvmProfile)
jvmProfile
- A String representing the profile of the JVM.public void setConnectionInterface(String connectionInterface)
connectionInterface
- A String representing the name of the interface used to connect to the cloud.public void setConnectionIp(String connectionIp)
connectionIp
- A String representing the IP address of the interface used to connect to the cloud.public void setLatitude(Double latitude)
latitude
- A String representing the latitude of the device's location.public void setLongitude(Double longitude)
longitude
- A String representing the longitude of the device's location.public void setAltitude(Double altitude)
altitude
- A String representing the altitude of the device's location.public String getAvailableProcessors()
public void setAvailableProcessors(String availableProcessors)
public String getTotalMemory()
public void setTotalMemory(String totalMemory)
public String getOsArch()
public void setOsArch(String osArch)
public String getOsgiFramework()
public void setOsgiFramework(String osgiFramework)
public String getOsgiFrameworkVersion()
public void setOsgiFrameworkVersion(String osgiFrameworkVersion)
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |