fluid-api/src/main/java/com/fluidbpm/program/api/vo/field/Field.java
public void setFieldValue(Object fieldValueParam) {
		this.fieldValue = fieldValueParam;

		if(this.getFieldType() == null && fieldValueParam != null)
		{
			//Date...
			if(fieldValueParam instanceof Date)
			{
				this.setTypeAsEnum(Type.DateTime);
			}
			//Number...
			else if(fieldValueParam instanceof Number)
			{
				this.setTypeAsEnum(Type.Decimal);
			}
			//MultiChoice...
			else if(fieldValueParam instanceof MultiChoice)
			{
				this.setTypeAsEnum(Type.MultipleChoice);
			}
			//Table Field...
			else if(fieldValueParam instanceof TableField)
			{
				this.setTypeAsEnum(Type.Table);
			}
			//Text...
			else if(fieldValueParam instanceof String)
			{
				this.setTypeAsEnum(Type.Text);
			}
			//Boolean...
			else if(fieldValueParam instanceof Boolean)
			{
				this.setTypeAsEnum(Type.TrueFalse);
			}
		}
	}
public void setFieldValue(Object fieldValueParam) {
		this.fieldValue = fieldValueParam;

		if(this.getFieldType() == null && fieldValueParam != null)
		{
			//Date...
			if(fieldValueParam instanceof Date)
			{
				this.setTypeAsEnum(Type.DateTime);
			}
			//Number...
			else if(fieldValueParam instanceof Number)
			{
				this.setTypeAsEnum(Type.Decimal);
			}
			//MultiChoice...
			else if(fieldValueParam instanceof MultiChoice)
			{
				this.setTypeAsEnum(Type.MultipleChoice);
			}
			//Table Field...
			else if(fieldValueParam instanceof TableField)
			{
				this.setTypeAsEnum(Type.Table);
			}
			//Text...
			else if(fieldValueParam instanceof String)
			{
				this.setTypeAsEnum(Type.Text);
			}
			//Boolean...
			else if(fieldValueParam instanceof Boolean)
			{
				this.setTypeAsEnum(Type.TrueFalse);
			}
		}
	}
public void setFieldValue ( Object fieldValueParam ) { this . fieldValue = fieldValueParam ; if ( this . getFieldType ( ) == null && fieldValueParam != null ) { //Date... if ( fieldValueParam instanceof Date ) { this . setTypeAsEnum ( Type . DateTime ) ; } //Number... else if ( fieldValueParam instanceof Number ) { this . setTypeAsEnum ( Type . Decimal ) ; } //MultiChoice... else if ( fieldValueParam instanceof MultiChoice ) { this . setTypeAsEnum ( Type . MultipleChoice ) ; } //Table Field... else if ( fieldValueParam instanceof TableField ) { this . setTypeAsEnum ( Type . Table ) ; } //Text... else if ( fieldValueParam instanceof String ) { this . setTypeAsEnum ( Type . Text ) ; } //Boolean... else if ( fieldValueParam instanceof Boolean ) { this . setTypeAsEnum ( Type . TrueFalse ) ; } } }
Sets the value of {@code this} {@code Field}.

@param fieldValueParam The New Field Value.

@see Type
Sets the value of { @code this } { @code Field } .