Java Code Examples for org.eclipse.emf.ecore.EClass

The following are top voted examples for showing how to use org.eclipse.emf.ecore.EClass. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: BIMplatform   File: IfcStepDeserializer.java   View source code 6 votes vote down vote up
private Object processInline(EClassifier classifier, String value) throws DeserializeException, MetaDataException {
	if (value.indexOf("(") != -1) {
		String typeName = value.substring(0, value.indexOf("(")).trim();
		String v = value.substring(value.indexOf("(") + 1, value.length() - 1);
		EClassifier eClassifier = getPackageMetaData().getEClassifierCaseInsensitive(typeName);
		if (eClassifier instanceof EClass) {
			Object convert = convert(eClassifier, v);
			try {
				model.add(-1, (IdEObject) convert);
			} catch (IfcModelInterfaceException e) {
				throw new DeserializeException(lineNumber, e);
			}
			return convert;
		} else {
			throw new DeserializeException(lineNumber, typeName + " is not an existing IFC entity");
		}
	} else {
		return IfcParserWriterUtils.convertSimpleValue(getPackageMetaData(), classifier.getInstanceClass(), value, lineNumber);
	}
}
 
Example 2
Project: ttc2017smartGrids   File: LoadModelFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public EObject create(EClass eClass) {
	switch (eClass.getClassifierID()) {
		case LoadModelPackage.CONFORM_LOAD_SCHEDULE: return createConformLoadSchedule();
		case LoadModelPackage.NON_CONFORM_LOAD_GROUP: return createNonConformLoadGroup();
		case LoadModelPackage.NON_CONFORM_LOAD: return createNonConformLoad();
		case LoadModelPackage.DAY_TYPE: return createDayType();
		case LoadModelPackage.SUB_LOAD_AREA: return createSubLoadArea();
		case LoadModelPackage.CONFORM_LOAD_GROUP: return createConformLoadGroup();
		case LoadModelPackage.STATION_SUPPLY: return createStationSupply();
		case LoadModelPackage.SEASON_DAY_TYPE_SCHEDULE: return createSeasonDayTypeSchedule();
		case LoadModelPackage.NON_CONFORM_LOAD_SCHEDULE: return createNonConformLoadSchedule();
		case LoadModelPackage.LOAD_AREA: return createLoadArea();
		case LoadModelPackage.ENERGY_AREA: return createEnergyArea();
		case LoadModelPackage.LOAD_RESPONSE_CHARACTERISTIC: return createLoadResponseCharacteristic();
		case LoadModelPackage.LOAD_GROUP: return createLoadGroup();
		case LoadModelPackage.SEASON: return createSeason();
		case LoadModelPackage.POWER_CUT_ZONE: return createPowerCutZone();
		case LoadModelPackage.CONFORM_LOAD: return createConformLoad();
		default:
			throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
	}
}
 
Example 3
Project: ttc2017smartGrids   File: PMUVoltageMeterImpl.java   View source code 6 votes vote down vote up
public static final Object[] pattern_PMUVoltageMeter_10_1_preparereturnvalue_blackFBBF(EClass __eClass,
		PMUVoltageMeter _this) {
	for (EOperation __performOperation : __eClass.getEOperations()) {
		String __performOperation_name = __performOperation.getName();
		if (__performOperation_name.equals("isApplicable_FWD")) {
			for (EOperation isApplicableCC : __eClass.getEOperations()) {
				if (!__performOperation.equals(isApplicableCC)) {
					String isApplicableCC_name = isApplicableCC.getName();
					if (isApplicableCC_name.equals("isApplicable_CC")) {
						return new Object[] { __performOperation, __eClass, _this, isApplicableCC };
					}

				}
			}
		}

	}
	return null;
}
 
