class BBInputSetup implements JavaDelegate {

    protected void addRelationshipsToSI(org.onap.aai.domain.yang.ServiceInstance serviceInstanceAAI,
            ServiceInstance serviceInstance) throws Exception {
        AAIResultWrapper serviceInstanceWrapper = new AAIResultWrapper(
                new AAICommonObjectMapperProvider().getMapper().writeValueAsString(serviceInstanceAAI));
        Optional<Relationships> relationshipsOp = serviceInstanceWrapper.getRelationships();
        if (relationshipsOp.isPresent()) {
            mapRelationship(serviceInstance, relationshipsOp.get());
        }
    }

}