Class AssetFeedback

    • Constructor Detail

      • AssetFeedback

        protected AssetFeedback()
        Simple constructor only for subclasses
      • AssetFeedback

        public AssetFeedback​(InformalTags informalTags,
                             Likes likes,
                             Ratings ratings,
                             Comments comments)
        Typical Constructor
        Parameters:
        informalTags - list of tags for the asset.
        likes - list of likes (one object per person liking the asset) for the asset.
        ratings - list of ratings that people have given the asset one Rating object for each person's rating.
        comments - list of comments for the asset.
      • AssetFeedback

        public AssetFeedback​(AssetFeedback templateFeedback)
        Copy/clone constructor.
        Parameters:
        templateFeedback - template object to copy.
    • Method Detail

      • getInformalTags

        public InformalTags getInformalTags()
        Returns a copy of the information tags for the asset in an iterator. This iterator can be used to step through the tags once. Therefore call getInformalTags() for each scan of the asset's tags.
        Returns:
        InformalTags tag list
      • getLikes

        public Likes getLikes()
        Returns a copy of the likes for the asset in an iterator. This iterator can be used to step through the list of like once. Therefore call getLikes() for each scan of the asset's like objects.
        Returns:
        Likes like object list
      • getRatings

        public Ratings getRatings()
        Returns a copy of the ratings for the asset in an iterator. This iterator can be used to step through the ratings once. Therefore call getRatings() for each scan of the asset's ratings.
        Returns:
        Ratings rating list
      • getComments

        public Comments getComments()
        Returns a copy of the comments for the asset in an iterator. This iterator can be used to step through the comments once. Therefore, call getComments() for each scan of the asset's comments.
        Returns:
        Comments comment list
      • toString

        public java.lang.String toString()
        Standard toString method.
        Overrides:
        toString in class java.lang.Object
        Returns:
        print out of variables in a JSON-style
      • equals

        public boolean equals​(java.lang.Object objectToCompare)
        Compare the values of the supplied object with those stored in the current object.
        Overrides:
        equals in class AssetPropertyElementBase
        Parameters:
        objectToCompare - supplied object
        Returns:
        boolean result of comparison