* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
public void setShipType(ShipType newShipType) {
ShipType oldShipType = shipType;
shipType = newShipType == null ? SHIP_TYPE_EDEFAULT : newShipType;
if (eNotificationRequired())
eNotify(new ENotificationImpl(this, Notification.SET, StructurePackage.SHIP__SHIP_TYPE, oldShipType, shipType));
}