Package org.javers.core.metamodel.type
Class ContainerType
java.lang.Object
org.javers.core.metamodel.type.JaversType
org.javers.core.metamodel.type.EnumerableType
org.javers.core.metamodel.type.ContainerType
- Direct Known Subclasses:
ArrayType,CollectionType
Collection or Array
-
Field Summary
Fields inherited from class org.javers.core.metamodel.type.JaversType
DEFAULT_TYPE_PARAMETER -
Method Summary
Modifier and TypeMethodDescriptionbooleannever returns nullprotected TypeType for JSON representation.booleanisInstance(Object cdo) Methods inherited from class org.javers.core.metamodel.type.EnumerableType
empty, filterToList, getConcreteClassTypeArguments, getEnumerableInterface, getTypeMapperLazy, isEmpty, items, map, map, map, mapPreservingSourceItemType, spawnConstructorArgs, spawnConstructorArgTypesMethods inherited from class org.javers.core.metamodel.type.JaversType
buildListOfConcreteTypeArguments, equals, equals, getBaseJavaType, getName, hashCode, isGenericType, prettyPrint, prettyPrintBuilder, toString
-
Method Details
-
getItemJavaType
-
getItemJaversType
-
getItemClass
never returns null -
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
-