Search in sources :

Example 1 with Actions

use of me.panavtec.coordinator.qualifiers.Actions in project Coordinator-java by PaNaVTEC.

the class EnclosingCoordinatorProcessor method processActionsOfCoordinator.

private MappedCoordinator processActionsOfCoordinator(Element e) {
    Actions mappedAnnotation = annotationForElement(e);
    MappedCoordinator mappedCoordinator = new MappedCoordinator();
    mappedCoordinator.setActions(mappedAnnotation.value());
    mappedCoordinator.setCoordinatorId(mappedAnnotation.coordinatorId());
    mappedCoordinator.setCoordinatorField(elementTools.getFieldName(e));
    return mappedCoordinator;
}
Also used : Actions(me.panavtec.coordinator.qualifiers.Actions) MappedCoordinator(me.panavtec.coordinator.compiler.model.MappedCoordinator)

Aggregations

MappedCoordinator (me.panavtec.coordinator.compiler.model.MappedCoordinator)1 Actions (me.panavtec.coordinator.qualifiers.Actions)1