Class EntityObjectReference

    • Constructor Detail

      • EntityObjectReference

        public EntityObjectReference​(Datastore datastore,
                                     java.lang.Class targetClass,
                                     Key key,
                                     boolean ignoreMissing)
        Creates an object reference
        Parameters:
        datastore - the Datastore to use when fetching this reference
        targetClass - the Class of the referenced item
        key - the Key value
        ignoreMissing - ignore references that don't exist in the database