Inheritance diagram for HibernateAnnotationFactory:
Collaboration diagram for HibernateAnnotationFactory:Public Methods | |
| HibernateAnnotationFactory (TeslaComponent component) | |
| HibernateAnnotationFactory (int componentId) | |
| abstract< TextendsDataObject > Annotation< T > | newExperimentAnnotation (T dataObject, TypeMapping mapping) |
| abstract< TextendsDataObject > Annotation< T > | newSignalAnnotation (String signalId, T dataObject, TypeMapping mapping) |
| abstract< TextendsDataObject > Annotation< T > | newAnnotation (int left, int right, String signalId, T dataObject, TypeMapping mapping) |
| abstract< TextendsDataObject > Annotation< T > | newAnnotation (Annotation<?extends DataObject > toclone, T data, TypeMapping mapping) |
Protected Methods | |
| int | getTypeId (DataObject object) |
Protected Attributes | |
| Map< DataObject, Integer > | types = new HashMap<DataObject, Integer>() |
Package Functions | |
| public< T extends DataObject > Annotation< T > | newExperimentAnnotation (T dataObject, TypeMapping mapping) |
| public< T extends DataObject > Annotation< T > | newSignalAnnotation (String signalId, T dataObject, TypeMapping mapping) |
| public< T extends DataObject > Annotation< T > | newSignalAnnotation (String signalId, T dataObject, long typeId) |
| public< T extends DataObject > Annotation< T > | newAnnotation (int left, int right, String signalId, T dataObject, TypeMapping mapping) |
| public< T extends DataObject > Annotation< T > | newAnnotation (Annotation<?extends DataObject > toclone, T data, TypeMapping mapping) |
| public< T extends DataObject > Annotation< T > | newAnnotation (int left, int right, String signalId, T dataObject, long typeId) |
| public< T extends DataObject > Annotation< T > | newExperimentAnnotation (T dataObject, long typeId) |
| HibernateAnnotationFactory | ( | TeslaComponent | component | ) |
| HibernateAnnotationFactory | ( | int | componentId | ) |
| int getTypeId | ( | DataObject | object | ) | [protected] |
| public<T extends DataObject> Annotation<T> newAnnotation | ( | int | left, |
| int | right, | ||
| String | signalId, | ||
| T | dataObject, | ||
| TypeMapping | mapping | ||
| ) | [package] |
| abstract <TextendsDataObject> Annotation<T> newAnnotation | ( | int | left, |
| int | right, | ||
| String | signalId, | ||
| T | dataObject, | ||
| TypeMapping | mapping | ||
| ) | [pure virtual, inherited] |
Creates a new annotation, which is anchored to a signal as specified by left, right and signalid.
| <T> | |
| left | |
| right | |
| signalId | |
| dataObject | |
| mapping |
| public<T extends DataObject> Annotation<T> newAnnotation | ( | Annotation<?extends DataObject > | toclone, |
| T | data, | ||
| TypeMapping | mapping | ||
| ) | [package] |
| abstract <TextendsDataObject> Annotation<T> newAnnotation | ( | Annotation<?extends DataObject > | toclone, |
| T | data, | ||
| TypeMapping | mapping | ||
| ) | [pure virtual, inherited] |
Creates a new annotation, which is anchored to the same elements as the parameter toclone is anchored to.
| <T> | |
| toclone | |
| data | |
| mapping |
| public<T extends DataObject> Annotation<T> newAnnotation | ( | int | left, |
| int | right, | ||
| String | signalId, | ||
| T | dataObject, | ||
| long | typeId | ||
| ) | [package, virtual] |
Creates a new annotation with typemapping TypeMapping#SIGNAL_BASED and the typeId as specified by typeId. Useful for instances of ReaderComponentEntity, which cannot let Tesla assign such a typeId, as the signal does not yet exist.
| <T> | |
| left | |
| right | |
| signalId | |
| dataObject | |
| typId |
Implements IAnnotationFactory.
| public<T extends DataObject> Annotation<T> newExperimentAnnotation | ( | T | dataObject, |
| long | typeId | ||
| ) | [package, virtual] |
Implements IAnnotationFactory.
| abstract <TextendsDataObject> Annotation<T> newExperimentAnnotation | ( | T | dataObject, |
| TypeMapping | mapping | ||
| ) | [pure virtual, inherited] |
Creates a new experiment-related annotation, which is not anchored to any signal or range.
| <T> | |
| dataObject | |
| mapping |
| public<T extends DataObject> Annotation<T> newExperimentAnnotation | ( | T | dataObject, |
| TypeMapping | mapping | ||
| ) | [package] |
| public<T extends DataObject> Annotation<T> newSignalAnnotation | ( | String | signalId, |
| T | dataObject, | ||
| TypeMapping | mapping | ||
| ) | [package] |
| public<T extends DataObject> Annotation<T> newSignalAnnotation | ( | String | signalId, |
| T | dataObject, | ||
| long | typeId | ||
| ) | [package, virtual] |
Implements IAnnotationFactory.
| abstract <TextendsDataObject> Annotation<T> newSignalAnnotation | ( | String | signalId, |
| T | dataObject, | ||
| TypeMapping | mapping | ||
| ) | [pure virtual, inherited] |
Creates a new signal-related annotation, which is anchored to the signal, but not to any range. The left and right anchor of the returned annotation are both -1.
| <T> | |
| signalId | |
| dataObject | |
| mapping |
Map<DataObject, Integer> types = new HashMap<DataObject, Integer>() [protected] |