/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public TimeIndeterminateValueType createTimeIndeterminateValueTypeFromString(EDataType eDataType, String initialValue) { TimeIndeterminateValueType result = TimeIndeterminateValueType.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>Time Indeterminate Value Type</b></em>' literal with the specified name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static TimeIndeterminateValueType getByName(String name) { for (int i = 0; i < VALUES_ARRAY.length; ++i) { TimeIndeterminateValueType result = VALUES_ARRAY[i]; if (result.getName().equals(name)) { return result; } } return null; }
/** * Returns the '<em><b>Time Indeterminate Value Type</b></em>' literal with the specified literal value. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static TimeIndeterminateValueType get(String literal) { for (int i = 0; i < VALUES_ARRAY.length; ++i) { TimeIndeterminateValueType result = VALUES_ARRAY[i]; if (result.toString().equals(literal)) { return result; } } return null; }
/** * Sets (as xml) the "indeterminatePosition" attribute */ public void xsetIndeterminatePosition(net.opengis.gml.TimeIndeterminateValueType indeterminatePosition) { synchronized (monitor()) { check_orphaned(); net.opengis.gml.TimeIndeterminateValueType target = null; target = (net.opengis.gml.TimeIndeterminateValueType)get_store().find_attribute_user(INDETERMINATEPOSITION$4); if (target == null) { target = (net.opengis.gml.TimeIndeterminateValueType)get_store().add_attribute_user(INDETERMINATEPOSITION$4); } target.set(indeterminatePosition); } }
public static TimeIndeterminateValueType fromValue(String v) { for (TimeIndeterminateValueType c: TimeIndeterminateValueType.values()) { if (c.value.equals(v)) { return c; } } throw new IllegalArgumentException(v); }
/** * Sets (as xml) the "indeterminatePosition" attribute */ public void xsetIndeterminatePosition(net.opengis.gml.TimeIndeterminateValueType indeterminatePosition) { synchronized (monitor()) { check_orphaned(); net.opengis.gml.TimeIndeterminateValueType target = null; target = (net.opengis.gml.TimeIndeterminateValueType)get_store().find_attribute_user(INDETERMINATEPOSITION$4); if (target == null) { target = (net.opengis.gml.TimeIndeterminateValueType)get_store().add_attribute_user(INDETERMINATEPOSITION$4); } target.set(indeterminatePosition); } }
/** * Sets (as xml) the "indeterminatePosition" attribute */ public void xsetIndeterminatePosition(net.opengis.gml.TimeIndeterminateValueType indeterminatePosition) { synchronized (monitor()) { check_orphaned(); net.opengis.gml.TimeIndeterminateValueType target = null; target = (net.opengis.gml.TimeIndeterminateValueType)get_store().find_attribute_user(INDETERMINATEPOSITION$4); if (target == null) { target = (net.opengis.gml.TimeIndeterminateValueType)get_store().add_attribute_user(INDETERMINATEPOSITION$4); } target.set(indeterminatePosition); } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public TimeIndeterminateValueType createTimeIndeterminateValueTypeFromString(EDataType eDataType, String initialValue) { TimeIndeterminateValueType result = TimeIndeterminateValueType.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>Time Indeterminate Value Type</b></em>' literal with the specified literal value. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static TimeIndeterminateValueType get(String literal) { for (int i = 0; i < VALUES_ARRAY.length; ++i) { TimeIndeterminateValueType result = VALUES_ARRAY[i]; if (result.toString().equals(literal)) { return result; } } return null; }
/** * Returns the '<em><b>Time Indeterminate Value Type</b></em>' literal with the specified name. * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public static TimeIndeterminateValueType getByName(String name) { for (int i = 0; i < VALUES_ARRAY.length; ++i) { TimeIndeterminateValueType result = VALUES_ARRAY[i]; if (result.getName().equals(name)) { return result; } } return null; }