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