This class represent the data as it is defined in their metadata.
org.hibernate.engine.profile.FetchProfile
| Modifier and Type | Class and Description |
|---|---|
| public static class | FetchProfile.Fetch
Defines an individual association fetch within the given profile. |
| Modifier and Type | Field and Description |
|---|---|
| private 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 | |
| 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 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. | |
| 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 String |
| Access | Constructor and Description |
|---|---|
| public |
| association | back to summary |
|---|---|
| private final String association | |
| entity | back to summary |
|---|---|
| private final String entity | |
| style | back to summary |
|---|---|
| private final String style | |
| Fetch | back to summary |
|---|---|
| public Fetch(String entity, String association, String style) | |
| getAssociation | back to summary |
|---|---|
| public String getAssociation() | |
| getEntity | back to summary |
|---|---|
| public String getEntity() | |
| getStyle | back to summary |
|---|---|
| public String getStyle() | |