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


Java EClass.getClassifierID方法代码示例

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


在下文中一共展示了EClass.getClassifierID方法的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 PkmntcgoPackage.DECKS: return createDecks();
    case PkmntcgoPackage.DECK: return createDeck();
    case PkmntcgoPackage.POKEMON: return createPokemon();
    case PkmntcgoPackage.TRAINER: return createTrainer();
    case PkmntcgoPackage.ENERGY: return createEnergy();
    case PkmntcgoPackage.CARD: return createCard();
    default:
      throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
  }
}
 
开发者ID:rehne93,项目名称:pokemon-tcgo-deck-generator,代码行数:21,代码来源:PkmntcgoFactoryImpl.java

示例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");
	}
}
 
开发者ID:SvenPeldszus,项目名称:rgse.ttc17.emoflon.tgg,代码行数:22,代码来源:WiresExtFactoryImpl.java

示例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 InfPaymentMeteringPackage.TSP_AGREEMENT: return createTSPAgreement();
		case InfPaymentMeteringPackage.RECEIPT_SUMMARY: return createReceiptSummary();
		case InfPaymentMeteringPackage.TRANSACTION_SUMMARY: return createTransactionSummary();
		case InfPaymentMeteringPackage.BANK_STATEMENT: return createBankStatement();
		case InfPaymentMeteringPackage.SDP_ACCOUNTING_FUNCTION: return createSDPAccountingFunction();
		case InfPaymentMeteringPackage.CREDIT_REGISTER: return createCreditRegister();
		case InfPaymentMeteringPackage.CHARGE_REGISTER: return createChargeRegister();
		case InfPaymentMeteringPackage.BANK: return createBank();
		case InfPaymentMeteringPackage.TOKEN: return createToken();
		default:
			throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
	}
}
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:22,代码来源:InfPaymentMeteringFactoryImpl.java

示例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 OperationalLimitsPackage.BRANCH_GROUP_TERMINAL: return createBranchGroupTerminal();
		case OperationalLimitsPackage.OPERATIONAL_LIMIT: return createOperationalLimit();
		case OperationalLimitsPackage.BRANCH_GROUP: return createBranchGroup();
		case OperationalLimitsPackage.VOLTAGE_LIMIT: return createVoltageLimit();
		case OperationalLimitsPackage.APPARENT_POWER_LIMIT: return createApparentPowerLimit();
		case OperationalLimitsPackage.CURRENT_LIMIT: return createCurrentLimit();
		case OperationalLimitsPackage.OPERATIONAL_LIMIT_SET: return createOperationalLimitSet();
		case OperationalLimitsPackage.ACTIVE_POWER_LIMIT: return createActivePowerLimit();
		case OperationalLimitsPackage.OPERATIONAL_LIMIT_TYPE: return createOperationalLimitType();
		default:
			throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
	}
}
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:22,代码来源:OperationalLimitsFactoryImpl.java

示例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 FinancialPackage.FINANCIAL_VERSION: return createFinancialVersion();
		case FinancialPackage.MARKETER: return createMarketer();
		case FinancialPackage.INT_SCHED_AGREEMENT: return createIntSchedAgreement();
		case FinancialPackage.TRANSMISSION_PROVIDER: return createTransmissionProvider();
		case FinancialPackage.TRANSMISSION_PRODUCT: return createTransmissionProduct();
		case FinancialPackage.GENERATION_PROVIDER: return createGenerationProvider();
		case FinancialPackage.CUSTOMER_CONSUMER: return createCustomerConsumer();
		case FinancialPackage.OPEN_ACCESS_PRODUCT: return createOpenAccessProduct();
		case FinancialPackage.CONTROL_AREA_OPERATOR: return createControlAreaOperator();
		default:
			throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
	}
}
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:22,代码来源:FinancialFactoryImpl.java

示例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 InfLocationsPackage.PERSON_PROPERTY_ROLE: return createPersonPropertyRole();
		case InfLocationsPackage.RED_LINE: return createRedLine();
		case InfLocationsPackage.HAZARD: return createHazard();
		case InfLocationsPackage.ROUTE: return createRoute();
		case InfLocationsPackage.LOCATION_GRANT: return createLocationGrant();
		case InfLocationsPackage.DIRECTION: return createDirection();
		case InfLocationsPackage.LAND_PROPERTY: return createLandProperty();
		case InfLocationsPackage.ORG_PROPERTY_ROLE: return createOrgPropertyRole();
		case InfLocationsPackage.RIGHT_OF_WAY: return createRightOfWay();
		case InfLocationsPackage.ZONE: return createZone();
		default:
			throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
	}
}
 
开发者ID:SvenPeldszus,项目名称:rgse.ttc17.emoflon.tgg,代码行数:23,代码来源:InfLocationsFactoryImpl.java

