public class TransformIdMapperImpl extends Object implements net.di2e.ecdr.api.transform.TransformIdMapper
CDR_ATOM_DDMS_TRANSFORM_ID, CDR_ATOM_DDMS20_TRANSFORM_ID, CDR_ATOM_DDMS41_TRANSFORM_ID, CDR_ATOM_DDMS50_TRANSFORM_ID, CDR_ATOM_TRANSFORM_ID, CDR_ATOM_WITH_PAYLOAD_TRANSFORM_ID, DDMS20_METACARD_TRANSFORM, DDMS41_METACARD_TRANSFORM, DDMS50_METACARD_TRANSFORM, DEFAULT_DDF_ATOM_TRANSFORM_ID, UPDATED_DDF_ATOM_TRANSFORM_ID| Constructor and Description |
|---|
TransformIdMapperImpl()
Creates the initial default mappings which consist of ddf-atom to atom and atom to cdr-atom
|
| Modifier and Type | Method and Description |
|---|---|
String |
getMetacardTransformValue(String value)
Returns the mapped value of the MetacardTransformer, otherwise it just returns the value that was passed into the
method
|
String |
getQueryResponseTransformValue(String value)
Returns the mapped value of the QueryResponseTransformer, otherwise it just returns the value that was passed
into the method
|
protected String |
getValue(Map<String,String> valueMap,
String value,
boolean allowNull) |
void |
setMetacardTransformValues(List<String> values)
Set the MetacardTransformer mapped values to be used by the CDR endpoints.
|
void |
setQueryResponseTransformValues(List<String> values)
Set the QueryResponseTransformer mapped values to be used by the CDR endpoints.
|
protected void |
setValues(List<String> values,
Map<String,String> valueMap) |
public TransformIdMapperImpl()
public String getQueryResponseTransformValue(String value)
getQueryResponseTransformValue in interface net.di2e.ecdr.api.transform.TransformIdMappervalue - - the value to lookup to see if an updated mapped value existspublic void setQueryResponseTransformValues(List<String> values)
values - the list of mapped valuespublic String getMetacardTransformValue(String value)
getMetacardTransformValue in interface net.di2e.ecdr.api.transform.TransformIdMappervalue - - the value to lookup to see if an updated mapped value existspublic void setMetacardTransformValues(List<String> values)
values - the list of mapped valuesCopyright © 2014–2016 Pink Summit, LLC. All rights reserved.