Example 4
Project: ttc2017smartGrids   File: GenerationDynamicsFactoryImpl.java   View source code 6 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public EObject create(EClass eClass) {
	switch (eClass.getClassifierID()) {
		case GenerationDynamicsPackage.SUPERCRITICAL: return createSupercritical();
		case GenerationDynamicsPackage.COMBUSTION_TURBINE: return createCombustionTurbine();
		case GenerationDynamicsPackage.FOSSIL_STEAM_SUPPLY: return createFossilSteamSupply();
		case GenerationDynamicsPackage.CT_TEMP_ACTIVE_POWER_CURVE: return createCTTempActivePowerCurve();
		case GenerationDynamicsPackage.SUBCRITICAL: return createSubcritical();
		case GenerationDynamicsPackage.STEAM_SUPPLY: return createSteamSupply();
		case GenerationDynamicsPackage.PRIME_MOVER: return createPrimeMover();
		case GenerationDynamicsPackage.HEAT_RECOVERY_BOILER: return createHeatRecoveryBoiler();
		case GenerationDynamicsPackage.BWR_STEAM_SUPPLY: return createBWRSteamSupply();
		case GenerationDynamicsPackage.DRUM_BOILER: return createDrumBoiler();
		case GenerationDynamicsPackage.STEAM_TURBINE: return createSteamTurbine();
		case GenerationDynamicsPackage.PWR_STEAM_SUPPLY: return createPWRSteamSupply();
		case GenerationDynamicsPackage.HYDRO_TURBINE: return createHydroTurbine();
		default:
			throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
	}
}
 
Example 5
Project: rgse.ttc17.emoflon.tgg   File: IEC61970FactoryImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public EObject create(EClass eClass) {
	switch (eClass.getClassifierID()) {
		case IEC61970Package.IEC61970_CIM_VERSION: return createIEC61970CIMVersion();
		default:
			throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
	}
}
 
Example 6
Project: rgse.ttc17.emoflon.tgg   File: LoadControlFactoryImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public EObject create(EClass eClass) {
	switch (eClass.getClassifierID()) {
		case LoadControlPackage.REMOTE_CONNECT_DISCONNECT_INFO: return createRemoteConnectDisconnectInfo();
		case LoadControlPackage.CONNECT_DISCONNECT_FUNCTION: return createConnectDisconnectFunction();
		default:
			throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
	}
}
 
Example 7
Project: ttc2017smartGrids   File: DatatypesFactoryImpl.java   View source code 5 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public EObject create(EClass eClass) {
	switch (eClass.getClassifierID()) {
		case DatatypesPackage.SCAL_UNIT_TYPE: return createscal_unit_type();
		default:
			throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
	}
}
 
Example 8
Project: rgse.ttc17.emoflon.tgg   File: WorkLocationImpl.java   View source code 5 votes vote down vote up
public static final Object[] pattern_WorkLocation_2_1_preparereturnvalue_blackFBB(EClass eClass,
		WorkLocation _this) {
	for (EOperation performOperation : eClass.getEOperations()) {
		String performOperation_name = performOperation.getName();
		if (performOperation_name.equals("perform_FWD")) {
			return new Object[] { performOperation, eClass, _this };
		}

	}
	return null;
}
 
