|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.biocomfort.TO.IeeeAddressTO
public class IeeeAddressTO
The IeeeAddressTO is a data class to store the IEEE mac
address of a medical device. It is part of the class
MedicalDeviceTO but initially not instantiated. To store the IEEE
mac address for a medical device create a new instance of this class
and assign it to the MedicalDeviceTO object.
MedicalDeviceTO.setIeeeAddress(IeeeAddressTO),
MedicalDeviceTO.getIeeeAddress(),
Serialized Form| Constructor Summary | |
|---|---|
IeeeAddressTO()
Constructs a IeeeAddressTO object with initializing the
IEEE mac address with '00.00.00.00.00.00.00.00'. |
|
IeeeAddressTO(short[] value)
Constructs a IeeeAddressTO object with specifying the
IEEE mac address by the given short array of length 8. |
|
| Method Summary | |
|---|---|
java.lang.Object |
clone()
Returns a deep clone of this IeeeAddressTO object. |
java.lang.String |
formatIeeeAddress()
Converts this IeeeAddressTO object to a String
of the form:
HH HH HH HH HH HH HH HH. |
short[] |
getIeeeAddress()
Returns a short array of length 8 representing the IEEE mac address of the medical device to whose MedicalDeviceTO object this
IEEE mac address data object is assign to. |
void |
setIeeeAddress(short[] value)
Sets the IEEE mac address specified by the given short array. |
java.lang.String |
toString()
Converts this IeeeAddressTO object to a String
of the form:
IeeeAddressTO (ieeeAddress:hh.hh.hh.hh.hh.hh.hh.hh). |
| Methods inherited from class java.lang.Object |
|---|
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public IeeeAddressTO()
IeeeAddressTO object with initializing the
IEEE mac address with '00.00.00.00.00.00.00.00'.
public IeeeAddressTO(short[] value)
IeeeAddressTO object with specifying the
IEEE mac address by the given short array of length 8.
value - short array of length 8 representing the IEEE mac address| Method Detail |
|---|
public short[] getIeeeAddress()
MedicalDeviceTO object this
IEEE mac address data object is assign to.
public void setIeeeAddress(short[] value)
value - short array of length 8 representing the new IEEE mac
addresspublic java.lang.String toString()
IeeeAddressTO object to a String
of the form:
where:IeeeAddressTO (ieeeAddress:hh.hh.hh.hh.hh.hh.hh.hh).
toString in class java.lang.Objectpublic java.lang.String formatIeeeAddress()
IeeeAddressTO object to a String
of the form:
where:HH HH HH HH HH HH HH HH.
public java.lang.Object clone()
throws java.lang.CloneNotSupportedException
IeeeAddressTO object.
clone in class java.lang.Objectjava.lang.CloneNotSupportedException
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||