org.outerj.daisy.emailnotifier
Class CollectionSubscriptionKey

java.lang.Object
  extended by org.outerj.daisy.emailnotifier.CollectionSubscriptionKey
All Implemented Interfaces:
java.lang.Comparable

public class CollectionSubscriptionKey
extends java.lang.Object
implements java.lang.Comparable

Identifies a subscription for document in a certain collection belonging to a certain branch/langauge.


Constructor Summary
CollectionSubscriptionKey(long collectionId, long branchId, long languageId)
           
 
Method Summary
 int compareTo(java.lang.Object o)
           
 boolean equals(java.lang.Object obj)
           
 long getBranchId()
           
 long getCollectionId()
           
 long getLanguageId()
           
 int hashCode()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

CollectionSubscriptionKey

public CollectionSubscriptionKey(long collectionId,
                                 long branchId,
                                 long languageId)
Method Detail

getCollectionId

public long getCollectionId()

getBranchId

public long getBranchId()

getLanguageId

public long getLanguageId()

hashCode

public int hashCode()
Overrides:
hashCode in class java.lang.Object

equals

public boolean equals(java.lang.Object obj)
Overrides:
equals in class java.lang.Object

compareTo

public int compareTo(java.lang.Object o)
Specified by:
compareTo in interface java.lang.Comparable


Copyright © -2012 . All Rights Reserved.