Class ContainerType

Direct Known Subclasses:
ArrayType, CollectionType

public abstract class ContainerType extends EnumerableType
Collection or Array
  • Method Details

    • getItemJavaType

      public Type getItemJavaType()
    • getItemJaversType

      public JaversType getItemJaversType()
    • getItemClass

      public Class getItemClass()
      never returns null
    • canBePrototype

      public boolean canBePrototype()
      Specified by:
      canBePrototype in class JaversType
    • isInstance

      public boolean isInstance(Object cdo)
      Specified by:
      isInstance in class JaversType
    • getRawDehydratedType

      protected 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 Class getBaseJavaClass()