サブパラメータを生成する。 パラメータ値がBeanの場合、プロパティ名に対応するフィールド値をパラメータ値とする サブパラメータを作成して返す。

@param propertyName プロパティ名
@return パラメータ
509956
@SuppressWarnings("rawtypes")
	public Parameter createSubParameter(final String propertyName) {
		String subParameterName = parameterName + "." + propertyName;
		Object subValue = null;
		if (value != null) {
			if (value instanceof Map) {
				subValue = ((Map) value).get(propertyName);
				if (subValue == null) {
					LOG.warn("Set subparameter value to NULL because property can not be accessed.[{}]",
							subParameterName);
				}
			} else {
				try {
					// フィールドアクセスで値の取得を実施
					Field field = value.getClass().getDeclaredField(propertyName);
					field.setAccessible(true);
					subValue = field.get(value);
				} catch (NoSuchFieldException e) {
					// メソッドアクセスで値の取得を実施
					try {
						String prefix = boolean.class.equals(value.getClass()) ? "is" : "get";
						Method method = value.getClass()
								.getMethod(prefix + StringUtils.capitalize(propertyName));
						subValue = method.invoke(value);
					} catch (Exception e2) {
						LOG.warn("Set subparameter value to NULL because property can not be accessed.[{}]",
								subParameterName, e2);
					}
				} catch (Exception e) {
					LOG.warn("Set subparameter value to NULL because property can not be accessed.[{}]",
							subParameterName, e);
				}
			}
		}

		return new Parameter(subParameterName, subValue);
	}
340544
@Override
	public Parameter getParam(final String paramName) {
		Parameter param = getBindParameter(paramName);
		if (param == null) {
			Map<String, Parameter> constParams = getConstParameterMap();
			if (constParams != null) {
				param = constParams.get(paramName.toUpperCase());
			}
		}
		return param;
	}
625528
protected function getSourcePropertyName(string $propertyName): string
    {
        return $this->nameResolver->getSourcePropertyName(
            $propertyName,
            $this,
            $this->options
        );
    }
251034
protected String getRootPropertyName(String propertyName) {
		int location = propertyName.indexOf(PROPERTY_KEY_PREFIX);
		return location == -1 ? propertyName : propertyName.substring(0, location);
	}
806086
public String getPropertiesUrl(JobIdentifier jobIdentifier, String propertyName) {
        return format("%s/%s/%s/%s",
                baseRemotingURL, "remoting", "properties", jobIdentifier.propertyLocator(propertyName));
    }
1049619
public String findColumnNameByPropertyName(SQLiteModelMethod method, String propertyName) {
		Set<SQLProperty> propertiesSet = getPropertyBySimpleName(propertyName);
		Set<String> set = new HashSet<String>();
		String result = null;

		for (SQLProperty item : propertiesSet) {
			result = item.columnName;
			set.add(item.columnName);
		}

		AssertKripton.assertTrueOrInvalidMethodSignException(result != null && set.size() == 1, method,
				"in JQL attribute can not translate property %s", propertyName);

		return result;
	}
21013
public static String getContextProperty(Root root, String propertyName) {
        String result = "";
        List<Context> contexts = root.getContexts();
        for (Context context : contexts) {
            String key = context.getKey();
            if (key != null && key.equals(propertyName)) {
                result = (String) context.getValue();
                break;
            }
        }
        return result;
    }
618807
public function getConfigurationFor($propertyName)
    {
        if (isset($this->subConfigurationForProperty[$propertyName])) {
            return $this->subConfigurationForProperty[$propertyName];
        } elseif (isset($this->subConfigurationForProperty[self::PROPERTY_PATH_PLACEHOLDER])) {
            return $this->subConfigurationForProperty[self::PROPERTY_PATH_PLACEHOLDER];
        }

        return new PropertyMappingConfiguration();
    }
1354993
public static function getDbFieldName($propertyName)
    {
        if (!isset(self::$cachedDbFieldNames[$propertyName])) {
            self::$cachedDbFieldNames[$propertyName] = Str::camelToSeparator($propertyName);
        }

        return self::$cachedDbFieldNames[$propertyName];
    }
1272019
public String getValue(String propertyName) {
        Property property = super.get(propertyName);
        if (property == null) {
            return null;
        }
        return property.getValue();
    }
821603
protected String calculatePropertyName(String propertyName) {
        String lastAlias = getLastAlias();
        if (lastAlias != null) {
            return lastAlias +'.'+propertyName;
        }

        return propertyName;
    }
142902
public static String getColumnFromProperty(Class<?> clazz, String propertyName)
   {
      return Introspector.getIntrospected(clazz).getColumnNameForProperty(propertyName);
   }
371513
public String getString(String propertyName) {
        Object obj = get(propertyName);
        return obj != null ? obj.toString() : null;
    }
1345201
public PropertyDescriptor removeProperty(String propertyName) {
        if (propertyName == null) {
            throw new IllegalArgumentException("Property name can not be null");
        }
        for (Iterator iter = properties.iterator(); iter.hasNext();) {
            PropertyDescriptor property = (PropertyDescriptor) iter.next();
            if (propertyName.equals(property.getName())) {
                // remove the property from the list
                iter.remove();
                return property;
            }
        }
        return null;
    }
793074
@Override
	public Set<PropertyKey> getPropertyKeys(final String propertyView) {
		return StructrApp.getConfiguration().getPropertySet(this.getClass(), propertyView);
	}
738298
public function getFieldByPropertyName(string $propertyName): ?FieldMetadataInterface
    {
        foreach ($this->fieldsMetadata as $fieldMetadata) {
            if ($propertyName === $fieldMetadata->getPropertyName()) {
                return $fieldMetadata;
            }
        }

        return null;
    }
331382
protected TypeReference<?> getBeanPropertyType(Class<?> clazz,
			String propertyName, TypeReference<?> originalType) {
		TypeReference<?> propertyDestinationType = null;
		if (beanDestinationPropertyTypeProvider != null) {
			propertyDestinationType = beanDestinationPropertyTypeProvider
					.getPropertyType(clazz, propertyName, originalType);
		}
		if (propertyDestinationType == null) {
			propertyDestinationType = originalType;
		}
		return propertyDestinationType;
	}