com.flexive.shared
Class FxPhraseCategorySelection

java.lang.Object
  extended by com.flexive.shared.FxPhraseCategorySelection
All Implemented Interfaces:
java.io.Serializable

public class FxPhraseCategorySelection
extends java.lang.Object
implements java.io.Serializable

Category selection for phrases

Author:
Markus Plesser (markus.plesser@ucs.at), UCS - unique computing solutions gmbh (http://www.ucs.at)
See Also:
Serialized Form

Field Summary
static int CATEGORY_DEFAULT
          The default category
static FxPhraseCategorySelection SELECTION_ANY
          Any category is returned
static FxPhraseCategorySelection SELECTION_DEFAULT
          Only the default category is returned
 
Constructor Summary
FxPhraseCategorySelection(int... categories)
           
 
Method Summary
 boolean equals(java.lang.Object obj)
           
 int[] getCategories()
           
 int getSingleCategory()
           
 boolean isAny()
           
 boolean isSingleCategory()
           
 
Methods inherited from class java.lang.Object
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

CATEGORY_DEFAULT

public static final int CATEGORY_DEFAULT
The default category

See Also:
Constant Field Values

SELECTION_DEFAULT

public static final FxPhraseCategorySelection SELECTION_DEFAULT
Only the default category is returned


SELECTION_ANY

public static final FxPhraseCategorySelection SELECTION_ANY
Any category is returned

Constructor Detail

FxPhraseCategorySelection

public FxPhraseCategorySelection(int... categories)
Method Detail

getCategories

public int[] getCategories()

isAny

public boolean isAny()

isSingleCategory

public boolean isSingleCategory()

getSingleCategory

public int getSingleCategory()

equals

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