Class FormMapping

java.lang.Object
org.bonitasoft.web.client.model.FormMapping
All Implemented Interfaces:
Serializable

@Generated(value="org.openapitools.codegen.languages.JavaClientCodegen", comments="Generator version: 7.12.0") 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:
  • Field Details

  • Constructor Details

    • FormMapping

      public FormMapping()
  • Method Details

    • id

      public FormMapping id(@Nullable String id)
    • getId

      @Nullable public String getId()
      the form mapping identifier
      Returns:
      id
    • setId

      public void setId(@Nullable String id)
    • processDefinitionId

      public FormMapping processDefinitionId(@Nullable String processDefinitionId)
    • getProcessDefinitionId

      @Nullable public String getProcessDefinitionId()
      the process identifier related to this form mapping
      Returns:
      processDefinitionId
    • setProcessDefinitionId

      public void setProcessDefinitionId(@Nullable String processDefinitionId)
    • type

      public FormMapping type(@Nullable FormMapping.TypeEnum type)
    • getType

      @Nullable public FormMapping.TypeEnum getType()
      the form mapping type
      Returns:
      type
    • setType

      public void setType(@Nullable FormMapping.TypeEnum type)
    • target

      public FormMapping target(@Nullable FormMapping.TargetEnum target)
    • getTarget

      @Nullable public FormMapping.TargetEnum getTarget()
      the target
      Returns:
      target
    • setTarget

      public void setTarget(@Nullable FormMapping.TargetEnum target)
    • task

      public FormMapping task(@Nullable String task)
    • getTask

      @Nullable public String getTask()
      the task name when type is TASK - null otherwise
      Returns:
      task
    • setTask

      public void setTask(@Nullable String task)
    • pageId

      public FormMapping pageId(@Nullable String pageId)
    • getPageId

      @Nullable public String getPageId()
      the custom page identifier when type is INTERNAL - null otherwise
      Returns:
      pageId
    • setPageId

      public void setPageId(@Nullable String pageId)
    • pageMappingKey

      public FormMapping pageMappingKey(@Nullable String pageMappingKey)
    • getPageMappingKey

      @Nullable public String getPageMappingKey()
      the page mapping key part used to generate the form URL
      Returns:
      pageMappingKey
    • setPageMappingKey

      public void setPageMappingKey(@Nullable String pageMappingKey)
    • lastUpdateBy

      public FormMapping lastUpdateBy(@Nullable 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(@Nullable String lastUpdateBy)
    • lastUpdateDate

      public FormMapping lastUpdateDate(@Nullable 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(@Nullable String lastUpdateDate)
    • url

      public FormMapping url(@Nullable String url)
    • getUrl

      @Nullable public String getUrl()
      the external URL (string) when type is URL - null otherwise
      Returns:
      url
    • setUrl

      public void setUrl(@Nullable String url)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object