class MsoRequest {

    protected String getProductFamilyNameFromAAI(ServiceInstancesRequest servInsReq) {
        String productFamilyName = null;
        if (servInsReq.getRequestDetails() != null && servInsReq.getRequestDetails().getRequestInfo() != null
                && servInsReq.getRequestDetails().getRequestInfo().getProductFamilyId() != null) {
            org.onap.aai.domain.yang.Service service =
                    aaiDataRet.getService(servInsReq.getRequestDetails().getRequestInfo().getProductFamilyId());
            if (service != null) {
                productFamilyName = service.getServiceDescription();
            }
        }
        return productFamilyName;
    }

}