Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD
 

com.newstep.solid.processor
Class Event
Direct Known Subclasses:
       TestEvent

public class Event      
Event represents the abstraction of the basic unit of processing. For each
application Event is derived to address the events of the respective
domain/application.
 
Links:
Kernel Association Association Link
to Interface MessageOriginator
Associates type:
association
Client cardinality:
1
Client navigability:
NOT NAVIGABLE
Client visibility:
private
Supplier cardinality:
1
Supplier navigability:
NAVIGABLE
Supplier visibility:
protected
 
 

Field Summary
long
long
long
protected long
protected long
protected long
Constructor Summary
public void
Event(Long origId, Long destId)
public void
Method Summary
public long
public long
public long
public void
setDestId(Long destId)
public void
setOrigId(Long origId)
public void
public String
Field Detail
destId
long destId
 

destId
protected long destId
Multiplicity:
1
 

origId
long origId
 

origId
protected long origId
Multiplicity:
1
 

originator
MessageOriginator originator
 

originator
protected MessageOriginator originator
Multiplicity:
1
 

sequence
protected long sequence
Multiplicity:
1
 

sequence
long sequence
 
Constructor Detail
Event
public void Event (Long origId, Long destId)
 
init origination and destination ids
Parameters:
origId
the unique origination id
destId
the unique destination id
Stereotype:
create
 

Event
public void Event ()
 
default constructor
Stereotype:
create
 
Method Detail
getDestId
public long getDestId ()
 
retrieves the unique destination id for this event
Return:
the unique destination id
 

getOrigId
public long getOrigId ()
 
assigns the unique origination id for the event
Return:
the unique origination id
 

getOriginator
public MessageOriginator getOriginator ()
 
Return:
Returns the originator.
 

getSequence
public long getSequence ()
 
retrieve the event sequence value


NOTE:the event sequence is relative to the server not to the
handler and is therefore ordered but not sequencial when considered
within a handler

Return:
the event sequence value
 

setDestId
public void setDestId (Long destId)
 
assigns the unique destination id for the event
Parameters:
destId
the unique destination id
 

setOrigId
public void setOrigId (Long origId)
 
retrieves the unique origination id for the event
Parameters:
origId
the unique origination id
 

setOriginator
public void setOriginator (MessageOriginator originator)
 
Parameters:
originator
The originator to set.
 

toString
public String toString ()
 
 

Class
Tree
          
SUMMARY: INNER | FIELD | CONSTR | METHODDETAIL: FIELD | CONSTR | METHOD