/** * Sets ith "interface" element */ public void setInterfaceArray(int i, net.opengis.sensorML.x101.InterfaceDocument.Interface xinterface) { synchronized (monitor()) { check_orphaned(); net.opengis.sensorML.x101.InterfaceDocument.Interface target = null; target = (net.opengis.sensorML.x101.InterfaceDocument.Interface)get_store().find_element_user(INTERFACE$0, i); if (target == null) { throw new IndexOutOfBoundsException(); } target.set(xinterface); } }
/** * Sets the "interface" element */ public void setInterface(net.opengis.sensorML.x101.InterfaceDocument.Interface xinterface) { synchronized (monitor()) { check_orphaned(); net.opengis.sensorML.x101.InterfaceDocument.Interface target = null; target = (net.opengis.sensorML.x101.InterfaceDocument.Interface)get_store().find_element_user(INTERFACE$0, 0); if (target == null) { target = (net.opengis.sensorML.x101.InterfaceDocument.Interface)get_store().add_element_user(INTERFACE$0); } target.set(xinterface); } }