/** * add a value to the kmlSimpleExtension property collection * * @param kmlSimpleExtension * Objects of the following type are allowed in the list: {@link Object} * @return * <tt>true</tt> (as general contract of <tt>Collection.add</tt>). */ public Kml addToKmlSimpleExtension(final Object kmlSimpleExtension) { this.getKmlSimpleExtension().add(kmlSimpleExtension); return this; }
/** * add a value to the kmlSimpleExtension property collection * * @param kmlSimpleExtension * Objects of the following type are allowed in the list: {@link Object} * @return * <tt>true</tt> (as general contract of <tt>Collection.add</tt>). */ public Kml addToKmlSimpleExtension(final Object kmlSimpleExtension) { this.getKmlSimpleExtension().add(kmlSimpleExtension); return this; }
@Override public Kml clone() { Kml copy; try { copy = ((Kml) super.clone()); } catch (CloneNotSupportedException _x) { throw new InternalError((_x.toString())); } copy.networkLinkControl = ((networkLinkControl == null)?null:((NetworkLinkControl) networkLinkControl.clone())); copy.feature = ((feature == null)?null:((Feature ) feature.clone())); copy.kmlSimpleExtension = new ArrayList<Object>((getKmlSimpleExtension().size())); for (Object iter: kmlSimpleExtension) { copy.kmlSimpleExtension.add(iter); } copy.kmlObjectExtension = new ArrayList<AbstractObject>((getKmlObjectExtension().size())); for (AbstractObject iter: kmlObjectExtension) { copy.kmlObjectExtension.add(iter.clone()); } return copy; }
@Override public Kml clone() { Kml copy; try { copy = ((Kml) super.clone()); } catch (CloneNotSupportedException _x) { throw new InternalError((_x.toString())); } copy.networkLinkControl = ((networkLinkControl == null)?null:((NetworkLinkControl) networkLinkControl.clone())); copy.feature = ((feature == null)?null:((Feature ) feature.clone())); copy.kmlSimpleExtension = new ArrayList<Object>((getKmlSimpleExtension().size())); for (Object iter: kmlSimpleExtension) { copy.kmlSimpleExtension.add(iter); } copy.kmlObjectExtension = new ArrayList<AbstractObject>((getKmlObjectExtension().size())); for (AbstractObject iter: kmlObjectExtension) { copy.kmlObjectExtension.add(iter.clone()); } return copy; }