Package org.dspace.app.rest.model
Class RelationshipRest
- java.lang.Object
-
- org.dspace.app.rest.model.RestAddressableModel
-
- org.dspace.app.rest.model.BaseObjectRest<Integer>
-
- org.dspace.app.rest.model.RelationshipRest
-
- All Implemented Interfaces:
Serializable,RestModel
public class RelationshipRest extends BaseObjectRest<Integer>
This class acts as the REST representation of the Relationship model class. This class acts as a data holder for the RelationshipResource Refer toRelationshipfor explanation about the properties- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringCATEGORYstatic StringNAME-
Fields inherited from class org.dspace.app.rest.model.BaseObjectRest
id
-
Fields inherited from interface org.dspace.app.rest.model.RestModel
AUTHENTICATION, AUTHORIZATION, CONFIGURATION, CORE, DISCOVER, EPERSON, INTEGRATION, ROOT, STATISTICS, SUBMISSION, SYSTEM, TOOLS, VERSIONING, WORKFLOW
-
-
Constructor Summary
Constructors Constructor Description RelationshipRest()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetCategory()ClassgetController()UUIDgetLeftId()intgetLeftPlace()StringgetLeftwardValue()RelationshipTypeRestgetRelationshipType()UUIDgetRightId()intgetRightPlace()StringgetRightwardValue()StringgetType()voidsetLeftId(UUID leftId)voidsetLeftPlace(int leftPlace)voidsetLeftwardValue(String leftwardValue)voidsetRelationshipType(RelationshipTypeRest relationshipType)voidsetRightId(UUID rightId)voidsetRightPlace(int rightPlace)voidsetRightwardValue(String rightwardValue)-
Methods inherited from class org.dspace.app.rest.model.BaseObjectRest
getErrors, getId, setErrors, setId
-
Methods inherited from class org.dspace.app.rest.model.RestAddressableModel
getEmbedLevel, getProjection, getUniqueType, setEmbedLevel, setProjection
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.dspace.app.rest.model.RestModel
getTypePlural
-
-
-
-
Field Detail
-
NAME
public static final String NAME
- See Also:
- Constant Field Values
-
CATEGORY
public static final String CATEGORY
- See Also:
- Constant Field Values
-
-
Method Detail
-
getType
public String getType()
-
getCategory
public String getCategory()
- Specified by:
getCategoryin classRestAddressableModel
-
getController
public Class getController()
- Specified by:
getControllerin classRestAddressableModel
-
getLeftId
public UUID getLeftId()
-
setLeftId
public void setLeftId(UUID leftId)
-
getRelationshipType
@LinkRest public RelationshipTypeRest getRelationshipType()
-
setRelationshipType
public void setRelationshipType(RelationshipTypeRest relationshipType)
-
getRightId
public UUID getRightId()
-
setRightId
public void setRightId(UUID rightId)
-
getLeftPlace
public int getLeftPlace()
-
setLeftPlace
public void setLeftPlace(int leftPlace)
-
getRightPlace
public int getRightPlace()
-
setRightPlace
public void setRightPlace(int rightPlace)
-
getRightwardValue
public String getRightwardValue()
-
setRightwardValue
public void setRightwardValue(String rightwardValue)
-
getLeftwardValue
public String getLeftwardValue()
-
setLeftwardValue
public void setLeftwardValue(String leftwardValue)
-
-