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


Java FeatureMap类代码示例

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


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

示例1: eSet

import org.eclipse.emf.ecore.util.FeatureMap; //导入依赖的package包/类
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet(int featureID, Object newValue)
{
  switch (featureID)
  {
    case XmlManipModulePackage.DOCUMENT_ROOT__MIXED:
      ((FeatureMap.Internal)getMixed()).set(newValue);
      return;
    case XmlManipModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
      return;
    case XmlManipModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
      return;
    case XmlManipModulePackage.DOCUMENT_ROOT__XML_MANIP_CONFIGURATION:
      setXmlManipConfiguration((XmlManipConfiguration)newValue);
      return;
  }
  super.eSet(featureID, newValue);
}
 
开发者ID:Morgan-Stanley,项目名称:Saturn,代码行数:25,代码来源:DocumentRootImpl.java

示例2: getConfigurationData

import org.eclipse.emf.ecore.util.FeatureMap; //导入依赖的package包/类
protected Object getConfigurationData ( final HiveConfigurationType configuration )
{
    for ( FeatureMap.Entry entry : configuration.getAny () )
    {
        if ( entry.getValue () instanceof EObject )
        {
            return entry.getValue ();
        }
        else if ( FeatureMapUtil.isText ( entry ) )
        {
            return entry.getValue ();
        }
        else if ( FeatureMapUtil.isCDATA ( entry ) )
        {
            return entry.getValue ();
        }
    }
    return null;
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:20,代码来源:AbstractHiveFactory.java

示例3: eGet

import org.eclipse.emf.ecore.util.FeatureMap; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public Object eGet ( int featureID, boolean resolve, boolean coreType )
{
    switch ( featureID )
    {
        case ExporterPackage.DOCUMENT_ROOT__MIXED:
            if ( coreType )
                return getMixed ();
            return ( (FeatureMap.Internal)getMixed () ).getWrapper ();
        case ExporterPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
            if ( coreType )
                return getXMLNSPrefixMap ();
            else
                return getXMLNSPrefixMap ().map ();
        case ExporterPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
            if ( coreType )
                return getXSISchemaLocation ();
            else
                return getXSISchemaLocation ().map ();
        case ExporterPackage.DOCUMENT_ROOT__CONFIGURATION:
            return getConfiguration ();
    }
    return super.eGet ( featureID, resolve, coreType );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:30,代码来源:DocumentRootImpl.java

示例4: eSet

import org.eclipse.emf.ecore.util.FeatureMap; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet ( int featureID, Object newValue )
{
    switch ( featureID )
    {
        case ExporterPackage.DOCUMENT_ROOT__MIXED:
            ( (FeatureMap.Internal)getMixed () ).set ( newValue );
            return;
        case ExporterPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
            ( (EStructuralFeature.Setting)getXMLNSPrefixMap () ).set ( newValue );
            return;
        case ExporterPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
            ( (EStructuralFeature.Setting)getXSISchemaLocation () ).set ( newValue );
            return;
        case ExporterPackage.DOCUMENT_ROOT__CONFIGURATION:
            setConfiguration ( (ConfigurationType)newValue );
            return;
    }
    super.eSet ( featureID, newValue );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:26,代码来源:DocumentRootImpl.java

示例5: eGet

import org.eclipse.emf.ecore.util.FeatureMap; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
  switch (featureID) {
    case persistencePackage.DOCUMENT_ROOT__MIXED:
      if (coreType) return getMixed();
      return ((FeatureMap.Internal)getMixed()).getWrapper();
    case persistencePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      if (coreType) return getXMLNSPrefixMap();
      else return getXMLNSPrefixMap().map();
    case persistencePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      if (coreType) return getXSISchemaLocation();
      else return getXSISchemaLocation().map();
    case persistencePackage.DOCUMENT_ROOT__ALLOY:
      return getAlloy();
  }
  return super.eGet(featureID, resolve, coreType);
}
 
开发者ID:ModelWriter,项目名称:Tarski,代码行数:23,代码来源:DocumentRootImpl.java

示例6: eGet

import org.eclipse.emf.ecore.util.FeatureMap; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public Object eGet ( int featureID, boolean resolve, boolean coreType )
{
    switch ( featureID )
    {
        case ConfigurationPackage.DOCUMENT_ROOT__MIXED:
            if ( coreType )
                return getMixed ();
            return ( (FeatureMap.Internal)getMixed () ).getWrapper ();
        case ConfigurationPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
            if ( coreType )
                return getXMLNSPrefixMap ();
            else
                return getXMLNSPrefixMap ().map ();
        case ConfigurationPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
            if ( coreType )
                return getXSISchemaLocation ();
            else
                return getXSISchemaLocation ().map ();
        case ConfigurationPackage.DOCUMENT_ROOT__ROOT:
            return getRoot ();
    }
    return super.eGet ( featureID, resolve, coreType );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:30,代码来源:DocumentRootImpl.java

示例7: eGet

import org.eclipse.emf.ecore.util.FeatureMap; //导入依赖的package包/类
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType)
{
  switch (featureID)
  {
    case XSplitModulePackage.DOCUMENT_ROOT__MIXED:
      if (coreType) return getMixed();
      return ((FeatureMap.Internal)getMixed()).getWrapper();
    case XSplitModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      if (coreType) return getXMLNSPrefixMap();
      else return getXMLNSPrefixMap().map();
    case XSplitModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      if (coreType) return getXSISchemaLocation();
      else return getXSISchemaLocation().map();
    case XSplitModulePackage.DOCUMENT_ROOT__XSPLIT_CONFIGURATION:
      return getXSplitConfiguration();
  }
  return super.eGet(featureID, resolve, coreType);
}
 
开发者ID:Morgan-Stanley,项目名称:Saturn,代码行数:24,代码来源:DocumentRootImpl.java

示例8: eSet

import org.eclipse.emf.ecore.util.FeatureMap; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet(int featureID, Object newValue) {
  switch (featureID) {
    case persistencePackage.DOCUMENT_ROOT__MIXED:
      ((FeatureMap.Internal)getMixed()).set(newValue);
      return;
    case persistencePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
      return;
    case persistencePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
      return;
    case persistencePackage.DOCUMENT_ROOT__ALLOY:
      setAlloy((AlloyType)newValue);
      return;
  }
  super.eSet(featureID, newValue);
}
 
开发者ID:ModelWriter,项目名称:Tarski,代码行数:24,代码来源:DocumentRootImpl.java

示例9: eGet

import org.eclipse.emf.ecore.util.FeatureMap; //导入依赖的package包/类
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public Object eGet ( int featureID, boolean resolve, boolean coreType )
{
    switch ( featureID )
    {
        case ConfigurationPackage.ROOT_TYPE__GROUP:
            if ( coreType )
                return getGroup ();
            return ( (FeatureMap.Internal)getGroup () ).getWrapper ();
        case ConfigurationPackage.ROOT_TYPE__QUEUE:
            return getQueue ();
        case ConfigurationPackage.ROOT_TYPE__COMMAND:
            return getCommand ();
        case ConfigurationPackage.ROOT_TYPE__HIVE_PROCESS:
            return getHiveProcess ();
        case ConfigurationPackage.ROOT_TYPE__TRIGGER:
            return getTrigger ();
        case ConfigurationPackage.ROOT_TYPE__ADDITIONAL_CONFIGURATION_DIRECTORY:
            return getAdditionalConfigurationDirectory ();
    }
    return super.eGet ( featureID, resolve, coreType );
}
 
开发者ID:eclipse,项目名称:neoscada,代码行数:28,代码来源:RootTypeImpl.java

示例10: eGet

import org.eclipse.emf.ecore.util.FeatureMap; //导入依赖的package包/类
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType)
{
  switch (featureID)
  {
    case DsConvertModulePackage.DOCUMENT_ROOT__MIXED:
      if (coreType) return getMixed();
      return ((FeatureMap.Internal)getMixed()).getWrapper();
    case DsConvertModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      if (coreType) return getXMLNSPrefixMap();
      else return getXMLNSPrefixMap().map();
    case DsConvertModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      if (coreType) return getXSISchemaLocation();
      else return getXSISchemaLocation().map();
    case DsConvertModulePackage.DOCUMENT_ROOT__DS_CONVERT_CONFIGURATION:
      return getDSConvertConfiguration();
  }
  return super.eGet(featureID, resolve, coreType);
}
 
开发者ID:Morgan-Stanley,项目名称:Saturn,代码行数:24,代码来源:DocumentRootImpl.java

示例11: eSet

import org.eclipse.emf.ecore.util.FeatureMap; //导入依赖的package包/类
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet(int featureID, Object newValue)
{
  switch (featureID)
  {
    case MqModulePackage.DOCUMENT_ROOT__MIXED:
      ((FeatureMap.Internal)getMixed()).set(newValue);
      return;
    case MqModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
      return;
    case MqModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
      return;
    case MqModulePackage.DOCUMENT_ROOT__MQ_CONFIGURATION:
      setMQConfiguration((MQConfiguration)newValue);
      return;
  }
  super.eSet(featureID, newValue);
}
 
开发者ID:Morgan-Stanley,项目名称:Saturn,代码行数:25,代码来源:DocumentRootImpl.java

示例12: eSet

import org.eclipse.emf.ecore.util.FeatureMap; //导入依赖的package包/类
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet(int featureID, Object newValue)
{
  switch (featureID)
  {
    case ExceptionPackage.DOCUMENT_ROOT__MIXED:
      ((FeatureMap.Internal)getMixed()).set(newValue);
      return;
    case ExceptionPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
      return;
    case ExceptionPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
      return;
    case ExceptionPackage.DOCUMENT_ROOT__EXCEPTION:
      setException((exception)newValue);
      return;
  }
  super.eSet(featureID, newValue);
}
 
开发者ID:Morgan-Stanley,项目名称:Saturn,代码行数:25,代码来源:DocumentRootImpl.java

示例13: eSet

import org.eclipse.emf.ecore.util.FeatureMap; //导入依赖的package包/类
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet(int featureID, Object newValue)
{
  switch (featureID)
  {
    case XSplitModulePackage.DOCUMENT_ROOT__MIXED:
      ((FeatureMap.Internal)getMixed()).set(newValue);
      return;
    case XSplitModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
      return;
    case XSplitModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
      return;
    case XSplitModulePackage.DOCUMENT_ROOT__XSPLIT_CONFIGURATION:
      setXSplitConfiguration((XSplitConfiguration)newValue);
      return;
  }
  super.eSet(featureID, newValue);
}
 
开发者ID:Morgan-Stanley,项目名称:Saturn,代码行数:25,代码来源:DocumentRootImpl.java

示例14: eGet

import org.eclipse.emf.ecore.util.FeatureMap; //导入依赖的package包/类
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType)
{
  switch (featureID)
  {
    case DocumentumModulePackage.DOCUMENT_ROOT__MIXED:
      if (coreType) return getMixed();
      return ((FeatureMap.Internal)getMixed()).getWrapper();
    case DocumentumModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      if (coreType) return getXMLNSPrefixMap();
      else return getXMLNSPrefixMap().map();
    case DocumentumModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      if (coreType) return getXSISchemaLocation();
      else return getXSISchemaLocation().map();
    case DocumentumModulePackage.DOCUMENT_ROOT__DOCUMENTUM_CONFIGURATION:
      return getDocumentumConfiguration();
  }
  return super.eGet(featureID, resolve, coreType);
}
 
开发者ID:Morgan-Stanley,项目名称:Saturn,代码行数:24,代码来源:DocumentRootImpl.java

示例15: eSet

import org.eclipse.emf.ecore.util.FeatureMap; //导入依赖的package包/类
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet(int featureID, Object newValue)
{
  switch (featureID)
  {
    case ProcedureCallModulePackage.DOCUMENT_ROOT__MIXED:
      ((FeatureMap.Internal)getMixed()).set(newValue);
      return;
    case ProcedureCallModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
      return;
    case ProcedureCallModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
      return;
    case ProcedureCallModulePackage.DOCUMENT_ROOT__PROCEDURE_CALL_CONFIGURATION:
      setProcedureCallConfiguration((ProcedureCallConfiguration)newValue);
      return;
  }
  super.eSet(featureID, newValue);
}
 
开发者ID:Morgan-Stanley,项目名称:Saturn,代码行数:25,代码来源:DocumentRootImpl.java


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