public class

DateMapping

extends Mapping
java.lang.Object
   ↳ org.mule.module.datapack.mapper.Mapping
     ↳ org.mule.module.datapack.mapper.DateMapping

Class Overview

A DateMapping is a mapping rule specialied for working with transforming date formats

Summary

Constants
String CURRENT_VALUE_PATTERN
[Expand]
Inherited Constants
From class org.mule.module.datapack.mapper.Mapping
Fields
private String dateFormatIn
private String dateFormatOut
[Expand]
Inherited Fields
From class org.mule.module.datapack.mapper.Mapping
Public Constructors
DateMapping()
DateMapping(String sourceColumn, Column destinationColumn, String dateFormatIn, String dateFormatOut)
Public Methods
void evaluate(Map<String, Object> src, Map<String, Object> dest, MuleContext muleContext)
String getDateFormatIn()
String getDateFormatOut()
void setDateFormatIn(String dateFormatIn)
void setDateFormatOut(String dateFormatOut)
[Expand]
Inherited Methods
From class org.mule.module.datapack.mapper.Mapping
From class java.lang.Object

Constants

public static final String CURRENT_VALUE_PATTERN

Constant Value: "#[map-payload:%s]"

Fields

private String dateFormatIn

private String dateFormatOut

Public Constructors

public DateMapping ()

public DateMapping (String sourceColumn, Column destinationColumn, String dateFormatIn, String dateFormatOut)

Parameters
sourceColumn
destinationColumn
dateFormatIn
dateFormatOut

Public Methods

public void evaluate (Map<String, Object> src, Map<String, Object> dest, MuleContext muleContext)

Parameters
src
dest
muleContext
Throws
TransformerException

public String getDateFormatIn ()

public String getDateFormatOut ()

public void setDateFormatIn (String dateFormatIn)

Parameters
dateFormatIn

public void setDateFormatOut (String dateFormatOut)

Parameters
dateFormatOut