jasi.airtraffic.defi
Class AirportHandler
java.lang.Object
jasi.sim.basic.value.AbstractSimValueType
jasi.sim.basic.value.AbstractComparableObject<Element>
jasi.sim.basic.element.AbstractElementBean
jasi.sim.basic.element.relation.MultiRelationHandler
jasi.sim.basic.element.relation.MultiRelation
jasi.airtraffic.defi.AirportHandler
- All Implemented Interfaces:
- Airport, Element, SimObject, ExtendedComparable<Element>, SimValue, java.io.Serializable, java.lang.Comparable<Element>
- Direct Known Subclasses:
- AirportBean
public abstract class AirportHandler
- extends MultiRelation
- implements Airport
The container of an airport's element attributes.
- See Also:
- Serialized Form
Constructor Summary |
protected |
AirportHandler()
Construct container of an airport's attributes. |
protected |
AirportHandler(Id id)
Construct container of an airport's attributes. |
Methods inherited from class jasi.sim.basic.element.AbstractElementBean |
acceptDelete, compareTo, elements, equals, get, getId, getKey, hashCode, isDeleted, registered, set, setId, setKey |
Methods inherited from class java.lang.Object |
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
Methods inherited from interface java.lang.Comparable |
compareTo |
AirportHandler
protected AirportHandler()
- Construct container of an airport's attributes.
AirportHandler
protected AirportHandler(Id id)
- Construct container of an airport's attributes.
- Parameters:
id
- The simulation element's ID.
toString
public java.lang.String toString()
- Returns a string representation of this object.
- Overrides:
toString
in class MultiRelationHandler
- Returns:
- The string.
getName
public final java.lang.String getName()
- Get the name attribute.
- Specified by:
getName
in interface Airport
- Returns:
- Its value.
setName
public final void setName(java.lang.String name)
- Set the name attribute.
- Parameters:
name
- The new value of the attribute.
getCoordinate
public final Coordinate getCoordinate()
- Get the coordinate attribute.
- Specified by:
getCoordinate
in interface Airport
- Returns:
- Its value.
setCoordinate
public final void setCoordinate(Coordinate coordinate)
- Set the coordinate attribute.
- Parameters:
coordinate
- The new value of the attribute.