Daisy Open Source CMS

org.outerj.daisy.navigation
Class LookupAlternative

java.lang.Object
  extended by org.outerj.daisy.navigation.LookupAlternative
All Implemented Interfaces:
Comparable

public class LookupAlternative
extends Object
implements Comparable


Constructor Summary
LookupAlternative(String name, long collectionId, VariantKey navigationDoc)
           
LookupAlternative(String name, long collectionId, VariantKey navigationDoc, NavigationVersionMode versionMode)
           
 
Method Summary
 int compareTo(Object o)
           
 long getCollectionId()
           
 String getName()
           
 VariantKey getNavigationDoc()
           
 NavigationVersionMode getVersionMode()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

LookupAlternative

public LookupAlternative(String name,
                         long collectionId,
                         VariantKey navigationDoc,
                         NavigationVersionMode versionMode)
Parameters:
name - a name that identifies this lookup alternative
collectionId - the collection this lookup alternative is associated with
navigationDoc - the navigation doc for this lookup alternative

LookupAlternative

public LookupAlternative(String name,
                         long collectionId,
                         VariantKey navigationDoc)
Method Detail

getName

public String getName()

getCollectionId

public long getCollectionId()

getNavigationDoc

public VariantKey getNavigationDoc()

getVersionMode

public NavigationVersionMode getVersionMode()

compareTo

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

Daisy Open Source CMS