public class UserDefinedFieldMap extends Object
Constructor and Description |
---|
UserDefinedFieldMap(ProjectFile file,
List<FieldType> targetFieldList)
Constructor.
|
Modifier and Type | Method and Description |
---|---|
FieldType |
generateMapping(FieldType source)
Generate a mapping for a source field.
|
FieldType |
getSource(FieldType target)
Given a target field, determine which field is being used as its source.
|
FieldType |
getTarget(FieldType source)
Given a source field, return the target field it should be mapped to.
|
public UserDefinedFieldMap(ProjectFile file, List<FieldType> targetFieldList)
file
- parent projecttargetFieldList
- list of custom fields we could potentially map user defined fields topublic FieldType getTarget(FieldType source)
source
- source fieldpublic FieldType getSource(FieldType target)
target
- target fieldCopyright © 2000–2024 Packwood Software. All rights reserved.