当前位置: 首页>>代码示例>>Java>>正文


Java EDataType.getName方法代码示例

本文整理汇总了Java中org.eclipse.emf.ecore.EDataType.getName方法的典型用法代码示例。如果您正苦于以下问题:Java EDataType.getName方法的具体用法?Java EDataType.getName怎么用?Java EDataType.getName使用的例子?那么恭喜您, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在org.eclipse.emf.ecore.EDataType的用法示例。


在下文中一共展示了EDataType.getName方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: createIfcSoundScaleEnumFromString

import org.eclipse.emf.ecore.EDataType; //导入方法依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public IfcSoundScaleEnum createIfcSoundScaleEnumFromString(EDataType eDataType, String initialValue) {
	IfcSoundScaleEnum result = IfcSoundScaleEnum.get(initialValue);
	if (result == null)
		throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
	return result;
}
 
开发者ID:shenan4321,项目名称:BIMplatform,代码行数:12,代码来源:Ifc2x3tc1FactoryImpl.java

示例2: createActionStateFromString

import org.eclipse.emf.ecore.EDataType; //导入方法依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public ActionState createActionStateFromString(EDataType eDataType, String initialValue) {
	ActionState result = ActionState.get(initialValue);
	if (result == null)
		throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
	return result;
}
 
开发者ID:shenan4321,项目名称:BIMplatform,代码行数:12,代码来源:StoreFactoryImpl.java

示例3: createIfcWindowPanelPositionEnumFromString

import org.eclipse.emf.ecore.EDataType; //导入方法依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public IfcWindowPanelPositionEnum createIfcWindowPanelPositionEnumFromString(EDataType eDataType, String initialValue) {
	IfcWindowPanelPositionEnum result = IfcWindowPanelPositionEnum.get(initialValue);
	if (result == null)
		throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
	return result;
}
 
开发者ID:shenan4321,项目名称:BIMplatform,代码行数:12,代码来源:Ifc4FactoryImpl.java

示例4: createIfcCrewResourceTypeEnumFromString

import org.eclipse.emf.ecore.EDataType; //导入方法依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public IfcCrewResourceTypeEnum createIfcCrewResourceTypeEnumFromString(EDataType eDataType, String initialValue) {
	IfcCrewResourceTypeEnum result = IfcCrewResourceTypeEnum.get(initialValue);
	if (result == null)
		throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
	return result;
}
 
开发者ID:shenan4321,项目名称:BIMplatform,代码行数:12,代码来源:Ifc4FactoryImpl.java

示例5: createIfcMechanicalFastenerTypeEnumFromString

import org.eclipse.emf.ecore.EDataType; //导入方法依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public IfcMechanicalFastenerTypeEnum createIfcMechanicalFastenerTypeEnumFromString(EDataType eDataType, String initialValue) {
	IfcMechanicalFastenerTypeEnum result = IfcMechanicalFastenerTypeEnum.get(initialValue);
	if (result == null)
		throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
	return result;
}
 
开发者ID:shenan4321,项目名称:BIMplatform,代码行数:12,代码来源:Ifc4FactoryImpl.java

示例6: convertToString

import org.eclipse.emf.ecore.EDataType; //导入方法依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public String convertToString(EDataType eDataType, Object instanceValue) {
	switch (eDataType.getClassifierID()) {
		case MeasPackage.VALIDITY:
			return convertValidityToString(eDataType, instanceValue);
		default:
			throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
	}
}
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:15,代码来源:MeasFactoryImpl.java

示例7: createIfcReflectanceMethodEnumFromString

import org.eclipse.emf.ecore.EDataType; //导入方法依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public IfcReflectanceMethodEnum createIfcReflectanceMethodEnumFromString(EDataType eDataType, String initialValue) {
	IfcReflectanceMethodEnum result = IfcReflectanceMethodEnum.get(initialValue);
	if (result == null)
		throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
	return result;
}
 
开发者ID:shenan4321,项目名称:BIMplatform,代码行数:12,代码来源:Ifc4FactoryImpl.java

