Package org.dspace.content
Class Entity
java.lang.Object
org.dspace.content.Entity
This class represents an Entity object. An Entity object has an Item that it describes with a list
of relationships that it includes as well.
-
Constructor Summary
ConstructorsConstructorDescriptionEntity(Item item, List<Relationship> relationshipList) constructor for the Entity object -
Method Summary
Modifier and TypeMethodDescriptiongetItem()Standard getter for the Item for this Entity objectStandard getter for the list of relationships for the Item in this Entity objectvoidStandard setter for the Item for this Entity objectvoidsetRelationships(List<Relationship> relationships) Standard setter for the list of relationships for the Item in this Entity object
-
Constructor Details
-
Entity
constructor for the Entity object- Parameters:
item- The Item to be included in this Entity object as a propertyrelationshipList- The list of relationships
-
-
Method Details
-
getItem
Standard getter for the Item for this Entity object- Returns:
- The Item that is described in this Entity object
-
setItem
Standard setter for the Item for this Entity object- Parameters:
item- The Item to be set
-
getRelationships
Standard getter for the list of relationships for the Item in this Entity object- Returns:
- the list of relationships
-
setRelationships
Standard setter for the list of relationships for the Item in this Entity object- Parameters:
relationships- The list of relationships to be set
-