/** * add a value to the networkLinkObjectExtension property collection * * @param networkLinkObjectExtension * 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 NetworkLink addToNetworkLinkObjectExtension(final AbstractObject networkLinkObjectExtension) { this.getNetworkLinkObjectExtension().add(networkLinkObjectExtension); return this; }
/** * add a value to the networkLinkObjectExtension property collection * * @param networkLinkObjectExtension * 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 NetworkLink addToNetworkLinkObjectExtension(final AbstractObject networkLinkObjectExtension) { this.getNetworkLinkObjectExtension().add(networkLinkObjectExtension); return this; }
@Override public NetworkLink clone() { NetworkLink copy; copy = ((NetworkLink) super.clone()); copy.url = ((url == null)?null:((de.micromata.opengis.kml.v_2_2_0.Link) url.clone())); copy.link = ((link == null)?null:((de.micromata.opengis.kml.v_2_2_0.Link) link.clone())); copy.networkLinkSimpleExtension = new ArrayList<Object>((getNetworkLinkSimpleExtension().size())); for (Object iter: networkLinkSimpleExtension) { copy.networkLinkSimpleExtension.add(iter); } copy.networkLinkObjectExtension = new ArrayList<AbstractObject>((getNetworkLinkObjectExtension().size())); for (AbstractObject iter: networkLinkObjectExtension) { copy.networkLinkObjectExtension.add(iter.clone()); } return copy; }
@Override public NetworkLink clone() { NetworkLink copy; copy = ((NetworkLink) super.clone()); copy.url = ((url == null)?null:((de.micromata.opengis.kml.v_2_2_0.Link) url.clone())); copy.link = ((link == null)?null:((de.micromata.opengis.kml.v_2_2_0.Link) link.clone())); copy.networkLinkSimpleExtension = new ArrayList<Object>((getNetworkLinkSimpleExtension().size())); for (Object iter: networkLinkSimpleExtension) { copy.networkLinkSimpleExtension.add(iter); } copy.networkLinkObjectExtension = new ArrayList<AbstractObject>((getNetworkLinkObjectExtension().size())); for (AbstractObject iter: networkLinkObjectExtension) { copy.networkLinkObjectExtension.add(iter.clone()); } return copy; }