Gets the SAS Logical JBOD Attachments client.

        Returns:
            SasLogicalJbodAttachments:
321091
def sas_logical_jbod_attachments(self):
        
        if not self.__sas_logical_jbod_attachments:
            self.__sas_logical_jbod_attachments = SasLogicalJbodAttachments(self.__connection)
        return self.__sas_logical_jbod_attachments
391319
private Node getNode(boolean bDataRoot)
    {
        if (m_data == null)
        {
            DocumentBuilder db = Util.getDocumentBuilder();
            synchronized (db)
            {
                m_data = (Node)db.newDocument();
                String rootTag = ROOT_TAG;
                if (this.getMessageDataDesc(null) != null)
                	if (this.getMessageDataDesc(null).getKey() != null)
                		rootTag = this.getMessageDataDesc(null).getKey();
                ((Document)m_data).appendChild(((Document)m_data).createElement(rootTag));
            }
        }
        if (bDataRoot)
        	if (m_data instanceof Document)
        		return ((Document)m_data).getDocumentElement();
        return (Node)m_data;
    }
207966
def get_attachments(*ids)
      params = {}
      params[:ids] = normalize_ids ids

      ret = @client.call('Bug.attachments',
                         params.merge(exclude_fields: ['data']))
      handle_faults(ret)
      ret['bugs'].map do |_, attachments_data|
        attachments_data.map do |attachment_data|
          Attachment.new(self, @client, attachment_data)
        end
      end.flatten
    end
1055123
def attachments(self):
        

        resource = copy(self)
        resource._url_builder = URLBuilder(self._base_url, self._base_path, '/attachment')

        path = self._api_path.strip('/').split('/')

        if path[0] != 'table':
            raise InvalidUsage('The attachment API can only be used with the table API')

        return Attachment(resource, path[1])
1308328
public String getDataset() {
    if (isReference()) {
      final LibrarySet master = (LibrarySet) getCheckedRef(LibrarySet.class, "LibrarySet");
      return master.getDataset();
    }
    return this.dataset;
  }
464128
function getBinaryName() {
  var binaryName,
    variant,
    platform = process.platform;

  if (getArgument('--sass-binary-name')) {
    binaryName = getArgument('--sass-binary-name');
  } else if (process.env.SASS_BINARY_NAME) {
    binaryName = process.env.SASS_BINARY_NAME;
  } else if (process.env.npm_config_sass_binary_name) {
    binaryName = process.env.npm_config_sass_binary_name;
  } else if (pkg.nodeSassConfig && pkg.nodeSassConfig.binaryName) {
    binaryName = pkg.nodeSassConfig.binaryName;
  } else {
    variant = getPlatformVariant();
    if (variant) {
      platform += '_' + variant;
    }

    binaryName = [
      platform, '-',
      process.arch, '-',
      process.versions.modules
    ].join('');
  }

  return [binaryName, 'binding.node'].join('_');
}
979812
public E attachments(File[] attachments) {
        for (File file : attachments) {
            addBinaryAttachment(file);
        }
        return getThis();
    }
89094
protected String getImgSrcToRender() throws JspException {

		BinaryResourcesHandler binaryRsHandler = (BinaryResourcesHandler) pageContext.getServletContext()
				.getAttribute(JawrConstant.BINARY_CONTEXT_ATTRIBUTE);
		if (null == binaryRsHandler)
			throw new JspException(
					"You are using a Jawr image tag while the Jawr Binary servlet has not been initialized. Initialization of Jawr Image servlet either failed or never occurred.");

		HttpServletResponse response = (HttpServletResponse) pageContext.getResponse();

		HttpServletRequest request = (HttpServletRequest) pageContext.getRequest();

		return ImageTagUtils.getImageUrl(src, base64, binaryRsHandler, request, response);
	}
