Package ch.ivyteam.ivy.persistence
Interface IGroup<T>
-
- Type Parameters:
T
- the type of the first object in the group
public interface IGroup<T>
A group. Object of that implements this interface are returned by theIClassPersistencyQuery.group(IPersistentTransaction, ch.ivyteam.ivy.persistence.restricted.query.PersistentQuery, int, int, boolean)
method. This interface provides the number of objects that belong to this group. Moreover it provides the first member object of a group as an example of the group objects. User can read the different attributes of the example object to get more information about the group.- Since:
- 15.11.2007
- API:
- This is a public API.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description T
getFirstObjectInGroup()
Gets the first object in a groupint
getNumberOfObjectsInGroup()
Gets the number of objects in a group
-
-
-
Method Detail
-
getFirstObjectInGroup
T getFirstObjectInGroup()
Gets the first object in a group- Returns:
- first object
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
getNumberOfObjectsInGroup
int getNumberOfObjectsInGroup()
Gets the number of objects in a group- Returns:
- number of objects in group
- API:
- This public API is available in IvyScript and Java. It has the visibility NOVICE.
-
-