Example 9
Project: ttc2017smartGrids   File: WiresFactoryImpl.java   View source code 4 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public EObject create(EClass eClass) {
	switch (eClass.getClassifierID()) {
		case WiresPackage.SERIES_COMPENSATOR: return createSeriesCompensator();
		case WiresPackage.POWER_TRANSFORMER: return createPowerTransformer();
		case WiresPackage.SWITCH: return createSwitch();
		case WiresPackage.JUMPER: return createJumper();
		case WiresPackage.PLANT: return createPlant();
		case WiresPackage.LINE: return createLine();
		case WiresPackage.ENERGY_SOURCE: return createEnergySource();
		case WiresPackage.FREQUENCY_CONVERTER: return createFrequencyConverter();
		case WiresPackage.CONNECTOR: return createConnector();
		case WiresPackage.GROUND: return createGround();
		case WiresPackage.LOAD_BREAK_SWITCH: return createLoadBreakSwitch();
		case WiresPackage.IMPEDANCE_VARIATION_CURVE: return createImpedanceVariationCurve();
		case WiresPackage.TAP_SCHEDULE: return createTapSchedule();
		case WiresPackage.MUTUAL_COUPLING: return createMutualCoupling();
		case WiresPackage.DC_LINE_SEGMENT: return createDCLineSegment();
		case WiresPackage.SWITCH_SCHEDULE: return createSwitchSchedule();
		case WiresPackage.COMPOSITE_SWITCH: return createCompositeSwitch();
		case WiresPackage.AC_LINE_SEGMENT: return createACLineSegment();
		case WiresPackage.PHASE_TAP_CHANGER: return createPhaseTapChanger();
		case WiresPackage.ENERGY_CONSUMER: return createEnergyConsumer();
		case WiresPackage.REGULATING_COND_EQ: return createRegulatingCondEq();
		case WiresPackage.HEAT_EXCHANGER: return createHeatExchanger();
		case WiresPackage.STATIC_VAR_COMPENSATOR: return createStaticVarCompensator();
		case WiresPackage.PHASE_VARIATION_CURVE: return createPhaseVariationCurve();
		case WiresPackage.TAP_CHANGER: return createTapChanger();
		case WiresPackage.WINDING_TEST: return createWindingTest();
		case WiresPackage.FUSE: return createFuse();
		case WiresPackage.REGULATING_CONTROL: return createRegulatingControl();
		case WiresPackage.BUSBAR_SECTION: return createBusbarSection();
		case WiresPackage.RESISTOR: return createResistor();
		case WiresPackage.RATIO_VARIATION_CURVE: return createRatioVariationCurve();
		case WiresPackage.RECTIFIER_INVERTER: return createRectifierInverter();
		case WiresPackage.BREAKER: return createBreaker();
		case WiresPackage.TRANSFORMER_WINDING: return createTransformerWinding();
		case WiresPackage.GROUND_DISCONNECTOR: return createGroundDisconnector();
		case WiresPackage.VOLTAGE_CONTROL_ZONE: return createVoltageControlZone();
		case WiresPackage.PROTECTED_SWITCH: return createProtectedSwitch();
		case WiresPackage.SHUNT_COMPENSATOR: return createShuntCompensator();
		case WiresPackage.CONDUCTOR: return createConductor();
		case WiresPackage.DISCONNECTOR: return createDisconnector();
		case WiresPackage.SYNCHRONOUS_MACHINE: return createSynchronousMachine();
		case WiresPackage.JUNCTION: return createJunction();
		case WiresPackage.REGULATION_SCHEDULE: return createRegulationSchedule();
		case WiresPackage.REACTIVE_CAPABILITY_CURVE: return createReactiveCapabilityCurve();
		case WiresPackage.RATIO_TAP_CHANGER: return createRatioTapChanger();
		default:
			throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
	}
}
 
Example 10
Project: Saturn   File: ShadowDirectResourceImpl.java   View source code 4 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
protected EClass eStaticClass()
{
  return ShadowDirectResourcePackage.Literals.SHADOW_DIRECT_RESOURCE;
}
 
