public class FavouriteCollectionOutboundEvent extends PersonalProfileOutboundEvent
| Constructor and Description |
|---|
FavouriteCollectionOutboundEvent()
Default constructor
|
FavouriteCollectionOutboundEvent(CommunityProfileOutboundEventType type,
PersonalProfile bean,
String userId,
String memberGUID,
String memberTypeName)
Event publisher constructor.
|
FavouriteCollectionOutboundEvent(FavouriteCollectionOutboundEvent 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 |
getMemberGUID()
Return the unique identifier for the member that changed.
|
String |
getMemberType()
Return the type name for the member that changed.
|
String |
getUserId()
Return user identity of associated user.
|
int |
hashCode()
Return hash code for this object
|
void |
setMemberGUID(String memberGUID)
Set up the unique identifier for the member that changed.
|
void |
setMemberType(String memberTypeName)
Set up the type name for the member that changed.
|
void |
setUserId(String userId)
Set up the user id of the associated user.
|
String |
toString()
JSON-style toString
|
getPersonalProfile, setPersonalProfilegetEventType, setEventTypegetEventVersionId, setEventVersionIdpublic FavouriteCollectionOutboundEvent()
public FavouriteCollectionOutboundEvent(CommunityProfileOutboundEventType type, PersonalProfile bean, String userId, String memberGUID, String memberTypeName)
type - type of eventbean - object to senduserId - calling usermemberGUID - unique identifier of collection membermemberTypeName - type of collection memberpublic FavouriteCollectionOutboundEvent(FavouriteCollectionOutboundEvent template)
template - object to copypublic String getUserId()
public void setUserId(String userId)
userId - user idpublic String getMemberGUID()
public void setMemberGUID(String memberGUID)
memberGUID - guidpublic String getMemberType()
public void setMemberType(String memberTypeName)
memberTypeName - name of typepublic String toString()
toString in class PersonalProfileOutboundEventpublic boolean equals(Object objectToCompare)
equals in class PersonalProfileOutboundEventobjectToCompare - test objectpublic int hashCode()
hashCode in class PersonalProfileOutboundEventCopyright © 2018–2019 ODPi. All rights reserved.