Java 类org.eclipse.emf.ecore.util.FeatureMap 实例源码

项目:neoscada    文件:AbstractHiveFactory.java   
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;
}
项目:neoscada    文件:DocumentRootImpl.java   
/**
 * <!-- 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 );
}
项目:neoscada    文件:DocumentRootImpl.java   
/**
 * <!-- 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 );
}
项目:Tarski    文件:DocumentRootImpl.java   
/**
 * <!-- 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);
}
项目:neoscada    文件:DocumentRootImpl.java   
/**
 * <!-- 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 );
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- 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);
}
项目:Tarski    文件:DocumentRootImpl.java   
/**
 * <!-- 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);
}
项目:neoscada    文件:RootTypeImpl.java   
/**
 * <!-- 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 );
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- 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);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- 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);
}
项目:neoscada    文件:DocumentRootImpl.java   
/**
 * <!-- 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 );
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- 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);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- 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);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- 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);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- 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);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType)
{
  switch (featureID)
  {
    case ReferenceModulePackage.DOCUMENT_ROOT__MIXED:
      if (coreType) return getMixed();
      return ((FeatureMap.Internal)getMixed()).getWrapper();
    case ReferenceModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      if (coreType) return getXMLNSPrefixMap();
      else return getXMLNSPrefixMap().map();
    case ReferenceModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      if (coreType) return getXSISchemaLocation();
      else return getXSISchemaLocation().map();
    case ReferenceModulePackage.DOCUMENT_ROOT__REFERENCE_CONFIGURATION:
      return getReferenceConfiguration();
  }
  return super.eGet(featureID, resolve, coreType);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType)
{
  switch (featureID)
  {
    case XmlGenModulePackage.DOCUMENT_ROOT__MIXED:
      if (coreType) return getMixed();
      return ((FeatureMap.Internal)getMixed()).getWrapper();
    case XmlGenModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      if (coreType) return getXMLNSPrefixMap();
      else return getXMLNSPrefixMap().map();
    case XmlGenModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      if (coreType) return getXSISchemaLocation();
      else return getXSISchemaLocation().map();
    case XmlGenModulePackage.DOCUMENT_ROOT__XML_GEN_CONFIGURATION:
      return getXmlGenConfiguration();
  }
  return super.eGet(featureID, resolve, coreType);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType)
{
  switch (featureID)
  {
    case FixManipModulePackage.DOCUMENT_ROOT__MIXED:
      if (coreType) return getMixed();
      return ((FeatureMap.Internal)getMixed()).getWrapper();
    case FixManipModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      if (coreType) return getXMLNSPrefixMap();
      else return getXMLNSPrefixMap().map();
    case FixManipModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      if (coreType) return getXSISchemaLocation();
      else return getXSISchemaLocation().map();
    case FixManipModulePackage.DOCUMENT_ROOT__FIX_MANIP_CONFIGURATION:
      return getFixManipConfiguration();
  }
  return super.eGet(featureID, resolve, coreType);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet(int featureID, Object newValue)
{
  switch (featureID)
  {
    case FixManipModulePackage.DOCUMENT_ROOT__MIXED:
      ((FeatureMap.Internal)getMixed()).set(newValue);
      return;
    case FixManipModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
      return;
    case FixManipModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
      return;
    case FixManipModulePackage.DOCUMENT_ROOT__FIX_MANIP_CONFIGURATION:
      setFixManipConfiguration((FixManipConfiguration)newValue);
      return;
  }
  super.eSet(featureID, newValue);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType)
{
  switch (featureID)
  {
    case DatacompareModulePackage.DOCUMENT_ROOT__MIXED:
      if (coreType) return getMixed();
      return ((FeatureMap.Internal)getMixed()).getWrapper();
    case DatacompareModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      if (coreType) return getXMLNSPrefixMap();
      else return getXMLNSPrefixMap().map();
    case DatacompareModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      if (coreType) return getXSISchemaLocation();
      else return getXSISchemaLocation().map();
    case DatacompareModulePackage.DOCUMENT_ROOT__DATA_COMPARE_CONFIGURATION:
      return getDataCompareConfiguration();
  }
  return super.eGet(featureID, resolve, coreType);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet(int featureID, Object newValue)
{
  switch (featureID)
  {
    case DatacompareModulePackage.DOCUMENT_ROOT__MIXED:
      ((FeatureMap.Internal)getMixed()).set(newValue);
      return;
    case DatacompareModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
      return;
    case DatacompareModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
      return;
    case DatacompareModulePackage.DOCUMENT_ROOT__DATA_COMPARE_CONFIGURATION:
      setDataCompareConfiguration((DataCompareConfiguration)newValue);
      return;
  }
  super.eSet(featureID, newValue);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType)
{
  switch (featureID)
  {
    case ExceptionPackage.DOCUMENT_ROOT__MIXED:
      if (coreType) return getMixed();
      return ((FeatureMap.Internal)getMixed()).getWrapper();
    case ExceptionPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      if (coreType) return getXMLNSPrefixMap();
      else return getXMLNSPrefixMap().map();
    case ExceptionPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      if (coreType) return getXSISchemaLocation();
      else return getXSISchemaLocation().map();
    case ExceptionPackage.DOCUMENT_ROOT__EXCEPTION:
      return getException();
  }
  return super.eGet(featureID, resolve, coreType);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet(int featureID, Object newValue)
{
  switch (featureID)
  {
    case BackportPackage.DOCUMENT_ROOT__MIXED:
      ((FeatureMap.Internal)getMixed()).set(newValue);
      return;
    case BackportPackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
      return;
    case BackportPackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
      return;
    case BackportPackage.DOCUMENT_ROOT__KRONUS_CALL_CONFIGURATION:
      setKronusCallConfiguration((KronusCallConfiguration)newValue);
      return;
  }
  super.eSet(featureID, newValue);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet(int featureID, Object newValue)
{
  switch (featureID)
  {
    case Xml2csvModulePackage.DOCUMENT_ROOT__MIXED:
      ((FeatureMap.Internal)getMixed()).set(newValue);
      return;
    case Xml2csvModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
      return;
    case Xml2csvModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
      return;
    case Xml2csvModulePackage.DOCUMENT_ROOT__XML2_CSV_CONFIGURATION:
      setXml2CsvConfiguration((Xml2CsvConfiguration)newValue);
      return;
  }
  super.eSet(featureID, newValue);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType)
{
  switch (featureID)
  {
    case SoapIOModulePackage.DOCUMENT_ROOT__MIXED:
      if (coreType) return getMixed();
      return ((FeatureMap.Internal)getMixed()).getWrapper();
    case SoapIOModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      if (coreType) return getXMLNSPrefixMap();
      else return getXMLNSPrefixMap().map();
    case SoapIOModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      if (coreType) return getXSISchemaLocation();
      else return getXSISchemaLocation().map();
    case SoapIOModulePackage.DOCUMENT_ROOT__SOAP_IO_CONFIGURATION:
      return getSoapIOConfiguration();
  }
  return super.eGet(featureID, resolve, coreType);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet(int featureID, Object newValue)
{
  switch (featureID)
  {
    case SoapIOModulePackage.DOCUMENT_ROOT__MIXED:
      ((FeatureMap.Internal)getMixed()).set(newValue);
      return;
    case SoapIOModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
      return;
    case SoapIOModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
      return;
    case SoapIOModulePackage.DOCUMENT_ROOT__SOAP_IO_CONFIGURATION:
      setSoapIOConfiguration((SoapIOConfiguration)newValue);
      return;
  }
  super.eSet(featureID, newValue);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- 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);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet(int featureID, Object newValue)
{
  switch (featureID)
  {
    case XmlGenModulePackage.DOCUMENT_ROOT__MIXED:
      ((FeatureMap.Internal)getMixed()).set(newValue);
      return;
    case XmlGenModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
      return;
    case XmlGenModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
      return;
    case XmlGenModulePackage.DOCUMENT_ROOT__XML_GEN_CONFIGURATION:
      setXmlGenConfiguration((XmlGenConfiguration)newValue);
      return;
  }
  super.eSet(featureID, newValue);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType)
{
  switch (featureID)
  {
    case MailModulePackage.DOCUMENT_ROOT__MIXED:
      if (coreType) return getMixed();
      return ((FeatureMap.Internal)getMixed()).getWrapper();
    case MailModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      if (coreType) return getXMLNSPrefixMap();
      else return getXMLNSPrefixMap().map();
    case MailModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      if (coreType) return getXSISchemaLocation();
      else return getXSISchemaLocation().map();
    case MailModulePackage.DOCUMENT_ROOT__MAIL_CONFIGURATION:
      return getMailConfiguration();
  }
  return super.eGet(featureID, resolve, coreType);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType)
{
  switch (featureID)
  {
    case XmlDiffModulePackage.DOCUMENT_ROOT__MIXED:
      if (coreType) return getMixed();
      return ((FeatureMap.Internal)getMixed()).getWrapper();
    case XmlDiffModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      if (coreType) return getXMLNSPrefixMap();
      else return getXMLNSPrefixMap().map();
    case XmlDiffModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      if (coreType) return getXSISchemaLocation();
      else return getXSISchemaLocation().map();
    case XmlDiffModulePackage.DOCUMENT_ROOT__XML_DIFF_CONFIGURATION:
      return getXmlDiffConfiguration();
  }
  return super.eGet(featureID, resolve, coreType);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType)
{
  switch (featureID)
  {
    case MqModulePackage.DOCUMENT_ROOT__MIXED:
      if (coreType) return getMixed();
      return ((FeatureMap.Internal)getMixed()).getWrapper();
    case MqModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      if (coreType) return getXMLNSPrefixMap();
      else return getXMLNSPrefixMap().map();
    case MqModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      if (coreType) return getXSISchemaLocation();
      else return getXSISchemaLocation().map();
    case MqModulePackage.DOCUMENT_ROOT__MQ_CONFIGURATION:
      return getMQConfiguration();
  }
  return super.eGet(featureID, resolve, coreType);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet(int featureID, Object newValue)
{
  switch (featureID)
  {
    case DsValidatorModulePackage.DOCUMENT_ROOT__MIXED:
      ((FeatureMap.Internal)getMixed()).set(newValue);
      return;
    case DsValidatorModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
      return;
    case DsValidatorModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
      return;
    case DsValidatorModulePackage.DOCUMENT_ROOT__DS_VALIDATOR_CONFIGURATION:
      setDSValidatorConfiguration((DSValidatorConfiguration)newValue);
      return;
  }
  super.eSet(featureID, newValue);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType)
{
  switch (featureID)
  {
    case XmlManipModulePackage.DOCUMENT_ROOT__MIXED:
      if (coreType) return getMixed();
      return ((FeatureMap.Internal)getMixed()).getWrapper();
    case XmlManipModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      if (coreType) return getXMLNSPrefixMap();
      else return getXMLNSPrefixMap().map();
    case XmlManipModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      if (coreType) return getXSISchemaLocation();
      else return getXSISchemaLocation().map();
    case XmlManipModulePackage.DOCUMENT_ROOT__XML_MANIP_CONFIGURATION:
      return getXmlManipConfiguration();
  }
  return super.eGet(featureID, resolve, coreType);
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet(int featureID, Object newValue)
{
  switch (featureID)
  {
    case CpsModulePackage.DOCUMENT_ROOT__MIXED:
      ((FeatureMap.Internal)getMixed()).set(newValue);
      return;
    case CpsModulePackage.DOCUMENT_ROOT__XMLNS_PREFIX_MAP:
      ((EStructuralFeature.Setting)getXMLNSPrefixMap()).set(newValue);
      return;
    case CpsModulePackage.DOCUMENT_ROOT__XSI_SCHEMA_LOCATION:
      ((EStructuralFeature.Setting)getXSISchemaLocation()).set(newValue);
      return;
    case CpsModulePackage.DOCUMENT_ROOT__CPS_CONFIGURATION:
      setCpsConfiguration((CpsConfiguration)newValue);
      return;
  }
  super.eSet(featureID, newValue);
}
项目:neoscada    文件:HiveConfigurationTypeImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet ( int featureID, Object newValue )
{
    switch ( featureID )
    {
        case ExporterPackage.HIVE_CONFIGURATION_TYPE__MIXED:
            ( (FeatureMap.Internal)getMixed () ).set ( newValue );
            return;
        case ExporterPackage.HIVE_CONFIGURATION_TYPE__ANY:
            ( (FeatureMap.Internal)getAny () ).set ( newValue );
            return;
    }
    super.eSet ( featureID, newValue );
}
项目:Saturn    文件:SaturnDocLoadSaveUtil.java   
private static void textNodeToTextElement(SaturnResourceImpl saturnResourceImpl_)
{
  DocumentRoot o = (DocumentRoot) saturnResourceImpl_.getContents().get(0);
  Saturn saturn = (Saturn) o.eContents().get(0);
  TreeIterator<EObject> ee = saturn.eAllContents();
  while (ee.hasNext())
  {
    EObject e = ee.next();
    if (e == null) continue;
    EClass ec = e.eClass();
    if (!ValuesPackage.eINSTANCE.getComplexValue().isSuperTypeOf(ec)) continue;

    ComplexValue cv = (ComplexValue) e;
    for (int i = 0; i < cv.getMixed().size(); i++)
    {
      FeatureMap.Entry entry = cv.getMixed().get(i);
      Object value = entry.getValue();
      if (value instanceof String)
      {
        TextComplexValue textComplexValue = ValuesPackage.eINSTANCE.getValuesFactory().createTextComplexValue();
        textComplexValue.setText((String) value);
        FeatureMap.Entry newEntry = FeatureMapUtil.createEntry(ValuesPackage.eINSTANCE.getComplexValue_Text(),
            textComplexValue);
        cv.getMixed().set(i, newEntry);
      }
    }
  }
}
项目:Tarski    文件:ItemTypeImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public Object eGet(int featureID, boolean resolve, boolean coreType) {
  switch (featureID) {
    case persistencePackage.ITEM_TYPE__GROUP:
      if (coreType) return getGroup();
      return ((FeatureMap.Internal)getGroup()).getWrapper();
    case persistencePackage.ITEM_TYPE__ENTRY:
      return getEntry();
    case persistencePackage.ITEM_TYPE__ID:
      return getId();
  }
  return super.eGet(featureID, resolve, coreType);
}
项目:neoscada    文件:RootTypeImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@SuppressWarnings ( "unchecked" )
@Override
public void eSet ( int featureID, Object newValue )
{
    switch ( featureID )
    {
        case ConfigurationPackage.ROOT_TYPE__GROUP:
            ( (FeatureMap.Internal)getGroup () ).set ( newValue );
            return;
        case ConfigurationPackage.ROOT_TYPE__QUEUE:
            getQueue ().clear ();
            getQueue ().addAll ( (Collection<? extends QueueType>)newValue );
            return;
        case ConfigurationPackage.ROOT_TYPE__COMMAND:
            getCommand ().clear ();
            getCommand ().addAll ( (Collection<? extends SplitContinuousCommandType>)newValue );
            return;
        case ConfigurationPackage.ROOT_TYPE__HIVE_PROCESS:
            getHiveProcess ().clear ();
            getHiveProcess ().addAll ( (Collection<? extends HiveProcessCommandType>)newValue );
            return;
        case ConfigurationPackage.ROOT_TYPE__TRIGGER:
            getTrigger ().clear ();
            getTrigger ().addAll ( (Collection<? extends TriggerCommandType>)newValue );
            return;
        case ConfigurationPackage.ROOT_TYPE__ADDITIONAL_CONFIGURATION_DIRECTORY:
            getAdditionalConfigurationDirectory ().clear ();
            getAdditionalConfigurationDirectory ().addAll ( (Collection<? extends String>)newValue );
            return;
    }
    super.eSet ( featureID, newValue );
}
项目:neoscada    文件:CustomExtractorTypeImpl.java   
/**
 * <!-- begin-user-doc -->
 * <!-- end-user-doc -->
 * @generated
 */
@Override
public void eSet ( int featureID, Object newValue )
{
    switch ( featureID )
    {
        case ConfigurationPackage.CUSTOM_EXTRACTOR_TYPE__ANY:
            ( (FeatureMap.Internal)getAny () ).set ( newValue );
            return;
        case ConfigurationPackage.CUSTOM_EXTRACTOR_TYPE__CLASS:
            setClass ( (String)newValue );
            return;
    }
    super.eSet ( featureID, newValue );
}
项目:Saturn    文件:DocumentRootImpl.java   
/**
 * <!-- begin-user-doc --> <!-- end-user-doc -->
 * @generated
 */
public void setPsManagerConfiguration(PsManagerConfiguration newPsManagerConfiguration)
{
  ((FeatureMap.Internal)getMixed()).set(PsManagerModulePackage.Literals.DOCUMENT_ROOT__PS_MANAGER_CONFIGURATION, newPsManagerConfiguration);
}