Example 11
Project: ttc2017smartGrids   File: InfWorkFactoryImpl.java   View source code 4 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public EObject create(EClass eClass) {
	switch (eClass.getClassifierID()) {
		case InfWorkPackage.WORK_FLOW_STEP: return createWorkFlowStep();
		case InfWorkPackage.WORK_COST_DETAIL: return createWorkCostDetail();
		case InfWorkPackage.USAGE: return createUsage();
		case InfWorkPackage.WORK_COST_SUMMARY: return createWorkCostSummary();
		case InfWorkPackage.MISC_COST_ITEM: return createMiscCostItem();
		case InfWorkPackage.CU_ALLOWABLE_ACTION: return createCUAllowableAction();
		case InfWorkPackage.COST_TYPE: return createCostType();
		case InfWorkPackage.CU_MATERIAL_ITEM: return createCUMaterialItem();
		case InfWorkPackage.ASSIGNMENT: return createAssignment();
		case InfWorkPackage.DESIGN: return createDesign();
		case InfWorkPackage.BUSINESS_CASE: return createBusinessCase();
		case InfWorkPackage.EQUIPMENT_ITEM: return createEquipmentItem();
		case InfWorkPackage.ONE_CALL_REQUEST: return createOneCallRequest();
		case InfWorkPackage.LABOR_ITEM: return createLaborItem();
		case InfWorkPackage.PROJECT: return createProject();
		case InfWorkPackage.ACCESS_PERMIT: return createAccessPermit();
		case InfWorkPackage.INSPECTION_DATA_SET: return createInspectionDataSet();
		case InfWorkPackage.REGULATION: return createRegulation();
		case InfWorkPackage.SHIFT_PATTERN: return createShiftPattern();
		case InfWorkPackage.NON_STANDARD_ITEM: return createNonStandardItem();
		case InfWorkPackage.WORK_LOCATION: return createWorkLocation();
		case InfWorkPackage.DESIGN_LOCATION_CU: return createDesignLocationCU();
		case InfWorkPackage.DESIGN_LOCATION: return createDesignLocation();
		case InfWorkPackage.CU_LABOR_CODE: return createCULaborCode();
		case InfWorkPackage.CONDITION_FACTOR: return createConditionFactor();
		case InfWorkPackage.CU_WORK_EQUIPMENT_ITEM: return createCUWorkEquipmentItem();
		case InfWorkPackage.QUALIFICATION_REQUIREMENT: return createQualificationRequirement();
		case InfWorkPackage.CU_CONTRACTOR_ITEM: return createCUContractorItem();
		case InfWorkPackage.MATERIAL_ITEM: return createMaterialItem();
		case InfWorkPackage.PROPERTY_UNIT: return createPropertyUnit();
		case InfWorkPackage.COMPATIBLE_UNIT: return createCompatibleUnit();
		case InfWorkPackage.WORK_TASK: return createWorkTask();
		case InfWorkPackage.TYPE_MATERIAL: return createTypeMaterial();
		case InfWorkPackage.CAPABILITY: return createCapability();
		case InfWorkPackage.CU_ASSET: return createCUAsset();
		case InfWorkPackage.CONTRACTOR_ITEM: return createContractorItem();
		case InfWorkPackage.INFO_QUESTION: return createInfoQuestion();
		case InfWorkPackage.WORK_STATUS_ENTRY: return createWorkStatusEntry();
		case InfWorkPackage.APPOINTMENT: return createAppointment();
		case InfWorkPackage.MAINTENANCE_DATA_SET: return createMaintenanceDataSet();
		case InfWorkPackage.CU_GROUP: return createCUGroup();
		case InfWorkPackage.CREW: return createCrew();
		case InfWorkPackage.REQUEST: return createRequest();
		case InfWorkPackage.OVERHEAD_COST: return createOverheadCost();
		case InfWorkPackage.DIAGNOSIS_DATA_SET: return createDiagnosisDataSet();
		case InfWorkPackage.CU_LABOR_ITEM: return createCULaborItem();
		default:
			throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
	}
}
 
