public interface EntityMap
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
VERSION |
Modifier and Type | Method and Description |
---|---|
void |
addAppendAndMapToMapping(ClipboardEntity clipboardContext,
DataStreamEntity dataStreamContext) |
void |
addMapping(ClipboardEntity clipboardMetadata,
DataStreamEntity dataStreamMetadata)
Associate mapping between a clipboard property and a data stream field (e.g.
|
void |
addMapping(ClipboardEntity clipboardMetadata,
DataStreamEntity dataStreamMetadata,
boolean autoMap)
Associate mapping between a clipboard property and a data stream field (e.g.
|
void |
addUpdateContextMapping(ClipboardEntity clipboardMetadata,
DataStreamEntity dataStreamMetadata)
Associate mapping between a clipboard property and a data stream field and specify that it is an update context mapping.
|
void |
convertPageListToScalarList(ClipboardEntity clipboardMetadata,
java.lang.String aValueProperty)
Specify that a ClipboardProperty containing a PageList should be converted to a scalar array rather than an array of JSON objects.
|
void |
createMultidimensionalArrays(boolean aValue)
Specify whether PageList properties of PageList of SingleValue- pages should be serialized to a multidimensional array
|
ClipboardEntity |
getClipboardEntity(DataStreamEntity aEntity)
Gets the associated ClipboardEntity in the mapping, or null if none exists.
|
DataStreamEntity |
getDataStreamEntity(ClipboardEntity aEntity)
Gets the associated DataStreamEntity in the mapping, or null if none exists.
|
DateFormat |
getDateFormat()
Returns the current DateFormat
|
java.lang.String |
getTopLevelPageListClass()
Returns the top level page list class set by
setTopLevelPageListClass(java.lang.String) |
void |
removeSkippedProperty(java.lang.String aProperty)
Removes the property name from the skip list.
|
void |
setDateFormat(DateFormat dateFormat)
Specify the DateFormat
|
void |
setTopLevelPageListClass(java.lang.String className)
Specify the class name of the page list property to which the top level JSON array needs to be mapped.
|
boolean |
shouldCreateMultidimensionalArrays()
Should PageList properties of PageList of SingleValue- pages should be serialized to a multidimensional array
|
void |
skipProperty(java.lang.String aProperty)
Adds the given property name to the skip list.
|
void addMapping(ClipboardEntity clipboardMetadata, DataStreamEntity dataStreamMetadata)
clipboardMetadata
- dataStreamMetadata
- void addMapping(ClipboardEntity clipboardMetadata, DataStreamEntity dataStreamMetadata, boolean autoMap)
clipboardMetadata
- dataStreamMetadata
- autoMap
- void addUpdateContextMapping(ClipboardEntity clipboardMetadata, DataStreamEntity dataStreamMetadata)
clipboardMetadata
- dataStreamMetadata
- ClipboardEntity getClipboardEntity(DataStreamEntity aEntity) throws java.lang.IllegalArgumentException
aEntity
- the DataStreamEntity associated with the ClipboardEntity in the mappingjava.lang.IllegalArgumentException
- when the DataStreamEntity is not of the correct child classDataStreamEntity getDataStreamEntity(ClipboardEntity aEntity)
aEntity
- the ClipboardEntity associated with the DataStreamEntity in the mappingvoid skipProperty(java.lang.String aProperty)
aProperty
- - the name of the property to skipvoid removeSkippedProperty(java.lang.String aProperty)
aProperty
- - the name of the property to not skipvoid createMultidimensionalArrays(boolean aValue)
aValue
- boolean shouldCreateMultidimensionalArrays()
void convertPageListToScalarList(ClipboardEntity clipboardMetadata, java.lang.String aValueProperty)
clipboardMetadata
- aValueProperty
- void setTopLevelPageListClass(java.lang.String className)
className
- java.lang.String getTopLevelPageListClass()
setTopLevelPageListClass(java.lang.String)
void setDateFormat(DateFormat dateFormat)
dateFormat
- DateFormat getDateFormat()
void addAppendAndMapToMapping(ClipboardEntity clipboardContext, DataStreamEntity dataStreamContext)
Copyright © 2018 Pegasystems Inc. All Rights Reserved.