本文整理匯總了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();