public final class HmfhExportSpec extends HmfhSpec
Constructor and Description |
---|
HmfhExportSpec() |
Modifier and Type | Method and Description |
---|---|
BooleanFormat |
getBooleanFormat()
Deprecated.
use
getBooleanFormatEntity() instead. |
BooleanFormatEntity |
getBooleanFormatEntity()
Returns the format of the exported boolean fields.
|
CSVDelimiter |
getCsvDelimiter()
Deprecated.
Use
getCSVDelimiter() instead. This method will be deleted in further versions. |
CSVDelimiter |
getCSVDelimiter()
Returns the delimiter used in the CSV file.
|
String |
getDecimalFormat()
Returns the export format for the 'AggregationWeight' field in the 'Custom' dimension.
|
com.orchestranetworks.addon.hmfh.HmfhExportFlatADSSpec |
getExportFlatADSSpec()
Returns
HmfhExportFlatADSSpec for exported ADS files. |
HmfhExportFlatCSVSpec |
getExportFlatCSVSpec()
Returns
HmfhExportFlatCSVSpec for exported CSV flat files. |
String |
getExportType()
Returns the export type.
|
List<FileExtension> |
getFileExtensions()
Returns the list of file extensions for export.
|
String |
getFlatCSVversion()
Returns the version of the CSV flat file.
|
String |
getHeaderOfDefaultParentColumnInFlatCSV()
Returns the header label of the 'Default Parent' column in the CSV flat file.
|
String |
getHeaderOfDescriptionColumnInFlatCSV()
Returns the header label of the 'Description' column in the exported CSV flat file.
|
ExportHierarchyOrder |
getHierarchyOrderType()
Returns the
ExportHierarchyOrder type. |
int |
getMinimumNumberOfGeneratedLevels()
Returns the minimum number of dynamically generated levels when exporting in the Excel format.
|
List<ADSSectionEnumeration> |
getSections()
Returns ADS sections enumeration.
|
StartingNodes |
getStartingNodes()
Returns the nodes to export data from.
|
String |
getVersion()
Returns the version of Hyperion HFM.
|
boolean |
isExportCustomOrderInFlatCSV()
Returns
true if 'CUSTOM_ORDER' is included in the exported flat CSV file. |
boolean |
isExportEmptyFieldAppSetting()
Returns
true if the empty fields in the 'Application setting' table are exported to CSV flat files. |
boolean |
isExportFromStartingNodes()
Returns
true if exporting from starting nodes. |
boolean |
isExportFullRelationship()
Returns
true if the exported Excel file includes all relationship nodes. |
boolean |
isExportHierarchyHeaderInFlatCSV()
Returns
true if CSV flat files include the header information of the hierarchy. |
boolean |
isExportingALL()
Returns
true if 'ALL' members of the 'Custom' dimensions are being exported. |
boolean |
isExportRootInCSVFlatFile()
Returns
true if #root is exported to a CSV Flat files. |
void |
setBooleanFormat(BooleanFormat booleanFormat)
Deprecated.
|
void |
setBooleanFormatEntity(BooleanFormatEntity booleanFormatEntity)
Defines the format of the exported boolean fields.
|
void |
setCsvDelimiter(CSVDelimiter csvDelimiter)
Specifies the delimiter used in the CSV file.
|
void |
setDecimalFormat(String decimalFormat)
Defines the export format for the 'AggregationWeight' field in the 'Custom' dimension.
|
void |
setExportCustomOrderInFlatCSV(boolean exportCustomOrder)
Specifies 'CUSTOM_ORDER' in exported CSV flat files.
|
void |
setExportEmptyFieldAppSetting(boolean exportEmptyFieldAppSetting)
Specifies whether empty fields in the 'Application Setting' table are exported when exporting to CSV flat file.
|
void |
setExportFlatADSSpec(com.orchestranetworks.addon.hmfh.HmfhExportFlatADSSpec exportFlatADSSpec)
Specifies
HmfhExportFlatADSSpec for exported ADS files. |
void |
setExportFlatCSVSpec(HmfhExportFlatCSVSpec exportFlatCSVSpec)
Specifies
HmfhExportFlatCSVSpec for exported flat CSV files. |
void |
setExportFromStartingNodes()
Activates the export from starting nodes.
|
void |
setExportFullRelationship(boolean exportFullRelationship)
Determines whether all relationship nodes declarations are exported when exporting to Excel.
|
void |
setExportHierarchyHeaderInFlatCSV(boolean exportHierarchyHeaderInFlatCSV)
Specifies the header information of hierarchy.
|
void |
setExportingALL(boolean exportingALL)
Enables or disables export for 'ALL' members of the 'Custom' dimensions.
|
void |
setExportRootInCSVFlatFile(boolean exportRootInCSVFlatFile)
Determines whether the
#root record gets exported during CSV Flat file export. |
void |
setExportType(String exportType)
Specifies the export type.
|
void |
setFileExtensions(List<FileExtension> fileExtensions)
Specifies the list of file extensions for export.
|
void |
setFlatCSVversion(String flatCSVversion)
Specifies the version of the CSV flat file.
|
void |
setHeaderOfDefaultParentColumnInFlatCSV(String headerOfDefaultParentColumnInFlatCSV)
Specifies the header label for the 'Default Parent' column in the exported CSV flat files.
|
void |
setHeaderOfDescriptionColumnInFlatCSV(String headerOfDescriptionColumnInFlatCSV)
Specifies the header label of the 'Description' column in the exported CSV flat file.
|
void |
setHierarchyOrderType(ExportHierarchyOrder hierarchyOrderType)
Determines the hierarchy order in the exported file when using the Hyperion export service.
|
void |
setMinimumNumberOfGeneratedLevels(int minimumGeneratedLevels)
Specifies the minimum number of dynamically generated levels when exporting in the Excel format.
|
void |
setSections(List<ADSSectionEnumeration> sections)
Sets ADS sections enumeration.
|
void |
setVersion(String version)
Specifies the version of Hyperion HFM.
|
getApplication, getCurrentDataset, getCurrentLocale, getDatasetMapping, getDimensions, isUsingLog, setApplication, setCurrentDataset, setCurrentLocale, setDatasetMapping, setDimensions, setUsingLog, toString
public void setExportFlatCSVSpec(HmfhExportFlatCSVSpec exportFlatCSVSpec)
HmfhExportFlatCSVSpec
for exported flat CSV files.exportFlatCSVSpec
- the definition of the exportpublic void setExportFlatADSSpec(com.orchestranetworks.addon.hmfh.HmfhExportFlatADSSpec exportFlatADSSpec)
HmfhExportFlatADSSpec
for exported ADS files.exportFlatADSSpec
- the definition of the exportpublic void setExportRootInCSVFlatFile(boolean exportRootInCSVFlatFile)
#root
record gets exported during CSV Flat file export. This property only applies when exporting CSV Flat files.exportRootInCSVFlatFile
- true
if #root
is exported to CSV flat file,
false
otherwise.public boolean isExportRootInCSVFlatFile()
true
if #root
is exported to a CSV Flat files. Otherwise, it
returns false
.public CSVDelimiter getCsvDelimiter()
getCSVDelimiter()
instead. This method will be deleted in further versions.public CSVDelimiter getCSVDelimiter()
public void setCsvDelimiter(CSVDelimiter csvDelimiter)
csvDelimiter
- Delimiter is used in exported file.public String getFlatCSVversion()
public void setFlatCSVversion(String flatCSVversion)
flatCSVversion
- version to be set to exported flat CSV file.public String getVersion()
public void setVersion(String version)
version
- version to be set to HFM file.public String getExportType()
public void setExportType(String exportType)
exportType
- type of exporting.public List<FileExtension> getFileExtensions()
public void setFileExtensions(List<FileExtension> fileExtensions)
fileExtensions
- list of extension file.public void setExportEmptyFieldAppSetting(boolean exportEmptyFieldAppSetting)
exportEmptyFieldAppSetting
- true
if empty fields in 'Application setting' table are exported,
false
otherwise.public boolean isExportEmptyFieldAppSetting()
true
if the empty fields in the 'Application setting' table are exported to CSV flat files.
Otherwise, it returns false
.public void setExportFullRelationship(boolean exportFullRelationship)
exportFullRelationship
- true
if full relationship is exported,
false
otherwise.public boolean isExportFullRelationship()
true
if the exported Excel file includes all relationship nodes.
Otherwise, it returns false
.public void setHeaderOfDefaultParentColumnInFlatCSV(String headerOfDefaultParentColumnInFlatCSV)
headerOfDefaultParentColumnInFlatCSV
- default parent column name in CSV flat file.public String getHeaderOfDefaultParentColumnInFlatCSV()
public void setHeaderOfDescriptionColumnInFlatCSV(String headerOfDescriptionColumnInFlatCSV)
headerOfDescriptionColumnInFlatCSV
- header name to be set to description column in CVS flat file.public String getHeaderOfDescriptionColumnInFlatCSV()
public boolean isExportHierarchyHeaderInFlatCSV()
true
if CSV flat files include the header information of the hierarchy.
Otherwise, it returns false
.public void setExportHierarchyHeaderInFlatCSV(boolean exportHierarchyHeaderInFlatCSV)
exportHierarchyHeaderInFlatCSV
- true
if the CSV flat file includes header information of hierarchy,
false
if header information of hierarchy is excluded in the CSV flat file.public HmfhExportFlatCSVSpec getExportFlatCSVSpec()
HmfhExportFlatCSVSpec
for exported CSV flat files.public com.orchestranetworks.addon.hmfh.HmfhExportFlatADSSpec getExportFlatADSSpec()
HmfhExportFlatADSSpec
for exported ADS files.public List<ADSSectionEnumeration> getSections()
public void setSections(List<ADSSectionEnumeration> sections)
sections
- ADS sections enumeration.public boolean isExportCustomOrderInFlatCSV()
true
if 'CUSTOM_ORDER' is included in the exported flat CSV file.
Otherwise, it returns false
.public void setExportCustomOrderInFlatCSV(boolean exportCustomOrder)
exportCustomOrder
- true
if 'CUSTOM_ORDER' is included in the CSV flat file,
false
'CUSTOM_ORDER' is excluded in the CSV flat file.public String getDecimalFormat()
public void setDecimalFormat(String decimalFormat)
decimalFormat
- the decimal format to usepublic ExportHierarchyOrder getHierarchyOrderType()
ExportHierarchyOrder
type.public void setHierarchyOrderType(ExportHierarchyOrder hierarchyOrderType)
hierarchyOrderType
- Hierarchy order type used in exported file.public StartingNodes getStartingNodes()
public boolean isExportFromStartingNodes()
true
if exporting from starting nodes.public void setExportFromStartingNodes()
public boolean isExportingALL()
true
if 'ALL' members of the 'Custom' dimensions are being exported.public void setExportingALL(boolean exportingALL)
public int getMinimumNumberOfGeneratedLevels()
public void setMinimumNumberOfGeneratedLevels(int minimumGeneratedLevels)
public BooleanFormat getBooleanFormat()
getBooleanFormatEntity()
instead.public void setBooleanFormat(BooleanFormat booleanFormat)
setBooleanFormatEntity(com.orchestranetworks.addon.hmfh.BooleanFormatEntity)
instead.booleanFormat
- sets the boolean format to displaypublic BooleanFormatEntity getBooleanFormatEntity()
public void setBooleanFormatEntity(BooleanFormatEntity booleanFormatEntity)
booleanFormatEntity
- sets the boolean format to display