Class PersistentObjectMap

    • Field Detail

      • objectMap

        protected Map objectMap
      • mapKeyAccessor

        protected Accessor mapKeyAccessor
    • Constructor Detail

      • PersistentObjectMap

        public PersistentObjectMap​(Persistent relationshipOwner,
                                   String relationshipName,
                                   Accessor mapKeyAccessor)
        Creates PersistentObjectList initializing it with list owner persistent object and relationship name that this list maps to.
        Parameters:
        relationshipOwner - persistent object that owns this list.
        relationshipName - a query used to resolve the list
        mapKeyAccessor - an accessor that can read a map key from an object.