org.eclipse.emf.ecore.util
Class EDataTypeUniqueEList.Unsettable

java.lang.Object
  |
  +--java.util.AbstractCollection
        |
        +--java.util.AbstractList
              |
              +--org.eclipse.emf.common.util.BasicEList
                    |
                    +--org.eclipse.emf.common.notify.impl.NotifyingListImpl
                          |
                          +--org.eclipse.emf.ecore.util.EcoreEList
                                |
                                +--org.eclipse.emf.ecore.util.EDataTypeEList
                                      |
                                      +--org.eclipse.emf.ecore.util.EDataTypeEList.Unsettable
                                            |
                                            +--org.eclipse.emf.ecore.util.EDataTypeUniqueEList.Unsettable
All Implemented Interfaces:
java.lang.Cloneable, java.util.Collection, EList, EStructuralFeature.Setting, EStructuralFeature.Setting.Internal, InternalEList, java.util.List, NotifyingList, java.io.Serializable
Enclosing class:
EDataTypeUniqueEList

public static class EDataTypeUniqueEList.Unsettable
extends EDataTypeEList.Unsettable

See Also:
Serialized Form

Inner classes inherited from class org.eclipse.emf.ecore.util.EDataTypeEList
EDataTypeEList.Unsettable
 
Inner classes inherited from class org.eclipse.emf.ecore.util.EcoreEList
EcoreEList.UnmodifiableEList
 
Inner classes inherited from class org.eclipse.emf.common.util.BasicEList
BasicEList.EIterator, BasicEList.EListIterator, BasicEList.NonResolvingEIterator, BasicEList.NonResolvingEListIterator, BasicEList.UnmodifiableEList
 
Inner classes inherited from class org.eclipse.emf.ecore.EStructuralFeature.Setting
EStructuralFeature.Setting.Internal
 
Field Summary
protected  boolean isSet
           
 
Fields inherited from class org.eclipse.emf.ecore.util.EDataTypeEList
featureID
 
Fields inherited from class org.eclipse.emf.ecore.util.EcoreEList
dataClass, owner
 
Fields inherited from class org.eclipse.emf.common.util.BasicEList
data, size
 
Fields inherited from class java.util.AbstractList
modCount
 
Constructor Summary
EDataTypeUniqueEList.Unsettable(java.lang.Class dataClass, InternalEObject owner, int featureID)
           
 
Method Summary
protected  boolean isUnique()
          Returns whether objects are constrained to appear at most once in the list.
 
Methods inherited from class org.eclipse.emf.ecore.util.EDataTypeEList.Unsettable
didChange, isSet, unset
 
Methods inherited from class org.eclipse.emf.ecore.util.EDataTypeEList
getFeatureID, isEObject
 
Methods inherited from class org.eclipse.emf.ecore.util.EcoreEList
basicIterator, basicList, basicListIterator, basicListIterator, contains, createNotification, createNotification, dispatchNotification, get, getEObject, getEStructuralFeature, getFeature, getInverseEStructuralFeature, getInverseFeatureClass, getInverseFeatureID, getNotifier, hasManyInverse, hasNavigableInverse, hasProxies, indexOf, inverseAdd, inverseRemove, isContainment, isNotificationRequired, lastIndexOf, newData, resolve, resolveProxy, set, toArray, toArray
 
Methods inherited from class org.eclipse.emf.common.notify.impl.NotifyingListImpl
addAllUnique, addAllUnique, addUnique, addUnique, basicAdd, basicRemove, basicSet, canContainNull, clear, createNotificationChain, getFeatureID, hasInverse, move, remove, removeAll, setUnique
 
Methods inherited from class org.eclipse.emf.common.util.BasicEList
add, add, addAll, addAll, assign, clone, containsAll, data, didAdd, didClear, didMove, didRemove, didSet, equalObjects, equals, get, getDuplicates, getNonDuplicates, grow, hashCode, isEmpty, iterator, listIterator, listIterator, move, remove, retainAll, set, shrink, size, toString, useEquals, validate
 
Methods inherited from class java.util.AbstractList
removeRange, subList
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface org.eclipse.emf.ecore.util.InternalEList
addUnique, addUnique, basicAdd, basicRemove
 
Methods inherited from interface org.eclipse.emf.common.util.EList
move, move
 
Methods inherited from interface java.util.List
add, add, addAll, addAll, clear, containsAll, equals, get, hashCode, isEmpty, iterator, listIterator, listIterator, remove, remove, removeAll, retainAll, set, size, subList
 
Methods inherited from interface org.eclipse.emf.ecore.EStructuralFeature.Setting.Internal
basicAdd, basicRemove
 

Field Detail

isSet

protected boolean isSet
Constructor Detail

EDataTypeUniqueEList.Unsettable

public EDataTypeUniqueEList.Unsettable(java.lang.Class dataClass,
                                       InternalEObject owner,
                                       int featureID)
Method Detail

isUnique

protected boolean isUnique()
Description copied from class: BasicEList
Returns whether objects are constrained to appear at most once in the list. The default is to return false, but clients can override this to ensure uniqueness of contents. The performance impact is signifcant: operations such as add are O(n) as a result requiring uniqueness.
Overrides:
isUnique in class BasicEList
Following copied from class: org.eclipse.emf.common.util.BasicEList
Returns:
whether objects are constrained to appear at most once in the list.

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