884537
private List<String> getProvides(IFixInfo iFixInfo, ParserBase.ExtractedFileInformation xmlInfo) throws RepositoryArchiveInvalidEntryException {

        // check for null input
        if (null == iFixInfo) {
            throw new RepositoryArchiveInvalidEntryException("Null document provided", xmlInfo.getSourceArchive(), xmlInfo.getSelectedPathFromArchive());
        }

        Resolves resolves = iFixInfo.getResolves();
        if (null == resolves) {
            throw new RepositoryArchiveInvalidEntryException("Document does not contain a \"resolves\" node", xmlInfo.getSourceArchive(), xmlInfo.getSelectedPathFromArchive());
        }

        // Get child nodes and look for APAR ids
        List<String> retList = new ArrayList<String>();
        List<Problem> problems = resolves.getProblems();
        if (problems != null) {
            for (Problem problem : problems) {
                String displayId = problem.getDisplayId();
                if (null == displayId) {
                    throw new RepositoryArchiveInvalidEntryException("Unexpected null getting APAR id", xmlInfo.getSourceArchive(), xmlInfo.getSelectedPathFromArchive());
                }
                retList.add(displayId);
            }
        }

        return retList;
    }
610083
private static String getPomText(ReleaseId releaseId, ReleaseId... dependencies) {
        String pom = "<?xml version=\"1.0\" encoding=\"UTF-8\"?>\n"
                + "<project xmlns=\"http://maven.apache.org/POM/4.0.0\" xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\"\n"
                + "         xsi:schemaLocation=\"http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd\">\n"
                + "  <modelVersion>4.0.0</modelVersion>\n" 
                + "\n" 
                + "  <groupId>" + releaseId.getGroupId() + "</groupId>\n"
                + "  <artifactId>" + releaseId.getArtifactId() + "</artifactId>\n" 
                + "  <version>" + releaseId.getVersion() + "</version>\n" + "\n";
        
        if (dependencies != null && dependencies.length > 0) {
            pom += "<dependencies>\n";
            for (ReleaseId dep : dependencies) {
                pom += "<dependency>\n";
                pom += "  <groupId>" + dep.getGroupId() + "</groupId>\n";
                pom += "  <artifactId>" + dep.getArtifactId() + "</artifactId>\n";
                pom += "  <version>" + dep.getVersion() + "</version>\n";
                pom += "</dependency>\n";
            }
            pom += "</dependencies>\n";
        }
        
        pom += "</project>";
        
        return pom;
    }
589766
def getrawblob(self, project_id, sha1):
        
        request = requests.get(
            '{0}/{1}/repository/raw_blobs/{2}'.format(self.projects_url, project_id, sha1),
            verify=self.verify_ssl, auth=self.auth, headers=self.headers, timeout=self.timeout)

        if request.status_code == 200:
            return request.content
        else:
            return False
383280
public static JaxRsClientMetaData getJaxWsClientMetaData(ModuleMetaData mmd) {

        JaxRsClientMetaData clientMetaData = null;
        if (mmd != null) {
            if (tc.isDebugEnabled()) {
                Tr.debug(tc, "Getting client metadata from module metadata instance: " + mmd);
            }

            JaxRsModuleMetaData moduleMetaData = (JaxRsModuleMetaData) mmd.getMetaData(jaxrsModuleSlot);
            if (moduleMetaData != null) {
                //clientMetaData = moduleMetaData.getClientMetaData();
            }
        }

        return clientMetaData;
    }
293581
private String getDataSource(Set<Provenance> provenances)
	{
		if(provenances.isEmpty()) return "N/A";
		
		Set<String> dsNames = new TreeSet<String>();
		for (Provenance provenance : provenances)
		{
			String name = provenance.getDisplayName();
			if(name == null) 
				name = provenance.getStandardName();
			if(name == null && !provenance.getName().isEmpty()) 
				name = provenance.getName().iterator().next();
			if (name != null && name.length() > 0)
				dsNames.add(name.toLowerCase());
		}
		
		return StringUtils.join(dsNames, ";");
	}