示例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 Xml2csvModulePackage.DOCUMENT_ROOT: return createDocumentRoot();
    case Xml2csvModulePackage.XML2_CSV_CONFIGURATION: return createXml2CsvConfiguration();
    case Xml2csvModulePackage.XPATH_MAPPING: return createXPathMapping();
    default:
      throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
  }
}
 
开发者ID:Morgan-Stanley,项目名称:Saturn,代码行数:17,代码来源:Xml2csvModuleFactoryImpl.java

示例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 InfOperationsPackage.SWITCHING_STEP: return createSwitchingStep();
		case InfOperationsPackage.ERP_PERSON_SCHEDULE_STEP_ROLE: return createErpPersonScheduleStepRole();
		case InfOperationsPackage.CHANGE_ITEM: return createChangeItem();
		case InfOperationsPackage.CIRCUIT: return createCircuit();
		case InfOperationsPackage.COMPLIANCE_EVENT: return createComplianceEvent();
		case InfOperationsPackage.CHANGE_SET: return createChangeSet();
		case InfOperationsPackage.CALL_BACK: return createCallBack();
		case InfOperationsPackage.SWITCHING_SCHEDULE: return createSwitchingSchedule();
		case InfOperationsPackage.PLANNED_OUTAGE: return createPlannedOutage();
		case InfOperationsPackage.TROUBLE_TICKET: return createTroubleTicket();
		case InfOperationsPackage.SAFETY_DOCUMENT: return createSafetyDocument();
		case InfOperationsPackage.INCIDENT_RECORD: return createIncidentRecord();
		case InfOperationsPackage.LAND_BASE: return createLandBase();
		case InfOperationsPackage.OUTAGE_CODE: return createOutageCode();
		case InfOperationsPackage.PSR_EVENT: return createPSREvent();
		case InfOperationsPackage.ORG_PSR_ROLE: return createOrgPsrRole();
		case InfOperationsPackage.OUTAGE_NOTIFICATION: return createOutageNotification();
		case InfOperationsPackage.OUTAGE_STEP_PSR_ROLE: return createOutageStepPsrRole();
		case InfOperationsPackage.OUTAGE_STEP: return createOutageStep();
		case InfOperationsPackage.OUTAGE_REPORT: return createOutageReport();
		case InfOperationsPackage.OUTAGE_RECORD: return createOutageRecord();
		case InfOperationsPackage.OPERATIONAL_RESTRICTION: return createOperationalRestriction();
		case InfOperationsPackage.NETWORK_DATA_SET: return createNetworkDataSet();
		case InfOperationsPackage.INCIDENT_CODE: return createIncidentCode();
		case InfOperationsPackage.CIRCUIT_SECTION: return createCircuitSection();
		default:
			throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
	}
}
 
开发者ID:SvenPeldszus,项目名称:rgse.ttc17.emoflon.tgg,代码行数:38,代码来源:InfOperationsFactoryImpl.java

示例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 PlatformPackage.APPLICATION: return createApplication();
		case PlatformPackage.COMPONENT: return createComponent();
		case PlatformPackage.COMPONENTLINK: return createComponentlink();
		case PlatformPackage.APP_TPL: return createApp_tpl();
		case PlatformPackage.RES_TPL: return createRes_tpl();
		case PlatformPackage.DATABASE: return createDatabase();
		case PlatformPackage.DATABASELINK: return createDatabaselink();
		default:
			throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
	}
}
 
开发者ID:occiware,项目名称:OCCI-Studio,代码行数:20,代码来源:PlatformFactoryImpl.java

示例10: 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 OracleResourcePackage.ORACLE_RESOURCE: return createOracleResource();
    default:
      throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
  }
}
 
开发者ID:Morgan-Stanley,项目名称:Saturn,代码行数:15,代码来源:OracleResourceFactoryImpl.java

示例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 InfAssetModelsPackage.METER_ASSET_MODEL: return createMeterAssetModel();
		case InfAssetModelsPackage.ELECTRICAL_ASSET_MODEL: return createElectricalAssetModel();
		case InfAssetModelsPackage.TAP_CHANGER_ASSET_MODEL: return createTapChangerAssetModel();
		case InfAssetModelsPackage.ASSET_MODEL_CATALOGUE: return createAssetModelCatalogue();
		case InfAssetModelsPackage.TRANSFORMER_ASSET_MODEL: return createTransformerAssetModel();
		case InfAssetModelsPackage.ASSET_MODEL_CATALOGUE_ITEM: return createAssetModelCatalogueItem();
		default:
			throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
	}
}
 
开发者ID:SvenPeldszus,项目名称:rgse.ttc17.emoflon.tgg,代码行数:19,代码来源:InfAssetModelsFactoryImpl.java

示例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 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");
	}
}
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:19,代码来源:LNGroupCFactoryImpl.java

