class AssociationPropertyReader extends BasePropertyReader implements EdgePropertyReader {

    public Class<? extends org.kie.workbench.common.stunner.bpmn.definition.Association> getAssociationByDirection() {
        return Optional.ofNullable(association.getAssociationDirection())
                .filter(d -> !AssociationDirection.NONE.equals(d))
                .<Class<? extends org.kie.workbench.common.stunner.bpmn.definition.Association>>map(d -> DirectionalAssociation.class)
                .orElse(NonDirectionalAssociation.class);
    }

    public  AssociationPropertyReader(Association association,
                                     BPMNDiagram diagram,
                                     DefinitionResolver definitionResolver);

}