Class MultimapType

    • Constructor Detail

      • MultimapType

        public MultimapType​(java.lang.reflect.Type baseJavaType,
                            TypeMapperLazy typeMapperLazy)
    • Method Detail

      • isEmpty

        public boolean isEmpty​(java.lang.Object container)
        Specified by:
        isEmpty in class EnumerableType
      • map

        public java.lang.Object map​(java.lang.Object sourceEnumerable,
                                    java.util.function.Function mapFunction,
                                    boolean filterNulls)
        Nulls keys are filtered
        Specified by:
        map in class EnumerableType
      • entries

        protected java.util.stream.Stream<java.util.Map.Entry> entries​(java.lang.Object source)
        Specified by:
        entries in class KeyValueType
      • isInstance

        public boolean isInstance​(java.lang.Object cdo)
        Specified by:
        isInstance in class JaversType
      • getRawDehydratedType

        protected java.lang.reflect.Type 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

        public java.lang.Class getBaseJavaClass()