public class SpecialField extends Field
SpecialField
was created for contents that's source is in the environment of the
running engine or of the engine itself. That can be the date or time when the report was printed,
or the current page number, the name of the author of the report, etc.
Modifier and Type | Field and Description |
---|---|
static int |
CONTENT_LOCALE
The type of the
SpecialField "Content Locale". |
static int |
CREATION_DATE
The type of the
SpecialField "Creation Date". |
static int |
CURRENT_USER_ID
The type of the
SpecialField "Current User ID". |
static int |
CURRENT_USER_NAME
The type of the
SpecialField "Current User Name". |
static int |
CURRENT_USER_TIME_ZONE
The type of the
SpecialField "Current User Time Zone". |
static int |
DATA_DATE
The type of the
SpecialField "Data Date". |
static int |
DATA_TIME
The type of the
SpecialField "Data Time". |
static int |
DATA_TIME_ZONE
The type of the
SpecialField "Data Time Zone". |
static int |
GROUP_NUMBER
The type of the
SpecialField "Group Number". |
static int |
GROUP_SELECTION_FORMULA
The type of the
SpecialField "Group Selection Formula". |
static int |
HORIZONTAL_PAGE_NUMBER
The type of the
SpecialField "Horizontal Page Number". |
static int |
MODIFICATION_DATE
The type of the
SpecialField "Modification Date". |
static int |
MODIFICATION_TIME
The type of the
SpecialField "Modification Time". |
static int |
PAGE_NUMBER
The type of the
SpecialField "Page Number". |
static int |
PAGE_N_OF_M
The type of the
SpecialField "Page N of M". |
static int |
PRINT_DATE
The type of the
SpecialField "Print Date". |
static int |
PRINT_TIME
The type of the
SpecialField "Print Time". |
static int |
PRINT_TIME_ZONE
The type of the
SpecialField "Print Time Zone". |
static int |
RECORD_COUNT
The type of the
SpecialField "Record Count". |
static int |
RECORD_NUMBER
The type of the
SpecialField "Record Number". |
static int |
RECORD_SELECTION_FORMULA
The type of the
SpecialField "Record Selection Formula". |
static int |
REPORT_AUTHOR
The type of the
SpecialField "Report Author". |
static int |
REPORT_COMMENTS
The type of the
SpecialField "Report Comments". |
static int |
REPORT_FILE
The type of the
SpecialField "Report File". |
static int |
REPORT_TITLE
The type of the
SpecialField "Report Title". |
static int |
SELECTION_LOCALE
The type of the
SpecialField "Selection Locale". |
static int |
TOTAL_PAGE_COUNT
The type of the
SpecialField "Total Page Count". |
BINARY, BOOLEAN, CURRENCY, CURSOR, DATABASE_FIELD, DATE, DATETIME, FORMULA_FIELD, GROUP_NAME_FIELD, NUMBER, PARAMETER_FIELD, SORT_FIELD, SPECIAL_FIELD, SQL_FIELD, STRING, SUMMARY_FIELD, TIME, UNKNOWN
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj)
Returns whether this SpecialField is equal to the supplied SpecialField.
|
java.lang.String |
getName()
Returns the value of the property 'name'.
|
java.lang.String |
getOperationName()
Returns the name of the operation of this
SpecialField ,
i.e. |
java.lang.String |
getRefName()
Returns a reference name identifying this SpecialField.
|
int |
getSpecialType()
Returns the type of the special field.
|
void |
setName(java.lang.String newValue)
Sets a new name for this
SpecialField . |
void |
setSpecialType(int type)
Sets the type of the special field.
|
checkNameExists, duplicate, extractReference, getField, getGroup, getPlaceholderName, getType, getValueType, indexOf, paramString, setField, setGroup, setValueType, trimAwayBrackets
isDOMParser, parseDOM, parseElement, parseEndElement, parseText
public static final int PRINT_DATE
SpecialField
"Print Date".public static final int PRINT_TIME
SpecialField
"Print Time".public static final int MODIFICATION_DATE
SpecialField
"Modification Date".
This is the last save date of the rpt file.public static final int MODIFICATION_TIME
SpecialField
"Modification Time".
This is the last save time of the rpt file.public static final int DATA_DATE
SpecialField
"Data Date".
Because i-net Clear Reports not supports "Save data with report" this
is ever the print date.public static final int DATA_TIME
SpecialField
"Data Time".
Because i-net Clear Reports not supports "Save data with report" this
is ever the print time.public static final int RECORD_NUMBER
SpecialField
"Record Number".public static final int PAGE_NUMBER
SpecialField
"Page Number".public static final int GROUP_NUMBER
SpecialField
"Group Number".public static final int TOTAL_PAGE_COUNT
SpecialField
"Total Page Count".public static final int REPORT_TITLE
SpecialField
"Report Title".public static final int REPORT_COMMENTS
SpecialField
"Report Comments".public static final int RECORD_SELECTION_FORMULA
SpecialField
"Record Selection Formula".public static final int GROUP_SELECTION_FORMULA
SpecialField
"Group Selection Formula".public static final int REPORT_FILE
SpecialField
"Report File".public static final int REPORT_AUTHOR
SpecialField
"Report Author".public static final int CREATION_DATE
SpecialField
"Creation Date".public static final int PAGE_N_OF_M
SpecialField
"Page N of M".public static final int RECORD_COUNT
SpecialField
"Record Count". The number of records fetched for the report.public static final int HORIZONTAL_PAGE_NUMBER
SpecialField
"Horizontal Page Number".public static final int CURRENT_USER_NAME
SpecialField
"Current User Name".public static final int CURRENT_USER_ID
SpecialField
"Current User ID".public static final int CURRENT_USER_TIME_ZONE
SpecialField
"Current User Time Zone".public static final int PRINT_TIME_ZONE
SpecialField
"Print Time Zone".public static final int DATA_TIME_ZONE
SpecialField
"Data Time Zone".public static final int CONTENT_LOCALE
SpecialField
"Content Locale".public static final int SELECTION_LOCALE
SpecialField
"Selection Locale".public void setName(java.lang.String newValue)
SpecialField
. As it is not possible to change
the name of a SpecialField
this will cause a ReportException to be thrown
always.public java.lang.String getOperationName()
SpecialField
,
i.e. SpecialField RECORD_NUMBER -> "RecordNumber"public void setSpecialType(int type)
type
- the special type of this fieldPRINT_DATE
,
PRINT_TIME
,
PRINT_TIME_ZONE
,
MODIFICATION_DATE
,
MODIFICATION_TIME
,
DATA_DATE
,
DATA_TIME
,
DATA_TIME_ZONE
,
RECORD_NUMBER
,
RECORD_COUNT
,
PAGE_NUMBER
,
GROUP_NUMBER
,
TOTAL_PAGE_COUNT
,
REPORT_TITLE
,
REPORT_COMMENTS
,
RECORD_SELECTION_FORMULA
,
GROUP_SELECTION_FORMULA
,
REPORT_FILE
,
REPORT_AUTHOR
,
CREATION_DATE
,
PAGE_N_OF_M
,
HORIZONTAL_PAGE_NUMBER
,
CURRENT_USER_NAME
,
CURRENT_USER_TIME_ZONE
,
CONTENT_LOCALE
,
SELECTION_LOCALE
public int getSpecialType()
PRINT_DATE
,
PRINT_TIME
,
PRINT_TIME_ZONE
,
MODIFICATION_DATE
,
MODIFICATION_TIME
,
DATA_DATE
,
DATA_TIME
,
DATA_TIME_ZONE
,
RECORD_NUMBER
,
RECORD_COUNT
,
PAGE_NUMBER
,
GROUP_NUMBER
,
TOTAL_PAGE_COUNT
,
REPORT_TITLE
,
REPORT_COMMENTS
,
RECORD_SELECTION_FORMULA
,
GROUP_SELECTION_FORMULA
,
REPORT_FILE
,
REPORT_AUTHOR
,
CREATION_DATE
,
PAGE_N_OF_M
,
HORIZONTAL_PAGE_NUMBER
,
CURRENT_USER_NAME
,
CURRENT_USER_TIME_ZONE
,
CONTENT_LOCALE
,
SELECTION_LOCALE
public java.lang.String getRefName()
getRefName
in class Field
Field.getName()
,
Field.getType()
public boolean equals(java.lang.Object obj)
obj
- An instance of SpecialField to compare with this SpecialField.public java.lang.String getName()
getName
in class Field
Field.setName(java.lang.String)
,
Field.getRefName()
Copyright © 1999-2020 by i-net software GmbH