Java 类org.eclipse.emf.ecore.EDataType 实例源码

项目:Saturn    文件:SoapIOResourceFactoryImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public String convertCpsMessageTypesToString(EDataType eDataType, Object instanceValue)
{
  return instanceValue == null ? null : instanceValue.toString();
}
项目:BIMplatform    文件:Ifc4FactoryImpl.java   
/**
 * <!-- 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;
}
项目:neoscada    文件:SecurityFactoryImpl.java   
/**
 * <!-- 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$
    }
}
项目:BIMplatform    文件:Ifc4FactoryImpl.java   
/**
 * <!-- 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;
}
项目:BIMplatform    文件:Ifc4FactoryImpl.java   
/**
 * <!-- 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;
}
项目:Saturn    文件:SaturnVerbosityFactoryImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public String convertVerbosityEnumToString(EDataType eDataType, Object instanceValue)
{
  return instanceValue == null ? null : instanceValue.toString();
}
项目:BIMplatform    文件:Ifc2x3tc1FactoryImpl.java   
/**
 * <!-- 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;
}
项目:neoscada    文件:ModbusFactoryImpl.java   
/**
 * <!-- 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;
}
项目:BIMplatform    文件:Ifc4FactoryImpl.java   
/**
 * <!-- 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;
}
项目:ttc2017smartGrids    文件:OperationalLimitsFactoryImpl.java   
/**
 * <!-- 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");
    }
}
项目:rgse.ttc17.emoflon.tgg    文件:SCADAFactoryImpl.java   
/**
 * <!-- 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");
    }
}
项目:BIMplatform    文件:Ifc2x3tc1FactoryImpl.java   
/**
 * <!-- 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;
}
项目:BIMplatform    文件:Ifc2x3tc1FactoryImpl.java   
/**
 * <!-- 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;
}
项目:rgse.ttc17.emoflon.tgg    文件:EnergySchedulingFactoryImpl.java   
/**
 * <!-- 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");
    }
}
项目:BIMplatform    文件:Ifc4FactoryImpl.java   
/**
 * <!-- 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;
}
项目:BIMplatform    文件:Ifc2x3tc1FactoryImpl.java   
/**
 * <!-- 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;
}
项目:neoscada    文件:ProtocolFactoryImpl.java   
/**
 * <!-- 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$
    }
}
项目:BIMplatform    文件:Ifc2x3tc1FactoryImpl.java   
/**
 * <!-- 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;
}
项目:BIMplatform    文件:Ifc2x3tc1FactoryImpl.java   
/**
 * <!-- 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;
}
项目:BIMplatform    文件:Ifc4FactoryImpl.java   
/**
 * <!-- 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;
}
项目:ttc2017smartGrids    文件:WorkFactoryImpl.java   
/**
 * <!-- 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");
    }
}
项目:BIMplatform    文件:Ifc2x3tc1FactoryImpl.java   
/**
 * <!-- 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;
}
项目:BIMplatform    文件:Ifc4FactoryImpl.java   
/**
 * <!-- 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;
}
项目:BIMplatform    文件:Ifc4FactoryImpl.java   
/**
 * <!-- 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;
}
项目:BIMplatform    文件:Ifc4FactoryImpl.java   
/**
 * <!-- 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;
}
项目:ttc2017smartGrids    文件:PaymentMeteringFactoryImpl.java   
/**
 * <!-- 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;
}
项目:ttc2017smartGrids    文件:EnumerationsFactoryImpl.java   
/**
 * <!-- 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;
}
项目:neoscada    文件:WebFactoryImpl.java   
/**
 * <!-- 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;
}
项目:ttc2017smartGrids    文件:EnumerationsFactoryImpl.java   
/**
 * <!-- 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;
}
项目:Saturn    文件:SqlModuleFactoryImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public IOFileTypesEnum createIOFileTypesEnumObjectFromString(EDataType eDataType, String initialValue)
{
  return createIOFileTypesEnumFromString(SqlModulePackage.Literals.IO_FILE_TYPES_ENUM, initialValue);
}
项目:rgse.ttc17.emoflon.tgg    文件:CustomersFactoryImpl.java   
/**
 * <!-- 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;
}
项目:ttc2017smartGrids    文件:EnumerationsFactoryImpl.java   
/**
 * <!-- 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;
}
项目:ttc2017smartGrids    文件:InfAssetsFactoryImpl.java   
/**
 * <!-- 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;
}
项目:ttc2017smartGrids    文件:EnumerationsFactoryImpl.java   
/**
 * <!-- 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;
}
项目:ttc2017smartGrids    文件:EnumerationsFactoryImpl.java   
/**
 * <!-- 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;
}
项目:Saturn    文件:TypesPackageImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public EDataType getObjectId()
{
  return objectIdEDataType;
}
项目:ttc2017smartGrids    文件:EnumerationsFactoryImpl.java   
/**
 * <!-- 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;
}
项目:ttc2017smartGrids    文件:ControlAreaFactoryImpl.java   
/**
 * <!-- 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;
}
项目:rgse.ttc17.emoflon.tgg    文件:AssetModelsFactoryImpl.java   
/**
 * <!-- 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;
}
项目:ttc2017smartGrids    文件:MeteringFactoryImpl.java   
/**
 * <!-- 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;
}