public class SelectBase
extends java.lang.Object
If getGlobalMetaIdentifier is set this list/filter will be applied to any select that uses the column/node defined in getGlobalMetaIdentifier and will add a condition for this item.
Modifier and Type | Field and Description |
---|---|
static int |
SORT_ASCENDING
sort ascending
|
static int |
SORT_DESCENDING
sort descending
|
static int |
SORT_NO_OVERRIDE
Do not change sort
|
Constructor and Description |
---|
SelectBase(int sort)
Create the object.
|
SelectBase(int sort,
java.lang.String varName)
Create the object.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getGlobalMetaIdentifier()
The meta identifier for a global select.
|
int |
getSort()
Get the sort order.
|
java.lang.String |
getVarName()
The name of the var this filter is for.
|
boolean |
isApplyGlobally()
true if this select is to be applied to all tags that include the getGlobalMetaIdentifier column/node.
|
void |
setGlobal(java.lang.String globalMetaIdentifier)
Set to apply globally with this metadata.
|
void |
setSort(int sort)
Set the sort order.
|
public static final int SORT_NO_OVERRIDE
public static final int SORT_ASCENDING
public static final int SORT_DESCENDING
public SelectBase(int sort)
sort
- Set the sort order if we override it.public SelectBase(int sort, java.lang.String varName)
sort
- Set the sort order if we override it.varName
- The name of the var this filter is for.public int getSort()
public void setSort(int sort)
sort
- The sort order. One of the SORT_* const ints in this class.public java.lang.String getVarName()
public boolean isApplyGlobally()
public java.lang.String getGlobalMetaIdentifier()
public void setGlobal(java.lang.String globalMetaIdentifier)
globalMetaIdentifier
- The meta identifier for a global select. If you are using aliases (SQL), this
is the actual table.column, NOT the alias.Copyright © 2017 Windward Reports - All Rights Reserved. We are java reporting software