Class FetchProfile

    • Constructor Detail

      • FetchProfile

        public FetchProfile​(String name,
                            MetadataSource source)
        Create a fetch profile representation.
        name - The name of the fetch profile.
        source - The source of the fetch profile (where was it defined).
    • Method Detail

      • getName

        public String getName()
        Retrieve the name of the fetch profile.
        The profile name
      • getSource

        public MetadataSource getSource()
        Retrieve the fetch profile source.
        The profile source.
      • getFetches

        public LinkedHashSet<FetchProfile.Fetch> getFetches()
        Retrieve the fetches associated with this profile
        The fetches associated with this profile.
      • addFetch

        public void addFetch​(String entity,
                             String association,
                             String style)
        Deprecated, for removal: This API element is subject to removal in a future version.
        Adds a fetch to this profile.
        entity - The entity which contains the association to be fetched
        association - The association to fetch
        style - The style of fetch to apply
      • addFetch

        public void addFetch​(FetchProfile.Fetch fetch)
        Adds a fetch to this profile.
      • hashCode

        public int hashCode()
        hashCode in class Object