org.hibernate.annotations.FetchProfile .
org.hibernate.engine.profile.FetchProfile
| Modifier and Type | Class and Description |
|---|---|
| public static class | FetchProfile.Fetch
An individual association fetch within the given profile. |
| Modifier and Type | Field and Description |
|---|---|
| private final LinkedHashSet | |
| private final String | |
| private final MetadataSource |
| Access | Constructor and Description |
|---|---|
| public | FetchProfile(String
The name of the fetch profile. name, MetadataSource The source of the fetch profile (where was it defined). source)Create a fetch profile representation. |
| Modifier and Type | Method and Description |
|---|---|
| public void | addFetch(String
The entity which contains the association to be fetched entity, String The association to fetch association, String The style of fetch to apply style)
Deprecated
for removal. use
Adds a fetch to this profile.
addFetch(Fetch)
|
| public void | |
| public boolean | equals(Object
the reference object with which to compare. o)Overrides java. |
| public LinkedHashSet | Returns: The fetches associated with this profile.Retrieve the fetches associated with this profile |
| public String | |
| public MetadataSource | |
| public int |
| fetches | back to summary |
|---|---|
| private final LinkedHashSet<FetchProfile. | |
| name | back to summary |
|---|---|
| private final String name | |
| source | back to summary |
|---|---|
| private final MetadataSource source | |
| FetchProfile | back to summary |
|---|---|
| public FetchProfile(String name, MetadataSource source) Create a fetch profile representation.
| |
| addFetch | back to summary |
|---|---|
| public void addFetch(String entity, String association, String style)
Adds a fetch to this profile.
| |
| addFetch | back to summary |
|---|---|
| public void addFetch(FetchProfile. Adds a fetch to this profile. | |
| equals | back to summary |
|---|---|
| public boolean equals(Object o) Overrides java. Doc from java. Indicates whether some other object is "equal to" this one.
The
An equivalence relation partitions the elements it operates on into equivalence classes; all the members of an equivalence class are equal to each other. Members of an equivalence class are substitutable for each other, at least for some purposes. | |
| getFetches | back to summary |
|---|---|
| public LinkedHashSet Retrieve the fetches associated with this profile
| |
| getName | back to summary |
|---|---|
| public String getName() Retrieve the name of the fetch profile.
| |
| getSource | back to summary |
|---|---|
| public MetadataSource getSource() Retrieve the fetch profile source.
| |
| hashCode | back to summary |
|---|---|
| public int hashCode() Overrides java. Doc from java. Returns a hash code value for the object. This method is
supported for the benefit of hash tables such as those provided by
The general contract of
| |
| Modifier and Type | Field and Description |
|---|---|
| private final String | |
| private final String | |
| private final FetchMode | |
| private final FetchType |
| Access | Constructor and Description |
|---|---|
| public | |
| public | Fetch(String entity, String association, String style)
Deprecated
for removal. use
FetchProfile.
|
| Modifier and Type | Method and Description |
|---|---|
| private FetchMode | |
| public String | |
| public String | |
| public FetchMode | |
| public String | |
| public FetchType |
| association | back to summary |
|---|---|
| private final String association | |
| entity | back to summary |
|---|---|
| private final String entity | |
| method | back to summary |
|---|---|
| private final FetchMode method | |
| type | back to summary |
|---|---|
| private final FetchType type | |
| Fetch | back to summary |
|---|---|
| public Fetch(String entity, String association, FetchMode method, FetchType type) | |
| Fetch | back to summary |
|---|---|
public Fetch(String entity, String association, String style)
| |
| fetchMode | back to summary |
|---|---|
| private FetchMode fetchMode(String style) | |
| getAssociation | back to summary |
|---|---|
| public String getAssociation() | |
| getEntity | back to summary |
|---|---|
| public String getEntity() | |
| getMethod | back to summary |
|---|---|
| public FetchMode getMethod() | |
| getStyle | back to summary |
|---|---|
public String getStyle()
| |
| getType | back to summary |
|---|---|
| public FetchType getType() | |