public interface ITransientValueService
Modifier and Type | Method and Description |
---|---|
boolean |
isCheckElementsIndividually(org.eclipse.emf.ecore.EObject owner,
org.eclipse.emf.ecore.EStructuralFeature feature)
For features with isMany() == true, isCheckElementsIndividually() has to return true when isTransient should be called for each
element of the list instead of once for the whole list.
|
boolean |
isTransient(org.eclipse.emf.ecore.EObject owner,
org.eclipse.emf.ecore.EStructuralFeature feature,
int index)
Decides whether a value should be serialized.
|
boolean isCheckElementsIndividually(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature)
owner
- the feature holderfeature
- the multi value featuretrue
if all values should be checked individually for their transient state.boolean isTransient(org.eclipse.emf.ecore.EObject owner, org.eclipse.emf.ecore.EStructuralFeature feature, int index)
owner
- The EObject holding the feature's valuefeature
- the to-be-checked featureindex
- the index in the list for multi value features