/** * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public IdentifierGenerationOptionType createIdentifierGenerationOptionTypeFromString( EDataType eDataType, String initialValue) { IdentifierGenerationOptionType result = IdentifierGenerationOptionType.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * Returns the '<em><b>Identifier Generation Option Type</b></em>' literal with the specified name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param name the name. * @return the matching enumerator or <code>null</code>. * @generated */ public static IdentifierGenerationOptionType getByName(String name) { for (int i = 0; i < VALUES_ARRAY.length; ++i) { IdentifierGenerationOptionType result = VALUES_ARRAY[i]; if (result.getName().equals(name)) { return result; } } return null; }
/** * Returns the '<em><b>Identifier Generation Option Type</b></em>' literal with the specified literal value. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @param literal the literal. * @return the matching enumerator or <code>null</code>. * @generated */ public static IdentifierGenerationOptionType get(String literal) { for (int i = 0; i < VALUES_ARRAY.length; ++i) { IdentifierGenerationOptionType result = VALUES_ARRAY[i]; if (result.toString().equals(literal)) { return result; } } return null; }
/** * Sets (as xml) the "idgen" attribute */ public void xsetIdgen(net.opengis.wfs.IdentifierGenerationOptionType idgen) { synchronized (monitor()) { check_orphaned(); net.opengis.wfs.IdentifierGenerationOptionType target = null; target = (net.opengis.wfs.IdentifierGenerationOptionType)get_store().find_attribute_user(IDGEN$2); if (target == null) { target = (net.opengis.wfs.IdentifierGenerationOptionType)get_store().add_attribute_user(IDGEN$2); } target.set(idgen); } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public IdentifierGenerationOptionType createIdentifierGenerationOptionTypeFromString(EDataType eDataType, String initialValue) { IdentifierGenerationOptionType result = IdentifierGenerationOptionType.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }