javax.jdo.metadata
Interface FetchGroupMetadata

All Superinterfaces:
Metadata

public interface FetchGroupMetadata
extends Metadata

Represents a fetch group for a class.

Since:
2.3

Method Summary
 MemberMetadata[] getMembers()
          Accessor for all fields/properties defined on the fetch group.
 java.lang.String getName()
          Accessor for the fetch group name (set on construction).
 int getNumberOfMembers()
          Accessor for the number of fields/properties defined for this fetch group.
 java.lang.Boolean getPostLoad()
          Accessor for whether to call post load for this fetch group
 FieldMetadata newFieldMetadata(java.lang.String name)
          Add a new field for this fetch group.
 PropertyMetadata newPropertyMetadata(java.lang.String name)
          Add a new property for this fetch group
 FetchGroupMetadata setPostLoad(boolean load)
          Method to set whether to call post load with this fetch group
 
Methods inherited from interface javax.jdo.metadata.Metadata
getExtensions, getNumberOfExtensions, getParent, newExtensionMetaData
 

Method Detail

getName

java.lang.String getName()
Accessor for the fetch group name (set on construction).

Returns:
The fetch group name

setPostLoad

FetchGroupMetadata setPostLoad(boolean load)
Method to set whether to call post load with this fetch group

Parameters:
load - Call post load

getPostLoad

java.lang.Boolean getPostLoad()
Accessor for whether to call post load for this fetch group

Returns:
Whether to call post-load

getMembers

MemberMetadata[] getMembers()
Accessor for all fields/properties defined on the fetch group.

Returns:
The members

getNumberOfMembers

int getNumberOfMembers()
Accessor for the number of fields/properties defined for this fetch group.

Returns:
The number of members

newFieldMetadata

FieldMetadata newFieldMetadata(java.lang.String name)
Add a new field for this fetch group.

Parameters:
name - Name of field
Returns:
The FieldMetadata

newPropertyMetadata

PropertyMetadata newPropertyMetadata(java.lang.String name)
Add a new property for this fetch group

Parameters:
name - Name of property
Returns:
The PropertyMetadata


Copyright © 2005-2009 Apache Software Foundation. All Rights Reserved.