public interface ColumnEntityConverter
ColumnEntity| Modifier and Type | Method and Description |
|---|---|
ColumnEntity |
toColumn(Object entityInstance)
Converts the instance entity to
ColumnEntity |
<T> T |
toEntity(Class<T> entityClass,
ColumnEntity entity)
Converts a
ColumnEntity to entity |
<T> T |
toEntity(ColumnEntity entity)
Similar to
toEntity(Class, ColumnEntity), but
search the instance type from ColumnEntity.getName() |
<T> T |
toEntity(T entityInstance,
ColumnEntity entity)
Converts a
ColumnEntity to entity
Instead of creating a new object is uses the instance used in this parameters |
ColumnEntity toColumn(Object entityInstance)
ColumnEntityentityInstance - the instnaceColumnEntity instanceNullPointerException - when entityInstance is null<T> T toEntity(Class<T> entityClass, ColumnEntity entity)
ColumnEntity to entityT - the entity typeentityClass - the entity classentity - the ColumnEntity to be convertedColumnEntityNullPointerException - when either entityClass or entity are null<T> T toEntity(T entityInstance,
ColumnEntity entity)
ColumnEntity to entity
Instead of creating a new object is uses the instance used in this parametersT - the entity typeentityInstance - the instanceentity - the ColumnEntity to be convertedColumnEntityNullPointerException - when either entityInstance or entity are null<T> T toEntity(ColumnEntity entity)
toEntity(Class, ColumnEntity), but
search the instance type from ColumnEntity.getName()T - the entity typeentity - the ColumnEntity to be convertedColumnEntityNullPointerException - when entity is nullCopyright © 2017–2022 Eclipse Foundation. All rights reserved.