/** * 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(); }
/** * 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()); }
/** * 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()); }
/** * 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(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @param elem * The element to be added. May not be <code>null</code>. */ public void addOtherCommunication( @Nonnull final CommunicationType elem) { getOtherCommunication().add(elem); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getOtherCommunicationCount() { return getOtherCommunication().size(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @param elem * The element to be added. May not be <code>null</code>. */ public void addOtherCommunication( @Nonnull final CommunicationType elem) { getOtherCommunication().add(elem); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getOtherCommunicationCount() { return getOtherCommunication().size(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @param index * The index to retrieve * @return * The element at the specified index. May be <code>null</code> * @throws IndexOutOfBoundsException * if the index is invalid! */ @Nullable public CommunicationType getOtherCommunicationAtIndex( @Nonnegative final int index) throws IndexOutOfBoundsException { return getOtherCommunication().get(index); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @param index * The index to retrieve * @return * The element at the specified index. May be <code>null</code> * @throws IndexOutOfBoundsException * if the index is invalid! */ @Nullable public CommunicationType getOtherCommunicationAtIndex( @Nonnegative final int index) throws IndexOutOfBoundsException { return getOtherCommunication().get(index); }
/** * 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 ContactType ret) { ret.electronicMail = ((electronicMail == null)?null:electronicMail.clone()); ret.id = ((id == null)?null:id.clone()); ret.name = ((name == null)?null:name.clone()); ret.note = ((note == null)?null:note.clone()); if (otherCommunication == null) { ret.otherCommunication = null; } else { List<CommunicationType> retOtherCommunication = new ArrayList<CommunicationType>(); for (CommunicationType aItem: getOtherCommunication()) { retOtherCommunication.add(((aItem == null)?null:aItem.clone())); } ret.otherCommunication = retOtherCommunication; } ret.telefax = ((telefax == null)?null:telefax.clone()); ret.telephone = ((telephone == null)?null:telephone.clone()); }
/** * 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 ContactType ret) { ret.electronicMail = ((electronicMail == null)?null:electronicMail.clone()); ret.id = ((id == null)?null:id.clone()); ret.name = ((name == null)?null:name.clone()); ret.note = ((note == null)?null:note.clone()); if (otherCommunication == null) { ret.otherCommunication = null; } else { List<CommunicationType> retOtherCommunication = new ArrayList<CommunicationType>(); for (CommunicationType aItem: getOtherCommunication()) { retOtherCommunication.add(((aItem == null)?null:aItem.clone())); } ret.otherCommunication = retOtherCommunication; } ret.telefax = ((telefax == null)?null:telefax.clone()); ret.telephone = ((telephone == null)?null:telephone.clone()); }