public class MappingField extends Object
A field within a mapping.xml file that defines the relationship between CDEs and the underlying attributes of a local site's DBMS.
.Constructor and Description |
---|
MappingField() |
MappingField(String name,
FieldType type,
String dbName,
String tableName,
String constantValue,
FieldScope scope,
List<MappingFunc> funcs,
boolean string) |
Modifier and Type | Method and Description |
---|---|
String |
getConstantValue() |
String |
getDbName() |
List<MappingFunc> |
getFuncs() |
String |
getLocalName()
If dbname exists and is not empty, it is used as the field name.
|
String |
getName() |
FieldScope |
getScope() |
String |
getTableName() |
FieldType |
getType() |
boolean |
isString() |
void |
setConstantValue(String constantValue) |
void |
setDbName(String dbName) |
void |
setFuncs(List<MappingFunc> funcs) |
void |
setName(String name) |
void |
setScope(FieldScope scope) |
void |
setString(boolean string) |
void |
setTableName(String tableName) |
void |
setType(FieldType type) |
String |
toString() |
public MappingField(String name, FieldType type, String dbName, String tableName, String constantValue, FieldScope scope, List<MappingFunc> funcs, boolean string)
name
- type
- dbName
- tableName
- constantValue
- scope
- funcs
- string
- appendTableName
- public MappingField()
public String getConstantValue()
public void setConstantValue(String constantValue)
constantValue
- the constantValue to setpublic String getDbName()
public void setDbName(String dbName)
dbName
- the dbName to setpublic String getName()
public void setName(String name)
name
- the name to setpublic FieldScope getScope()
public void setScope(FieldScope scope)
scope
- the scope to setpublic String getTableName()
public void setTableName(String tableName)
tableName
- the tableName to setpublic FieldType getType()
public void setType(FieldType type)
type
- the type to setpublic List<MappingFunc> getFuncs()
public void setFuncs(List<MappingFunc> funcs)
funcs
- the funcs to setpublic boolean isString()
public void setString(boolean string)
string
- the string to setpublic String getLocalName()
Copyright © 1999-2015 Apache OODT. All Rights Reserved.