本文整理汇总了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);
}
}
示例2: getInputMessageType
import org.eclipse.emf.ecore.EEnum; //导入依赖的package包/类
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public EEnum getInputMessageType()
{
return inputMessageTypeEEnum;
}
示例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();
示例4: getMovingAverageReferenceType
import org.eclipse.emf.ecore.EEnum; //导入依赖的package包/类
/**
* <!-- begin-user-doc -->
* <!-- end-user-doc -->
* @generated
*/
@Override
public EEnum getMovingAverageReferenceType ()
{
return movingAverageReferenceTypeEEnum;
}
示例5: getRecipientTypeEnum
import org.eclipse.emf.ecore.EEnum; //导入依赖的package包/类
/**
* <!-- begin-user-doc --> <!-- end-user-doc -->
* @generated
*/
public EEnum getRecipientTypeEnum()
{
return recipientTypeEnumEEnum;
}
示例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();
示例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();
示例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();
示例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();
示例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();
示例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();
示例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();
示例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();
示例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();
示例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();