Java Code Examples for org.eclipse.emf.ecore.EEnum

The following are top voted examples for showing how to use org.eclipse.emf.ecore.EEnum. These examples are extracted from open source projects. You can vote up the examples you like and your votes will be used in our system to generate more good examples.
Example 1
Project: JavaGraph   File: TypeToEcore.java   Source Code and License 5 votes vote down vote up
@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);
    }
}
 
Example 2
Project: Saturn   File: MqModulePackageImpl.java   Source Code and License 4 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public EEnum getInputMessageType()
{
  return inputMessageTypeEEnum;
}
 
Example 3
Project: ttc2017smartGrids   File: EnumerationsPackage.java   Source Code and License 4 votes vote down vote up
/**
 * 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();
 
Example 4
Project: neoscada   File: OsgiPackageImpl.java   Source Code and License 4 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public EEnum getMovingAverageReferenceType ()
{
    return movingAverageReferenceTypeEEnum;
}
 
Example 5
Project: Saturn   File: MailModulePackageImpl.java   Source Code and License 4 votes vote down vote up
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public EEnum getRecipientTypeEnum()
{
  return recipientTypeEnumEEnum;
}
 
Example 6
Project: ttc2017smartGrids   File: InfAssetsPackage.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 7
Project: ttc2017smartGrids   File: EnumerationsPackage.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 8
Project: BIMplatform   File: Ifc2x3tc1Package.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 9
Project: ttc2017smartGrids   File: InfOperationsPackage.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 10
Project: ttc2017smartGrids   File: EnumerationsPackage.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 11
Project: ttc2017smartGrids   File: InfAssetsPackage.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 12
Project: ttc2017smartGrids   File: EnumerationsPackage.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 13
Project: ttc2017smartGrids   File: InfERPSupportPackage.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 14
Project: ttc2017smartGrids   File: EnumerationsPackage.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 15
Project: ttc2017smartGrids   File: InfAssetsPackage.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 16
Project: Saturn   File: XmlManipModulePackageImpl.java   Source Code and License 2 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EEnum getAddPositionTypeEnum()
{
  return addPositionTypeEnumEEnum;
}
 
Example 17
Project: ttc2017smartGrids   File: CorePackage.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 18
Project: rgse.ttc17.emoflon.tgg   File: InfWorkPackage.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 19
Project: ttc2017smartGrids   File: EnumerationsPackage.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 20
Project: ttc2017smartGrids   File: EnumerationsPackageImpl.java   Source Code and License 2 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EEnum getRangeKind() {
	return rangeKindEEnum;
}
 
Example 21
Project: BIMplatform   File: Ifc2x3tc1Package.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 22
Project: ttc2017smartGrids   File: WiresPackage.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 23
Project: ttc2017smartGrids   File: EnumerationsPackage.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 24
Project: ttc2017smartGrids   File: EnumerationsPackage.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 25
Project: BIMplatform   File: Ifc4Package.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 26
Project: ttc2017smartGrids   File: EnumerationsPackage.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 27
Project: ttc2017smartGrids   File: EnumerationsPackage.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 28
Project: Saturn   File: ListenersPackage.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 29
Project: BIMplatform   File: Ifc2x3tc1Package.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 30
Project: Saturn   File: TeradataResourcePackage.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 31
Project: BIMplatform   File: Ifc4Package.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 32
Project: ttc2017smartGrids   File: InfAssetsPackage.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 33
Project: ttc2017smartGrids   File: InfERPSupportPackage.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 34
Project: BIMplatform   File: Ifc2x3tc1Package.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 35
Project: ttc2017smartGrids   File: WiresPackage.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 36
Project: BIMplatform   File: Ifc2x3tc1Package.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 37
Project: BIMplatform   File: Ifc4Package.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 38
Project: time4sys   File: AnalysisPackageImpl.java   Source Code and License 2 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EEnum getInputJoinBehaviorKind() {
	return inputJoinBehaviorKindEEnum;
}
 
Example 39
Project: BIMplatform   File: Ifc2x3tc1Package.java   Source Code and License 2 votes vote down vote up
/**
 * 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();
 
Example 40
Project: ttc2017smartGrids   File: EnumerationsPackageImpl.java   Source Code and License 2 votes vote down vote up
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
public EEnum getSboClassesKind() {
	return sboClassesKindEEnum;
}