NavigationField
public class DBField
extends java.lang.Object
Constructor | Description |
---|---|
DBField() |
|
DBField(DBTable t,
java.lang.String fieldName) |
Default constructor for regular database fields
|
DBField(DBTable t,
java.lang.String fieldName,
java.lang.String sqlExpression) |
Constructor to create a field based on an sql expression
|
Modifier and Type | Method | Description |
---|---|---|
java.lang.String |
getFieldName() |
Returns the field name
|
java.lang.String |
getFieldNameExt() |
Returns the name in the form table name.field name
|
java.lang.String |
getFieldNameSQL() |
Returns the sql expression which is used to determine the field value
|
java.util.List<java.lang.String> |
getFilterValues() |
Determines the values which should be used to limit the result set
|
java.lang.String |
getGroup() |
Determines the reporting group.
|
DBTable |
getTable() |
Returns the table
|
boolean |
isCalculated() |
Returns true if there is a sql expression for the calculaiton of the field
|
boolean |
isFilterEquals() |
|
boolean |
isSupportWildCardFilter() |
|
void |
setFilterEquals(boolean filterEquals) |
|
DBField |
setFilterValues(java.lang.String... filterValues) |
Defines multiple filter values
|
DBField |
setFilterValues(java.util.List<java.lang.String> filterValues) |
Defines the values which are used to restrict the result via a where condition
|
DBField |
setGroup(java.lang.String grp) |
Defines the reporting group
|
void |
setSupportWildCardFilter(boolean supportWildFilter) |
|
java.lang.String |
toString() |
public DBField()
public DBField(DBTable t, java.lang.String fieldName)
t
- fieldName
- public DBField(DBTable t, java.lang.String fieldName, java.lang.String sqlExpression)
t
- fieldName
- sqlExpression
- public DBTable getTable()
public java.lang.String getFieldName()
public java.lang.String getFieldNameExt()
public java.lang.String getFieldNameSQL()
public boolean isCalculated()
public java.util.List<java.lang.String> getFilterValues()
public DBField setFilterValues(java.util.List<java.lang.String> filterValues)
filterValues
- public DBField setFilterValues(java.lang.String... filterValues)
filterValues
- public java.lang.String getGroup()
public DBField setGroup(java.lang.String grp)
grp
- public java.lang.String toString()
toString
in class java.lang.Object
public boolean isFilterEquals()
public void setFilterEquals(boolean filterEquals)
public boolean isSupportWildCardFilter()
public void setSupportWildCardFilter(boolean supportWildFilter)