/** * Created by ph-jaxb22-plugin -Xph-cloneable2 * * @return * The cloned object. Never <code>null</code>. */ @Nonnull @ReturnsMutableCopy @Override public AirTransportType clone() { AirTransportType ret = new AirTransportType(); cloneTo(ret); return ret; }
/** * Get the value of the contained AircraftIDType object<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @return * Either the value of the contained AircraftIDType object or <code>null</code> */ @Nullable public String getAircraftIDValue() { AircraftIDType aObj = getAircraftID(); return ((aObj == null)?null:aObj.getValue()); }
/** * Special setter with value of type String<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @param valueParam * The value to be set. May be <code>null</code>. * @return * The created intermediary object of type AircraftIDType and never <code>null</code> */ @Nonnull public AircraftIDType setAircraftID( @Nullable final String valueParam) { AircraftIDType aObj = getAircraftID(); if (aObj == null) { aObj = new AircraftIDType(valueParam); setAircraftID(aObj); } else { aObj.setValue(valueParam); } return aObj; }
/** * Create an instance of {@link AirTransportType } * * @return * The created AirTransportType object and never <code>null</code>. */ @Nonnull public AirTransportType createAirTransportType() { return new AirTransportType(); }
/** * This method clones all values from <code>this</code> to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2 * * @param ret * The target object to clone to. May not be <code>null</code>. */ public void cloneTo( @Nonnull TransportMeansType ret) { ret.airTransport = ((airTransport == null)?null:airTransport.clone()); ret.directionCode = ((directionCode == null)?null:directionCode.clone()); ret.journeyID = ((journeyID == null)?null:journeyID.clone()); ret.maritimeTransport = ((maritimeTransport == null)?null:maritimeTransport.clone()); ret.ownerParty = ((ownerParty == null)?null:ownerParty.clone()); ret.railTransport = ((railTransport == null)?null:railTransport.clone()); if (registrationNationality == null) { ret.registrationNationality = null; } else { List<RegistrationNationalityType> retRegistrationNationality = new ArrayList<RegistrationNationalityType>(); for (RegistrationNationalityType aItem: getRegistrationNationality()) { retRegistrationNationality.add(((aItem == null)?null:aItem.clone())); } ret.registrationNationality = retRegistrationNationality; } ret.registrationNationalityID = ((registrationNationalityID == null)?null:registrationNationalityID.clone()); ret.roadTransport = ((roadTransport == null)?null:roadTransport.clone()); ret.stowage = ((stowage == null)?null:stowage.clone()); }
/** * Special setter with value of type String<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @param valueParam * The value to be set. May be <code>null</code>. * @return * The created intermediary object of type AircraftIDType and never <code>null</code> */ @Nonnull public AircraftIDType setAircraftID( @Nullable final String valueParam) { AircraftIDType aObj = getAircraftID(); if (aObj == null) { aObj = new AircraftIDType(valueParam); setAircraftID(aObj); } else { aObj.setValue(valueParam); } return aObj; }
/** * Create an instance of {@link AirTransportType } * * @return * The created AirTransportType object and never <code>null</code>. */ @Nonnull public AirTransportType createAirTransportType() { return new AirTransportType(); }
/** * This method clones all values from <code>this</code> to the passed object. All data in the parameter object is overwritten!Created by ph-jaxb22-plugin -Xph-cloneable2 * * @param ret * The target object to clone to. May not be <code>null</code>. */ public void cloneTo( @Nonnull TransportMeansType ret) { ret.airTransport = ((airTransport == null)?null:airTransport.clone()); ret.directionCode = ((directionCode == null)?null:directionCode.clone()); ret.journeyID = ((journeyID == null)?null:journeyID.clone()); ret.maritimeTransport = ((maritimeTransport == null)?null:maritimeTransport.clone()); ret.ownerParty = ((ownerParty == null)?null:ownerParty.clone()); ret.railTransport = ((railTransport == null)?null:railTransport.clone()); if (registrationNationality == null) { ret.registrationNationality = null; } else { List<RegistrationNationalityType> retRegistrationNationality = new ArrayList<RegistrationNationalityType>(); for (RegistrationNationalityType aItem: getRegistrationNationality()) { retRegistrationNationality.add(((aItem == null)?null:aItem.clone())); } ret.registrationNationality = retRegistrationNationality; } ret.registrationNationalityID = ((registrationNationalityID == null)?null:registrationNationalityID.clone()); ret.roadTransport = ((roadTransport == null)?null:roadTransport.clone()); ret.stowage = ((stowage == null)?null:stowage.clone()); }
/** * Created by ph-jaxb22-plugin -Xph-cloneable2 * * @return * The cloned object. Never <code>null</code>. */ @Nonnull @ReturnsMutableCopy @Override public AirTransportType clone() { AirTransportType ret = new AirTransportType(); cloneTo(ret); return ret; }
/** * Get the value of the contained AircraftIDType object<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @return * Either the value of the contained AircraftIDType object or <code>null</code> */ @Nullable public String getAircraftIDValue() { AircraftIDType aObj = getAircraftID(); return ((aObj == null)?null:aObj.getValue()); }