public class CopyFieldDefinition extends Object implements SchemaDefinition
| Modifier and Type | Field and Description |
|---|---|
protected String |
_destination
The destination field.
|
protected String |
_source
The source field.
|
| Constructor and Description |
|---|
CopyFieldDefinition(Map<String,Object> attributes)
Build a copy field definition from a map of attributes.
|
CopyFieldDefinition(String source,
String destination)
Build a copy field definition.
|
| Modifier and Type | Method and Description |
|---|---|
String |
getDestination()
Get the destination field.
|
String |
getSource()
Get the source field.
|
void |
setDestination(String destination)
Set the destination field.
|
void |
setSource(String source)
Set the source field.
|
protected String _destination
public CopyFieldDefinition(String source, String destination)
source - The source field.destination - The destination field.public CopyFieldDefinition(Map<String,Object> attributes)
attributes - the Map of attributes.public void setSource(String source)
source - the source field.public String getDestination()
public void setDestination(String destination)
destination - the destination field.