/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * <code>true</code> if no item is contained, <code>false</code> otherwise. */ public boolean hasNoDescriptionEntries() { return getDescription().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 hasDescriptionEntries() { return (!getDescription().isEmpty()); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * <code>true</code> if no item is contained, <code>false</code> otherwise. */ public boolean hasNoDescriptionEntries() { return getDescription().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 hasDescriptionEntries() { return (!getDescription().isEmpty()); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getDescriptionCount() { return getDescription().size(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @return * The number of contained elements. Always ≥ 0. */ @Nonnegative public int getDescriptionCount() { return getDescription().size(); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @param elem * The element to be added. May not be <code>null</code>. */ public void addDescription( @Nonnull final DescriptionType elem) { getDescription().add(elem); }
/** * Created by ph-jaxb22-plugin -Xph-list-extension * * @param elem * The element to be added. May not be <code>null</code>. */ public void addDescription( @Nonnull final DescriptionType elem) { getDescription().add(elem); }
/** * 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 DescriptionType getDescriptionAtIndex( @Nonnegative final int index) throws IndexOutOfBoundsException { return getDescription().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 DescriptionType getDescriptionAtIndex( @Nonnegative final int index) throws IndexOutOfBoundsException { return getDescription().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 ClassificationCategoryType ret) { if (categorizesClassificationCategory == null) { ret.categorizesClassificationCategory = null; } else { List<ClassificationCategoryType> retCategorizesClassificationCategory = new ArrayList<ClassificationCategoryType>(); for (ClassificationCategoryType aItem: getCategorizesClassificationCategory()) { retCategorizesClassificationCategory.add(((aItem == null)?null:aItem.clone())); } ret.categorizesClassificationCategory = retCategorizesClassificationCategory; } ret.codeValue = ((codeValue == null)?null:codeValue.clone()); if (description == null) { ret.description = null; } else { List<DescriptionType> retDescription = new ArrayList<DescriptionType>(); for (DescriptionType aItem: getDescription()) { retDescription.add(((aItem == null)?null:aItem.clone())); } ret.description = retDescription; } ret.name = ((name == null)?null:name.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 ClassificationCategoryType ret) { if (categorizesClassificationCategory == null) { ret.categorizesClassificationCategory = null; } else { List<ClassificationCategoryType> retCategorizesClassificationCategory = new ArrayList<ClassificationCategoryType>(); for (ClassificationCategoryType aItem: getCategorizesClassificationCategory()) { retCategorizesClassificationCategory.add(((aItem == null)?null:aItem.clone())); } ret.categorizesClassificationCategory = retCategorizesClassificationCategory; } ret.codeValue = ((codeValue == null)?null:codeValue.clone()); if (description == null) { ret.description = null; } else { List<DescriptionType> retDescription = new ArrayList<DescriptionType>(); for (DescriptionType aItem: getDescription()) { retDescription.add(((aItem == null)?null:aItem.clone())); } ret.description = retDescription; } ret.name = ((name == null)?null:name.clone()); }