Java 类org.eclipse.emf.ecore.EEnum 实例源码

项目:JavaGraph    文件:TypeToEcore.java   
@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);
    }
}
项目:Saturn    文件:MqModulePackageImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public EEnum getInputMessageType()
{
  return inputMessageTypeEEnum;
}
项目:ttc2017smartGrids    文件:EnumerationsPackage.java   
/**
 * 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();
项目:neoscada    文件:OsgiPackageImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public EEnum getMovingAverageReferenceType ()
{
    return movingAverageReferenceTypeEEnum;
}
项目:Saturn    文件:MailModulePackageImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public EEnum getRecipientTypeEnum()
{
  return recipientTypeEnumEEnum;
}
项目:ttc2017smartGrids    文件:InfAssetsPackage.java   
/**
 * 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();
项目:ttc2017smartGrids    文件:EnumerationsPackage.java   
/**
 * 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();
项目:BIMplatform    文件:Ifc2x3tc1Package.java   
/**
 * 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();
项目:ttc2017smartGrids    文件:InfOperationsPackage.java   
/**
 * 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();
项目:ttc2017smartGrids    文件:EnumerationsPackage.java   
/**
 * 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();
项目:ttc2017smartGrids    文件:InfAssetsPackage.java   
/**
 * 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();
项目:ttc2017smartGrids    文件:EnumerationsPackage.java   
/**
 * 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();
项目:ttc2017smartGrids    文件:InfERPSupportPackage.java   
/**
 * 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();
项目:ttc2017smartGrids    文件:EnumerationsPackage.java   
/**
 * 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();
项目:ttc2017smartGrids    文件:InfAssetsPackage.java   
/**
 * 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();
项目:Saturn    文件:XmlManipModulePackageImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EEnum getAddPositionTypeEnum()
{
  return addPositionTypeEnumEEnum;
}
项目:ttc2017smartGrids    文件:CorePackage.java   
/**
 * Returns the meta object for enum '{@link CIM.IEC61970.Core.PhaseCode <em>Phase Code</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Phase Code</em>'.
 * @see CIM.IEC61970.Core.PhaseCode
 * @generated
 */
EEnum getPhaseCode();
项目:rgse.ttc17.emoflon.tgg    文件:InfWorkPackage.java   
/**
 * Returns the meta object for enum '{@link gluemodel.CIM.IEC61970.Informative.InfWork.ConditionFactorKind <em>Condition Factor Kind</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Condition Factor Kind</em>'.
 * @see gluemodel.CIM.IEC61970.Informative.InfWork.ConditionFactorKind
 * @generated
 */
EEnum getConditionFactorKind();
项目:ttc2017smartGrids    文件:EnumerationsPackage.java   
/**
 * Returns the meta object for enum '{@link gluemodel.substationStandard.Enumerations.SboClassesKind <em>Sbo Classes Kind</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Sbo Classes Kind</em>'.
 * @see gluemodel.substationStandard.Enumerations.SboClassesKind
 * @generated
 */
EEnum getSboClassesKind();
项目:ttc2017smartGrids    文件:EnumerationsPackageImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EEnum getRangeKind() {
    return rangeKindEEnum;
}
项目:BIMplatform    文件:Ifc2x3tc1Package.java   
/**
 * Returns the meta object for enum '{@link cn.dlb.bim.models.ifc2x3tc1.IfcProcedureTypeEnum <em>Ifc Procedure Type Enum</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Ifc Procedure Type Enum</em>'.
 * @see cn.dlb.bim.models.ifc2x3tc1.IfcProcedureTypeEnum
 * @generated
 */
EEnum getIfcProcedureTypeEnum();
项目:ttc2017smartGrids    文件:WiresPackage.java   
/**
 * Returns the meta object for enum '{@link gluemodel.CIM.IEC61970.Wires.PhaseTapChangerKind <em>Phase Tap Changer Kind</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Phase Tap Changer Kind</em>'.
 * @see gluemodel.CIM.IEC61970.Wires.PhaseTapChangerKind
 * @generated
 */
EEnum getPhaseTapChangerKind();
项目:ttc2017smartGrids    文件:EnumerationsPackage.java   
/**
 * Returns the meta object for enum '{@link substationStandard.Enumerations.SwitchTypeKind <em>Switch Type Kind</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Switch Type Kind</em>'.
 * @see substationStandard.Enumerations.SwitchTypeKind
 * @generated
 */
EEnum getSwitchTypeKind();
项目:ttc2017smartGrids    文件:EnumerationsPackage.java   
/**
 * Returns the meta object for enum '{@link gluemodel.substationStandard.Enumerations.BreakerOperatingCapabilityKind <em>Breaker Operating Capability Kind</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Breaker Operating Capability Kind</em>'.
 * @see gluemodel.substationStandard.Enumerations.BreakerOperatingCapabilityKind
 * @generated
 */
EEnum getBreakerOperatingCapabilityKind();
项目:BIMplatform    文件:Ifc4Package.java   
/**
 * Returns the meta object for enum '{@link cn.dlb.bim.models.ifc4.IfcProfileTypeEnum <em>Ifc Profile Type Enum</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Ifc Profile Type Enum</em>'.
 * @see cn.dlb.bim.models.ifc4.IfcProfileTypeEnum
 * @generated
 */
EEnum getIfcProfileTypeEnum();
项目:ttc2017smartGrids    文件:EnumerationsPackage.java   
/**
 * Returns the meta object for enum '{@link gluemodel.substationStandard.Enumerations.DirectionModeKind <em>Direction Mode Kind</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Direction Mode Kind</em>'.
 * @see gluemodel.substationStandard.Enumerations.DirectionModeKind
 * @generated
 */
