@Entity public class Relationship extends Object implements ReloadableEntity<Integer>
| Modifier and Type | Field and Description |
|---|---|
protected Integer |
id
The Integer ID field for this object
This is automatically generated
|
| Modifier | Constructor and Description |
|---|---|
protected |
Relationship()
Protected constructor, create object using:
DSpaceCRUDService.create(Context) } |
| Modifier and Type | Method and Description |
|---|---|
Integer |
getID()
Standard getter for the ID for this Relationship
|
Item |
getLeftItem()
Standard getter for the leftItem field
|
int |
getLeftPlace()
Standard getter for the leftPlace Integer in this Relationship
|
RelationshipType |
getRelationshipType()
Standard getter for the relationshipType field
|
Item |
getRightItem()
Standard getter for the rightItem Item object in this Relationship
|
int |
getRightPlace()
Standard getter for the rightPlace Integer in this Relationship
|
void |
setId(Integer id)
Standard setter for the ID field
|
void |
setLeftItem(Item leftItem)
Standard setter for the leftItem field
|
void |
setLeftPlace(int leftPlace)
Standard setter for the leftPlace Integer in this Relationship
|
void |
setRelationshipType(RelationshipType relationshipType)
Standard setter for the relationshipType field for the Relationship
|
void |
setRightItem(Item rightItem)
Standard setter for the rightItem Item object in this Relationship
|
void |
setRightPlace(int rightPlace)
Standard setter for the rightPlace Integer in this Relationship
|
protected Integer id
protected Relationship()
DSpaceCRUDService.create(Context) }public void setId(Integer id)
id - The ID to be setpublic Item getLeftItem()
public void setLeftItem(Item leftItem)
leftItem - The leftItem Item object that the leftItem field should be set topublic RelationshipType getRelationshipType()
public void setRelationshipType(RelationshipType relationshipType)
relationshipType - The relationshipType that will be set in this Relationshippublic Item getRightItem()
public void setRightItem(Item rightItem)
rightItem - The rightItem Item object that will be used in this relationshippublic int getLeftPlace()
public void setLeftPlace(int leftPlace)
leftPlace - the leftPlace Integer that will be used in this relationshippublic int getRightPlace()
public void setRightPlace(int rightPlace)
rightPlace - the rightPlace Integer that will be used in this relationshippublic Integer getID()
getID in interface ReloadableEntity<Integer>Copyright © 2019 DuraSpace. All rights reserved.