/** * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public String convertCpsMessageTypesToString(EDataType eDataType, Object instanceValue) { return instanceValue == null ? null : instanceValue.toString(); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public IfcFlowDirectionEnum createIfcFlowDirectionEnumFromString(EDataType eDataType, String initialValue) { IfcFlowDirectionEnum result = IfcFlowDirectionEnum.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public String convertToString ( EDataType eDataType, Object instanceValue ) { switch ( eDataType.getClassifierID () ) { case SecurityPackage.PATTERN: return convertPatternToString ( eDataType, instanceValue ); default: throw new IllegalArgumentException ( "The datatype '" + eDataType.getName () + "' is not a valid classifier" ); //$NON-NLS-1$ //$NON-NLS-2$ } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public IfcStairFlightTypeEnum createIfcStairFlightTypeEnumFromString(EDataType eDataType, String initialValue) { IfcStairFlightTypeEnum result = IfcStairFlightTypeEnum.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public IfcAlarmTypeEnum createIfcAlarmTypeEnumFromString(EDataType eDataType, String initialValue) { IfcAlarmTypeEnum result = IfcAlarmTypeEnum.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public String convertVerbosityEnumToString(EDataType eDataType, Object instanceValue) { return instanceValue == null ? null : instanceValue.toString(); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public IfcAnalysisTheoryTypeEnum createIfcAnalysisTheoryTypeEnumFromString(EDataType eDataType, String initialValue) { IfcAnalysisTheoryTypeEnum result = IfcAnalysisTheoryTypeEnum.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ByteOrder createByteOrderFromString ( EDataType eDataType, String initialValue ) { ByteOrder result = ByteOrder.get ( initialValue ); if ( result == null ) throw new IllegalArgumentException ( "The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName () + "'" ); //$NON-NLS-1$ //$NON-NLS-2$ //$NON-NLS-3$ return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public IfcCurveInterpolationEnum createIfcCurveInterpolationEnumFromString(EDataType eDataType, String initialValue) { IfcCurveInterpolationEnum result = IfcCurveInterpolationEnum.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public String convertToString(EDataType eDataType, Object instanceValue) { switch (eDataType.getClassifierID()) { case OperationalLimitsPackage.OPERATIONAL_LIMIT_DIRECTION_KIND: return convertOperationalLimitDirectionKindToString(eDataType, instanceValue); default: throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public String convertToString(EDataType eDataType, Object instanceValue) { switch (eDataType.getClassifierID()) { case SCADAPackage.SOURCE: return convertSourceToString(eDataType, instanceValue); case SCADAPackage.REMOTE_UNIT_TYPE: return convertRemoteUnitTypeToString(eDataType, instanceValue); default: throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public IfcPhysicalOrVirtualEnum createIfcPhysicalOrVirtualEnumFromString(EDataType eDataType, String initialValue) { IfcPhysicalOrVirtualEnum result = IfcPhysicalOrVirtualEnum.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public IfcDataOriginEnum createIfcDataOriginEnumFromString(EDataType eDataType, String initialValue) { IfcDataOriginEnum result = IfcDataOriginEnum.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object createFromString(EDataType eDataType, String initialValue) { switch (eDataType.getClassifierID()) { case EnergySchedulingPackage.AREA_CONTROL_MODE: return createAreaControlModeFromString(eDataType, initialValue); default: throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public IfcColumnTypeEnum createIfcColumnTypeEnumFromString(EDataType eDataType, String initialValue) { IfcColumnTypeEnum result = IfcColumnTypeEnum.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public Tristate createTristateFromString(EDataType eDataType, String initialValue) { Tristate result = Tristate.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public Object createFromString ( EDataType eDataType, String initialValue ) { switch ( eDataType.getClassifierID () ) { case ProtocolPackage.TYPE: return createTypeFromString ( eDataType, initialValue ); default: throw new IllegalArgumentException ( "The datatype '" + eDataType.getName () + "' is not a valid classifier" ); //$NON-NLS-1$ //$NON-NLS-2$ } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public IfcValveTypeEnum createIfcValveTypeEnumFromString(EDataType eDataType, String initialValue) { IfcValveTypeEnum result = IfcValveTypeEnum.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public IfcRailingTypeEnum createIfcRailingTypeEnumFromString(EDataType eDataType, String initialValue) { IfcRailingTypeEnum result = IfcRailingTypeEnum.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public IfcEvaporativeCoolerTypeEnum createIfcEvaporativeCoolerTypeEnumFromString(EDataType eDataType, String initialValue) { IfcEvaporativeCoolerTypeEnum result = IfcEvaporativeCoolerTypeEnum.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ @Override public String convertToString(EDataType eDataType, Object instanceValue) { switch (eDataType.getClassifierID()) { case WorkPackage.WORK_KIND: return convertWorkKindToString(eDataType, instanceValue); default: throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier"); } }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public IfcTendonTypeEnum createIfcTendonTypeEnumFromString(EDataType eDataType, String initialValue) { IfcTendonTypeEnum result = IfcTendonTypeEnum.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public IfcBuildingElementProxyTypeEnum createIfcBuildingElementProxyTypeEnumFromString(EDataType eDataType, String initialValue) { IfcBuildingElementProxyTypeEnum result = IfcBuildingElementProxyTypeEnum.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public IfcReinforcingMeshTypeEnum createIfcReinforcingMeshTypeEnumFromString(EDataType eDataType, String initialValue) { IfcReinforcingMeshTypeEnum result = IfcReinforcingMeshTypeEnum.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public IfcPipeSegmentTypeEnum createIfcPipeSegmentTypeEnumFromString(EDataType eDataType, String initialValue) { IfcPipeSegmentTypeEnum result = IfcPipeSegmentTypeEnum.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public TenderKind createTenderKindFromString(EDataType eDataType, String initialValue) { TenderKind result = TenderKind.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public SboClassesKind createSboClassesKindFromString(EDataType eDataType, String initialValue) { SboClassesKind result = SboClassesKind.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ReleaseType createReleaseTypeFromString(EDataType eDataType, String initialValue) { ReleaseType result = ReleaseType.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public SeverityKind createSeverityKindFromString(EDataType eDataType, String initialValue) { SeverityKind result = SeverityKind.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public IOFileTypesEnum createIOFileTypesEnumObjectFromString(EDataType eDataType, String initialValue) { return createIOFileTypesEnumFromString(SqlModulePackage.Literals.IO_FILE_TYPES_ENUM, initialValue); }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public RevenueKind createRevenueKindFromString(EDataType eDataType, String initialValue) { RevenueKind result = RevenueKind.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public MultiplierKind createMultiplierKindFromString(EDataType eDataType, String initialValue) { MultiplierKind result = MultiplierKind.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public FaultIndicatorResetKind createFaultIndicatorResetKindFromString(EDataType eDataType, String initialValue) { FaultIndicatorResetKind result = FaultIndicatorResetKind.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public RangeKind createRangeKindFromString(EDataType eDataType, String initialValue) { RangeKind result = RangeKind.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public TriggerSourceKind createTriggerSourceKindFromString(EDataType eDataType, String initialValue) { TriggerSourceKind result = TriggerSourceKind.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> <!-- end-user-doc --> * @generated */ public EDataType getObjectId() { return objectIdEDataType; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public FailureDetectionModeKind createFailureDetectionModeKindFromString(EDataType eDataType, String initialValue) { FailureDetectionModeKind result = FailureDetectionModeKind.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ControlAreaTypeKind createControlAreaTypeKindFromString(EDataType eDataType, String initialValue) { ControlAreaTypeKind result = ControlAreaTypeKind.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public CableShieldMaterialKind createCableShieldMaterialKindFromString(EDataType eDataType, String initialValue) { CableShieldMaterialKind result = CableShieldMaterialKind.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }
/** * <!-- begin-user-doc --> * <!-- end-user-doc --> * @generated */ public ReadingKind createReadingKindFromString(EDataType eDataType, String initialValue) { ReadingKind result = ReadingKind.get(initialValue); if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'"); return result; }