Package org.bonitasoft.web.client.model
Class FormMapping
- java.lang.Object
-
- org.bonitasoft.web.client.model.FormMapping
-
- All Implemented Interfaces:
Serializable
@Generated("org.openapitools.codegen.languages.JavaClientCodegen") public class FormMapping extends Object implements Serializable
Form Mapping specifies the mapping of a form to a process or a task. The mapping indicates the technology used to create the form, in the `target` attribute.- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classFormMapping.TargetEnumthe targetstatic classFormMapping.TypeEnumthe form mapping type
-
Field Summary
Fields Modifier and Type Field Description static StringJSON_PROPERTY_IDstatic StringJSON_PROPERTY_LAST_UPDATE_BYstatic StringJSON_PROPERTY_LAST_UPDATE_DATEstatic StringJSON_PROPERTY_PAGE_IDstatic StringJSON_PROPERTY_PAGE_MAPPING_KEYstatic StringJSON_PROPERTY_PROCESS_DEFINITION_IDstatic StringJSON_PROPERTY_TARGETstatic StringJSON_PROPERTY_TASKstatic StringJSON_PROPERTY_TYPEstatic StringJSON_PROPERTY_URL
-
Constructor Summary
Constructors Constructor Description FormMapping()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description booleanequals(Object o)StringgetId()the form mapping identifierStringgetLastUpdateBy()the identifier of the user who last updated this form mapping - 0 if no update has been done yetStringgetLastUpdateDate()the last update date in milliseconds - null if no update has been done yetStringgetPageId()the custom page identifier when type is INTERNAL - null otherwiseStringgetPageMappingKey()the page mapping key part used to generate the form URLStringgetProcessDefinitionId()the process identifier related to this form mappingFormMapping.TargetEnumgetTarget()the targetStringgetTask()the task name when type is TASK - null otherwiseFormMapping.TypeEnumgetType()the form mapping typeStringgetUrl()the external URL (string) when type is URL - null otherwiseinthashCode()FormMappingid(String id)FormMappinglastUpdateBy(String lastUpdateBy)FormMappinglastUpdateDate(String lastUpdateDate)FormMappingpageId(String pageId)FormMappingpageMappingKey(String pageMappingKey)FormMappingprocessDefinitionId(String processDefinitionId)voidsetId(String id)voidsetLastUpdateBy(String lastUpdateBy)voidsetLastUpdateDate(String lastUpdateDate)voidsetPageId(String pageId)voidsetPageMappingKey(String pageMappingKey)voidsetProcessDefinitionId(String processDefinitionId)voidsetTarget(FormMapping.TargetEnum target)voidsetTask(String task)voidsetType(FormMapping.TypeEnum type)voidsetUrl(String url)FormMappingtarget(FormMapping.TargetEnum target)FormMappingtask(String task)StringtoString()FormMappingtype(FormMapping.TypeEnum type)FormMappingurl(String url)
-
-
-
Field Detail
-
JSON_PROPERTY_ID
public static final String JSON_PROPERTY_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PROCESS_DEFINITION_ID
public static final String JSON_PROPERTY_PROCESS_DEFINITION_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TYPE
public static final String JSON_PROPERTY_TYPE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TARGET
public static final String JSON_PROPERTY_TARGET
- See Also:
- Constant Field Values
-
JSON_PROPERTY_TASK
public static final String JSON_PROPERTY_TASK
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAGE_ID
public static final String JSON_PROPERTY_PAGE_ID
- See Also:
- Constant Field Values
-
JSON_PROPERTY_PAGE_MAPPING_KEY
public static final String JSON_PROPERTY_PAGE_MAPPING_KEY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LAST_UPDATE_BY
public static final String JSON_PROPERTY_LAST_UPDATE_BY
- See Also:
- Constant Field Values
-
JSON_PROPERTY_LAST_UPDATE_DATE
public static final String JSON_PROPERTY_LAST_UPDATE_DATE
- See Also:
- Constant Field Values
-
JSON_PROPERTY_URL
public static final String JSON_PROPERTY_URL
- See Also:
- Constant Field Values
-
-
Method Detail
-
id
public FormMapping id(String id)
-
setId
public void setId(String id)
-
processDefinitionId
public FormMapping processDefinitionId(String processDefinitionId)
-
getProcessDefinitionId
@Nullable public String getProcessDefinitionId()
the process identifier related to this form mapping- Returns:
- processDefinitionId
-
setProcessDefinitionId
public void setProcessDefinitionId(String processDefinitionId)
-
type
public FormMapping type(FormMapping.TypeEnum type)
-
getType
@Nullable public FormMapping.TypeEnum getType()
the form mapping type- Returns:
- type
-
setType
public void setType(FormMapping.TypeEnum type)
-
target
public FormMapping target(FormMapping.TargetEnum target)
-
getTarget
@Nullable public FormMapping.TargetEnum getTarget()
the target- Returns:
- target
-
setTarget
public void setTarget(FormMapping.TargetEnum target)
-
task
public FormMapping task(String task)
-
getTask
@Nullable public String getTask()
the task name when type is TASK - null otherwise- Returns:
- task
-
setTask
public void setTask(String task)
-
pageId
public FormMapping pageId(String pageId)
-
getPageId
@Nullable public String getPageId()
the custom page identifier when type is INTERNAL - null otherwise- Returns:
- pageId
-
setPageId
public void setPageId(String pageId)
-
pageMappingKey
public FormMapping pageMappingKey(String pageMappingKey)
-
getPageMappingKey
@Nullable public String getPageMappingKey()
the page mapping key part used to generate the form URL- Returns:
- pageMappingKey
-
setPageMappingKey
public void setPageMappingKey(String pageMappingKey)
-
lastUpdateBy
public FormMapping lastUpdateBy(String lastUpdateBy)
-
getLastUpdateBy
@Nullable public String getLastUpdateBy()
the identifier of the user who last updated this form mapping - 0 if no update has been done yet- Returns:
- lastUpdateBy
-
setLastUpdateBy
public void setLastUpdateBy(String lastUpdateBy)
-
lastUpdateDate
public FormMapping lastUpdateDate(String lastUpdateDate)
-
getLastUpdateDate
@Nullable public String getLastUpdateDate()
the last update date in milliseconds - null if no update has been done yet- Returns:
- lastUpdateDate
-
setLastUpdateDate
public void setLastUpdateDate(String lastUpdateDate)
-
url
public FormMapping url(String url)
-
getUrl
@Nullable public String getUrl()
the external URL (string) when type is URL - null otherwise- Returns:
- url
-
setUrl
public void setUrl(String url)
-
-