Interface FormDataModelService
-
public interface FormDataModelService
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description java.lang.String
getFDMDataType(java.lang.String schemaRef, java.lang.String bindRef)
Returns data type of given FDM bind referencejava.lang.String
getFDMEntityId(java.lang.String guideContainerPath, java.lang.String entityBindRef)
Fetches the entity id based on the bind refjava.util.Map
getFDMEntityRule(java.lang.String fdmPath, java.lang.String bindRef)
Fetches the rule of the entity based on the bindRefjava.lang.String
getFormDataModelJson(java.lang.String schemaPath)
Fetches the list of entities present in the form data modeljava.lang.String
getSampleData(java.lang.String schemaPath)
Fetches the sample data for the given schema path
-
-
-
Method Detail
-
getFormDataModelJson
java.lang.String getFormDataModelJson(java.lang.String schemaPath)
Fetches the list of entities present in the form data model- Returns:
- JSON array containing the list of entities
-
getFDMEntityId
java.lang.String getFDMEntityId(java.lang.String guideContainerPath, java.lang.String entityBindRef)
Fetches the entity id based on the bind ref- Parameters:
guideContainerPath
- path to the adaptive formentityBindRef
- bind reference/json path to the entity present in the data- Returns:
- JSON array containing the list of entities
-
getFDMEntityRule
java.util.Map getFDMEntityRule(java.lang.String fdmPath, java.lang.String bindRef)
Fetches the rule of the entity based on the bindRef- Parameters:
fdmPath
- the path of the fdmbindRef
- bind reference/json path to the entity present in the data- Returns:
- Map containing rules of the entity
-
getFDMDataType
java.lang.String getFDMDataType(java.lang.String schemaRef, java.lang.String bindRef)
Returns data type of given FDM bind reference- Parameters:
schemaRef
-bindRef
-- Returns:
-
getSampleData
@Nonnull java.lang.String getSampleData(@Nonnull java.lang.String schemaPath)
Fetches the sample data for the given schema path- Parameters:
schemaPath
- string representing the schema path- Returns:
-
-