197709
private static void retrieveManifestData() {
        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.entry(tc, "retrieveManifestData");

        try {
            // Set up the defaults that will be overriden if possible.
            JmsMetaDataImpl.setProblemDefaults();

            Package thisPackage = Package.getPackage(packageName);
            if (thisPackage != null) {

                // This string will contain something like "IBM".
                String tempProv = thisPackage.getImplementationVendor();

                // Only set it if it is not null.
                if (tempProv != null) {
                    JmsMetaDataImpl.provName = tempProv;
                }

                // d336782 rework of build level processing
                //
                // The format for the implementation version will depend on how the jar containing
                // our package was built.
                // The builds of sib.api.jmsImpl.jar will contain something like this:
                // Implementation-Version: WASX.SIB [o0602.101]
                // Implementation-Vendor: IBM Corp.
                // However, the product is build into a larger package com.ibm.ws.sib.server.jar
                // with entries in the manifest like this:
                // Implementation-Version: 1.0.0
                // Implementation-Vendor: IBM Corp.
                //
                // We parse the implementation version and if it has the former format
                // we use that build level, otherwise we will use the build level
                // reported by the BuildInfo class.
                //
                // We will set provVersion to the whole build level string,
                // provMajorVersion to the 4 numbers before the dot (yyww - year and week)
                // and provMinorVersion to the two or three numbers after the dot
                // (build sequence)
                String version = thisPackage.getImplementationVersion();

                if (version != null) {

                    Matcher m = sibOldVersionPattern.matcher(version);

                    if (!(m.matches())) { // is there a valid build level in the version strng?
                        // NO. New format or some unknown format. Use BuildInfo class
                        version = "1.0.0";//BuildInfo.getBuildLevel(); //this will bever be used is the assumption -lohith  //lohith liberty change

                        m = sibBuildLevelPattern.matcher(version); // re-match for just the build level
                    }

                    if (m.matches()) { // check again
                        JmsMetaDataImpl.provVersion = m.group(1); // e.g. wwwdddd.ddd
                        try {
                            JmsMetaDataImpl.provMajorVersion = Integer.valueOf(m.group(2)).intValue();
                            JmsMetaDataImpl.provMinorVersion = Integer.valueOf(m.group(3)).intValue();
                            if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                                SibTr.debug(tc, "provMajorVersion=" + JmsMetaDataImpl.provMajorVersion + "provMinorVersion=" + JmsMetaDataImpl.provMinorVersion);
                        } catch (RuntimeException e2) {
                            // No FFDC code needed
                            // This exception should never happen if the regex worked properly returning numbers for group 2 and 3
                            if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                                SibTr.debug(tc, "Unable to convert major or minor version number from build level " + version + " to int", e2);
                        }
                    }
                    else {
                        if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                            SibTr.debug(tc, "Unable to find a valid build level in " + version);
                    }
                }

                else {
                    if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                        SibTr.debug(tc, "Implementation version from manifest was null");
                }

            }
            else {
                if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                    SibTr.debug(tc, "The package was null - unable to retrieve information");
            } //if package not null

        } catch (RuntimeException e) {
            // No FFDC code needed
            FFDCFilter.processException(e, "com.ibm.ws.sib.api.jms.impl.JmsMetaDataImpl", "retrieveManifestData#1");
            if (TraceComponent.isAnyTracingEnabled() && tc.isDebugEnabled())
                SibTr.debug(tc, "Error retrieving manifest information", e);
        }

        if (TraceComponent.isAnyTracingEnabled() && tc.isEntryEnabled())
            SibTr.exit(tc, "retrieveManifestData");
    }
1186809
private JBossConvergedSipMetaData mergeSipMetaDataAndSipAnnMetaData(final DeploymentUnit deploymentUnit) {
    	final WarMetaData warMetaData = deploymentUnit.getAttachment(WarMetaData.ATTACHMENT_KEY);
        SipMetaData sipMetaData = deploymentUnit.getAttachment(SipMetaData.ATTACHMENT_KEY);
        SipAnnotationMetaData sipAnnotationMetaData = deploymentUnit.getAttachment(SipAnnotationMetaData.ATTACHMENT_KEY);
        
        JBossConvergedSipMetaData mergedMetaData = new JBossConvergedSipMetaData();
        final JBossWebMetaData override = warMetaData.getJBossWebMetaData();
        final WebMetaData original = null;
        JBossWebMetaDataMerger.merge(mergedMetaData, override, original);

        if (sipMetaData == null && sipAnnotationMetaData != null && sipAnnotationMetaData.isSipApplicationAnnotationPresent()) {
            // http://code.google.com/p/sipservlets/issues/detail?id=168
            // When no sip.xml but annotations only, Application is not recognized as SIP App by AS7
            sipMetaData = new Sip11MetaData();
        }
        if (sipMetaData != null) {
	        try {
				augmentAnnotations(mergedMetaData, sipMetaData, sipAnnotationMetaData);
			} catch (ServletException e) {
				logger.error("Error while augmenting annotation: " + e.getMessage(), e);
			}
        } else {
        	logger.debug("Deployment does not consist SIP application.");
        }
        return mergedMetaData;
    }
