public class MockDSExportSettings extends DataClass
DataSource by Reify.getMockDS().factoryCreated, factoryProperties| Constructor and Description |
|---|
MockDSExportSettings() |
MockDSExportSettings(com.google.gwt.core.client.JavaScriptObject jsObj) |
| Modifier and Type | Method and Description |
|---|---|
Criteria | getCriteria() The criteria used to fetch the records returned as part of the export or serialization. |
MockDSExportFormat | getFormat() Determines the format emitted by Reify.getMockDS(). |
boolean | getIncludeCustomSimpleTypes() Whether to include custom-defined SimpleTypes. |
boolean | getIncludeFKs() Should foreign key relationships be included in the export or serialization of the DataSource? |
boolean | getIncludeImageFields() Should image fields be included in the export or serialization of the DataSource? They are excluded by default since the stored paths are unlikely to be correct when placed in any other environment, such as Reify. |
int | getNumLevels() The number of levels of nodes to include, for DataSources that define a tree relationship between fields by declaring a foreignKey on one field that refers to another from that same DataSource. |
int | getNumRows() The number of rows of data to include, if more meet the criteria. |
java.lang.String[] | getOmitRelations() If including foreign key relationships, those relationships to skip. |
static MockDSExportSettings | getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj) |
DSRequest[] | getRequestProperties() The properties that will be specified on the DSRequest when fetching records. |
DSRequest | getRequestPropertiesAsDSRequest() The properties that will be specified on the DSRequest when fetching records. |
boolean | getRootCriteriaOnly() For DataSources that define a tree relationship between fields by declaring a foreignKey on one field that refers to another from that same DataSource, should criteria be applied only to the root node? If false, the criteria will be applied to all nodes. |
MockDSExportValidatorMode | getValidatorMode() Controls which validators, if any, to include in the fields of the exported MockDataSource. |
MockDSExportSettings | setCriteria(Criteria criteria) The criteria used to fetch the records returned as part of the export or serialization. |
MockDSExportSettings | setFormat(MockDSExportFormat format) Determines the format emitted by Reify.getMockDS(). |
MockDSExportSettings | setIncludeCustomSimpleTypes(boolean includeCustomSimpleTypes) Whether to include custom-defined SimpleTypes. |
MockDSExportSettings | setIncludeFKs(boolean includeFKs) Should foreign key relationships be included in the export or serialization of the DataSource? |
MockDSExportSettings | setIncludeImageFields(boolean includeImageFields) Should image fields be included in the export or serialization of the DataSource? They are excluded by default since the stored paths are unlikely to be correct when placed in any other environment, such as Reify. |
MockDSExportSettings | setNumLevels(int numLevels) The number of levels of nodes to include, for DataSources that define a tree relationship between fields by declaring a foreignKey on one field that refers to another from that same DataSource. |
MockDSExportSettings | setNumRows(int numRows) The number of rows of data to include, if more meet the criteria. |
MockDSExportSettings | setOmitRelations(java.lang.String... omitRelations) If including foreign key relationships, those relationships to skip. |
MockDSExportSettings | setRequestProperties(DSRequest... requestProperties) The properties that will be specified on the DSRequest when fetching records. |
MockDSExportSettings | setRequestProperties(DSRequest requestProperties) The properties that will be specified on the DSRequest when fetching records. |
MockDSExportSettings | setRootCriteriaOnly(boolean rootCriteriaOnly) For DataSources that define a tree relationship between fields by declaring a foreignKey on one field that refers to another from that same DataSource, should criteria be applied only to the root node? If false, the criteria will be applied to all nodes. |
MockDSExportSettings | setValidatorMode(MockDSExportValidatorMode validatorMode) Controls which validators, if any, to include in the fields of the exported MockDataSource. |
applyFactoryProperties, doAddHandler, fireEvent, getAttribute, getAttributeAsBoolean, getAttributeAsBoolean, getAttributeAsDate, getAttributeAsDouble, getAttributeAsDoubleArray, getAttributeAsElement, getAttributeAsFloat, getAttributeAsInt, getAttributeAsIntArray, getAttributeAsJavaScriptObject, getAttributeAsLong, getAttributeAsMap, getAttributeAsObject, getAttributeAsRecord, getAttributeAsString, getAttributeAsStringArray, getAttributes, getHandlerCount, isFactoryCreated, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttribute, setAttributeAsJavaObject, setFactoryCreatedpublic MockDSExportSettings()
public MockDSExportSettings(com.google.gwt.core.client.JavaScriptObject jsObj)
public static MockDSExportSettings getOrCreateRef(com.google.gwt.core.client.JavaScriptObject jsObj)
public MockDSExportSettings setCriteria(Criteria criteria)
criteria used to fetch the records returned as part of the export or serialization.criteria - New criteria value. Default value is nullMockDSExportSettings instance, for chaining setter callspublic Criteria getCriteria()
criteria used to fetch the records returned as part of the export or serialization.public MockDSExportSettings setFormat(MockDSExportFormat format)
Reify.getMockDS().format - New format value. Default value is "xmlMockDS"MockDSExportSettings instance, for chaining setter callspublic MockDSExportFormat getFormat()
Reify.getMockDS().public MockDSExportSettings setIncludeCustomSimpleTypes(boolean includeCustomSimpleTypes)
SimpleTypes.includeCustomSimpleTypes - New includeCustomSimpleTypes value. Default value is falseMockDSExportSettings instance, for chaining setter callspublic boolean getIncludeCustomSimpleTypes()
SimpleTypes.public MockDSExportSettings setIncludeFKs(boolean includeFKs)
foreign key relationships be included in the export or serialization of the DataSource?includeFKs - New includeFKs value. Default value is trueMockDSExportSettings instance, for chaining setter callspublic boolean getIncludeFKs()
foreign key relationships be included in the export or serialization of the DataSource?public MockDSExportSettings setIncludeImageFields(boolean includeImageFields)
image fields be included in the export or serialization of the DataSource? They are excluded by default since the stored paths are unlikely to be correct when placed in any other environment, such as Reify.includeImageFields - New includeImageFields value. Default value is falseMockDSExportSettings instance, for chaining setter callspublic boolean getIncludeImageFields()
image fields be included in the export or serialization of the DataSource? They are excluded by default since the stored paths are unlikely to be correct when placed in any other environment, such as Reify.public MockDSExportSettings setNumLevels(int numLevels)
tree relationship between fields by declaring a foreignKey on one field that refers to another from that same DataSource.numLevels - New numLevels value. Default value is 3MockDSExportSettings instance, for chaining setter callssetRootCriteriaOnly(boolean)public int getNumLevels()
tree relationship between fields by declaring a foreignKey on one field that refers to another from that same DataSource.getRootCriteriaOnly()public MockDSExportSettings setNumRows(int numRows)
criteria.numRows - New numRows value. Default value is 20MockDSExportSettings instance, for chaining setter callspublic int getNumRows()
criteria.public MockDSExportSettings setOmitRelations(java.lang.String... omitRelations)
foreign key relationships, those relationships to skip. This can be used to avoid dangling references to DataSources that are not being exported or serialized.omitRelations - New omitRelations value. Default value is nullMockDSExportSettings instance, for chaining setter callssetIncludeFKs(boolean)public java.lang.String[] getOmitRelations()
foreign key relationships, those relationships to skip. This can be used to avoid dangling references to DataSources that are not being exported or serialized.getIncludeFKs()public MockDSExportSettings setRequestProperties(DSRequest... requestProperties)
DSRequest when fetching records. You can pass an array of different request properties matching the length of the dsNames param of Reify.getMockDS() or Reify.showMockDS() if you want the fetch for each DataSource made with different properties.requestProperties - New requestProperties value. Default value is nullMockDSExportSettings instance, for chaining setter callspublic DSRequest[] getRequestProperties()
DSRequest when fetching records. You can pass an array of different request properties matching the length of the dsNames param of Reify.getMockDS() or Reify.showMockDS() if you want the fetch for each DataSource made with different properties.public MockDSExportSettings setRequestProperties(DSRequest requestProperties)
DSRequest when fetching records. You can pass an array of different request properties matching the length of the dsNames param of Reify.getMockDS() or Reify.showMockDS() if you want the fetch for each DataSource made with different properties.requestProperties - New requestProperties value. Default value is nullMockDSExportSettings instance, for chaining setter callspublic DSRequest getRequestPropertiesAsDSRequest()
DSRequest when fetching records. You can pass an array of different request properties matching the length of the dsNames param of Reify.getMockDS() or Reify.showMockDS() if you want the fetch for each DataSource made with different properties.public MockDSExportSettings setRootCriteriaOnly(boolean rootCriteriaOnly)
tree relationship between fields by declaring a foreignKey on one field that refers to another from that same DataSource, should criteria be applied only to the root node? If false, the criteria will be applied to all nodes.rootCriteriaOnly - New rootCriteriaOnly value. Default value is falseMockDSExportSettings instance, for chaining setter callssetNumLevels(int)public boolean getRootCriteriaOnly()
tree relationship between fields by declaring a foreignKey on one field that refers to another from that same DataSource, should criteria be applied only to the root node? If false, the criteria will be applied to all nodes.getNumLevels()public MockDSExportSettings setValidatorMode(MockDSExportValidatorMode validatorMode)
validators, if any, to include in the fields of the exported MockDataSource. Since MockDataSources are client-only, server-only validators are not exported. Auto-generated validators are also not exported, since they will be recreated based on the type of the field during the import process.validatorMode - New validatorMode value. Default value is "standard"MockDSExportSettings instance, for chaining setter callspublic MockDSExportValidatorMode getValidatorMode()
validators, if any, to include in the fields of the exported MockDataSource. Since MockDataSources are client-only, server-only validators are not exported. Auto-generated validators are also not exported, since they will be recreated based on the type of the field during the import process.