com.sas.hls.messaging.subscription
Class SubscribableEvent

java.lang.Object
  extended by com.sas.hls.messaging.subscription.SubscribableEvent
All Implemented Interfaces:
Serializable

public class SubscribableEvent
extends Object
implements Serializable

The client representation of a subscription event

See Also:
Serialized Form

Constructor Summary
SubscribableEvent(String event, boolean isCascadable, boolean cascadeOnly)
          Constructor
 
Method Summary
 boolean equals(Object obj)
          Indicate whether some other object is "equal to" this one.
 String getEvent()
          Gets the subscribable event
 int hashCode()
          Return a hash code value for the object.
 boolean isCascadable()
          Gets whether the event can cascade
 boolean isCascadeOnly()
          Gets whether the event is cascade only
 String toString()
          Return a string representation of the object.
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
 

Constructor Detail

SubscribableEvent

public SubscribableEvent(String event,
                         boolean isCascadable,
                         boolean cascadeOnly)
Constructor

Parameters:
event - The subscribable event
isCascadable - Whether the event can cascade to child items
cascadeOnly - Whether the event is a cascade only event
Method Detail

getEvent

public String getEvent()
Gets the subscribable event

Returns:
The subscribable event

isCascadable

public boolean isCascadable()
Gets whether the event can cascade

Returns:
isCascadable whether the event can cascade

isCascadeOnly

public boolean isCascadeOnly()
Gets whether the event is cascade only

Returns:
cascadeOnly whether the event is cascade only

hashCode

public int hashCode()
Return a hash code value for the object.

Overrides:
hashCode in class Object
See Also:
Object.hashCode()

equals

public boolean equals(Object obj)
Indicate whether some other object is "equal to" this one.

Overrides:
equals in class Object
See Also:
Object.equals(java.lang.Object)

toString

public String toString()
Return a string representation of the object.

Overrides:
toString in class Object
See Also:
Object.toString()


Copyright (c) 2014, SAS Institute Inc., Cary, NC, USA