public class BaseFieldMapping extends Object implements FieldMapping
Modifier and Type | Field and Description |
---|---|
protected String |
dbName |
protected Object |
defaultValue |
protected String |
description |
protected String |
name |
protected boolean |
readOnly |
protected FieldMappingType |
type |
Constructor and Description |
---|
BaseFieldMapping() |
BaseFieldMapping(String name,
FieldMappingType type,
String dbName) |
Modifier and Type | Method and Description |
---|---|
String |
getDbName() |
Object |
getDefaultValue() |
String |
getDescription() |
String |
getName() |
FieldMappingType |
getType() |
boolean |
isReadOnly() |
void |
setDbName(String dbName) |
void |
setDefaultValue(Object defaultValue) |
void |
setDescription(String description) |
void |
setName(String name) |
void |
setReadOnly(boolean readOnly) |
void |
setType(FieldMappingType type) |
protected String name
protected FieldMappingType type
protected String dbName
protected boolean readOnly
protected Object defaultValue
protected String description
public BaseFieldMapping()
public BaseFieldMapping(String name, FieldMappingType type, String dbName)
public String getName()
getName
in interface FieldMapping
public void setName(String name)
public FieldMappingType getType()
getType
in interface FieldMapping
public void setType(FieldMappingType type)
public String getDbName()
getDbName
in interface FieldMapping
public void setDbName(String dbName)
public boolean isReadOnly()
isReadOnly
in interface FieldMapping
public void setReadOnly(boolean readOnly)
public Object getDefaultValue()
getDefaultValue
in interface FieldMapping
public void setDefaultValue(Object defaultValue)
public String getDescription()
getDescription
in interface FieldMapping
public void setDescription(String description)
Copyright © 2019. All rights reserved.