|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.partnersoft.job.model.JobDataComponent
com.partnersoft.job.model.Location
public class Location
| Constructor Summary | |
|---|---|
Location()
|
|
Location(java.lang.String name,
double x,
double y)
|
|
| Method Summary | |
|---|---|
java.util.ArrayList |
allSpans()
|
java.util.ArrayList |
allSpansFrom()
|
java.util.ArrayList |
allSpansTo()
|
void |
generateID()
Subclass homework. |
Alternative |
getAlternative()
|
Chain |
getChain()
|
GPSReading |
getGps()
Gets the value of gps |
GPSReading |
getGPS()
Gets the value of gps |
Job |
getJob()
|
MapPosition |
getPosition()
Gets the value of position |
Cog |
getState()
Subclasses extend this by calling super.getState() and then adding their own state to the result. |
java.util.ArrayList |
getUnits()
Gets the value of units |
double |
getX()
|
double |
getY()
|
double |
getZ()
|
void |
remove()
Removes this location from its chain. |
void |
setChain(Chain newChain)
|
void |
setGps(GPSReading argGps)
Sets the value of gps |
void |
setGPS(GPSReading argGps)
Sets the value of gps |
void |
setPosition(MapPosition argPosition)
Sets the value of position |
void |
setState(Cog state)
Subclasses should extend this by calling super.setState() and then setting their own state from the input. |
void |
setUnits(java.util.ArrayList argUnits)
Sets the value of units |
void |
setX(double newX)
|
void |
setY(double newY)
|
void |
setZ(double newZ)
|
java.lang.String |
toString()
|
| Methods inherited from class com.partnersoft.job.model.JobDataComponent |
|---|
copy, copyStateFrom, generateGuid, generateStandardIDs, getData, getGuid, getID, getName, getType, setData, setGuid, setID, setName, setType |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public Location()
public Location(java.lang.String name,
double x,
double y)
| Method Detail |
|---|
public void generateID()
JobDataComponent
generateID in class JobDataComponentpublic void remove()
remove in class JobDataComponentpublic Cog getState()
JobDataComponent
getState in interface CoggablegetState in class JobDataComponentpublic void setState(Cog state)
JobDataComponent
setState in interface CoggablesetState in class JobDataComponentpublic Job getJob()
public Alternative getAlternative()
public java.lang.String toString()
toString in class java.lang.Objectpublic double getX()
public double getY()
public double getZ()
public void setX(double newX)
public void setY(double newY)
public void setZ(double newZ)
public java.util.ArrayList allSpans()
public java.util.ArrayList allSpansFrom()
public java.util.ArrayList allSpansTo()
public Chain getChain()
public void setChain(Chain newChain)
public java.util.ArrayList getUnits()
public void setUnits(java.util.ArrayList argUnits)
argUnits - Value to assign to this.unitspublic GPSReading getGps()
public void setGps(GPSReading argGps)
argGps - Value to assign to this.gpspublic MapPosition getPosition()
public void setPosition(MapPosition argPosition)
argPosition - Value to assign to this.positionpublic GPSReading getGPS()
public void setGPS(GPSReading argGps)
argGps - Value to assign to this.gps
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||