public class SynchroColumnMetadata extends Object
ColumnMetadata
with some improvements:
getTableName()
;getParentJoin()
as a join metadata: used to synchronize data in
DataSynchroService
;isProtected()
: used by SynchroServiceUtils
for
schemas check.Modifier and Type | Field and Description |
---|---|
protected int |
columnIndex |
protected ColumnMetadata |
delegate |
protected boolean |
isProtected |
protected SynchroJoinMetadata |
parentJoin |
protected String |
tableName |
Constructor and Description |
---|
SynchroColumnMetadata(ColumnMetadata delegate,
String tableName,
int columnIndex,
boolean isProtected) |
SynchroColumnMetadata(SynchroColumnMetadata beanToCopy) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
int |
getColumnSize() |
int |
getDecimalDigits() |
String |
getName() |
String |
getNullable() |
SynchroJoinMetadata |
getParentJoin()
Obtains linked column (for FK only)
This is used to synchronize data in DataSynchroService ; |
String |
getTableName()
Obtains owner table name
|
int |
getTypeCode() |
String |
getTypeName() |
int |
hashCode() |
boolean |
isNullable() |
boolean |
isProtected()
Obtains if a column is protected for data import.
|
void |
setParentJoin(SynchroJoinMetadata parentJoin) |
String |
toString() |
protected final ColumnMetadata delegate
protected final boolean isProtected
protected final int columnIndex
protected SynchroJoinMetadata parentJoin
public SynchroColumnMetadata(ColumnMetadata delegate, String tableName, int columnIndex, boolean isProtected)
public SynchroColumnMetadata(SynchroColumnMetadata beanToCopy)
public boolean isProtected()
SynchroServiceUtils
for schemas check.public String getTableName()
public SynchroJoinMetadata getParentJoin()
DataSynchroService
;SynchroJoinMetadata
public void setParentJoin(SynchroJoinMetadata parentJoin)
public int hashCode()
hashCode
in class Object
Object.hashCode()
public String getTypeName()
ColumnMetadata.getTypeName()
public int getColumnSize()
ColumnMetadata.getColumnSize()
public int getDecimalDigits()
ColumnMetadata.getDecimalDigits()
public String getNullable()
ColumnMetadata.getTypeCode()
public boolean isNullable()
public int getTypeCode()
ColumnMetadata.getTypeCode()
Copyright © 2012–2014 IFREMER. All rights reserved.