public class Aircraft extends Object
| Modifier and Type | Class and Description |
|---|---|
static class |
Aircraft.Status |
| Constructor and Description |
|---|
Aircraft() |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object o) |
int |
getCapacity() |
Integer |
getId() |
Location |
getLocation() |
Aircraft.Status |
getStatus() |
AircraftType |
getType() |
int |
hashCode() |
boolean |
isAvailable() |
boolean |
marAssigned() |
void |
marAvailable() |
void |
setId(Integer id) |
void |
setLocation(Location location) |
void |
setStatus(Aircraft.Status status) |
void |
setType(AircraftType type) |
String |
toString() |
public Integer getId()
public void setId(Integer id)
public AircraftType getType()
public void setType(AircraftType type)
public int getCapacity()
public Aircraft.Status getStatus()
public void setStatus(Aircraft.Status status)
public boolean isAvailable()
public void marAvailable()
public boolean marAssigned()
public Location getLocation()
public void setLocation(Location location)
Copyright © 2007-2014, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.