fluid-api/src/main/java/com/fluidbpm/program/api/vo/user/User.java
@XmlTransient
	public Field getField(String fieldNameParam) {
		if (fieldNameParam == null || fieldNameParam.trim().isEmpty()) {
			return null;
		}

		if (this.userFields == null || this.userFields.isEmpty()) {
			return null;
		}

		String fieldNameParamLower = fieldNameParam.trim().toLowerCase();

		for (Field field : this.userFields) {
			String fieldName = field.getFieldName();
			if (fieldName == null || fieldName.trim().isEmpty()) {
				continue;
			}

			String fieldNameLower = fieldName.trim().toLowerCase();
			if (fieldNameParamLower.equals(fieldNameLower)) {
				return field;
			}
		}

		return null;
	}
@XmlTransient
	public Field getField(String fieldNameParam) {
		if (fieldNameParam == null || fieldNameParam.trim().isEmpty()) {
			return null;
		}

		if (this.userFields == null || this.userFields.isEmpty()) {
			return null;
		}

		String fieldNameParamLower = fieldNameParam.trim().toLowerCase();

		for (Field field : this.userFields) {
			String fieldName = field.getFieldName();
			if (fieldName == null || fieldName.trim().isEmpty()) {
				continue;
			}

			String fieldNameLower = fieldName.trim().toLowerCase();
			if (fieldNameParamLower.equals(fieldNameLower)) {
				return field;
			}
		}

		return null;
	}
@ XmlTransient public Field getField ( String fieldNameParam ) { if ( fieldNameParam == null || fieldNameParam . trim ( ) . isEmpty ( ) ) { return null ; } if ( this . userFields == null || this . userFields . isEmpty ( ) ) { return null ; } String fieldNameParamLower = fieldNameParam . trim ( ) . toLowerCase ( ) ; for ( Field field : this . userFields ) { String fieldName = field . getFieldName ( ) ; if ( fieldName == null || fieldName . trim ( ) . isEmpty ( ) ) { continue ; } String fieldNameLower = fieldName . trim ( ) . toLowerCase ( ) ; if ( fieldNameParamLower . equals ( fieldNameLower ) ) { return field ; } } return null ; }
<p>
Returns the value of the {@code fieldNameParam} requested.

<p>
The {@code fieldNameParam} <b>is not</b> case sensitive.

<p>
A {@code null} will be returned if;
<ul>
<li>{@code fieldNameParam} is {@code null} or empty.</li>
<li>{@code getUserFields()} is {@code null} or empty.</li>
<li>Field is not found by {@code fieldNameParam}.</li>
</ul>

@param fieldNameParam The name of the User Field as in Fluid.

@return The value for the Field as {@code Object}.

@see Field
<p > Returns the value of the { @code fieldNameParam } requested .