class AbstractBuilder {

    protected ServiceInformationEntity getServiceInformationEntity(DelegateExecution execution) {
        ServiceInformationEntity serviceInformationEntity = new ServiceInformationEntity();
        serviceInformationEntity.setServiceId((String) execution.getVariable("serviceInstanceId"));
        serviceInformationEntity.setSubscriptionServiceType((String) execution.getVariable("serviceType"));
        serviceInformationEntity.setOnapModelInformation(getOnapServiceModelInformationEntity(execution));
        serviceInformationEntity.setServiceInstanceId((String) execution.getVariable("serviceInstanceId"));
        serviceInformationEntity.setGlobalCustomerId((String) execution.getVariable("globalSubscriberId"));
        return serviceInformationEntity;
    }

}