Class CommunityProfileOutboundEvent

    • Constructor Detail

      • CommunityProfileOutboundEvent

        public CommunityProfileOutboundEvent()
        Default constructor
      • CommunityProfileOutboundEvent

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

      • getPrincipleElement

        public ElementStub getPrincipleElement()
        Return the element that is the subject of the event.
        Returns:
        element identifiers
      • setPrincipleElement

        public void setPrincipleElement​(ElementStub principleElement)
        Set up the element that is the subject of the event.
        Parameters:
        principleElement - element identifiers
      • getClassificationName

        public String getClassificationName()
        Return the name of the classification that has changed. Only set up for classify, reclassify and declassify events.
        Returns:
        string name
      • setClassificationName

        public void setClassificationName​(String classificationName)
        Set up the name of the classification that has changed. Only set up for classify, reclassify and declassify events.
        Parameters:
        classificationName - string name
      • getEndOneElement

        public ElementStub getEndOneElement()
        Return the element at end one of the relationship that is described in the principleElement. This is only set up on
        Returns:
      • setEndOneElement

        public void setEndOneElement​(ElementStub endOneElement)
      • getEndTwoElement

        public ElementStub getEndTwoElement()
      • setEndTwoElement

        public void setEndTwoElement​(ElementStub endTwoElement)
      • getUserId

        public String getUserId()
        Return user identity of associated user.
        Returns:
        user id
      • setUserId

        public void setUserId​(String userId)
        Set up the user id of the associated user.
        Parameters:
        userId - user id
      • getPointsTotal

        public long getPointsTotal()
        Return the total number of karma points that an individual has achieved.
        Returns:
        long
      • setPointsTotal

        public void setPointsTotal​(long pointsTotal)
        Set up the total number of karma points that an individual has achieved.
        Parameters:
        pointsTotal - long
      • getPlateau

        public long getPlateau()
        Return the current karma point plateau for this individual.
        Returns:
        long
      • setPlateau

        public void setPlateau​(long plateau)
        Set up the current karma point plateau for this individual.
        Parameters:
        plateau - long
      • equals

        public boolean equals​(Object objectToCompare)
        Return comparison result based on the content of the properties.
        Overrides:
        equals in class CommunityProfileEventHeader
        Parameters:
        objectToCompare - test object
        Returns:
        result of comparison