public class AUV extends Object implements Comparable, Serializable, Cloneable
Created Date : 07 November 2003 Revised Date : 12 November 2003 Course : Thesis Program : Thesis Compiler : JDK 1.4.2 onwards Platform : Windows 2000/Windows XPAUV in Beach Tank 1 111.222.333.444 1234 1 1 2
Constructor and Description |
---|
AUV()
constructor
|
AUV(int index,
String sGroup,
int iPort,
int appID,
int siteID,
int entityID,
String sDesc)
constructor
|
Modifier and Type | Method and Description |
---|---|
Object |
clone()
make a copy (shallow copy)
http://www.javaworld.com/javaworld/jw-01-1999/jw-01-object_p.html
"How to avoid traps and correctly override methods from java.lang.Object"
|
int |
compareTo(Object aAUV)
means to compare 2 Mission Plans
|
int |
getApplicationID()
get Application ID
|
String |
getDesc()
get Description
|
int |
getEntityID()
get Entity ID
|
int |
getIndex()
get AUV Number/Index
|
String |
getMulticastGroup()
get Multicast Group
|
int |
getMulticastPort()
get Multicast Port
|
int |
getSiteID()
get Site ID
|
void |
setApplicationID(int aID)
get Application ID
|
void |
setDesc(String sDesc)
set Description
|
void |
setEntityID(int aID)
get Entity ID
|
void |
setIndex(int aIdx)
set AUV Number/Index
|
void |
setMulticastGroup(String sGroup)
set Multicast Group
|
void |
setMulticastPort(int sPort)
set Multicast Port
|
void |
setSiteID(int aID)
get Site ID
|
void |
setValue(AUV anAUV)
set Value
|
String |
toString()
get Mission Point information
|
public String getDesc()
public void setDesc(String sDesc)
sDesc
- String valuepublic int getIndex()
public void setIndex(int aIdx)
aIdx
- numeric valuepublic String getMulticastGroup()
public void setMulticastGroup(String sGroup)
sGroup
- String valuepublic int getMulticastPort()
public void setMulticastPort(int sPort)
sPort
- String valuepublic int getApplicationID()
public void setApplicationID(int aID)
aID
- numeric valuepublic int getSiteID()
public void setSiteID(int aID)
aID
- numeric valuepublic int getEntityID()
public void setEntityID(int aID)
aID
- numeric valuepublic void setValue(AUV anAUV)
anAUV
- AUV to be setpublic Object clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
- an exceptionpublic int compareTo(Object aAUV)
compareTo
in interface Comparable
aAUV
- AUV object to be compare with