|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object | +--gov.nist.antd.optical.path.OpticalChannelSegment
This class represents a point-to-point connection.
This class was developed at the National Institute of Standards and Technology by employees of the Federal Government in the course of their official duties. Pursuant to title 17 Section 105 of the United States Code this software is not subject to copyright protection and is in the public domain. NIST assumes no responsibility whatsoever for its use by other parties, and makes no guarantees, expressed or implied, about its quality, reliability, or any other characteristic.
We would appreciate acknowledgement if the software is used.
NIST ALLOWS FREE USE OF THIS SOFTWARE IN ITS "AS IS" CONDITION AND DISCLAIM ANY LIABILITY OF ANY KIND FOR ANY DAMAGES WHATSOEVER RESULTING FROM THE USE OF THIS SOFTWARE.
| Field Summary | |
private Lambda |
lambda
The lambda that is used for this segment. |
private OpticalChannel |
opticalChannel
The channel this segment belongs to. |
| Constructor Summary | |
OpticalChannelSegment(Lambda lambda)
Creates an optical channel segment. |
|
| Method Summary | |
void |
finalize()
reset the reserved attribute in the lambda if not already done and delete the link to the lambda |
Lambda |
getLambda()
Determines the used Lambda. |
OpticalChannel |
getOpticalChannel()
Returns the optical channel this segment belongs to. |
void |
setLambda(Lambda lambda)
Set the lambda used for this Segment. |
void |
setOpticalChannel(OpticalChannel channel)
Set the optical channel this segment belongs to. |
java.lang.String |
toString()
Returns the textual representation of the channel segment. |
| Methods inherited from class java.lang.Object |
clone, equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
private Lambda lambda
private OpticalChannel opticalChannel
| Constructor Detail |
public OpticalChannelSegment(Lambda lambda)
lambda - The lambda assigned for this segment.| Method Detail |
public Lambda getLambda()
public void setLambda(Lambda lambda)
throws java.lang.NullPointerException
lambda - the used lambda
java.lang.NullPointerException - if the lambda is null.
public void setOpticalChannel(OpticalChannel channel)
throws java.lang.NullPointerException
channel - The channel of the segment.
java.lang.NullPointerException - if the channell.public OpticalChannel getOpticalChannel()
public void finalize()
finalize in class java.lang.Objectpublic java.lang.String toString()
toString in class java.lang.Object
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||