public class FieldMapping
extends Object
Constructor and Description |
---|
FieldMapping() |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getDestination()
Get the destination name
|
Integer |
getDestLevel()
Gets the destination nest level.
|
Boolean |
getExclude()
Check if should be exclude from the destination
|
String |
getFormula()
Get the custom formula
|
String |
getFormulaType()
Get the formula type
|
String |
getFullyQualifiedDestination()
Gets the fully qualified destination name.
|
String |
getFullyQualifiedSource()
Gets the fully qualified source name.
|
Boolean |
getInclude()
Check if should be added to the destination
|
String |
getJavaType()
Get the java.sql.Type type
|
Integer |
getLevel()
Get the source field nestinnes level
|
Boolean |
getNullable()
Check if the destination field is nullable
|
String |
getSource()
Get the source name
|
String |
getSqlType()
Get the database specific sql data type
|
int |
hashCode() |
void |
setDestination(String destination)
Sets the destination name
|
void |
setDestLevel(Integer destLevel)
Sets the destination nest level.
|
void |
setExclude(Boolean exclude)
Sets the exclude from the destination flag
|
void |
setFormula(String formula)
Sets the formula
|
void |
setFormulaType(String formulaType)
Sets the formula type
|
void |
setFullyQualifiedDestination(String fullyQualifiedDestination)
Sets the fully qualified destination name.
|
void |
setFullyQualifiedSource(String fullyQualifiedSource)
Sets the fully qualified source name.
|
void |
setInclude(Boolean include)
Sets the add to the destination flag
|
void |
setJavaType(String javaType)
Sets the java.sql.Type type
|
void |
setLevel(Integer level)
Sets the source field nestiness level
|
void |
setNullable(Boolean nullable)
Sets the destination is nullable flag
|
void |
setSource(String source)
Sets the source name
|
void |
setSqlType(String sqlType)
Sets the database specific sql data type
|
void |
updateField(FieldDef field,
FieldDef original)
Update field.
|
public String getSource()
public String getDestination()
public Boolean getExclude()
public Boolean getInclude()
public String getFormula()
public String getFormulaType()
public Integer getLevel()
public String getJavaType()
public String getSqlType()
public Boolean getNullable()
public void setSource(String source)
source
- the new source namepublic void setDestination(String destination)
destination
- the new destination namepublic void setExclude(Boolean exclude)
exclude
- the new exclude from the destination flagpublic void setInclude(Boolean include)
include
- the new add to the destination flagpublic void setFormula(String formula)
formula
- the new formulapublic void setFormulaType(String formulaType)
formulaType
- the new formula typepublic void setLevel(Integer level)
level
- the new source field nestiness levelpublic void setJavaType(String javaType)
javaType
- the new java.sql.Type typepublic void setSqlType(String sqlType)
sqlType
- the new database specific data typepublic void setNullable(Boolean nullable)
nullable
- the new nullable flagpublic int hashCode()
hashCode
in class Object
public boolean equals(Object obj)
equals
in class Object
public Integer getDestLevel()
public void setDestLevel(Integer destLevel)
destLevel
- integerpublic String getFullyQualifiedSource()
public void setFullyQualifiedSource(String fullyQualifiedSource)
fullyQualifiedSource
- Stringpublic String getFullyQualifiedDestination()
public void setFullyQualifiedDestination(String fullyQualifiedDestination)
fullyQualifiedDestination
- StringCopyright © 2010-2020 Toolsverse. All Rights Reserved.