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 -
Method Summary
Modifier and TypeMethodDescriptionvoidadd(AttributeMapping attributeMapping) Deprecated.voidclear()Deprecated.voidforEach(Consumer<? super AttributeMapping> consumer) Deprecated.get(int idx) Deprecated.getSingularAttributeMapping(int idx) Deprecated.should be removedvoidindexedForEach(IndexedConsumer<? super AttributeMapping> consumer) Deprecated.voidsetAttributeMapping(int i, AttributeMapping attributeMapping) Deprecated.intsize()Deprecated.
-
Constructor Details
-
MutableAttributeMappingList
public MutableAttributeMappingList(int length) Deprecated.
-
-
Method Details
-
size
public int size()Deprecated.- Specified by:
sizein interfaceAttributeMappingsList
-
get
Deprecated.- Specified by:
getin interfaceAttributeMappingsList
-
forEach
Deprecated.- Specified by:
forEachin interfaceAttributeMappingsList
-
indexedForEach
Deprecated.- Specified by:
indexedForEachin interfaceAttributeMappingsList
-
clear
public void clear()Deprecated. -
add
Deprecated. -
getSingularAttributeMapping
Deprecated.should be removed -
setAttributeMapping
Deprecated.
-