public class CommunityProfileOutboundEvent extends CommunityProfileEventHeader
| Constructor and Description |
|---|
CommunityProfileOutboundEvent()
Default constructor
|
CommunityProfileOutboundEvent(CommunityProfileOutboundEvent template)
Copy/clone constructor
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object objectToCompare)
Return comparison result based on the content of the properties.
|
String |
getClassificationName()
Return the name of the classification that has changed.
|
ElementStub |
getEndOneElement()
Return the element at end one of the relationship that is described in the principleElement.
|
ElementStub |
getEndTwoElement() |
CommunityProfileOutboundEventType |
getEventType()
Return the type of event.
|
long |
getPlateau()
Return the current karma point plateau for this individual.
|
long |
getPointsTotal()
Return the total number of karma points that an individual has achieved.
|
ElementStub |
getPrincipleElement()
Return the element that is the subject of the event.
|
String |
getUserId()
Return user identity of associated user.
|
int |
hashCode()
Return hash code for this object
|
void |
setClassificationName(String classificationName)
Set up the name of the classification that has changed.
|
void |
setEndOneElement(ElementStub endOneElement) |
void |
setEndTwoElement(ElementStub endTwoElement) |
void |
setEventType(CommunityProfileOutboundEventType eventType)
Set up the type of event.
|
void |
setPlateau(long plateau)
Set up the current karma point plateau for this individual.
|
void |
setPointsTotal(long pointsTotal)
Set up the total number of karma points that an individual has achieved.
|
void |
setPrincipleElement(ElementStub principleElement)
Set up the element that is the subject of the event.
|
void |
setUserId(String userId)
Set up the user id of the associated user.
|
String |
toString()
JSON-style toString
|
getEventVersionId, setEventVersionIdpublic CommunityProfileOutboundEvent()
public CommunityProfileOutboundEvent(CommunityProfileOutboundEvent template)
template - object to copypublic CommunityProfileOutboundEventType getEventType()
public void setEventType(CommunityProfileOutboundEventType eventType)
eventType - - event type enumpublic ElementStub getPrincipleElement()
public void setPrincipleElement(ElementStub principleElement)
principleElement - element identifierspublic String getClassificationName()
public void setClassificationName(String classificationName)
classificationName - string namepublic ElementStub getEndOneElement()
public void setEndOneElement(ElementStub endOneElement)
public ElementStub getEndTwoElement()
public void setEndTwoElement(ElementStub endTwoElement)
public String getUserId()
public void setUserId(String userId)
userId - user idpublic long getPointsTotal()
public void setPointsTotal(long pointsTotal)
pointsTotal - longpublic long getPlateau()
public void setPlateau(long plateau)
plateau - longpublic String toString()
toString in class CommunityProfileEventHeaderpublic boolean equals(Object objectToCompare)
equals in class CommunityProfileEventHeaderobjectToCompare - test objectpublic int hashCode()
hashCode in class CommunityProfileEventHeaderCopyright © 2018–2021 LF AI & Data Foundation. All rights reserved.