Example 12
Project: ttc2017smartGrids   File: WorkLocationImpl.java   View source code 4 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EObjectContainer isAppropriate_FWD_EMoflonEdge_16(EMoflonEdge _edge_Location) {
	// prepare return value
	Object[] result1_bindingAndBlack = WorkLocationImpl
			.pattern_WorkLocation_10_1_preparereturnvalue_bindingAndBlackFFBF(this);
	if (result1_bindingAndBlack == null) {
		throw new RuntimeException("Pattern matching in node [prepare return value] failed." + " Variables: "
				+ "[this] = " + this + ".");
	}
	EOperation __performOperation = (EOperation) result1_bindingAndBlack[0];
	EClass __eClass = (EClass) result1_bindingAndBlack[1];
	EOperation isApplicableCC = (EOperation) result1_bindingAndBlack[3];
	Object[] result1_green = WorkLocationImpl.pattern_WorkLocation_10_1_preparereturnvalue_greenF();
	EObjectContainer __result = (EObjectContainer) result1_green[0];

	// ForEach test core match and DECs
	for (Object[] result2_black : WorkLocationImpl
			.pattern_WorkLocation_10_2_testcorematchandDECs_blackFFFB(_edge_Location)) {
		gluemodel.CIM.IEC61970.Informative.InfWork.WorkLocation srcLocation = (gluemodel.CIM.IEC61970.Informative.InfWork.WorkLocation) result2_black[0];
		MeterAsset asset = (MeterAsset) result2_black[1];
		MeterAssetPhysicalDevicePair pair = (MeterAssetPhysicalDevicePair) result2_black[2];
		Object[] result2_green = WorkLocationImpl.pattern_WorkLocation_10_2_testcorematchandDECs_greenFB(__eClass);
		Match match = (Match) result2_green[0];

		// bookkeeping with generic isAppropriate method
		if (WorkLocationImpl.pattern_WorkLocation_10_3_bookkeepingwithgenericisAppropriatemethod_expressionFBBBBB(
				this, match, srcLocation, asset, pair)) {
			// Ensure that the correct types of elements are matched
			if (WorkLocationImpl
					.pattern_WorkLocation_10_4_Ensurethatthecorrecttypesofelementsarematched_expressionFBB(this,
							match)) {

				// Add match to rule result
				Object[] result5_black = WorkLocationImpl.pattern_WorkLocation_10_5_Addmatchtoruleresult_blackBBBB(
						match, __performOperation, __result, isApplicableCC);
				if (result5_black == null) {
					throw new RuntimeException("Pattern matching in node [Add match to rule result] failed."
							+ " Variables: " + "[match] = " + match + ", " + "[__performOperation] = "
							+ __performOperation + ", " + "[__result] = " + __result + ", " + "[isApplicableCC] = "
							+ isApplicableCC + ".");
				}
				WorkLocationImpl.pattern_WorkLocation_10_5_Addmatchtoruleresult_greenBBBB(match, __performOperation,
						__result, isApplicableCC);

			} else {
			}

		} else {
		}

	}
	return WorkLocationImpl.pattern_WorkLocation_10_6_expressionFB(__result);
}
 
Example 13
Project: neoscada   File: LinePropertiesImpl.java   View source code 4 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected EClass eStaticClass ()
{
    return ChartPackage.Literals.LINE_PROPERTIES;
}
 
