Object linkValue = rh.getRelationValue();
if (linkName != null && linkValue != null) {
if (metaModel.getEmbeddables(metadata.getEntityClazz()).isEmpty()) {
if (metadata.isCounterColumnType()) {
CounterColumn col = populateCounterFkey(linkName, linkValue);
tf.addCounterColumn(col);
} else {
Column col = populateFkey(linkName, linkValue, timestamp);
tf.addColumn(col);
}
} else {
if (metadata.isCounterColumnType()) {
CounterSuperColumn counterSuperColumn = new CounterSuperColumn();
counterSuperColumn.setName(linkName.getBytes());
CounterColumn column = populateCounterFkey(linkName, linkValue);
counterSuperColumn.addToColumns(column);
tf.addCounterSuperColumn(counterSuperColumn);
} else {
SuperColumn superColumn = new SuperColumn();
superColumn.setName(linkName.getBytes());