106857
def get_attached_pipettes(self):
        
        left_data = {
                'mount_axis': 'z',
                'plunger_axis': 'b',
                'model': self.model_by_mount['left']['model'],
                'id': self.model_by_mount['left']['id']
            }
        left_model = left_data.get('model')

        if left_model:
            tip_length = pipette_config.load(
                left_model, left_data['id']).tip_length
            left_data.update({'tip_length': tip_length})

        right_data = {
                'mount_axis': 'a',
                'plunger_axis': 'c',
                'model': self.model_by_mount['right']['model'],
                'id': self.model_by_mount['right']['id']
            }
        right_model = right_data.get('model')
        if right_model:
            tip_length = pipette_config.load(
                right_model, right_data['id']).tip_length
            right_data.update({'tip_length': tip_length})
        return {
            'left': left_data,
            'right': right_data
        }
329483
@Override
	protected byte[] getData(Attributes attributes) {
        byte[] zip = null;
        Map<String, List<String>> filesMap = new HashMap<String, List<String>>();
        Map<String, List<byte[]>> contentsMap = new HashMap<String, List<byte[]>>();

        for (Report report : reports) {
            String folder = report.getName();
            List<String> files = new ArrayList<String>();
            List<byte[]> contents = new ArrayList<byte[]>();

            if (ReportConstants.NEXT.equals(report.getType())) {
                report = NextUtil.restoreImagesName(report);
                NextContent reportContent = (NextContent) report.getContent();
                files.add(reportContent.getNextFile().getName());
                contents.add(reportContent.getNextFile().getDataProvider().getBytes());
                if (reportContent.getImageFiles() != null) {
                    for (JcrFile entry : reportContent.getImageFiles()) {
                        files.add(entry.getName());
                        contents.add(entry.getDataProvider().getBytes());
                    }
                }
				if (reportContent.getTemplateFile() != null) {
					files.add(reportContent.getTemplateFile().getName());
					contents.add(reportContent.getTemplateFile().getDataProvider().getBytes());
				}

            } else {
                report = JasperUtil.restoreImagesName(report);
                report = JasperUtil.restoreSubreportsInMaster(report);

                JasperContent jrc = (JasperContent) report.getContent();
                List<JcrFile> entries = jrc.getJasperFiles();
                for (JcrFile entry : entries) {
                    files.add(entry.getName());
                    contents.add(entry.getDataProvider().getBytes());
                }

                JcrFile paramEntry = jrc.getParametersFile();
                if (paramEntry != null) {
                    files.add(paramEntry.getName());
                    contents.add(paramEntry.getDataProvider().getBytes());
                }

                if (jrc.getImageFiles() != null) {
                    for (JcrFile entry : jrc.getImageFiles()) {
                        files.add(entry.getName());
                        contents.add(entry.getDataProvider().getBytes());
                    }
                }
            }

            if (reports.size() == 1) {
                try {
                    zip = FileUtil.zip(files, contents);
                } catch (IOException e) {
                    e.printStackTrace();
                }
            } else {
                filesMap.put(folder, files);
                contentsMap.put(folder, contents);
            }
        }

        if (reports.size() > 1) {
            try {
                zip = FileUtil.zip(filesMap, contentsMap);
            } catch (IOException e) {
                e.printStackTrace();
            }
        }

        return zip;
    }