/** * 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()); }
List<ClassificationCategoryType> retClassificationCategory = new ArrayList<ClassificationCategoryType>(); for (ClassificationCategoryType aItem: getClassificationCategory()) { retClassificationCategory.add(((aItem == null)?null:aItem.clone()));
List<ClassificationCategoryType> retClassificationCategory = new ArrayList<ClassificationCategoryType>(); for (ClassificationCategoryType aItem: getClassificationCategory()) { retClassificationCategory.add(((aItem == null)?null:aItem.clone()));