/** * add a value to the kmlObjectExtension property collection * * @param kmlObjectExtension * Objects of the following type are allowed in the list: {@link AbstractObject} * @return * <tt>true</tt> (as general contract of <tt>Collection.add</tt>). */ public Kml addToKmlObjectExtension(final AbstractObject kmlObjectExtension) { this.getKmlObjectExtension().add(kmlObjectExtension); return this; }
/** * add a value to the kmlObjectExtension property collection * * @param kmlObjectExtension * Objects of the following type are allowed in the list: {@link AbstractObject} * @return * <tt>true</tt> (as general contract of <tt>Collection.add</tt>). */ public Kml addToKmlObjectExtension(final AbstractObject kmlObjectExtension) { this.getKmlObjectExtension().add(kmlObjectExtension); 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; }