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