@Component public class RelationshipTypeConverter extends Object implements DSpaceConverter<RelationshipType,RelationshipTypeRest>
| Constructor and Description |
|---|
RelationshipTypeConverter() |
| Modifier and Type | Method and Description |
|---|---|
RelationshipTypeRest |
fromModel(RelationshipType obj)
This method converts the RelationshipType model object that is passed along in the params to the
REST representation of this object
|
RelationshipType |
toModel(RelationshipTypeRest obj)
This method converts the RelationshipType 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 RelationshipTypeRest fromModel(RelationshipType obj)
fromModel in interface DSpaceConverter<RelationshipType,RelationshipTypeRest>obj - The RelationshipType model object to be convertedpublic RelationshipType toModel(RelationshipTypeRest obj)
toModel in interface DSpaceConverter<RelationshipType,RelationshipTypeRest>obj - The RelationshipType REST object to be convertedCopyright © 2019 DuraSpace. All rights reserved.