SMILA (incubation) API documentation

org.eclipse.smila.connectivity.framework.impl
Class ImportRunIdHelper

java.lang.Object
  extended by org.eclipse.smila.connectivity.framework.impl.ImportRunIdHelper

public final class ImportRunIdHelper
extends java.lang.Object

Utility class that creates and sets the import run id.


Method Summary
static void setImportRunIdAttribute(Record record, State state)
          Set the import run id attribute on the given record, using the importRunId provided in state.
static void setImportRunIdAttribute(Record record, java.lang.String importRunId)
          Set the given importRunId annotation on the given record.
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Method Detail

setImportRunIdAttribute

public static void setImportRunIdAttribute(Record record,
                                           State state)
Set the import run id attribute on the given record, using the importRunId provided in state. If any of the parameters is null or state does not contain a import run id the method does quietly nothing.

Parameters:
record - the record
state - a State object containing an import run id

setImportRunIdAttribute

public static void setImportRunIdAttribute(Record record,
                                           java.lang.String importRunId)
Set the given importRunId annotation on the given record. If any of the parameters is null or importRunId is an empty String the method does quietly nothing.

Parameters:
record - the record
importRunId - the id of the import run

SMILA (incubation) API documentation