public class EventTypeIdPair extends 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.
Constructor and Description |
---|
EventTypeIdPair(long publicId,
long protectedId)
Ctor.
|
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object o) |
long |
getProtectedId()
Returns the protected id
|
long |
getPublicId()
Returns the public id
|
int |
hashCode() |
String |
toString() |
static EventTypeIdPair |
unassigned()
Returns an unassigned value that has -1 as the public and protected id
|
public EventTypeIdPair(long publicId, long protectedId)
publicId
- public idprotectedId
- protected ifpublic long getPublicId()
public long getProtectedId()
public static EventTypeIdPair unassigned()
Copyright © 2005–2019. All rights reserved.