Class FormIdentifier

java.lang.Object
ch.tocco.nice2.netui.api.bind.form.FormIdentifier

@Deprecated public class FormIdentifier extends Object
Deprecated.
Transfer object to identify a form.

How to use in the client (JS)

Using the scope


 var formIdentifier = new FormIdentifier();
 formIdentifier.scope        = "search";
 

Using the main part of the form name


 var formIdentifier = new FormIdentifier();
 formIdentifier.scope    = "search";
 formIdentifier.formName = "User";
 

Using the full form name


 var formIdentifier = new FormIdentifier();
 formIdentifier.scope    = "search";
 formIdentifier.formName = "User_search";
 
  • Constructor Details

    • FormIdentifier

      public FormIdentifier()
      Deprecated.
  • Method Details

    • getScope

      public String getScope()
      Deprecated.
      Returns:
      eg 'list', 'search' etc. in lower case.
    • getFormName

      @Nullable public @Nullable String getFormName()
      Deprecated.
      Returns:
      can be the main part of the form name (eg 'User') or the full form name (eg 'User_search').
    • setScope

      public void setScope(String scope)
      Deprecated.
    • setFormName

      public void setFormName(@Nullable @Nullable String formName)
      Deprecated.
    • equals

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

      public int hashCode()
      Deprecated.
      Overrides:
      hashCode in class Object