ides.api.plugin.model
Interface DESEvent

All Superinterfaces:
Annotable, DESElement
All Known Subinterfaces:
SupervisoryEvent

public interface DESEvent
extends DESElement

Defines an abstract event in a discrete-event system.

Author:
Lenko Grigorov

Method Summary
 boolean equals(java.lang.Object o)
          Returns true iff o is of type DESEvent and has the same name as this DESEvent.
 java.lang.String getSymbol()
          Returns the symbol that represents this event in the (local?) alphabet.
 int hashCode()
          Returns an integer for the event which can be used for hashing.
 void setSymbol(java.lang.String symbol)
          Sets the symbol for this event to symbol.
 
Methods inherited from interface ides.api.plugin.model.DESElement
getId, setId
 
Methods inherited from interface ides.api.core.Annotable
getAnnotation, hasAnnotation, removeAnnotation, setAnnotation
 

Method Detail

getSymbol

java.lang.String getSymbol()
Returns the symbol that represents this event in the (local?) alphabet.

Returns:
the symbol that represents this event

setSymbol

void setSymbol(java.lang.String symbol)
Sets the symbol for this event to symbol.

Parameters:
symbol - the symbol to set

equals

boolean equals(java.lang.Object o)
Returns true iff o is of type DESEvent and has the same name as this DESEvent.

Overrides:
equals in class java.lang.Object
Parameters:
o - another object
Returns:
true iff o is of type DESEvent and has the same name as this DESEvent.

hashCode

int hashCode()
Returns an integer for the event which can be used for hashing. If equals(Object) returns true for another DESEvent, the hashCode() methods for the two events have to return the same integer.

Overrides:
hashCode in class java.lang.Object
Returns:
an integer for the event which can be used for hashing