Package org.javers.core.metamodel.type
Class MapEnumerationOwnerContext
- java.lang.Object
-
- org.javers.core.metamodel.object.EnumerationAwareOwnerContext
-
- org.javers.core.metamodel.type.MapEnumerationOwnerContext
-
- All Implemented Interfaces:
OwnerContext
public class MapEnumerationOwnerContext extends EnumerationAwareOwnerContext
-
-
Constructor Summary
Constructors Constructor Description MapEnumerationOwnerContext(KeyValueType keyValueType, OwnerContext ownerContext)MapEnumerationOwnerContext(KeyValueType keyValueType, OwnerContext ownerContext, boolean requiresObjectHasher)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static MapEnumerationOwnerContextdummy(KeyValueType keyValueType)JaversTypegetCurrentType()java.lang.StringgetEnumeratorContextPath()booleanisKey()voidswitchToKey()voidswitchToValue(java.lang.Object key)-
Methods inherited from class org.javers.core.metamodel.object.EnumerationAwareOwnerContext
getOwnerId, getPath, requiresObjectHasher
-
-
-
-
Constructor Detail
-
MapEnumerationOwnerContext
public MapEnumerationOwnerContext(KeyValueType keyValueType, OwnerContext ownerContext)
-
MapEnumerationOwnerContext
public MapEnumerationOwnerContext(KeyValueType keyValueType, OwnerContext ownerContext, boolean requiresObjectHasher)
-
-
Method Detail
-
dummy
public static MapEnumerationOwnerContext dummy(KeyValueType keyValueType)
-
getEnumeratorContextPath
public java.lang.String getEnumeratorContextPath()
- Overrides:
getEnumeratorContextPathin classEnumerationAwareOwnerContext
-
isKey
public boolean isKey()
-
getCurrentType
public JaversType getCurrentType()
-
switchToValue
public void switchToValue(java.lang.Object key)
-
switchToKey
public void switchToKey()
-
-