Class Event
java.lang.Object
de.hybris.platform.b2ctelcotmfresources.v1.dto.Event
event with common attributes.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddRelatedPartyItem(RelatedParty relatedPartyItem) atBaseType(String atBaseType) atSchemaLocation(String atSchemaLocation) correlationId(String correlationId) description(String description) booleanWhen sub-classing, this defines the super-classA URI to a JSON-Schema file that defines additional attributes and relationshipsWhen sub-classing, this defines the sub-class entity nameThe correlation id for this event.An explnatory of the event.The domain of the event.@Valid ObjectgetEvent()Get eventThe identifier of the notification.@Valid DateTime of the event occurrence.The type of the notification.getHref()Reference of the related entity.A priority.@Valid List<RelatedParty>Get relatedParty@Valid EntityRefGet reportingSystem@Valid EntityRefGet source@Valid DateThe time the event occured.getTitle()The title of the event.inthashCode()relatedParty(List<RelatedParty> relatedParty) reportingSystem(EntityRef reportingSystem) voidsetAtBaseType(String atBaseType) voidsetAtSchemaLocation(String atSchemaLocation) voidvoidsetCorrelationId(String correlationId) voidsetDescription(String description) voidvoidvoidsetEventId(String eventId) voidsetEventTime(Date eventTime) voidsetEventType(String eventType) voidvoidsetPriority(String priority) voidsetRelatedParty(List<RelatedParty> relatedParty) voidsetReportingSystem(EntityRef reportingSystem) voidvoidsetTimeOcurred(Date timeOcurred) voidtimeOcurred(Date timeOcurred) toString()
-
Constructor Details
-
Event
public Event()
-
-
Method Details
-
correlationId
-
getCorrelationId
The correlation id for this event.- Returns:
- correlationId
-
setCorrelationId
-
description
-
getDescription
An explnatory of the event.- Returns:
- description
-
setDescription
-
href
-
getHref
Reference of the related entity.- Returns:
- href
-
setHref
-
domain
-
getDomain
The domain of the event.- Returns:
- domain
-
setDomain
-
eventId
-
getEventId
The identifier of the notification.- Returns:
- eventId
-
setEventId
-
eventTime
-
getEventTime
Time of the event occurrence.- Returns:
- eventTime
-
setEventTime
-
eventType
-
getEventType
The type of the notification.- Returns:
- eventType
-
setEventType
-
priority
-
getPriority
A priority.- Returns:
- priority
-
setPriority
-
timeOcurred
-
getTimeOcurred
The time the event occured.- Returns:
- timeOcurred
-
setTimeOcurred
-
title
-
getTitle
The title of the event.- Returns:
- title
-
setTitle
-
event
-
getEvent
Get event- Returns:
- event
-
setEvent
-
addRelatedPartyItem
-
getRelatedParty
Get relatedParty- Returns:
- relatedParty
-
setRelatedParty
-
reportingSystem
-
getReportingSystem
Get reportingSystem- Returns:
- reportingSystem
-
setReportingSystem
-
source
-
getSource
Get source- Returns:
- source
-
setSource
-
atBaseType
-
getAtBaseType
When sub-classing, this defines the super-class- Returns:
- atBaseType
-
setAtBaseType
-
atSchemaLocation
-
getAtSchemaLocation
A URI to a JSON-Schema file that defines additional attributes and relationships- Returns:
- atSchemaLocation
-
setAtSchemaLocation
-
atType
-
getAtType
When sub-classing, this defines the sub-class entity name- Returns:
- atType
-
setAtType
-
equals
-
hashCode
public int hashCode() -
toString
-