public class FetchProfile extends Object
FetchProfile| Modifier and Type | Class and Description | 
|---|---|
| static class  | FetchProfile.FetchDefines an individual association fetch within the given profile. | 
| Constructor and Description | 
|---|
| FetchProfile(String name,
            MetadataSource source)Create a fetch profile representation. | 
| Modifier and Type | Method and Description | 
|---|---|
| void | addFetch(String entity,
        String association,
        String style)Adds a fetch to this profile. | 
| boolean | equals(Object o) | 
| LinkedHashSet<FetchProfile.Fetch> | getFetches()Retrieve the fetches associated with this profile | 
| String | getName()Retrieve the name of the fetch profile. | 
| MetadataSource | getSource()Retrieve the fetch profile source. | 
| int | hashCode() | 
public FetchProfile(String name, MetadataSource source)
name - The name of the fetch profile.source - The source of the fetch profile (where was it defined).public String getName()
public MetadataSource getSource()
public LinkedHashSet<FetchProfile.Fetch> getFetches()
public void addFetch(String entity, String association, String style)
entity - The entity which contains the association to be fetchedassociation - The association to fetchstyle - The style of fetch t applyCopyright © 2001-2018 Red Hat, Inc. All Rights Reserved.