示例8: createIfcAlarmTypeEnumFromString

import org.eclipse.emf.ecore.EDataType; //导入方法依赖的package包/类
/**
 * <!-- 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;
}
 
开发者ID:shenan4321,项目名称:BIMplatform,代码行数:12,代码来源:Ifc4FactoryImpl.java

示例9: createIfcConnectionTypeEnumFromString

import org.eclipse.emf.ecore.EDataType; //导入方法依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public IfcConnectionTypeEnum createIfcConnectionTypeEnumFromString(EDataType eDataType, String initialValue) {
	IfcConnectionTypeEnum result = IfcConnectionTypeEnum.get(initialValue);
	if (result == null)
		throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
	return result;
}
 
开发者ID:shenan4321,项目名称:BIMplatform,代码行数:12,代码来源:Ifc4FactoryImpl.java

示例10: createIfcDoorPanelPositionEnumFromString

import org.eclipse.emf.ecore.EDataType; //导入方法依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public IfcDoorPanelPositionEnum createIfcDoorPanelPositionEnumFromString(EDataType eDataType, String initialValue) {
	IfcDoorPanelPositionEnum result = IfcDoorPanelPositionEnum.get(initialValue);
	if (result == null)
		throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
	return result;
}
 
开发者ID:shenan4321,项目名称:BIMplatform,代码行数:12,代码来源:Ifc4FactoryImpl.java

示例11: createIfcTankTypeEnumFromString

import org.eclipse.emf.ecore.EDataType; //导入方法依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public IfcTankTypeEnum createIfcTankTypeEnumFromString(EDataType eDataType, String initialValue) {
	IfcTankTypeEnum result = IfcTankTypeEnum.get(initialValue);
	if (result == null)
		throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
	return result;
}
 
开发者ID:shenan4321,项目名称:BIMplatform,代码行数:12,代码来源:Ifc4FactoryImpl.java

示例12: createColumnTrimEnumFromString

import org.eclipse.emf.ecore.EDataType; //导入方法依赖的package包/类
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public ColumnTrimEnum createColumnTrimEnumFromString(EDataType eDataType, String initialValue)
{
  ColumnTrimEnum result = ColumnTrimEnum.get(initialValue);
  if (result == null) throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
  return result;
}
 
开发者ID:Morgan-Stanley,项目名称:Saturn,代码行数:11,代码来源:TypesFactoryImpl.java

示例13: createIfcBurnerTypeEnumFromString

import org.eclipse.emf.ecore.EDataType; //导入方法依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public IfcBurnerTypeEnum createIfcBurnerTypeEnumFromString(EDataType eDataType, String initialValue) {
	IfcBurnerTypeEnum result = IfcBurnerTypeEnum.get(initialValue);
	if (result == null)
		throw new IllegalArgumentException("The value '" + initialValue + "' is not a valid enumerator of '" + eDataType.getName() + "'");
	return result;
}
 
开发者ID:shenan4321,项目名称:BIMplatform,代码行数:12,代码来源:Ifc4FactoryImpl.java

示例14: createRangeKindFromString

import org.eclipse.emf.ecore.EDataType; //导入方法依赖的package包/类
/**
 * <!-- 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;
}
 
开发者ID:SvenPeldszus,项目名称:rgse.ttc17.emoflon.tgg,代码行数:11,代码来源:EnumerationsFactoryImpl.java

示例15: createFromString

import org.eclipse.emf.ecore.EDataType; //导入方法依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public Object createFromString(EDataType eDataType, String initialValue) {
	switch (eDataType.getClassifierID()) {
		case InfAssetsPackage.POLE_BASE_KIND:
			return createPoleBaseKindFromString(eDataType, initialValue);
		case InfAssetsPackage.SHUNT_IMPEDANCE_LOCAL_CONTROL_KIND:
			return createShuntImpedanceLocalControlKindFromString(eDataType, initialValue);
		case InfAssetsPackage.JOINT_FILL_KIND:
			return createJointFillKindFromString(eDataType, initialValue);
		case InfAssetsPackage.PROCEDURE_KIND:
			return createProcedureKindFromString(eDataType, initialValue);
		case InfAssetsPackage.STREETLIGHT_LAMP_KIND:
			return createStreetlightLampKindFromString(eDataType, initialValue);
		case InfAssetsPackage.SHUNT_IMPEDANCE_CONTROL_KIND:
			return createShuntImpedanceControlKindFromString(eDataType, initialValue);
		case InfAssetsPackage.FAILURE_ISOLATION_METHOD_KIND:
			return createFailureIsolationMethodKindFromString(eDataType, initialValue);
		case InfAssetsPackage.UNDERGROUND_STRUCTURE_KIND:
			return createUndergroundStructureKindFromString(eDataType, initialValue);
		case InfAssetsPackage.SUBSTATION_FUNCTION_KIND:
			return createSubstationFunctionKindFromString(eDataType, initialValue);
		case InfAssetsPackage.COOLING_KIND:
			return createCoolingKindFromString(eDataType, initialValue);
		case InfAssetsPackage.POLE_PRESERVATIVE_KIND:
			return createPolePreservativeKindFromString(eDataType, initialValue);
		case InfAssetsPackage.POLE_TREATMENT_KIND:
			return createPoleTreatmentKindFromString(eDataType, initialValue);
		case InfAssetsPackage.FAULT_INDICATOR_RESET_KIND:
			return createFaultIndicatorResetKindFromString(eDataType, initialValue);
		case InfAssetsPackage.FACTS_DEVICE_KIND:
			return createFACTSDeviceKindFromString(eDataType, initialValue);
		case InfAssetsPackage.STRUCTURE_SUPPORT_KIND:
			return createStructureSupportKindFromString(eDataType, initialValue);
		case InfAssetsPackage.VEHICLE_USAGE_KIND:
			return createVehicleUsageKindFromString(eDataType, initialValue);
		case InfAssetsPackage.REGULATION_BRANCH_KIND:
			return createRegulationBranchKindFromString(eDataType, initialValue);
		case InfAssetsPackage.TOWER_CONSTRUCTION_KIND:
			return createTowerConstructionKindFromString(eDataType, initialValue);
		case InfAssetsPackage.BUSHING_INSULATION_PF_TEST_KIND:
			return createBushingInsulationPfTestKindFromString(eDataType, initialValue);
		case InfAssetsPackage.BUSHING_INSULATION_KIND:
			return createBushingInsulationKindFromString(eDataType, initialValue);
		case InfAssetsPackage.COMPOSITE_SWITCH_KIND:
			return createCompositeSwitchKindFromString(eDataType, initialValue);
		case InfAssetsPackage.STRUCTURE_MATERIAL_KIND:
			return createStructureMaterialKindFromString(eDataType, initialValue);
		case InfAssetsPackage.MEDIUM_KIND:
			return createMediumKindFromString(eDataType, initialValue);
		case InfAssetsPackage.ANCHOR_KIND:
			return createAnchorKindFromString(eDataType, initialValue);
		case InfAssetsPackage.JOINT_CONFIGURATION_KIND:
			return createJointConfigurationKindFromString(eDataType, initialValue);
		case InfAssetsPackage.FACILITY_KIND:
			return createFacilityKindFromString(eDataType, initialValue);
		default:
			throw new IllegalArgumentException("The datatype '" + eDataType.getName() + "' is not a valid classifier");
	}
}
 
开发者ID:SvenPeldszus,项目名称:rgse.ttc17.emoflon.tgg,代码行数:65,代码来源:InfAssetsFactoryImpl.java


注:本文中的org.eclipse.emf.ecore.EDataType.getName方法示例由纯净天空整理自Github/MSDocs等开源代码及文档管理平台,相关代码片段筛选自各路编程大神贡献的开源项目,源码版权归原作者所有,传播和使用请参考对应项目的License;未经允许,请勿转载。