當前位置: 首頁>>代碼示例>>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;未經允許,請勿轉載。