EclipseLink 2.1.0, build 'v20100529-r7411' API Reference

org.eclipse.persistence.queries
Class LoadGroup

java.lang.Object
  extended by org.eclipse.persistence.queries.AttributeGroup
      extended by org.eclipse.persistence.queries.LoadGroup
All Implemented Interfaces:
java.io.Serializable, java.lang.Cloneable

public class LoadGroup
extends AttributeGroup

Purpose: Used to indicate which relationship attributes should be loaded. Accept all kinds of attributes (simple and relationships, eager and lazy), but makes a difference only on not yet instantiated relationships.

See Also:
Serialized Form
Author:
ailitchev
Since:
Eclipselink 2.1

Field Summary
 
Fields inherited from class org.eclipse.persistence.queries.AttributeGroup
items
 
Constructor Summary
LoadGroup()
           
LoadGroup(java.lang.String name)
           
 
Method Summary
 LoadGroup clone()
           
 LoadGroup getGroup(java.lang.String attributeNameOrPath)
          Returns LoadGroup corresponding to the passed (possibly nested) attribute.
 boolean isLoadGroup()
           
 void load(java.lang.Object object, org.eclipse.persistence.internal.sessions.AbstractSession session)
           
 LoadGroup newGroup(java.lang.String name, AttributeGroup parent)
           
 
Methods inherited from class org.eclipse.persistence.queries.AttributeGroup
addAttribute, addAttribute, addAttributes, containsAttribute, convert, equals, getAttributeNames, getItem, getItems, getName, hasItems, isFetchGroup, isSupersetOf, newItem, removeAttribute, setAttributeNames, setName, toFetchGroup, toLoadGroup, toString, toStringAdditionalInfo, toStringItems, toStringPath
 
Methods inherited from class java.lang.Object
finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

LoadGroup

public LoadGroup()

LoadGroup

public LoadGroup(java.lang.String name)
Method Detail

newGroup

public LoadGroup newGroup(java.lang.String name,
                          AttributeGroup parent)
Overrides:
newGroup in class AttributeGroup

isLoadGroup

public boolean isLoadGroup()
Overrides:
isLoadGroup in class AttributeGroup

load

public void load(java.lang.Object object,
                 org.eclipse.persistence.internal.sessions.AbstractSession session)

clone

public LoadGroup clone()
Overrides:
clone in class AttributeGroup

getGroup

public LoadGroup getGroup(java.lang.String attributeNameOrPath)
Returns LoadGroup corresponding to the passed (possibly nested) attribute.

Overrides:
getGroup in class AttributeGroup

EclipseLink 2.1.0, build 'v20100529-r7411' API Reference