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


Java EEnum类代码示例

本文整理汇总了Java中org.eclipse.emf.ecore.EEnum的典型用法代码示例。如果您正苦于以下问题:Java EEnum类的具体用法?Java EEnum怎么用?Java EEnum使用的例子?那么恭喜您, 这里精选的类代码示例或许可以为您提供帮助。


EEnum类属于org.eclipse.emf.ecore包,在下文中一共展示了EEnum类的15个代码示例,这些例子默认根据受欢迎程度排序。您可以为喜欢或者感觉有用的代码点赞,您的评价将有助于系统推荐出更棒的Java代码示例。

示例1: visit

import org.eclipse.emf.ecore.EEnum; //导入依赖的package包/类
@Override
public void visit(Enum enum1, String param) {
    if (hasElement(enum1)) {
        return;
    }

    EEnum eEnum = g_EcoreFactory.createEEnum();
    setElement(enum1, eEnum);

    eEnum.setName(enum1.getId()
        .getName()
        .toString());

    EPackage enumPackage = packageFromId(enum1.getId()
        .getNamespace());
    enumPackage.getEClassifiers()
        .add(eEnum);

    List<EEnumLiteral> eLiterals = eEnum.getELiterals();
    for (Name litName : enum1.getLiterals()) {
        EEnumLiteral eEnumLit = g_EcoreFactory.createEEnumLiteral();
        eEnumLit.setName(litName.toString());
        //eEnumLit.setLiteral(litName.toString());

        eLiterals.add(eEnumLit);
    }
}
 
开发者ID:meteoorkip,项目名称:JavaGraph,代码行数:28,代码来源:TypeToEcore.java

示例2: getInputMessageType

import org.eclipse.emf.ecore.EEnum; //导入依赖的package包/类
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public EEnum getInputMessageType()
{
  return inputMessageTypeEEnum;
}
 
开发者ID:Morgan-Stanley,项目名称:Saturn,代码行数:9,代码来源:MqModulePackageImpl.java

示例3: getInternalTriggerModeKind

import org.eclipse.emf.ecore.EEnum; //导入依赖的package包/类
/**
 * Returns the meta object for enum '{@link gluemodel.substationStandard.Enumerations.InternalTriggerModeKind <em>Internal Trigger Mode Kind</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Internal Trigger Mode Kind</em>'.
 * @see gluemodel.substationStandard.Enumerations.InternalTriggerModeKind
 * @generated
 */
EEnum getInternalTriggerModeKind();
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:10,代码来源:EnumerationsPackage.java

示例4: getMovingAverageReferenceType

