public class EventTypeIdPair
extends java.lang.Object
Preconfigured event types only have a public id. Their public id is derived from the event type name.
All other event types have a public id and protected id. Their public id is derived from the deployment id. Their protected id is derived from the event type name.
Modifier and Type | Field and Description |
---|---|
static EPTypeClass |
EPTYPE
Type information.
|
Constructor and Description |
---|
EventTypeIdPair(long publicId,
long protectedId)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object o) |
long |
getProtectedId()
Returns the protected id
|
long |
getPublicId()
Returns the public id
|
int |
hashCode() |
java.lang.String |
toString() |
static EventTypeIdPair |
unassigned()
Returns an unassigned value that has -1 as the public and protected id
|
public static final EPTypeClass EPTYPE
public EventTypeIdPair(long publicId, long protectedId)
publicId
- public idprotectedId
- protected ifpublic long getPublicId()
public long getProtectedId()
public boolean equals(java.lang.Object o)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public static EventTypeIdPair unassigned()
public java.lang.String toString()
toString
in class java.lang.Object