Allow aggressive loading for grouped collections.

This commit is contained in:
hns 2003-05-12 13:44:05 +00:00
parent c71f632966
commit bd96b7f085

View file

@ -281,7 +281,7 @@ public final class Relation {
}
// aggressive loading and caching is not supported for groupby-nodes
aggressiveLoading = aggressiveCaching = false;
// aggressiveLoading = aggressiveCaching = false;
}
// check if subnode condition should be applied for property relations
@ -352,6 +352,13 @@ public final class Relation {
return isPrivate;
}
/**
* Check whether aggressive loading is set for this relation
*/
public boolean loadAggressively() {
return aggressiveLoading;
}
/**
* Returns the number of constraints for this relation.
*/
@ -425,6 +432,15 @@ public final class Relation {
return columnType;
}
/**
* Get the group for a collection relation, if defined.
*
* @return the name of the column used to group child objects, if any.
*/
public String getGroup() {
return groupby;
}
/**
* Add a constraint to the current list of constraints
*/