Class ImmutableAttributeMappingsMap
- java.lang.Object
-
- org.hibernate.metamodel.mapping.internal.ImmutableAttributeMappingsMap
-
- All Implemented Interfaces:
AttributeMappingsMap
public final class ImmutableAttributeMappingsMap extends Object implements AttributeMappingsMap
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from interface org.hibernate.metamodel.mapping.AttributeMappingsMap
AttributeMappingsMap.Builder
-
-
Constructor Summary
Constructors Constructor Description ImmutableAttributeMappingsMap(LinkedHashMap<String,AttributeMapping> sortedSource)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
forEachValue(Consumer<? super AttributeMapping> action)
AttributeMapping
get(String name)
int
size()
Iterable<AttributeMapping>
valueIterator()
-
-
-
Constructor Detail
-
ImmutableAttributeMappingsMap
public ImmutableAttributeMappingsMap(LinkedHashMap<String,AttributeMapping> sortedSource)
-
-
Method Detail
-
forEachValue
public void forEachValue(Consumer<? super AttributeMapping> action)
- Specified by:
forEachValue
in interfaceAttributeMappingsMap
-
size
public int size()
- Specified by:
size
in interfaceAttributeMappingsMap
-
get
public AttributeMapping get(String name)
- Specified by:
get
in interfaceAttributeMappingsMap
-
valueIterator
public Iterable<AttributeMapping> valueIterator()
- Specified by:
valueIterator
in interfaceAttributeMappingsMap
-
-