本文整理汇总了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);
}
示例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;
}
示例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 );
}
示例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 );
}
示例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);
}
示例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 );
}
示例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);
}
示例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);
}
示例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 );
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}
示例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);
}