@Entity public class AlertTopicListenerEntity extends BaseEntity
Modifier and Type | Class and Description |
---|---|
static class |
AlertTopicListenerEntity.EmbeddableCallback
Embeddable Callback.
|
Constructor and Description |
---|
AlertTopicListenerEntity()
Default constructor used by persistence framework.
|
AlertTopicListenerEntity(UUID uid,
String apId,
String name,
Set<AlertTopicListener.CallBack> callbacks)
Creates an alert topic listener entity.
|
Modifier and Type | Method and Description |
---|---|
String |
appId()
Returns the application contributing the listener.
|
Set<AlertTopicListenerEntity.EmbeddableCallback> |
getCallbacks()
Returns the call back definitions that have been defined for this
listener.
|
String |
name()
Returns the name for the listener.
|
void |
setCallbacks(Set<AlertTopicListener.CallBack> callbacks) |
equals, getId, hashCode, toString
public AlertTopicListenerEntity()
public AlertTopicListenerEntity(UUID uid, String apId, String name, Set<AlertTopicListener.CallBack> callbacks)
uid
- identity.apId
- the application contributing the listener.name
- the name for the listener.callbacks
- callbacks.public String appId()
public String name()
public void setCallbacks(Set<AlertTopicListener.CallBack> callbacks)
public Set<AlertTopicListenerEntity.EmbeddableCallback> getCallbacks()
Copyright © 2015. All Rights Reserved.