Class MutableAttributeMappingList
- java.lang.Object
-
- org.hibernate.metamodel.mapping.internal.MutableAttributeMappingList
-
- All Implemented Interfaces:
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 assist 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 voidadd(AttributeMapping attributeMapping)Deprecated.voidclear()Deprecated.voidforEach(Consumer<? super AttributeMapping> consumer)Deprecated.AttributeMappingget(int idx)Deprecated.SingularAttributeMappinggetSingularAttributeMapping(int idx)Deprecated.should be removedvoidindexedForEach(IndexedConsumer<? super AttributeMapping> consumer)Deprecated.voidsetAttributeMapping(int i, AttributeMapping attributeMapping)Deprecated.intsize()Deprecated.
-
-
-
Method Detail
-
size
public int size()
Deprecated.- Specified by:
sizein interfaceAttributeMappingsList
-
get
public AttributeMapping get(int idx)
Deprecated.- Specified by:
getin interfaceAttributeMappingsList
-
forEach
public void forEach(Consumer<? super AttributeMapping> consumer)
Deprecated.- Specified by:
forEachin interfaceAttributeMappingsList
-
indexedForEach
public void indexedForEach(IndexedConsumer<? super AttributeMapping> consumer)
Deprecated.- Specified by:
indexedForEachin 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.
-
-