Package org.hibernate.persister.internal
Class MutableAttributeMappingList
- java.lang.Object
-
- org.hibernate.persister.internal.MutableAttributeMappingList
-
- All Implemented Interfaces:
Iterable<AttributeMapping>
,AttributeMappingsList
@Deprecated public final class MutableAttributeMappingList extends Object implements AttributeMappingsList
Deprecated.Please get rid of it: such collections should be immutable.This mutable representation of AttributeMappingsList is meant to exist temporarily to assit migration to the new contract.
-
-
Constructor Summary
Constructors Constructor Description MutableAttributeMappingList(int length)
Deprecated.
-
Method Summary
All Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description void
add(AttributeMapping attributeMapping)
Deprecated.void
clear()
Deprecated.void
forEach(Consumer<? super AttributeMapping> consumer)
Deprecated.AttributeMapping
get(int idx)
Deprecated.SingularAttributeMapping
getSingularAttributeMapping(int idx)
Deprecated.should be removedvoid
indexedForEach(IndexedConsumer<? super AttributeMapping> consumer)
Deprecated.Iterator<AttributeMapping>
iterator()
Deprecated.void
setAttributeMapping(int i, AttributeMapping attributeMapping)
Deprecated.int
size()
Deprecated.-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.lang.Iterable
spliterator
-
-
-
-
Method Detail
-
size
public int size()
Deprecated.- Specified by:
size
in interfaceAttributeMappingsList
-
get
public AttributeMapping get(int idx)
Deprecated.- Specified by:
get
in interfaceAttributeMappingsList
-
iterator
public Iterator<AttributeMapping> iterator()
Deprecated.- Specified by:
iterator
in interfaceIterable<AttributeMapping>
-
forEach
public void forEach(Consumer<? super AttributeMapping> consumer)
Deprecated.- Specified by:
forEach
in interfaceAttributeMappingsList
- Specified by:
forEach
in interfaceIterable<AttributeMapping>
-
indexedForEach
public void indexedForEach(IndexedConsumer<? super AttributeMapping> consumer)
Deprecated.- Specified by:
indexedForEach
in interfaceAttributeMappingsList
-
clear
public void clear()
Deprecated.
-
add
public void add(AttributeMapping attributeMapping)
Deprecated.
-
getSingularAttributeMapping
@Deprecated public SingularAttributeMapping getSingularAttributeMapping(int idx)
Deprecated.should be removed
-
setAttributeMapping
public void setAttributeMapping(int i, AttributeMapping attributeMapping)
Deprecated.
-
-