示例13: 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 SqliteResourcePackage.MEMORY_DATABASE: return createMemoryDatabase();
    case SqliteResourcePackage.SQ_LITE_DATABASE: return createSQLiteDatabase();
    case SqliteResourcePackage.SQ_LITE_RESOURCE: return createSQLiteResource();
    default:
      throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
  }
}
 
开发者ID:Morgan-Stanley,项目名称:Saturn,代码行数:17,代码来源:SqliteResourceFactoryImpl.java

示例14: 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 LNGroupPPackage.GROUP_P: return createGroupP();
		case LNGroupPPackage.PDIF: return createPDIF();
		case LNGroupPPackage.PDIR: return createPDIR();
		case LNGroupPPackage.PFRC: return createPFRC();
		case LNGroupPPackage.PHAR: return createPHAR();
		case LNGroupPPackage.POPF: return createPOPF();
		case LNGroupPPackage.PPAM: return createPPAM();
		case LNGroupPPackage.PDIS: return createPDIS();
		case LNGroupPPackage.PDOP: return createPDOP();
		case LNGroupPPackage.PHIZ: return createPHIZ();
		case LNGroupPPackage.PIOC: return createPIOC();
		case LNGroupPPackage.PMRI: return createPMRI();
		case LNGroupPPackage.PMSS: return createPMSS();
		case LNGroupPPackage.PSCH: return createPSCH();
		case LNGroupPPackage.PSDE: return createPSDE();
		case LNGroupPPackage.PDUP: return createPDUP();
		case LNGroupPPackage.PTEF: return createPTEF();
		case LNGroupPPackage.PTOC: return createPTOC();
		case LNGroupPPackage.PTOF: return createPTOF();
		case LNGroupPPackage.PTOV: return createPTOV();
		case LNGroupPPackage.PTTR: return createPTTR();
		case LNGroupPPackage.PTUC: return createPTUC();
		case LNGroupPPackage.PTUF: return createPTUF();
		case LNGroupPPackage.PVOC: return createPVOC();
		case LNGroupPPackage.PVPH: return createPVPH();
		case LNGroupPPackage.PTRC: return createPTRC();
		case LNGroupPPackage.PTUV: return createPTUV();
		case LNGroupPPackage.PUPF: return createPUPF();
		case LNGroupPPackage.PZSU: return createPZSU();
		default:
			throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
	}
}
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:42,代码来源:LNGroupPFactoryImpl.java

示例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 ChangesPackage.MODEL_CHANGE_SET: return createModelChangeSet();
		case ChangesPackage.ELEMENTARY_CHANGE_TRANSACTION: return createElementaryChangeTransaction();
		case ChangesPackage.ASSOCIATION_COLLECTION_DELETION: return createAssociationCollectionDeletion();
		case ChangesPackage.COMPOSITION_COLLECTION_DELETION: return createCompositionCollectionDeletion();
		case ChangesPackage.ATTRIBUTE_COLLECTION_DELETION: return createAttributeCollectionDeletion();
		case ChangesPackage.ASSOCIATION_COLLECTION_INSERTION: return createAssociationCollectionInsertion();
		case ChangesPackage.COMPOSITION_COLLECTION_INSERTION: return createCompositionCollectionInsertion();
		case ChangesPackage.ATTRIBUTE_COLLECTION_INSERTION: return createAttributeCollectionInsertion();
		case ChangesPackage.ASSOCIATION_COLLECTION_RESET: return createAssociationCollectionReset();
		case ChangesPackage.COMPOSITION_COLLECTION_RESET: return createCompositionCollectionReset();
		case ChangesPackage.ATTRIBUTE_COLLECTION_RESET: return createAttributeCollectionReset();
		case ChangesPackage.ASSOCIATION_LIST_DELETION: return createAssociationListDeletion();
		case ChangesPackage.COMPOSITION_LIST_DELETION: return createCompositionListDeletion();
		case ChangesPackage.ATTRIBUTE_LIST_DELETION: return createAttributeListDeletion();
		case ChangesPackage.ASSOCIATION_LIST_INSERTION: return createAssociationListInsertion();
		case ChangesPackage.COMPOSITION_LIST_INSERTION: return createCompositionListInsertion();
		case ChangesPackage.ATTRIBUTE_LIST_INSERTION: return createAttributeListInsertion();
		case ChangesPackage.ATTRIBUTE_CHANGE: return createAttributeChange();
		case ChangesPackage.ASSOCIATION_CHANGE: return createAssociationChange();
		case ChangesPackage.COMPOSITION_CHANGE: return createCompositionChange();
		default:
			throw new IllegalArgumentException("The class '" + eClass.getName() + "' is not a valid classifier");
	}
}
 
开发者ID:SvenPeldszus,项目名称:rgse.ttc17.emoflon.tgg,代码行数:33,代码来源:ChangesFactoryImpl.java


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