GetTargetRecord Method.
429467
public Record getTargetRecord(Map<String,Object> properties, String strParam)
    {
        String strRecordName = (String)properties.get(strParam);
        Record record = null;
        if ((strRecordName != null) && (strRecordName.length() > 0))
        {
            String strTableName = strRecordName;
            if (strTableName.indexOf('.') != -1)
                strTableName = strTableName.substring(strTableName.lastIndexOf('.') + 1);
            if (this.getRecordOwner() != null)  // Always
                record = (Record)this.getRecordOwner().getRecord(strTableName);
            if (record != null)
                return record;    // Already open
            if (strRecordName.indexOf('.') == -1)
                if (properties.get("package") != null)
                    strRecordName = (String)properties.get("package") + '.' + strRecordName;
            if (strRecordName.indexOf('.') == -1)
            {
                ClassInfo recClassInfo = new ClassInfo(this.getRecordOwner());
                try {
                    recClassInfo.getField(ClassInfo.CLASS_NAME).setString(strRecordName);
                    recClassInfo.setKeyArea(ClassInfo.CLASS_NAME_KEY);
                    if (recClassInfo.seek(null))
                        strRecordName = recClassInfo.getPackageName(null) + '.' + strRecordName;
                } catch (DBException ex) {
                    ex.printStackTrace();
                } finally {
                    recClassInfo.free();
                }
            }
            if (strRecordName.indexOf('.') != -1)
            {
               record = (Record)ClassServiceUtility.getClassService().makeObjectFromClassName(strRecordName);
                if (record != null)
                    record.init(this.findRecordOwner());
            }
        }
        return record;
    }
1361484
private Class getTargetClass(Method setMethod) {
        Class[] params = setMethod.getParameterTypes();
        if (params == null || params.length != 1) {
            throw new BeanMappingException("illegal set method[" + setMethod.getName() + "] for ParameterType");
        }
        return params[0];
    }
1308128
def getRecord(rid, dbid = @dbid, fieldNames = nil)
      rec = nil
      fieldNames ||= getFieldNames(dbid)
      iterateRecords(dbid, fieldNames,"{'3'.EX.'#{rid}'}"){|r| rec = r }
      if block_given?
        yield rec
      else
        rec  
      end        
    end
839236
public String getTarget() {
    if (Link_Type.featOkTst && ((Link_Type)jcasType).casFeat_target == null)
      jcasType.jcas.throwFeatMissing("target", "de.julielab.jules.types.wikipedia.Link");
    return jcasType.ll_cas.ll_getStringValue(addr, ((Link_Type)jcasType).casFeatCode_target);}
622837
private int getTargetObjectShardNumber(String targetObjID) {
        int targetShardNo = 0;
        if (m_invTableDef.isSharded() &&
            m_targetObjShardNos != null &&
            m_targetObjShardNos.containsKey(targetObjID)) {
            targetShardNo = m_targetObjShardNos.get(targetObjID);
        }
        return targetShardNo;
    }
652254
public static function GetTargeRow ($fp, $target_row) {
		if ($fp) {
			$i = 1;
			while ($row = fgets($fp)) {
				if ($i++ == $target_row) {
					return trim($row, "\r\n");
				}
			}
		}
		return false;
	}
1005344
public BaseField getFieldTarget()
    {
        BaseField fldTarget = m_fldTarget;
        if (fldTarget == null)
            if (targetFieldName != null)
                fldTarget = (NumberField)(this.getOwner().getRecord().getField(targetFieldName));
        if (fldTarget == null)
            fldTarget = this.getOwner();
        return fldTarget;
    }
527161
def process_target(self):
        """"""
        if isinstance(self.target, str):
            # Replace single and double quotes with escaped single-quote
            self.target = self.target.replace("'", "\'").replace('"', "\'")
            return "\"{target}\"".format(target=self.target)
        return self.target
295005
public Record getRecord(String strFileName)
    {
        boolean bAddQuotes = false;
        if (strFileName.length() > 0) if (strFileName.charAt(0) == '\"')
            bAddQuotes = true;
        if (this.getTableNames(bAddQuotes).equals(strFileName))
            return this;
        return null;
    }
163287
public Method getTargetMethod(Exchange exchange) {

        Object o = exchange.getBindingOperationInfo().getOperationInfo().getProperty(Method.class.getName());

        if (o != null && o instanceof Method) {
            return (Method)o;
        }
        else {
            throw new RuntimeException("Target method not found on OperationInfo");
        }

    }
745857
private static Integer getTarget(String targetName) {
        if (targetName.equals("resource")) {
            return AttributeDesignator.RESOURCE_TARGET;
        } else if (targetName.equals("subject")) {
            return AttributeDesignator.SUBJECT_TARGET;
        } else if (targetName.equals("environment")) {
            return AttributeDesignator.ENVIRONMENT_TARGET;
        } else if (targetName.equals("action")) {
            return AttributeDesignator.ACTION_TARGET;
        } else {
            return -1;
        }
    }
1223666
public Collection<Project> getTargetedBy(ProjectFilter filter) {
        filter = (filter != null) ? filter : new ProjectFilter();

        filter.targets.clear();
        filter.targets.add(this);
        return getInstance().get().projects(filter);
    }
1040654
@Override
	public void collect(IT record) {
		try {
			this.numRecordsIn.inc();
			this.outputCollector.collect(this.mapper.map(record));
		} catch (Exception ex) {
			throw new ExceptionInChainedStubException(this.taskName, ex);
		}
	}
335065
function getTarget(node) {
  if (node === void 0) {
    return document.body
  }
  if (node === 'body' || node === true) {
    return document.body
  }
  return node instanceof window.Node ? node : document.querySelector(node)
}
794008
public Record getRecord(String strFileName)
    {
        Record record = null;
        if (m_vRecordList != null)
            record = m_vRecordList.getRecord(strFileName);
        if (record == null)
            if (m_taskParent instanceof RecordOwner)
                record = (Record)((RecordOwner)m_taskParent).getRecord(strFileName); // Look thru the parent window now
        return record;  // Look thru the parent window now
    }
1054388
def target(self):
        """"""
        target = self.path or '/'
        if self.query:
            target = '{}?{}'.format(target, self.query)
        return target
1132983
def target(self):
        """"""
        if not self._ptr:
            raise BfdException("BFD not initialized")

        return _bfd.get_bfd_attribute(self._ptr, BfdAttributes.TARGET)