EEnum getDirectionModeKind();
项目:ttc2017smartGrids    文件:EnumerationsPackage.java   
/**
 * Returns the meta object for enum '{@link gluemodel.substationStandard.Enumerations.FailureDetectionModeKind <em>Failure Detection Mode Kind</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Failure Detection Mode Kind</em>'.
 * @see gluemodel.substationStandard.Enumerations.FailureDetectionModeKind
 * @generated
 */
EEnum getFailureDetectionModeKind();
项目:Saturn    文件:ListenersPackage.java   
/**
 * Returns the meta object for enum '{@link com.ms.qaTools.saturn.listeners.TAPOutputTypeEnum <em>TAP Output Type Enum</em>}'.
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @return the meta object for enum '<em>TAP Output Type Enum</em>'.
 * @see com.ms.qaTools.saturn.listeners.TAPOutputTypeEnum
 * @generated
 */
EEnum getTAPOutputTypeEnum();
项目:BIMplatform    文件:Ifc2x3tc1Package.java   
/**
 * Returns the meta object for enum '{@link cn.dlb.bim.models.ifc2x3tc1.IfcStairFlightTypeEnum <em>Ifc Stair Flight Type Enum</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Ifc Stair Flight Type Enum</em>'.
 * @see cn.dlb.bim.models.ifc2x3tc1.IfcStairFlightTypeEnum
 * @generated
 */
EEnum getIfcStairFlightTypeEnum();
项目:Saturn    文件:TeradataResourcePackage.java   
/**
 * Returns the meta object for enum '{@link com.ms.qaTools.saturn.resources.teradataResource.AuthentificationEnums <em>Authentification Enums</em>}'.
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @return the meta object for enum '<em>Authentification Enums</em>'.
 * @see com.ms.qaTools.saturn.resources.teradataResource.AuthentificationEnums
 * @generated
 */
EEnum getAuthentificationEnums();
项目:BIMplatform    文件:Ifc4Package.java   
/**
 * Returns the meta object for enum '{@link cn.dlb.bim.models.ifc4.IfcWindowTypeEnum <em>Ifc Window Type Enum</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Ifc Window Type Enum</em>'.
 * @see cn.dlb.bim.models.ifc4.IfcWindowTypeEnum
 * @generated
 */
EEnum getIfcWindowTypeEnum();
项目:ttc2017smartGrids    文件:InfAssetsPackage.java   
/**
 * Returns the meta object for enum '{@link gluemodel.CIM.IEC61970.Informative.InfAssets.StreetlightLampKind <em>Streetlight Lamp Kind</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Streetlight Lamp Kind</em>'.
 * @see gluemodel.CIM.IEC61970.Informative.InfAssets.StreetlightLampKind
 * @generated
 */
EEnum getStreetlightLampKind();
项目:ttc2017smartGrids    文件:InfERPSupportPackage.java   
/**
 * Returns the meta object for enum '{@link gluemodel.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 gluemodel.CIM.IEC61970.Informative.InfERPSupport.ErpInvoiceKind
 * @generated
 */
EEnum getErpInvoiceKind();
项目:BIMplatform    文件:Ifc2x3tc1Package.java   
/**
 * Returns the meta object for enum '{@link cn.dlb.bim.models.ifc2x3tc1.IfcRibPlateDirectionEnum <em>Ifc Rib Plate Direction Enum</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Ifc Rib Plate Direction Enum</em>'.
 * @see cn.dlb.bim.models.ifc2x3tc1.IfcRibPlateDirectionEnum
 * @generated
 */
EEnum getIfcRibPlateDirectionEnum();
项目:ttc2017smartGrids    文件:WiresPackage.java   
/**
 * Returns the meta object for enum '{@link CIM.IEC61970.Wires.TransformerControlMode <em>Transformer Control Mode</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Transformer Control Mode</em>'.
 * @see CIM.IEC61970.Wires.TransformerControlMode
 * @generated
 */
EEnum getTransformerControlMode();
项目:BIMplatform    文件:Ifc2x3tc1Package.java   
/**
 * Returns the meta object for enum '{@link cn.dlb.bim.models.ifc2x3tc1.IfcSurfaceSide <em>Ifc Surface Side</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Ifc Surface Side</em>'.
 * @see cn.dlb.bim.models.ifc2x3tc1.IfcSurfaceSide
 * @generated
 */
EEnum getIfcSurfaceSide();
项目:BIMplatform    文件:Ifc4Package.java   
/**
 * Returns the meta object for enum '{@link cn.dlb.bim.models.ifc4.IfcWallTypeEnum <em>Ifc Wall Type Enum</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Ifc Wall Type Enum</em>'.
 * @see cn.dlb.bim.models.ifc4.IfcWallTypeEnum
 * @generated
 */
EEnum getIfcWallTypeEnum();
项目:time4sys    文件:AnalysisPackageImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EEnum getInputJoinBehaviorKind() {
    return inputJoinBehaviorKindEEnum;
}
项目:BIMplatform    文件:Ifc2x3tc1Package.java   
/**
 * Returns the meta object for enum '{@link cn.dlb.bim.models.ifc2x3tc1.IfcStackTerminalTypeEnum <em>Ifc Stack Terminal Type Enum</em>}'.
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @return the meta object for enum '<em>Ifc Stack Terminal Type Enum</em>'.
 * @see cn.dlb.bim.models.ifc2x3tc1.IfcStackTerminalTypeEnum
 * @generated
 */
EEnum getIfcStackTerminalTypeEnum();
项目:ttc2017smartGrids    文件:EnumerationsPackageImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EEnum getSboClassesKind() {
    return sboClassesKindEEnum;
}