org.argouml.model.uml
Class EventKey
java.lang.Object
org.argouml.model.uml.EventKey
- class EventKey
- extends Object
Value object class to find the correct eventlistenerlist in the
eventhashmap.
type
private Integer type
name
private String name
EMPTY_KEY
static final EventKey EMPTY_KEY
EventKey
public EventKey(int t,
String n)
EventKey
public EventKey(Integer t,
String n)
- Constructor for the event key.
- Parameters:
t
- The type.n
- The name.
setType
private void setType(int t)
- Parameters:
t
- The new type to set.
getType
public Integer getType()
- Returns:
- The type.
setName
private void setName(String n)
- Parameters:
n
- The new name.
getName
public String getName()
- Returns:
- The name.
hashCode
public int hashCode()
- See Also:
Object.hashCode()
equals
public boolean equals(Object o)
- See Also:
Object.equals(java.lang.Object)