public enum TableScope extends java.lang.Enum<TableScope>
| Enum Constant and Description |
|---|
AGREEMENT
Only tables attached to an agreement id
|
BOTH
All the tables
|
CATALOG
Only tables own by a catalog
|
| Modifier and Type | Method and Description |
|---|---|
static void |
addCatalogTableScopeSpecificFormula(SearchFilterModel filter)
Add a
CATALOG table scope specific formula if the filter does not contain any. |
java.lang.String |
getPrettyName()
Gets the XML pretty name of the table scope.
|
static TableScope |
getTableScopeFromPrettyName(java.lang.String prettyName)
Gets the
TableScope instance corresponding to the pretty name. |
static TableScope |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TableScope[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TableScope CATALOG
public static final TableScope AGREEMENT
public static final TableScope BOTH
public static TableScope[] values()
for (TableScope c : TableScope.values()) System.out.println(c);
public static TableScope valueOf(java.lang.String name)
name - the name of the enum constant to be returned.java.lang.IllegalArgumentException - if this enum type has no constant with the specified namejava.lang.NullPointerException - if the argument is nullpublic java.lang.String getPrettyName()
public static final TableScope getTableScopeFromPrettyName(java.lang.String prettyName)
TableScope instance corresponding to the pretty name.prettyName - the name of the table scopenull otherwise.public static final void addCatalogTableScopeSpecificFormula(SearchFilterModel filter)
CATALOG table scope specific formula if the filter does not contain any.filter - the filter that must be enriched with a default table scope specific formula