Example 14
Project: ttc2017smartGrids   File: PMUVoltageMeterImpl.java   View source code 4 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EObjectContainer isAppropriate_FWD_EMoflonEdge_36(EMoflonEdge _edge_a) {
	// prepare return value
	Object[] result1_bindingAndBlack = PMUVoltageMeterImpl
			.pattern_PMUVoltageMeter_10_1_preparereturnvalue_bindingAndBlackFFBF(this);
	if (result1_bindingAndBlack == null) {
		throw new RuntimeException("Pattern matching in node [prepare return value] failed." + " Variables: "
				+ "[this] = " + this + ".");
	}
	EOperation __performOperation = (EOperation) result1_bindingAndBlack[0];
	EClass __eClass = (EClass) result1_bindingAndBlack[1];
	EOperation isApplicableCC = (EOperation) result1_bindingAndBlack[3];
	Object[] result1_green = PMUVoltageMeterImpl.pattern_PMUVoltageMeter_10_1_preparereturnvalue_greenF();
	EObjectContainer __result = (EObjectContainer) result1_green[0];

	// ForEach test core match and DECs
	for (Object[] result2_black : PMUVoltageMeterImpl
			.pattern_PMUVoltageMeter_10_2_testcorematchandDECs_blackFFFB(_edge_a)) {
		MeterAsset asset = (MeterAsset) result2_black[0];
		MeterAssetMMXUPair pair = (MeterAssetMMXUPair) result2_black[1];
		MMXU mmxu = (MMXU) result2_black[2];
		Object[] result2_green = PMUVoltageMeterImpl
				.pattern_PMUVoltageMeter_10_2_testcorematchandDECs_greenFB(__eClass);
		Match match = (Match) result2_green[0];

		// bookkeeping with generic isAppropriate method
		if (PMUVoltageMeterImpl
				.pattern_PMUVoltageMeter_10_3_bookkeepingwithgenericisAppropriatemethod_expressionFBBBBB(this,
						match, asset, pair, mmxu)) {
			// Ensure that the correct types of elements are matched
			if (PMUVoltageMeterImpl
					.pattern_PMUVoltageMeter_10_4_Ensurethatthecorrecttypesofelementsarematched_expressionFBB(this,
							match)) {

				// Add match to rule result
				Object[] result5_black = PMUVoltageMeterImpl
						.pattern_PMUVoltageMeter_10_5_Addmatchtoruleresult_blackBBBB(match, __performOperation,
								__result, isApplicableCC);
				if (result5_black == null) {
					throw new RuntimeException("Pattern matching in node [Add match to rule result] failed."
							+ " Variables: " + "[match] = " + match + ", " + "[__performOperation] = "
							+ __performOperation + ", " + "[__result] = " + __result + ", " + "[isApplicableCC] = "
							+ isApplicableCC + ".");
				}
				PMUVoltageMeterImpl.pattern_PMUVoltageMeter_10_5_Addmatchtoruleresult_greenBBBB(match,
						__performOperation, __result, isApplicableCC);

			} else {
			}

		} else {
		}

	}
	return PMUVoltageMeterImpl.pattern_PMUVoltageMeter_10_6_expressionFB(__result);
}
 
Example 15
Project: neoscada   File: ConnectionTypeImpl.java   View source code 4 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected EClass eStaticClass ()
{
    return ConfigurationPackage.Literals.CONNECTION_TYPE;
}
 
Example 16
Project: ttc2017smartGrids   File: SubLoadAreaImpl.java   View source code 4 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EObjectContainer isAppropriate_FWD_EMoflonEdge_37(EMoflonEdge _edge_SubLoadArea) {
	// prepare return value
	Object[] result1_bindingAndBlack = SubLoadAreaImpl
			.pattern_SubLoadArea_10_1_preparereturnvalue_bindingAndBlackFFBF(this);
	if (result1_bindingAndBlack == null) {
		throw new RuntimeException("Pattern matching in node [prepare return value] failed." + " Variables: "
				+ "[this] = " + this + ".");
	}
	EOperation __performOperation = (EOperation) result1_bindingAndBlack[0];
	EClass __eClass = (EClass) result1_bindingAndBlack[1];
	EOperation isApplicableCC = (EOperation) result1_bindingAndBlack[3];
	Object[] result1_green = SubLoadAreaImpl.pattern_SubLoadArea_10_1_preparereturnvalue_greenF();
	EObjectContainer __result = (EObjectContainer) result1_green[0];

	// ForEach test core match and DECs
	for (Object[] result2_black : SubLoadAreaImpl
			.pattern_SubLoadArea_10_2_testcorematchandDECs_blackFFFFFFB(_edge_SubLoadArea)) {
		MeterAsset asset = (MeterAsset) result2_black[0];
		ConformLoadGroup srcGroup = (ConformLoadGroup) result2_black[1];
		gluemodel.CIM.IEC61970.LoadModel.SubLoadArea srcArea = (gluemodel.CIM.IEC61970.LoadModel.SubLoadArea) result2_black[2];
		MeterAssetPhysicalDevicePair pair = (MeterAssetPhysicalDevicePair) result2_black[3];
		ServiceDeliveryPoint srcDeliver = (ServiceDeliveryPoint) result2_black[4];
		ConformLoad srcConsumer = (ConformLoad) result2_black[5];
		Object[] result2_green = SubLoadAreaImpl.pattern_SubLoadArea_10_2_testcorematchandDECs_greenFB(__eClass);
		Match match = (Match) result2_green[0];

		// bookkeeping with generic isAppropriate method
		if (SubLoadAreaImpl.pattern_SubLoadArea_10_3_bookkeepingwithgenericisAppropriatemethod_expressionFBBBBBBBB(
				this, match, asset, srcGroup, srcArea, pair, srcDeliver, srcConsumer)) {
			// Ensure that the correct types of elements are matched
			if (SubLoadAreaImpl
					.pattern_SubLoadArea_10_4_Ensurethatthecorrecttypesofelementsarematched_expressionFBB(this,
							match)) {

				// Add match to rule result
				Object[] result5_black = SubLoadAreaImpl.pattern_SubLoadArea_10_5_Addmatchtoruleresult_blackBBBB(
						match, __performOperation, __result, isApplicableCC);
				if (result5_black == null) {
					throw new RuntimeException("Pattern matching in node [Add match to rule result] failed."
							+ " Variables: " + "[match] = " + match + ", " + "[__performOperation] = "
							+ __performOperation + ", " + "[__result] = " + __result + ", " + "[isApplicableCC] = "
							+ isApplicableCC + ".");
				}
				SubLoadAreaImpl.pattern_SubLoadArea_10_5_Addmatchtoruleresult_greenBBBB(match, __performOperation,
						__result, isApplicableCC);

			} else {
			}

		} else {
		}

	}
	return SubLoadAreaImpl.pattern_SubLoadArea_10_6_expressionFB(__result);
}
 
