IHibernateAccessAdapter< T extends DataObject > Interface Reference

List of all members.


Detailed Description

Parameters:
<T>a class or interface which extends DataObject

Public Methods

abstract InputIterator
< Annotation< T > > 
getAllAnnotations (Class< T > clazz, String signalId)
abstract< LextendsDataObject >
InputIterator< Annotation< L > > 
getAnnotations (Class< L > clazz, Range range, Order order)
abstract InputIterator< T > getDataObjects (Class< T > clazz, Range range, Order order)
abstract int getNumberOfAnnotations (Class< T > clazz, Range range)
abstract int getNumberOfAnnotationTypes (Class< T > clazz, Range range)
abstract InputIterator
< Annotation< T > > 
getAnnotationsOfType (Class< T > clazz, Range range, Order order, long typeId)

Package Functions

public< L extends T >
InputIterator< Annotation< L > > 
getAllAnnotations (Class< L > clazz)

Method Details

public<L extends T> InputIterator<Annotation<L> > getAllAnnotations ( Class< L >  clazz) [package]

Returns all annotations which are of type clazz.

Parameters:
clazzthe class to query for (which must not be null)
Returns:
an InputIterator to iterate over the results. Returns never null.
abstract InputIterator<Annotation<T> > getAllAnnotations ( Class< T >  clazz,
String  signalId 
) [pure virtual]

Returns all annotations which are of type clazz and which are assigned to the signalId.

Parameters:
clazzthe class or interface to find, which must not be null.
signalIdthe id of the signal to query. If null, all signals are queried.
Returns:
an InputIterator to iterate over the results. Returns never null.
abstract <LextendsDataObject> InputIterator<Annotation<L> > getAnnotations ( Class< L >  clazz,
Range  range,
Order  order 
) [pure virtual]

Returns all annotations of clazz L as specified by range, filter and order.

Parameters:
<L>any class or interface.
clazzthe class or interface to find, which must not be null.
rangea Range to specify the area to search in. If null, all signals are queried.
filter
orderan Order to sort the returned results. If null, the order of the returned elements is unspecified.
Returns:
an InputIterator to iterate over the results. Returns never null.
abstract InputIterator<Annotation<T> > getAnnotationsOfType ( Class< T >  clazz,
Range  range,
Order  order,
long  typeId 
) [pure virtual]

Returns all annotations which are of class clazz, match the given Range and the given typeId, ordered by Order.

Parameters:
clazzthe class or interface to find, which must not be null.
rangea Range to specify the area to search in. If null, all signals are queried.
orderan Order to sort the returned results. If null, the order of the returned elements is unspecified.
typeIdan id of a type, as returned by Annotation#getTypeId(). Must not be null.
Returns:
an InputIterator to iterate over the results. Returns never null.
abstract InputIterator<T> getDataObjects ( Class< T >  clazz,
Range  range,
Order  order 
) [pure virtual]

Returns all dataobjects of class clazz as specified by range, filter and order.

Parameters:
clazzthe class or interface to find, which must not be null.
rangea Range to specify the area to search in. If null, all signals are queried.
filter
orderan Order to sort the returned results. If null, the order of the returned elements is unspecified.
Returns:
an InputIterator to iterate over the results. Returns never null.
abstract int getNumberOfAnnotations ( Class< T >  clazz,
Range  range 
) [pure virtual]

Returns the number of annotations of type clazz, further specified by range and filter.

Parameters:
clazzthe class or interface to find, which must not be null.
rangea Range to specify the area to search in. If null, all signals are queried.
filter
Returns:
an InputIterator to iterate over the results. Returns never null.
abstract int getNumberOfAnnotationTypes ( Class< T >  clazz,
Range  range 
) [pure virtual]

Returns the number of annotation with unique type ids (as returned by Annotation#getTypeId() specified by clazz, range and filter.

Parameters:
clazzthe class or interface to find, which must not be null.
rangea Range to specify the area to search in. If null, all signals are queried.
filter
Returns:
an InputIterator to iterate over the results. Returns never null.