@ParametersAreNonnullByDefault public class FeatureMapConverter extends Object implements BiConverter<org.eclipse.emf.ecore.util.FeatureMap.Entry,org.eclipse.emf.ecore.EAttribute,String>
BiConverter that transforms the value of FeatureMap.Entry instances.| Modifier and Type | Field and Description | 
|---|---|
| static String | ENTRY_DELIMITERThe delimiter used to separate the feature from its value in a serialized  FeatureMap.Entry. | 
| static String | ENTRY_FORMATThe pattern used to store feature map entries. | 
| Constructor and Description | 
|---|
| FeatureMapConverter(StoreAdapter store)Constructs a new  FeatureMapConverterfor the givenstore. | 
| Modifier and Type | Method and Description | 
|---|---|
| String | convert(org.eclipse.emf.ecore.util.FeatureMap.Entry entry,
       org.eclipse.emf.ecore.EAttribute attribute)
 
 Converts an instance of  FeatureMap.Entryto a string literal representation. | 
| org.eclipse.emf.ecore.util.FeatureMap.Entry | revert(String entry,
      org.eclipse.emf.ecore.EAttribute attribute)
 
 Creates an instance of  FeatureMap.Entryfrom a string literal representation. | 
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitapply, from, identity, reverseandThen@Nonnull public static final String ENTRY_DELIMITER
FeatureMap.Entry.@Nonnull public static final String ENTRY_FORMAT
public FeatureMapConverter(StoreAdapter store)
FeatureMapConverter for the given store.store - the store associated to this converter@Nonnull public String convert(org.eclipse.emf.ecore.util.FeatureMap.Entry entry, org.eclipse.emf.ecore.EAttribute attribute)
 Converts an instance of FeatureMap.Entry to a string literal representation.
 
 The entry is serialized as featureName#value, where value is the string representation of
 the value for an attribute, or the string representation of the Id
 for a reference.
convert in interface BiConverter<org.eclipse.emf.ecore.util.FeatureMap.Entry,org.eclipse.emf.ecore.EAttribute,String>entry - the entry of the attributeattribute - the attribute to instantiateAttributeConverter.revert(Object, EAttribute), 
EcoreUtil.convertToString(EDataType, Object)@Nonnull public org.eclipse.emf.ecore.util.FeatureMap.Entry revert(String entry, org.eclipse.emf.ecore.EAttribute attribute)
 Creates an instance of FeatureMap.Entry from a string literal representation.
 
 The entry must be serialized as featureName#value.
revert in interface BiConverter<org.eclipse.emf.ecore.util.FeatureMap.Entry,org.eclipse.emf.ecore.EAttribute,String>entry - the string literal representation of the entryattribute - the attribute to instantiateAttributeConverter.convert(Object, EAttribute), 
EcoreUtil.createFromString(EDataType, String)Copyright © 2013–2019 Atlanmod. All rights reserved.