Class VirtualMetadataPopulator

java.lang.Object
org.dspace.content.virtual.VirtualMetadataPopulator

public class VirtualMetadataPopulator extends Object
This class is responsible for holding the representation of how a certain relationshipType label has to be translated to the virtual metadata added onto the items that belong to the relationships that these relationshipTypes belong to
  • Constructor Details

    • VirtualMetadataPopulator

      public VirtualMetadataPopulator()
  • Method Details

    • setMap

      Standard setter for the map
      Parameters:
      map - The map to be used in the VirtualMetadataPopulator
    • getMap

      Standard getter for the map
      Returns:
      The map that is used in the VirtualMetadataPopulator
    • isUseForPlaceTrueForRelationshipType

      public boolean isUseForPlaceTrueForRelationshipType(RelationshipType relationshipType, boolean isLeft)
      This method will return a boolean indicating whether the useForPlace is true or false for the given RelationshipType for the left or right type as indicated by the second parameter.
      Parameters:
      relationshipType - The relationshipType for which this should be checked
      isLeft - The boolean indicating whether to check the left or the right type
      Returns:
      A boolean indicating whether the useForPlace is true or not for the given parameters