本文整理汇总了Java中org.eclipse.emf.ecore.EClass.getName方法的典型用法代码示例。如果您正苦于以下问题:Java EClass.getName方法的具体用法?Java EClass.getName怎么用?Java EClass.getName使用的例子?那么, 这里精选的方法代码示例或许可以为您提供帮助。您也可以进一步了解该方法所在类org.eclipse.emf.ecore.EClass
的用法示例。
在下文中一共展示了EClass.getName方法的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。
示例1: create
import org.eclipse.emf.ecore.EClass; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
case OutagePreventionMjtracePackage.JOIN_METER_ASSET_MMXU_PMU_VOLTAGE_METER: return createjoin_MeterAsset_MMXU_PMUVoltageMeter();
case OutagePreventionMjtracePackage.JOIN_METER_ASSET_PHYSICAL_DEVICE_PRIVATE_METER_VOLTAGE: return createjoin_MeterAsset_PhysicalDevice_PrivateMeterVoltage();
case OutagePreventionMjtracePackage.REF_LOCATION_LOCATION_LOCATION: return createref_Location_Location_Location();
case OutagePreventionMjtracePackage.REF_POSITION_POINT_POSITION_POINT_POSITION: return createref_PositionPoint_PositionPoint_Position();
case OutagePreventionMjtracePackage.REF_POWER_SYSTEM_RESOURCE_POWER_SYSTEM_RESOURCE_POWER_SYSTEM_RESOURCES: return createref_PowerSystemResource_PowerSystemResource_PowerSystemResources();
case OutagePreventionMjtracePackage.REF_TERMINAL_TERMINAL_TERMINALS: return createref_Terminal_Terminal_Terminals();
case OutagePreventionMjtracePackage.REF_TIE_FLOW_TIE_FLOW_TIE_FLOW: return createref_TieFlow_TieFlow_TieFlow();
case OutagePreventionMjtracePackage.REF_CONTROL_AREA_CONTROL_AREA_CONTROL_AREA: return createref_ControlArea_ControlArea_ControlArea();
case OutagePreventionMjtracePackage.REF_SERVICE_DELIVERY_POINT_SERVICE_DELIVERY_POINT_SERVICE_DELIVERY_POINT: return createref_ServiceDeliveryPoint_ServiceDeliveryPoint_ServiceDeliveryPoint();
case OutagePreventionMjtracePackage.REF_ENERGY_CONSUMER_ENERGY_CONSUMER_ENERGY_CONSUMER: return createref_EnergyConsumer_EnergyConsumer_EnergyConsumer();
case OutagePreventionMjtracePackage.REF_CONFORM_LOAD_GROUP_CONFORM_LOAD_GROUP_LOAD_GROUP: return createref_ConformLoadGroup_ConformLoadGroup_LoadGroup();
case OutagePreventionMjtracePackage.REF_SUB_LOAD_AREA_SUB_LOAD_AREA_SUB_LOAD_AREA: return createref_SubLoadArea_SubLoadArea_SubLoadArea();
case OutagePreventionMjtracePackage.REF_LOAD_AREA_LOAD_AREA_LOAD_AREA: return createref_LoadArea_LoadArea_LoadArea();
case OutagePreventionMjtracePackage.REF_NON_CONFORM_LOAD_GROUP_NON_CONFORM_LOAD_GROUP_LOAD_GROUP: return createref_NonConformLoadGroup_NonConformLoadGroup_LoadGroup();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
示例2: create
import org.eclipse.emf.ecore.EClass; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
case WiresExtPackage.DISTRIBUTION_TRANSFORMER_WINDING: return createDistributionTransformerWinding();
case WiresExtPackage.PER_LENGTH_PHASE_IMPEDANCE: return createPerLengthPhaseImpedance();
case WiresExtPackage.DISTRIBUTION_TAP_CHANGER: return createDistributionTapChanger();
case WiresExtPackage.PER_LENGTH_SEQUENCE_IMPEDANCE: return createPerLengthSequenceImpedance();
case WiresExtPackage.TRANSFORMER_BANK: return createTransformerBank();
case WiresExtPackage.DISTRIBUTION_LINE_SEGMENT: return createDistributionLineSegment();
case WiresExtPackage.PHASE_IMPEDANCE_DATA: return createPhaseImpedanceData();
case WiresExtPackage.WINDING_PI_IMPEDANCE: return createWindingPiImpedance();
case WiresExtPackage.DISTRIBUTION_TRANSFORMER: return createDistributionTransformer();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
示例3: create
import org.eclipse.emf.ecore.EClass; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
case InfCommonPackage.DOC_DOC_ROLE: return createDocDocRole();
case InfCommonPackage.SCHEDULE_PARAMETER_INFO: return createScheduleParameterInfo();
case InfCommonPackage.SCHEDULED_EVENT: return createScheduledEvent();
case InfCommonPackage.BANK_ACCOUNT: return createBankAccount();
case InfCommonPackage.DOC_PSR_ROLE: return createDocPsrRole();
case InfCommonPackage.BUSINESS_ROLE: return createBusinessRole();
case InfCommonPackage.MARKET_ROLE: return createMarketRole();
case InfCommonPackage.SKILL: return createSkill();
case InfCommonPackage.ROLE: return createRole();
case InfCommonPackage.RATIO: return createRatio();
case InfCommonPackage.BUSINESS_PLAN: return createBusinessPlan();
case InfCommonPackage.CRAFT: return createCraft();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
示例4: create
import org.eclipse.emf.ecore.EClass; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
case GenerictracePackage.GENERIC_SEQUENTIAL_STEP: return createGenericSequentialStep();
case GenerictracePackage.GENERIC_PARALLEL_STEP: return createGenericParallelStep();
case GenerictracePackage.GENERIC_SMALL_STEP: return createGenericSmallStep();
case GenerictracePackage.GENERIC_DIMENSION: return createGenericDimension();
case GenerictracePackage.GENERIC_TRACED_OBJECT: return createGenericTracedObject();
case GenerictracePackage.GENERIC_STATE: return createGenericState();
case GenerictracePackage.GENERIC_TRACE: return createGenericTrace();
case GenerictracePackage.BOOLEAN_ATTRIBUTE_VALUE: return createBooleanAttributeValue();
case GenerictracePackage.INTEGER_ATTRIBUTE_VALUE: return createIntegerAttributeValue();
case GenerictracePackage.STRING_ATTRIBUTE_VALUE: return createStringAttributeValue();
case GenerictracePackage.MANY_BOOLEAN_ATTRIBUTE_VALUE: return createManyBooleanAttributeValue();
case GenerictracePackage.MANY_INTEGER_ATTRIBUTE_VALUE: return createManyIntegerAttributeValue();
case GenerictracePackage.MANY_STRING_ATTRIBUTE_VALUE: return createManyStringAttributeValue();
case GenerictracePackage.SINGLE_REFERENCE_VALUE: return createSingleReferenceValue();
case GenerictracePackage.MANY_REFERENCE_VALUE: return createManyReferenceValue();
case GenerictracePackage.INTEGER_OBJECT_ATTRIBUTE_VALUE: return createIntegerObjectAttributeValue();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
示例5: create
import org.eclipse.emf.ecore.EClass; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EObject create ( EClass eClass )
{
switch ( eClass.getClassifierID () )
{
case ScriptPackage.GENERIC_SCRIPT:
return createGenericScript ();
case ScriptPackage.JAVA_SCRIPT:
return createJavaScript ();
case ScriptPackage.SCRIPT_REFERENCE:
return createScriptReference ();
default:
throw new IllegalArgumentException ( "The class '" + eClass.getName () + "' is not a valid classifier" ); //$NON-NLS-1$ //$NON-NLS-2$
}
}
示例6: create
import org.eclipse.emf.ecore.EClass; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EObject create(EClass eClass)
{
switch (eClass.getClassifierID())
{
case ValuesPackage.CELL_COMPLEX_VALUE: return createCellComplexValue();
case ValuesPackage.CODE_COMPLEX_VALUE: return createCodeComplexValue();
case ValuesPackage.COMPLEX_VALUE: return createComplexValue();
case ValuesPackage.FALLIBLE_COMPLEX_VALUE: return createFallibleComplexValue();
case ValuesPackage.FIX_COMPLEX_VALUE: return createFIXComplexValue();
case ValuesPackage.JSON_COMPLEX_VALUE: return createJSONComplexValue();
case ValuesPackage.PROPERTY_COMPLEX_VALUE: return createPropertyComplexValue();
case ValuesPackage.REFERENCE_COMPLEX_VALUE: return createReferenceComplexValue();
case ValuesPackage.RUN_NUMBER_COMPLEX_VALUE: return createRunNumberComplexValue();
case ValuesPackage.TEXT_COMPLEX_VALUE: return createTextComplexValue();
case ValuesPackage.XPATH_COMPLEX_VALUE: return createXPathComplexValue();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
示例7: create
import org.eclipse.emf.ecore.EClass; //导入方法依赖的package包/类
/**
* <!-- 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");
}
}
示例8: create
import org.eclipse.emf.ecore.EClass; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
public EObject create(EClass eClass)
{
switch (eClass.getClassifierID())
{
case SqlModulePackage.CLEAR_TABLE: return createClearTable();
case SqlModulePackage.DOCUMENT_ROOT: return createDocumentRoot();
case SqlModulePackage.EXECUTE_COMMAND: return createExecuteCommand();
case SqlModulePackage.FETCH_QUERY: return createFetchQuery();
case SqlModulePackage.LOAD_TABLE: return createLoadTable();
case SqlModulePackage.PROC_CALL_DEFINITION: return createProcCallDefinition();
case SqlModulePackage.SQL_CALL_OPERATION: return createSQLCallOperation();
case SqlModulePackage.SQL_CLEAR_OPERATION: return createSQLClearOperation();
case SqlModulePackage.SQL_CONFIGURATION: return createSQLConfiguration();
case SqlModulePackage.SQL_EXECUTE_OPERATION: return createSQLExecuteOperation();
case SqlModulePackage.SQL_FETCH_OPERATION: return createSQLFetchOperation();
case SqlModulePackage.SQL_LOAD_OPERATION: return createSQLLoadOperation();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
示例9: create
import org.eclipse.emf.ecore.EClass; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EObject create(EClass eClass)
{
switch (eClass.getClassifierID())
{
case MapperResourcePackage.CONVERTER_RESOURCE: return createConverterResource();
case MapperResourcePackage.CUSTOM_RESOURCE: return createCustomResource();
case MapperResourcePackage.EXTRACTOR_RESOURCE: return createExtractorResource();
case MapperResourcePackage.GENERATOR_RESOURCE: return createGeneratorResource();
case MapperResourcePackage.MANIPULATOR_RESOURCE: return createManipulatorResource();
case MapperResourcePackage.MAPPED_RESOURCE: return createMappedResource();
case MapperResourcePackage.VALIDATOR_RESOURCE: return createValidatorResource();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
示例10: pattern_ConformLoadGroup_10_2_testcorematchandDECs_greenFB
import org.eclipse.emf.ecore.EClass; //导入方法依赖的package包/类
public static final Object[] pattern_ConformLoadGroup_10_2_testcorematchandDECs_greenFB(EClass __eClass) {
Match match = RuntimeFactory.eINSTANCE.createMatch();
String __eClass_name = __eClass.getName();
String match_ruleName_prime = __eClass_name;
match.setRuleName(match_ruleName_prime);
return new Object[] { match, __eClass };
}
示例11: create
import org.eclipse.emf.ecore.EClass; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
case ProtectionPackage.CURRENT_RELAY: return createCurrentRelay();
case ProtectionPackage.SYNCHROCHECK_RELAY: return createSynchrocheckRelay();
case ProtectionPackage.RECLOSE_SEQUENCE: return createRecloseSequence();
case ProtectionPackage.SURGE_PROTECTOR: return createSurgeProtector();
case ProtectionPackage.PROTECTION_EQUIPMENT: return createProtectionEquipment();
case ProtectionPackage.FAULT_INDICATOR: return createFaultIndicator();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
示例12: create
import org.eclipse.emf.ecore.EClass; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
@Override
public EObject create(EClass eClass)
{
switch (eClass.getClassifierID())
{
case MongoDbResourcePackage.MONGO_DB_RESOURCE: return createMongoDbResource();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}
示例13: pattern_SDPLocation_10_2_testcorematchandDECs_greenFB
import org.eclipse.emf.ecore.EClass; //导入方法依赖的package包/类
public static final Object[] pattern_SDPLocation_10_2_testcorematchandDECs_greenFB(EClass __eClass) {
Match match = RuntimeFactory.eINSTANCE.createMatch();
String __eClass_name = __eClass.getName();
String match_ruleName_prime = __eClass_name;
match.setRuleName(match_ruleName_prime);
return new Object[] { match, __eClass };
}
示例14: pattern_Location_10_2_testcorematchandDECs_greenFB
import org.eclipse.emf.ecore.EClass; //导入方法依赖的package包/类
public static final Object[] pattern_Location_10_2_testcorematchandDECs_greenFB(EClass __eClass) {
Match match = RuntimeFactory.eINSTANCE.createMatch();
String __eClass_name = __eClass.getName();
String match_ruleName_prime = __eClass_name;
match.setRuleName(match_ruleName_prime);
return new Object[] { match, __eClass };
}
示例15: create
import org.eclipse.emf.ecore.EClass; //导入方法依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EObject create(EClass eClass) {
switch (eClass.getClassifierID()) {
case LNGroupCPackage.GROUP_C: return createGroupC();
case LNGroupCPackage.CALH: return createCALH();
case LNGroupCPackage.CILO: return createCILO();
case LNGroupCPackage.CCGR: return createCCGR();
case LNGroupCPackage.CPOW: return createCPOW();
case LNGroupCPackage.CSWI: return createCSWI();
default:
throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
}
}