/** * Created by ph-jaxb22-plugin -Xph-cloneable2 * * @return * The cloned object. Never <code>null</code>. */ @Nonnull @ReturnsMutableCopy @Override public ContactType clone() { ContactType ret = new ContactType(); cloneTo(ret); return ret; }
/** * Get the value of the contained ElectronicMailType object<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @return * Either the value of the contained ElectronicMailType object or <code>null</code> */ @Nullable public String getElectronicMailValue() { ElectronicMailType aObj = getElectronicMail(); return ((aObj == null)?null:aObj.getValue()); }
/** * Get the value of the contained IDType object<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @return * Either the value of the contained IDType object or <code>null</code> */ @Nullable public String getIDValue() { IDType aObj = getID(); return ((aObj == null)?null:aObj.getValue()); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * <code>true</code> if no item is contained, <code>false</code> otherwise. */ public boolean hasNoOtherCommunicationEntries() { return getOtherCommunication().isEmpty(); }
/** * 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 SupplierPartyType ret) { ret.accountingContact = ((accountingContact == null)?null:accountingContact.clone()); if (additionalAccountID == null) { ret.additionalAccountID = null; } else { List<AdditionalAccountIDType> retAdditionalAccountID = new ArrayList<AdditionalAccountIDType>(); for (AdditionalAccountIDType aItem: getAdditionalAccountID()) { retAdditionalAccountID.add(((aItem == null)?null:aItem.clone())); } ret.additionalAccountID = retAdditionalAccountID; } ret.customerAssignedAccountID = ((customerAssignedAccountID == null)?null:customerAssignedAccountID.clone()); ret.dataSendingCapability = ((dataSendingCapability == null)?null:dataSendingCapability.clone()); ret.despatchContact = ((despatchContact == null)?null:despatchContact.clone()); ret.party = ((party == null)?null:party.clone()); ret.sellerContact = ((sellerContact == null)?null:sellerContact.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 TelephoneType and never <code>null</code> */ @Nonnull public TelephoneType setTelephone( @Nullable final String valueParam) { TelephoneType aObj = getTelephone(); if (aObj == null) { aObj = new TelephoneType(valueParam); setTelephone(aObj); } else { aObj.setValue(valueParam); } return aObj; }
/** * 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 NameType and never <code>null</code> */ @Nonnull public NameType setName( @Nullable final String valueParam) { NameType aObj = getName(); if (aObj == null) { aObj = new NameType(valueParam); setName(aObj); } else { aObj.setValue(valueParam); } return aObj; }
/** * 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 NoteType and never <code>null</code> */ @Nonnull public NoteType setNote( @Nullable final String valueParam) { NoteType aObj = getNote(); if (aObj == null) { aObj = new NoteType(valueParam); setNote(aObj); } else { aObj.setValue(valueParam); } return aObj; }
/** * 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 ElectronicMailType and never <code>null</code> */ @Nonnull public ElectronicMailType setElectronicMail( @Nullable final String valueParam) { ElectronicMailType aObj = getElectronicMail(); if (aObj == null) { aObj = new ElectronicMailType(valueParam); setElectronicMail(aObj); } else { aObj.setValue(valueParam); } return aObj; }
/** * 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 IDType and never <code>null</code> */ @Nonnull public IDType setID( @Nullable final String valueParam) { IDType aObj = getID(); if (aObj == null) { aObj = new IDType(valueParam); setID(aObj); } else { aObj.setValue(valueParam); } return aObj; }
/** * 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 TelefaxType and never <code>null</code> */ @Nonnull public TelefaxType setTelefax( @Nullable final String valueParam) { TelefaxType aObj = getTelefax(); if (aObj == null) { aObj = new TelefaxType(valueParam); setTelefax(aObj); } else { aObj.setValue(valueParam); } return aObj; }
/** * Get the value of the contained NoteType object<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @return * Either the value of the contained NoteType object or <code>null</code> */ @Nullable public String getNoteValue() { NoteType aObj = getNote(); return ((aObj == null)?null:aObj.getValue()); }
/** * Get the value of the contained NameType object<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @return * Either the value of the contained NameType object or <code>null</code> */ @Nullable public String getNameValue() { NameType aObj = getName(); return ((aObj == null)?null:aObj.getValue()); }
/** * Get the value of the contained TelefaxType object<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @return * Either the value of the contained TelefaxType object or <code>null</code> */ @Nullable public String getTelefaxValue() { TelefaxType aObj = getTelefax(); return ((aObj == null)?null:aObj.getValue()); }
/** * Create an instance of {@link ContactType } * * @return * The created ContactType object and never <code>null</code>. */ @Nonnull public ContactType createContactType() { return new ContactType(); }
/** * Get the value of the contained TelephoneType object<br> * Note: automatically created by ph-jaxb22-plugin -Xph-value-extender * * @return * Either the value of the contained TelephoneType object or <code>null</code> */ @Nullable public String getTelephoneValue() { TelephoneType aObj = getTelephone(); return ((aObj == null)?null:aObj.getValue()); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * <code>true</code> if at least one item is contained, <code>false</code> otherwise. */ public boolean hasOtherCommunicationEntries() { return (!getOtherCommunication().isEmpty()); }
/** * 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 CustomerPartyType ret) { ret.accountingContact = ((accountingContact == null)?null:accountingContact.clone()); if (additionalAccountID == null) { ret.additionalAccountID = null; } else { List<AdditionalAccountIDType> retAdditionalAccountID = new ArrayList<AdditionalAccountIDType>(); for (AdditionalAccountIDType aItem: getAdditionalAccountID()) { retAdditionalAccountID.add(((aItem == null)?null:aItem.clone())); } ret.additionalAccountID = retAdditionalAccountID; } ret.buyerContact = ((buyerContact == null)?null:buyerContact.clone()); ret.customerAssignedAccountID = ((customerAssignedAccountID == null)?null:customerAssignedAccountID.clone()); ret.deliveryContact = ((deliveryContact == null)?null:deliveryContact.clone()); ret.party = ((party == null)?null:party.clone()); ret.supplierAssignedAccountID = ((supplierAssignedAccountID == null)?null:supplierAssignedAccountID.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 TelephoneType and never <code>null</code> */ @Nonnull public TelephoneType setTelephone( @Nullable final String valueParam) { TelephoneType aObj = getTelephone(); if (aObj == null) { aObj = new TelephoneType(valueParam); setTelephone(aObj); } else { aObj.setValue(valueParam); } return aObj; }
/** * 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 NameType and never <code>null</code> */ @Nonnull public NameType setName( @Nullable final String valueParam) { NameType aObj = getName(); if (aObj == null) { aObj = new NameType(valueParam); setName(aObj); } else { aObj.setValue(valueParam); } return aObj; }