public class FetchProfile extends Object
FetchProfile| Modifier and Type | Class and Description | 
|---|---|
static class  | 
FetchProfile.Fetch
Defines an individual association fetch within the given profile. 
 | 
| Constructor and Description | 
|---|
FetchProfile(String name,
            Set<FetchProfile.Fetch> fetches)
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. 
 | 
Set<FetchProfile.Fetch> | 
getFetches()
Retrieve the fetches associated with this profile 
 | 
String | 
getName()
Retrieve the name of the fetch profile. 
 | 
public FetchProfile(String name, Set<FetchProfile.Fetch> fetches)
name - The name of the fetch profile.fetches - public String getName()
public Set<FetchProfile.Fetch> getFetches()
Copyright © 2001-2015 Red Hat, Inc. All Rights Reserved.