public interface Fetch
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj)
Implementation of the
Object.equals method. |
int |
hashCode()
Implementation of the
Object.hashCode method. |
boolean |
isCriteriaSet()
Indicates whether a criteria has been set on this fetch.
|
void |
retrieveAll()
Retrievals all attributes.
|
void |
retrieveNone()
Retrievals no attributes.
|
String |
toString()
Provides a formatted String representation of this fetch, including all
included detail fetches and criteria.
|
boolean isCriteriaSet()
void retrieveAll()
retrieve
argument set to true.void retrieveNone()
retrieve
argument set to false.boolean equals(Object obj)
Implementation of the Object.equals
method.
Fetch objects are frequently compared when determining whether the result for a navigational query is available. The equals method is used when such a comparison needs to be made.
Fetch.equals() is guaranteed to return false if any of the following conditions hold (other reasons may exist):
int hashCode()
Implementation of the Object.hashCode
method.
This method provides an equals compatable implementation of hashing.
String toString()
Provides a formatted String representation of this fetch, including all included detail fetches and criteria.
The String representation of very large fetch trees can become large itself. A JVM parameter, FETCH_TOSTRING_MAX_LENGTH, limits the maximum length String that a Fetch.toString() call will produce. This parameter defaults to 1 million characters. Truncated Fetch.toString() output ends with a message noting the truncation.
HDR Glossary HDR Concept Lists HDR Exceptions HDR Programmer's Guide HDR Implementation Guide HDR Profile Options
Copyright © 2016, 2018, Oracle. All rights reserved