Package org.javers.guava
Class MultimapType
-
Field Summary
Fields inherited from class org.javers.core.metamodel.type.JaversType
DEFAULT_TYPE_PARAMETER -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionbooleanempty()Class<?>protected TypeType for JSON representation.booleanbooleanisInstance(Object cdo) Nulls keys are filteredcom.google.common.collect.Multimapmap(Object sourceEnumerable, EnumerableFunction mapFunction, OwnerContext owner) OwnerContext aware version ofEnumerableType.map(Object, EnumerableFunction, OwnerContext)Methods inherited from class org.javers.core.metamodel.type.KeyValueType
filterToList, getKeyJavaType, getKeyJaversType, getValueJavaType, getValueJaversType, itemsMethods inherited from class org.javers.core.metamodel.type.EnumerableType
getConcreteClassTypeArguments, getTypeMapperLazy, map, mapPreservingSourceItemType, spawnConstructorArgs, spawnConstructorArgTypesMethods inherited from class org.javers.core.metamodel.type.JaversType
buildListOfConcreteTypeArguments, equals, equals, getBaseJavaType, getName, hashCode, isGenericType, prettyPrint, prettyPrintBuilder, toString
-
Constructor Details
-
MultimapType
-
-
Method Details
-
map
public com.google.common.collect.Multimap map(Object sourceEnumerable, EnumerableFunction mapFunction, OwnerContext owner) Description copied from class:EnumerableTypeOwnerContext aware version ofEnumerableType.map(Object, EnumerableFunction, OwnerContext)- Specified by:
mapin classEnumerableType- Returns:
- immutable Multimap
-
isEmpty
- Specified by:
isEmptyin classEnumerableType
-
map
Nulls keys are filtered- Specified by:
mapin classEnumerableType
-
entries
- Specified by:
entriesin classKeyValueType
-
empty
- Specified by:
emptyin classEnumerableType
-
getEnumerableInterface
- Specified by:
getEnumerableInterfacein classEnumerableType
-
canBePrototype
public boolean canBePrototype()- Specified by:
canBePrototypein classJaversType
-
isInstance
- Specified by:
isInstancein classJaversType
-
getRawDehydratedType
Type for JSON representation. For Values it's simply baseJavaType. For ManagedTypes (references to Entities and ValueObjects) it's GlobalId because JaVers serializes references in the 'dehydrated' form. -
getBaseJavaClass
-