public class FetchProfile
extends java.lang.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(java.lang.String name,
java.util.Set<FetchProfile.Fetch> fetches)
Create a fetch profile representation.
|
Modifier and Type | Method and Description |
---|---|
void |
addFetch(java.lang.String entity,
java.lang.String association,
java.lang.String style)
Adds a fetch to this profile.
|
java.util.Set<FetchProfile.Fetch> |
getFetches()
Retrieve the fetches associated with this profile
|
java.lang.String |
getName()
Retrieve the name of the fetch profile.
|
public FetchProfile(java.lang.String name, java.util.Set<FetchProfile.Fetch> fetches)
name
- The name of the fetch profile.fetches
- public java.lang.String getName()
public java.util.Set<FetchProfile.Fetch> getFetches()
public void addFetch(java.lang.String entity, java.lang.String association, java.lang.String style)
entity
- The entity which contains the association to be fetchedassociation
- The association to fetchstyle
- The style of fetch t applyCopyright © 2001-2013 Red Hat, Inc. All Rights Reserved.