Example 17
Project: Saturn   File: CheckSessionUpOperationImpl.java   View source code 4 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
protected EClass eStaticClass()
{
  return PsManagerModulePackage.Literals.CHECK_SESSION_UP_OPERATION;
}
 
Example 18
Project: neoscada   File: ComponentPackageImpl.java   View source code 4 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public EClass getInputDefinition ()
{
    return inputDefinitionEClass;
}
 
Example 19
Project: neoscada   File: IEC60870DeviceImpl.java   View source code 4 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected EClass eStaticClass ()
{
    return IEC60870Package.Literals.IEC60870_DEVICE;
}
 
Example 20
Project: Saturn   File: SaturnVerbosityConfigurationImpl.java   View source code 4 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
protected EClass eStaticClass()
{
  return SaturnVerbosityPackage.Literals.SATURN_VERBOSITY_CONFIGURATION;
}
 
Example 21
Project: Saturn   File: SoapIOResourcePackageImpl.java   View source code 4 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public EClass getMQTransport()
{
  return mqTransportEClass;
}
 
Example 22
Project: neoscada   File: MemoryPackageImpl.java   View source code 4 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public EClass getUnsignedInteger16Type ()
{
    return unsignedInteger16TypeEClass;
}
 
Example 23
Project: BIMplatform   File: IfcMechanicalMaterialPropertiesImpl.java   View source code 2 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected EClass eStaticClass() {
	return Ifc2x3tc1Package.Literals.IFC_MECHANICAL_MATERIAL_PROPERTIES;
}
 
Example 24
Project: neoscada   File: DetailViewPackageImpl.java   View source code 2 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EClass getCompositeTransformer ()
{
    return compositeTransformerEClass;
}
 
Example 25
Project: ttc2017smartGrids   File: LNGroupRPackageImpl.java   View source code 2 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EClass getRBDR() {
	return rbdrEClass;
}
 
Example 26
Project: ttc2017smartGrids   File: SwitchImpl.java   View source code 2 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected EClass eStaticClass() {
	return WiresPackage.Literals.SWITCH;
}
 
Example 27
Project: rgse.ttc17.emoflon.tgg   File: MarketOperationsPackage.java   View source code 2 votes vote down vote up
/**
 * Returns the meta object for class '{@link gluemodel.CIM.IEC61970.Informative.MarketOperations.MarketStatementLineItem <em>Market Statement Line Item</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for class '<em>Market Statement Line Item</em>'.
 * @see gluemodel.CIM.IEC61970.Informative.MarketOperations.MarketStatementLineItem
 * @generated
 */
