org.eclipse.emf.ecore.util
Interface FeatureMap

All Superinterfaces:
Collection, EList, List
All Known Subinterfaces:
FeatureMap.Internal
All Known Implementing Classes:
BasicFeatureMap, DelegatingFeatureMap, FeatureMapUtil.FeatureFeatureMap

public interface FeatureMap
extends EList

A list of entries where each entry consists of a feature and a single value of that feature's type.


Nested Class Summary
static interface FeatureMap.Entry
          A pair consisting of a feature and a single value of that feature's type.
static interface FeatureMap.Internal
           
static interface FeatureMap.ValueListIterator
           
 
Method Summary
 boolean add(EStructuralFeature feature, Object value)
           
 void add(int index, EStructuralFeature feature, Object value)
           
 boolean addAll(EStructuralFeature feature, Collection values)
           
 boolean addAll(int index, EStructuralFeature feature, Collection values)
           
 Object get(EStructuralFeature feature, boolean resolve)
           
 EStructuralFeature getEStructuralFeature(int index)
           
 Object getValue(int index)
           
 boolean isSet(EStructuralFeature feature)
           
 EList list(EStructuralFeature feature)
           
 void set(EStructuralFeature feature, Object object)
           
 Object setValue(int index, Object value)
           
 void unset(EStructuralFeature feature)
           
 FeatureMap.ValueListIterator valueListIterator()
           
 FeatureMap.ValueListIterator valueListIterator(int index)
           
 
Methods inherited from interface org.eclipse.emf.common.util.EList
move, move
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, contains, containsAll, equals, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList, toArray, toArray
 

Method Detail

valueListIterator

public FeatureMap.ValueListIterator valueListIterator()

valueListIterator

public FeatureMap.ValueListIterator valueListIterator(int index)

list

public EList list(EStructuralFeature feature)

getEStructuralFeature

public EStructuralFeature getEStructuralFeature(int index)

getValue

public Object getValue(int index)

setValue

public Object setValue(int index,
                       Object value)

get

public Object get(EStructuralFeature feature,
                  boolean resolve)

set

public void set(EStructuralFeature feature,
                Object object)

isSet

public boolean isSet(EStructuralFeature feature)

unset

public void unset(EStructuralFeature feature)

add

public boolean add(EStructuralFeature feature,
                   Object value)

add

public void add(int index,
                EStructuralFeature feature,
                Object value)

addAll

public boolean addAll(EStructuralFeature feature,
                      Collection values)

addAll

public boolean addAll(int index,
                      EStructuralFeature feature,
                      Collection values)

Copyright 2001-2006 IBM Corporation and others.
All Rights Reserved.