import org.eclipse.emf.ecore.EEnum; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public EEnum getMovingAverageReferenceType ()
{
    return movingAverageReferenceTypeEEnum;
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:11,代码来源:OsgiPackageImpl.java

示例5: getRecipientTypeEnum

import org.eclipse.emf.ecore.EEnum; //导入依赖的package包/类
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public EEnum getRecipientTypeEnum()
{
  return recipientTypeEnumEEnum;
}
 
开发者ID:Morgan-Stanley,项目名称:Saturn,代码行数:9,代码来源:MailModulePackageImpl.java

示例6: getFACTSDeviceKind

import org.eclipse.emf.ecore.EEnum; //导入依赖的package包/类
/**
 * Returns the meta object for enum '{@link gluemodel.CIM.IEC61970.Informative.InfAssets.FACTSDeviceKind <em>FACTS Device Kind</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>FACTS Device Kind</em>'.
 * @see gluemodel.CIM.IEC61970.Informative.InfAssets.FACTSDeviceKind
 * @generated
 */
EEnum getFACTSDeviceKind();
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:10,代码来源:InfAssetsPackage.java

示例7: getRestraintModeKind

import org.eclipse.emf.ecore.EEnum; //导入依赖的package包/类
/**
 * Returns the meta object for enum '{@link substationStandard.Enumerations.RestraintModeKind <em>Restraint Mode Kind</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Restraint Mode Kind</em>'.
 * @see substationStandard.Enumerations.RestraintModeKind
 * @generated
 */
EEnum getRestraintModeKind();
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:10,代码来源:EnumerationsPackage.java

示例8: getIfcPileTypeEnum

import org.eclipse.emf.ecore.EEnum; //导入依赖的package包/类
/**
 * Returns the meta object for enum '{@link cn.dlb.bim.models.ifc2x3tc1.IfcPileTypeEnum <em>Ifc Pile Type Enum</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Ifc Pile Type Enum</em>'.
 * @see cn.dlb.bim.models.ifc2x3tc1.IfcPileTypeEnum
 * @generated
 */
EEnum getIfcPileTypeEnum();
 
开发者ID:shenan4321,项目名称:BIMplatform,代码行数:10,代码来源:Ifc2x3tc1Package.java

示例9: getPSREventKind

import org.eclipse.emf.ecore.EEnum; //导入依赖的package包/类
/**
 * Returns the meta object for enum '{@link CIM.IEC61970.Informative.InfOperations.PSREventKind <em>PSR Event Kind</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>PSR Event Kind</em>'.
 * @see CIM.IEC61970.Informative.InfOperations.PSREventKind
 * @generated
 */
EEnum getPSREventKind();
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:10,代码来源:InfOperationsPackage.java

示例10: getControlOutputKind

import org.eclipse.emf.ecore.EEnum; //导入依赖的package包/类
/**
 * Returns the meta object for enum '{@link gluemodel.substationStandard.Enumerations.ControlOutputKind <em>Control Output Kind</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Control Output Kind</em>'.
 * @see gluemodel.substationStandard.Enumerations.ControlOutputKind
 * @generated
 */
EEnum getControlOutputKind();
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:10,代码来源:EnumerationsPackage.java

示例11: getStructureSupportKind

import org.eclipse.emf.ecore.EEnum; //导入依赖的package包/类
/**
 * Returns the meta object for enum '{@link gluemodel.CIM.IEC61970.Informative.InfAssets.StructureSupportKind <em>Structure Support Kind</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Structure Support Kind</em>'.
 * @see gluemodel.CIM.IEC61970.Informative.InfAssets.StructureSupportKind
 * @generated
 */
EEnum getStructureSupportKind();
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:10,代码来源:InfAssetsPackage.java

示例12: getCurveCharKind

import org.eclipse.emf.ecore.EEnum; //导入依赖的package包/类
/**
 * Returns the meta object for enum '{@link gluemodel.substationStandard.Enumerations.CurveCharKind <em>Curve Char Kind</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Curve Char Kind</em>'.
 * @see gluemodel.substationStandard.Enumerations.CurveCharKind
 * @generated
 */
EEnum getCurveCharKind();
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:10,代码来源:EnumerationsPackage.java

示例13: getErpInvoiceKind

import org.eclipse.emf.ecore.EEnum; //导入依赖的package包/类
/**
 * Returns the meta object for enum '{@link CIM.IEC61970.Informative.InfERPSupport.ErpInvoiceKind <em>Erp Invoice Kind</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Erp Invoice Kind</em>'.
 * @see CIM.IEC61970.Informative.InfERPSupport.ErpInvoiceKind
 * @generated
 */
EEnum getErpInvoiceKind();
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:10,代码来源:InfERPSupportPackage.java

示例14: getUnblockFunctionModeKind

import org.eclipse.emf.ecore.EEnum; //导入依赖的package包/类
/**
 * Returns the meta object for enum '{@link substationStandard.Enumerations.UnblockFunctionModeKind <em>Unblock Function Mode Kind</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Unblock Function Mode Kind</em>'.
 * @see substationStandard.Enumerations.UnblockFunctionModeKind
 * @generated
 */
EEnum getUnblockFunctionModeKind();
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:10,代码来源:EnumerationsPackage.java

示例15: getJointFillKind

import org.eclipse.emf.ecore.EEnum; //导入依赖的package包/类
/**
 * Returns the meta object for enum '{@link gluemodel.CIM.IEC61970.Informative.InfAssets.JointFillKind <em>Joint Fill Kind</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Joint Fill Kind</em>'.
 * @see gluemodel.CIM.IEC61970.Informative.InfAssets.JointFillKind
 * @generated
 */
EEnum getJointFillKind();
 
开发者ID:georghinkel,项目名称:ttc2017smartGrids,代码行数:10,代码来源:InfAssetsPackage.java


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