Class OrderedMapType

All Implemented Interfaces:
Serializable, AssociationType, Type

public class OrderedMapType extends MapType
A specialization of the map type, with (resultset-based) ordering.
See Also:
  • Constructor Details

    • OrderedMapType

      public OrderedMapType(String role, String propertyRef)
  • Method Details

    • getCollectionClassification

      public CollectionClassification getCollectionClassification()
      Overrides:
      getCollectionClassification in class MapType
    • instantiate

      public Object instantiate(int anticipatedSize)
      Description copied from class: CollectionType
      Instantiate an empty instance of the "underlying" collection (not a wrapper), but with the given anticipated size (i.e. accounting for initial capacity and perhaps load factor).
      Overrides:
      instantiate in class MapType
      Parameters:
      anticipatedSize - The anticipated size of the instantiated collection after we are done populating it.
      Returns:
      A newly instantiated collection to be wrapped.