Package | Description |
---|---|
net.sf.mmm.util.transferobject.api |
Provides the API for transfer-objects.
|
net.sf.mmm.util.transferobject.base |
Contains the basic implementation of the transfer-object API.
|
net.sf.mmm.util.value.impl |
Contains the implementation of the
Value-Util API . |
Modifier and Type | Method and Description |
---|---|
<ID,ENTITY extends PersistenceEntity<ID>,TO extends EntityTo<ID>> |
TransferObjectUtil.convertFromEntity(ENTITY entity,
Class<TO> toType)
This method converts the given
PersistenceEntity to the corresponding transfer-object
identified by the given Class . |
<ID,ENTITY extends PersistenceEntity<ID>,TO extends EntityTo<ID>> |
TransferObjectUtil.convertFromEntityList(List<ENTITY> entityList,
Class<TO> toType)
Variant of
TransferObjectUtil.convertFromEntity(PersistenceEntity, Class) for a List . |
<ID,ENTITY extends PersistenceEntity<ID>,TO extends EntityTo<ID>> |
TransferObjectUtil.convertFromEntitySet(Set<ENTITY> entitySet,
Class<TO> toType)
Variant of
TransferObjectUtil.convertFromEntity(PersistenceEntity, Class) for a Set . |
<ID,ENTITY extends PersistenceEntity<ID>,TO extends EntityTo<ID>> |
TransferObjectUtil.convertToEntity(TO transferObject,
Class<ENTITY> entityType)
This method converts the given
ETO to the corresponding PersistenceEntity identified by
the given Class . |
<ID,ENTITY extends PersistenceEntity<ID>,TO extends EntityTo<ID>> |
TransferObjectUtil.convertToEntityList(List<TO> transferObjects,
Class<ENTITY> entityType)
Variant of
TransferObjectUtil.convertToEntity(EntityTo, Class) for a List . |
<ID,ENTITY extends PersistenceEntity<ID>,TO extends EntityTo<ID>> |
TransferObjectUtil.convertToEntitySet(Set<TO> transferObjects,
Class<ENTITY> entityType)
Variant of
TransferObjectUtil.convertToEntity(EntityTo, Class) for a Set . |
Modifier and Type | Method and Description |
---|---|
protected <ID> void |
EntityTo.PersistentEntityAccess.setPersistentEntity(EntityTo<ID> eto,
PersistenceEntity<ID> persistentEntity)
Sets the internal
PersistenceEntity reference of the given EntityTo . |
Modifier and Type | Method and Description |
---|---|
<ID,ENTITY extends PersistenceEntity<ID>,TO extends EntityTo<ID>> |
TransferObjectUtilImpl.convertFromEntity(ENTITY entity,
Class<TO> toType) |
<ID,ENTITY extends PersistenceEntity<ID>,TO extends EntityTo<ID>> |
TransferObjectUtilImpl.convertFromEntityList(List<ENTITY> entityList,
Class<TO> toType) |
<ID,ENTITY extends PersistenceEntity<ID>,TO extends EntityTo<ID>> |
TransferObjectUtilImpl.convertFromEntitySet(Set<ENTITY> entitySet,
Class<TO> toType) |
<ID,ENTITY extends PersistenceEntity<ID>,TO extends EntityTo<ID>> |
TransferObjectUtilImpl.convertToEntity(TO transferObject,
Class<ENTITY> entityType) |
<ID,ENTITY extends PersistenceEntity<ID>,TO extends EntityTo<ID>> |
TransferObjectUtilImpl.convertToEntityList(List<TO> transferObjects,
Class<ENTITY> entityType) |
<ID,ENTITY extends PersistenceEntity<ID>,TO extends EntityTo<ID>> |
TransferObjectUtilImpl.convertToEntitySet(Set<TO> transferObjects,
Class<ENTITY> entityType) |
Modifier and Type | Method and Description |
---|---|
protected <ID> void |
TransferObjectUtilImpl.EtoHelper.setPersistentEntity(EntityTo<ID> eto,
PersistenceEntity<ID> persistentEntity) |
Modifier and Type | Method and Description |
---|---|
<T extends EntityTo> |
ValueConverterEntityToEto.convert(PersistenceEntity value,
Object valueSource,
GenericType<T> targetType) |
Modifier and Type | Method and Description |
---|---|
Class<EntityTo> |
ValueConverterEtoToEntity.getSourceType() |
Class<EntityTo> |
ValueConverterEntityToEto.getTargetType() |
Modifier and Type | Method and Description |
---|---|
protected <ID> void |
ValueConverterEntityToEto.EtoHelper.setPersistentEntity(EntityTo<ID> eto,
PersistenceEntity<ID> persistentEntity) |
Copyright © 2001–2016 mmm-Team. All rights reserved.