Home > Cloud Cruiser 3 > Batch XML Reference > Filters > IdentifierNotEmptyCondition

IdentifierNotEmptyCondition

Table of contents
No headers

Filter condition that checks if the value of a particular identifier contains a non-whitespace character. The evaluation is case sensitive.

Class

<bean class=”com.cloudcruiser.batch.filter.IdentifierNotEmptyCondition”>

Properties

<property name="identifierName" value="identifierName
" />

Specifies the name of identifier that must contain a value in a record in order for this condition to be met. This returns false if the identifier is missing. So if the filter is negated, an empty or missing value will return true.

Spring Batch Example

<bean class="com.cloudcruiser.batch.transform.CreateIdentifierFromIdentifier">
  <property name="filter">
    <bean class="com.cloudcruiser.batch.filter.IdentifierNotEmptyCondition">
      <property name="identifierName" value="CustomerLastName" />
    </bean>
  </property>
  <property name="targetIdentifier" value="CustomerName" />
  <property name="inputIdentifiers">
    <list>
      <bean class="com.cloudcruiser.batch.transform.InputIdentifier">
        <property name="name" value="CustomerFirstName" />
      </bean>
      <bean class="com.cloudcruiser.batch.transform.InputIdentifier">
        <property name="name" value="CustomerLastName" />
        <property name="prefix" value=" " />
      </bean>
    </list>
  </property>
</bean>
Last modified

Tags

This page has no custom tags.

Classifications

This page has no classifications.
© Copyright 2018 Hewlett Packard Enterprise Development LP