/** * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public TransactionResultsType createTransactionResultsType() { TransactionResultsTypeImpl transactionResultsType = new TransactionResultsTypeImpl(); return transactionResultsType; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void eSet(int featureID, Object newValue) { switch (featureID) { case WfsPackage.TRANSACTION_RESULTS_TYPE__HANDLE: setHandle((String)newValue); return; case WfsPackage.TRANSACTION_RESULTS_TYPE__ACTION: getAction().clear(); getAction().addAll((Collection)newValue); return; } super.eSet(featureID, newValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case WfsPackage.TRANSACTION_RESULTS_TYPE__HANDLE: return getHandle(); case WfsPackage.TRANSACTION_RESULTS_TYPE__ACTION: return getAction(); } return super.eGet(featureID, resolve, coreType); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void setHandle(String newHandle) { String oldHandle = handle; handle = newHandle; if (eNotificationRequired()) eNotify(new ENotificationImpl(this, Notification.SET, WfsPackage.TRANSACTION_RESULTS_TYPE__HANDLE, oldHandle, handle)); }
/** * Returns number of "Action" element */ public int sizeOfActionArray() { synchronized (monitor()) { check_orphaned(); return get_store().count_elements(ACTION$0); } }
/** * Sets array of all "Action" element */ public void setActionArray(net.opengis.wfs.ActionType[] actionArray) { synchronized (monitor()) { check_orphaned(); arraySetterHelper(actionArray, ACTION$0); } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case WfsPackage.TRANSACTION_RESULTS_TYPE__ACTION: return ((InternalEList)getAction()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public String toString() { if (eIsProxy()) return super.toString(); StringBuffer result = new StringBuffer(super.toString()); result.append(" (handle: "); result.append(handle); result.append(')'); return result.toString(); }
/** * Removes the ith "Action" element */ public void removeAction(int i) { synchronized (monitor()) { check_orphaned(); get_store().remove_element(ACTION$0, i); } } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public NotificationChain eInverseRemove(InternalEObject otherEnd, int featureID, NotificationChain msgs) { switch (featureID) { case WfsPackage.TRANSACTION_RESULTS_TYPE__ACTION: return ((InternalEList)getAction()).basicRemove(otherEnd, msgs); } return super.eInverseRemove(otherEnd, featureID, msgs); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void eUnset(int featureID) { switch (featureID) { case WfsPackage.TRANSACTION_RESULTS_TYPE__HANDLE: setHandle(HANDLE_EDEFAULT); return; case WfsPackage.TRANSACTION_RESULTS_TYPE__ACTION: getAction().clear(); return; } super.eUnset(featureID); }
/** * Inserts and returns a new empty value (as xml) as the ith "Action" element */ public net.opengis.wfs.ActionType insertNewAction(int i) { synchronized (monitor()) { check_orphaned(); net.opengis.wfs.ActionType target = null; target = (net.opengis.wfs.ActionType)get_store().insert_element_user(ACTION$0, i); return target; } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Object eGet(int featureID, boolean resolve, boolean coreType) { switch (featureID) { case WfsPackage.TRANSACTION_RESULTS_TYPE__HANDLE: return getHandle(); case WfsPackage.TRANSACTION_RESULTS_TYPE__ACTION: return getAction(); } return super.eGet(featureID, resolve, coreType); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public TransactionResultsType createTransactionResultsType() { TransactionResultsTypeImpl transactionResultsType = new TransactionResultsTypeImpl(); return transactionResultsType; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void eSet(int featureID, Object newValue) { switch (featureID) { case WfsPackage.TRANSACTION_RESULTS_TYPE__HANDLE: setHandle((String)newValue); return; case WfsPackage.TRANSACTION_RESULTS_TYPE__ACTION: getAction().clear(); getAction().addAll((Collection)newValue); return; } super.eSet(featureID, newValue); }
/** * Appends and returns a new empty value (as xml) as the last "Action" element */ public net.opengis.wfs.ActionType addNewAction() { synchronized (monitor()) { check_orphaned(); net.opengis.wfs.ActionType target = null; target = (net.opengis.wfs.ActionType)get_store().add_element_user(ACTION$0); return target; } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public void eUnset(int featureID) { switch (featureID) { case WfsPackage.TRANSACTION_RESULTS_TYPE__HANDLE: setHandle(HANDLE_EDEFAULT); return; case WfsPackage.TRANSACTION_RESULTS_TYPE__ACTION: getAction().clear(); return; } super.eUnset(featureID); }
/** * Gets ith "Action" element */ public net.opengis.wfs.ActionType getActionArray(int i) { synchronized (monitor()) { check_orphaned(); net.opengis.wfs.ActionType target = null; target = (net.opengis.wfs.ActionType)get_store().find_element_user(ACTION$0, i); if (target == null) { throw new IndexOutOfBoundsException(); } return target; } }
/** * Gets array of all "Action" elements */ public net.opengis.wfs.ActionType[] getActionArray() { synchronized (monitor()) { check_orphaned(); java.util.List targetList = new java.util.ArrayList(); get_store().find_all_element_users(ACTION$0, targetList); net.opengis.wfs.ActionType[] result = new net.opengis.wfs.ActionType[targetList.size()]; targetList.toArray(result); return result; } }
/** * Sets ith "Action" element */ public void setActionArray(int i, net.opengis.wfs.ActionType action) { synchronized (monitor()) { check_orphaned(); net.opengis.wfs.ActionType target = null; target = (net.opengis.wfs.ActionType)get_store().find_element_user(ACTION$0, i); if (target == null) { throw new IndexOutOfBoundsException(); } target.set(action); } }