Class MatchItem


  • public class MatchItem
    extends Object
    Encapsulate one matching search item
    • Constructor Detail

      • MatchItem

        public MatchItem()
        Constructor
    • Method Detail

      • getDatabase

        public String getDatabase()
        Fetch the Asset "origin database"
        Returns:
        The database name (eg EAP)
      • setDatabase

        public void setDatabase​(String database)
        Set the Asset "origin database"
        Parameters:
        database - The database this record was found in
      • getDisplayName

        public String getDisplayName()
        Fetch the Asset "display name"
        Returns:
        Display name text
      • setDisplayName

        public void setDisplayName​(String displayName)
        Set the Asset "display name"
        Parameters:
        displayName - Display name text
      • getDescription

        public String getDescription()
        Fetch additional descriptive text
        Returns:
        Additional text
      • setDescription

        public void setDescription​(String text)
        Set description text
        Parameters:
        text - Description text
      • getId

        public String getId()
        Fetch the Asset ID
        Returns:
        ID text
      • setId

        public void setId​(String id)
        Set the ID
        Parameters:
        id - ID text
      • addPartStructure

        public void addPartStructure​(org.osid.shared.Id partStructureId,
                                     Serializable value)
        Add an additional PartStructure too the list
        Parameters:
        partStructureId - The PartStructure Id to add
        value - PartStructure value
      • partPairIterator

        public Iterator partPairIterator()
        Get an interator for the PartStructureId list (PartPair objects)
        Returns:
        PartStructure list Iterator
      • getOpenUrl

        public String getOpenUrl()
        Fetch the OpenURL generated at search time
        Returns:
        The generated OpenURL
      • setOpenUrl

        public void setOpenUrl​(String url)
        Save the OpenUrl discovered at search time
        Parameters:
        url - URL string