EClass getMarketStatementLineItem();
 
Example 28
Project: rgse.ttc17.emoflon.tgg   File: EnergySchedulingPackage.java   View source code 2 votes vote down vote up
/**
 * Returns the meta object for class '{@link gluemodel.CIM.IEC61970.Informative.EnergyScheduling.Reserve <em>Reserve</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for class '<em>Reserve</em>'.
 * @see gluemodel.CIM.IEC61970.Informative.EnergyScheduling.Reserve
 * @generated
 */
EClass getReserve();
 
Example 29
Project: BIMplatform   File: IfcRelAssociatesDocumentImpl.java   View source code 2 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected EClass eStaticClass() {
	return Ifc2x3tc1Package.Literals.IFC_REL_ASSOCIATES_DOCUMENT;
}
 
Example 30
Project: ttc2017smartGrids   File: InterfaceClassesPackage.java   View source code 2 votes vote down vote up
/**
 * Returns the meta object for class '{@link gluemodel.COSEM.InterfaceClasses.IEC_twisted_pair_setup <em>IEC twisted pair setup</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for class '<em>IEC twisted pair setup</em>'.
 * @see gluemodel.COSEM.InterfaceClasses.IEC_twisted_pair_setup
 * @generated
 */
EClass getIEC_twisted_pair_setup();
 
Example 31
Project: ttc2017smartGrids   File: ScriptTableImpl.java   View source code 2 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected EClass eStaticClass() {
	return COSEMObjectsPackage.eINSTANCE.getScriptTable();
}
 
Example 32
Project: pokemon-tcgo-deck-generator   File: PkmntcgoPackageImpl.java   View source code 2 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EClass getPokemon()
{
  return pokemonEClass;
}
 
Example 33
Project: ttc2017smartGrids   File: InfWorkPackage.java   View source code 2 votes vote down vote up
/**
 * Returns the meta object for class '{@link gluemodel.CIM.IEC61970.Informative.InfWork.Appointment <em>Appointment</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for class '<em>Appointment</em>'.
 * @see gluemodel.CIM.IEC61970.Informative.InfWork.Appointment
 * @generated
 */
EClass getAppointment();
 
Example 34
Project: BIMplatform   File: IfcWorkScheduleImpl.java   View source code 2 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
protected EClass eStaticClass() {
	return Ifc4Package.Literals.IFC_WORK_SCHEDULE;
}
 
Example 35
Project: neoscada   File: ConfigurationPackage.java   View source code 2 votes vote down vote up
/**
 * Returns the meta object for class '{@link org.eclipse.scada.da.server.proxy.configuration.ProxyType <em>Proxy Type</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for class '<em>Proxy Type</em>'.
 * @see org.eclipse.scada.da.server.proxy.configuration.ProxyType
 * @generated
 */
EClass getProxyType ();
 
Example 36
Project: ttc2017smartGrids   File: MeteringPackage.java   View source code 2 votes vote down vote up
/**
 * Returns the meta object for class '{@link CIM.IEC61968.Metering.DynamicDemand <em>Dynamic Demand</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for class '<em>Dynamic Demand</em>'.
 * @see CIM.IEC61968.Metering.DynamicDemand
 * @generated
 */
EClass getDynamicDemand();
 
Example 37
Project: time4sys   File: HrmPackageImpl.java   View source code 2 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EClass getHardwareMedia() {
	return hardwareMediaEClass;
}
 
Example 38
Project: ttc2017smartGrids   File: LNGroupCPackageImpl.java   View source code 2 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EClass getCPOW() {
	return cpowEClass;
}
 
Example 39
Project: n4js   File: DomPackageImpl.java   View source code 2 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EClass getTagValue() {
	return tagValueEClass;
}
 
Example 40
Project: ttc2017smartGrids   File: ChangesPackageImpl.java   View source code 2 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EClass getModelChange() {
	return modelChangeEClass;
}