fluid-api/src/main/java/com/fluidbpm/program/api/vo/field/Field.java
private boolean doesFieldQualifyForElasticSearchInsert()
	{
		//Test Value...
		Field.Type fieldType;
		if(((this.getFieldValue()) == null) ||
				((fieldType = this.getTypeAsEnum()) == null))
		{
			return false;
		}

		//Test the Name...
		if(this.getFieldName() == null ||
				this.getFieldName().trim().isEmpty())
		{
			return false;
		}

		//Confirm the fieldType is supported...
		switch (fieldType){

			case DateTime:
			case Decimal:
			case MultipleChoice:
			case Table:
			case Text:
			case ParagraphText:
			case TrueFalse:
			case TextEncrypted:
				return true;
			default:
				return false;
		}
	}
private boolean doesFieldQualifyForElasticSearchInsert()
	{
		//Test Value...
		Field.Type fieldType;
		if(((this.getFieldValue()) == null) ||
				((fieldType = this.getTypeAsEnum()) == null))
		{
			return false;
		}

		//Test the Name...
		if(this.getFieldName() == null ||
				this.getFieldName().trim().isEmpty())
		{
			return false;
		}

		//Confirm the fieldType is supported...
		switch (fieldType){

			case DateTime:
			case Decimal:
			case MultipleChoice:
			case Table:
			case Text:
			case ParagraphText:
			case TrueFalse:
			case TextEncrypted:
				return true;
			default:
				return false;
		}
	}
private boolean doesFieldQualifyForElasticSearchInsert ( ) { //Test Value... Field . Type fieldType ; if ( ( ( this . getFieldValue ( ) ) == null ) || ( ( fieldType = this . getTypeAsEnum ( ) ) == null ) ) { return false ; } //Test the Name... if ( this . getFieldName ( ) == null || this . getFieldName ( ) . trim ( ) . isEmpty ( ) ) { return false ; } //Confirm the fieldType is supported... switch ( fieldType ) { case DateTime : case Decimal : case MultipleChoice : case Table : case Text : case ParagraphText : case TrueFalse : case TextEncrypted : return true ; default : return false ; } }
Checks whether the provided {@code fieldParam} qualifies for
insert into Elastic Search.

@return Whether the Field Qualifies.
Checks whether the provided { @code fieldParam } qualifies for insert into Elastic Search .