|
|||||||||
| 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.Span
public class Span
| Constructor Summary | |
|---|---|
Span()
|
|
Span(Location from,
Location to)
|
|
| Method Summary | |
|---|---|
java.util.ArrayList |
allSpans()
|
java.util.ArrayList |
allSpansFrom()
|
java.util.ArrayList |
allSpansTo()
|
void |
generateID()
Subclass homework. |
Alternative |
getAlternative()
|
double |
getAngle()
Gets the value of angle |
Point |
getCenter()
|
Chain |
getChain()
|
double |
getDeflectionAngle()
Gets the value of deflectionAngle |
Location |
getFrom()
Gets the value of from |
java.lang.String |
getFromGuid()
|
Job |
getJob()
|
double |
getLength()
Gets the value of length |
java.lang.String |
getMeasurementMethod()
Gets the value of measurementMethod |
Cog |
getState()
Subclasses extend this by calling super.getState() and then adding their own state to the result. |
Location |
getTo()
Gets the value of to |
java.lang.String |
getToGuid()
|
java.util.ArrayList |
getUnits()
Gets the value of units |
double |
getX1()
|
double |
getX2()
|
double |
getY1()
|
double |
getY2()
|
double |
getZ1()
|
double |
getZ2()
|
void |
remove()
Removes this span from its chain. |
void |
setAngle(double argAngle)
Sets the value of angle |
void |
setChain(Chain newChain)
|
void |
setDeflectionAngle(double argDeflectionAngle)
Sets the value of deflectionAngle |
void |
setFrom(Location argFrom)
Sets the value of from |
void |
setLength(double argLength)
Sets the value of length |
void |
setMeasurementMethod(java.lang.String argMeasurementMethod)
Sets the value of measurementMethod |
void |
setState(Cog state)
Subclasses should extend this by calling super.setState() and then setting their own state from the input. |
void |
setTo(Location argTo)
Sets the value of to |
void |
setUnits(java.util.ArrayList argUnits)
Sets the value of units |
| 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, toString, wait, wait, wait |
| Constructor Detail |
|---|
public Span()
public Span(Location from,
Location to)
| Method Detail |
|---|
public Job getJob()
public Alternative getAlternative()
public void generateID()
JobDataComponent
generateID in class JobDataComponentpublic double getX1()
public double getY1()
public double getZ1()
public double getX2()
public double getY2()
public double getZ2()
public java.lang.String getFromGuid()
public java.lang.String getToGuid()
public Point getCenter()
public java.util.ArrayList allSpans()
public java.util.ArrayList allSpansFrom()
public java.util.ArrayList allSpansTo()
public 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 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 double getDeflectionAngle()
public void setDeflectionAngle(double argDeflectionAngle)
argDeflectionAngle - Value to assign to this.deflectionAnglepublic double getAngle()
public void setAngle(double argAngle)
argAngle - Value to assign to this.anglepublic double getLength()
public void setLength(double argLength)
argLength - Value to assign to this.lengthpublic java.lang.String getMeasurementMethod()
public void setMeasurementMethod(java.lang.String argMeasurementMethod)
argMeasurementMethod - Value to assign to this.measurementMethodpublic Location getFrom()
public void setFrom(Location argFrom)
argFrom - Value to assign to this.frompublic Location getTo()
public void setTo(Location argTo)
argTo - Value to assign to this.to
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||