Constructor and Description |
---|
EventType(EventContentType contentType,
EventTopologyType topologyType)
Creates a new instance of this class.
|
Modifier and Type | Method and Description |
---|---|
int |
compareTo(EventType other) |
boolean |
equals(java.lang.Object obj) |
EventContentType |
getContentType() |
EventTopologyType |
getTopologyType() |
int |
hashCode() |
java.lang.String |
toString() |
public EventType(EventContentType contentType, EventTopologyType topologyType)
contentType
- the content typetopologyType
- the topology typejava.lang.NullPointerException
- if contentType
or topologyType
are null
public EventContentType getContentType()
public EventTopologyType getTopologyType()
public int compareTo(EventType other)
compareTo
in interface java.lang.Comparable<EventType>
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public java.lang.String toString()
toString
in class java.lang.Object