/*! get value of some record's propery

@param name
name of record's property ( name of db field or alias )
@return
value of related property
12100
function get_value($name){
		if (!array_key_exists($name,$this->data)){
			LogMaster::log("Incorrect field name used: ".$name);
			LogMaster::log("data",$this->data);
			return "";
		}
		return $this->data[$name];
	}
1003192
public PropertyData getProperty(String name)
   {
      return properties == null ? null : properties.get(name);
   }
1098505
def get_record(self, name):
        

        result = {}
        result.update(self.records.get(name, {}))
        return result
412656
public String get(String name) {
        Parameter param = parameters.get(name);
        if (param != null)
            return param.value;
        else
            return null;
    }
372107
@Override
    public Object getMember(String name) {
        switch (name) {
            case "schema":
                return F_schema;
            case "clsTag":
                return F_clsTag;
        }
        return super.getMember(name);
    }
112339
public function getRelation($name, $use_alias = false)
    {
        if ($use_alias) {
            foreach ($this->relations as $relation) {
                if (0 === strcasecmp($name, $relation->getName($use_alias))) {
                    return $relation;
                }
            }
        } else {
            $key = strtolower($name);
            if (isset($this->relations[$key])) {
                return $this->relations[$key];
            }
        }

        return null;
    }
367855
public Field getField( String name )
    {
        for (Field field : target.getFields())
        {
            if (compare( field.getName(), name )) return field;
        }
        return null;
    }
216553
@ConfInfo(dontSave = true)
  public String getProperty(final Collection<String> col,
                            final String name) {
    String key = name + "=";
    for (String p: col) {
      if (p.startsWith(key)) {
        return p.substring(key.length());
      }
    }

    return null;
  }
592459
protected Property getProperty(String name) {
    if (!properties.containsKey(name)) {
      properties.put(name, new Property(name));
    }
    return properties.get(name);
  }
133505
public List<V> getValues(String name) {
        List<V> vals = super.get(name);
        if ((vals == null) || vals.isEmpty()) {
            return null;
        }
        return vals;
    }
230526
public function getPropertyValue(string $name) {
		if (isset($this->values[$name])) {
			return $this->values[$name];
		}
		return null;
	}
561122
public final <T extends Property> T getProperty(final String name) {
        return (T) getProperties().getProperty(name);
    }
95553
private function getRelationFromDb($name)
    {
        if (!$this->relationsParser) {
            $this->relationsParser = RelationsParser::parse(get_class($this), new ModelCondition(['model' => get_class($this)]), '*');
        }
        return $this->relationsParser->getForSingleModel($this, $name);
    }
267642
@SuppressWarnings("unchecked")
  public <K extends IncompleteKey> FullEntity<K> getEntity(String name) {
    return ((Value<FullEntity<K>>) getValue(name)).get();
  }
1189559
public function getValue($name) {
    // return pk values as they are parts of the oid
    $mapper = ObjectFactory::getInstance('persistenceFacade')->getMapper($this->getType());
    $pkNames = $mapper->getPkNames();
    for ($i=0, $count=sizeof($pkNames); $i<$count; $i++) {
      if ($name == $pkNames[$i]) {
        $ids = $this->oid->getId();
        return $ids[$i];
      }
    }
    return $this->__call(__FUNCTION__, [$name]);
  }
483967
public JcCollection<JcValue> collectionProperty(String name) {
		JcCollection<JcValue> ret = new JcCollection<JcValue>(name, this, OPERATOR.PropertyContainer.PROPERTY_ACCESS);
		QueryRecorder.recordInvocationConditional(this, "collectionProperty", ret, QueryRecorder.literal(name));
		return ret;
	}
755507
public Field getField(String name) {
    if (fieldMap == null) {
      return null;
    }
    return fieldMap.get(name);
  }