Class MiddleComponentData
- java.lang.Object
-
- org.hibernate.envers.internal.entities.mapper.relation.MiddleComponentData
-
public final class MiddleComponentData extends Object
A data holder for a middle relation component (which is either the collection element or index): - component mapper used to map the component to and from versions entities - an index, which specifies in which element of the array returned by the query for reading the collection the data of the component is
-
-
Constructor Summary
Constructors Constructor Description MiddleComponentData(MiddleComponentMapper componentMapper)
MiddleComponentData(MiddleComponentMapper componentMapper, int componentIndex)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getComponentIndex()
MiddleComponentMapper
getComponentMapper()
-
-
-
Constructor Detail
-
MiddleComponentData
public MiddleComponentData(MiddleComponentMapper componentMapper)
-
MiddleComponentData
public MiddleComponentData(MiddleComponentMapper componentMapper, int componentIndex)
-
-
Method Detail
-
getComponentMapper
public MiddleComponentMapper getComponentMapper()
-
getComponentIndex
public int getComponentIndex()
-
-