Package com.highdeal.hci
Enum Class TableScope
- All Implemented Interfaces:
Serializable,Comparable<TableScope>,Constable
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum Constants -
Method Summary
Modifier and TypeMethodDescriptionstatic final voidAdd aCATALOGtable scope specific formula if the filter does not contain any.Gets the XML pretty name of the table scope.static final TableScopegetTableScopeFromPrettyName(String prettyName) Gets theTableScopeinstance corresponding to the pretty name.static TableScopeReturns the enum constant of this class with the specified name.static TableScope[]values()Returns an array containing the constants of this enum class, in the order they are declared.Methods inherited from class java.lang.Enum
compareTo, describeConstable, equals, getDeclaringClass, hashCode, name, ordinal, toString, valueOf
-
Enum Constant Details
-
CATALOG
Only tables own by a catalog -
AGREEMENT
Only tables attached to an agreement id -
BOTH
All the tables
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
getPrettyName
Gets the XML pretty name of the table scope.- Returns:
- the name of the table scope
-
getTableScopeFromPrettyName
Gets theTableScopeinstance corresponding to the pretty name.- Parameters:
prettyName- the name of the table scope- Returns:
- the TableScope corresponding to the pretty name.
nullotherwise.
-
addCatalogTableScopeSpecificFormula
Add aCATALOGtable scope specific formula if the filter does not contain any.- Parameters:
filter- the filter that must be enriched with a default table scope specific formula
-