Class ContributionRatingPK

    • Constructor Detail

      • ContributionRatingPK

        public ContributionRatingPK​(String id,
                                    String componentId,
                                    String type)
    • Method Detail

      • getContributionId

        public String getContributionId()
      • getContributionType

        public String getContributionType()
      • setContributionType

        public void setContributionType​(String contributionType)
      • equals

        public boolean equals​(Object other)
        Comparison between two notation primary key. Since various attributes of the both elements can be null, using toString() method to compare the elements avoids to check null cases for each attribute.
        Overrides:
        equals in class ResourceReference
        Parameters:
        other -
        Returns:
        true if other is equals to this reference. False otherwise.
      • toString

        public String toString()
        Description copied from class: WAPrimaryKey
        Converts the contents of the key into a readable String.
        Overrides:
        toString in class WAPrimaryKey
        Returns:
        The string representation of this object