Class: Synapse::Serialization::SerializedDomainEventData Abstract
- Inherits:
- 
      Object
      
        - Object
- Synapse::Serialization::SerializedDomainEventData
 
- Defined in:
- lib/synapse/serialization/message/data.rb
Overview
  This class is abstract.
  
Describes the properties that a serialized domain event should have
Direct Known Subclasses
Instance Method Summary collapse
- 
  
    
      #aggregate_id  ⇒ Object 
    
    
  
  
  
  
  
  
  
  
  
    Identifier of the aggregate that the event was applied to. 
- 
  
    
      #id  ⇒ String 
    
    
  
  
  
  
  
  
  
  
  
    Identifier of the serialized event. 
- 
  
    
      #metadata  ⇒ SerializedObject 
    
    
  
  
  
  
  
  
  
  
  
    Serialized metadata of the serialized event. 
- 
  
    
      #payload  ⇒ SerializedObject 
    
    
  
  
  
  
  
  
  
  
  
    Serialized payload of the serialized event. 
- 
  
    
      #sequence_number  ⇒ Integer 
    
    
  
  
  
  
  
  
  
  
  
    Sequence number of the event in the aggregate. 
- 
  
    
      #timestamp  ⇒ Time 
    
    
  
  
  
  
  
  
  
  
  
    Timestamp of the serialized event. 
Instance Method Details
#aggregate_id ⇒ Object
Returns Identifier of the aggregate that the event was applied to.
| 19 | # File 'lib/synapse/serialization/message/data.rb', line 19 def aggregate_id; end | 
#id ⇒ String
Returns Identifier of the serialized event.
| 7 | # File 'lib/synapse/serialization/message/data.rb', line 7 def id; end | 
#metadata ⇒ SerializedObject
Returns Serialized metadata of the serialized event.
| 10 | # File 'lib/synapse/serialization/message/data.rb', line 10 def ; end | 
#payload ⇒ SerializedObject
Returns Serialized payload of the serialized event.
| 13 | # File 'lib/synapse/serialization/message/data.rb', line 13 def payload; end | 
#sequence_number ⇒ Integer
Returns Sequence number of the event in the aggregate.
| 22 | # File 'lib/synapse/serialization/message/data.rb', line 22 def sequence_number; end | 
#timestamp ⇒ Time
Returns Timestamp of the serialized event.
| 16 | # File 'lib/synapse/serialization/message/data.rb', line 16 def ; end |