@Component public class EntityTypeConverter extends Object implements DSpaceConverter<EntityType,EntityTypeRest>
| Constructor and Description |
|---|
EntityTypeConverter() |
| Modifier and Type | Method and Description |
|---|---|
EntityTypeRest |
fromModel(EntityType obj)
This method converts the EntityType model object that is passed along in the params to the
REST representation of this object
|
EntityType |
toModel(EntityTypeRest obj)
This method converts the EntityType REST object that is passed along in the params to the model
representation of this object
|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitconvertpublic EntityTypeRest fromModel(EntityType obj)
fromModel in interface DSpaceConverter<EntityType,EntityTypeRest>obj - The EntityType model object to be convertedpublic EntityType toModel(EntityTypeRest obj)
toModel in interface DSpaceConverter<EntityType,EntityTypeRest>obj - The EntityType REST object to be convertedCopyright © 2019 DuraSpace. All rights reserved.